/**
 * ========================================
 * DUE BYTES - Stili Personalizzati
 * ========================================
 *
 * Foglio di stile principale del sito Due Bytes.
 * Design moderno, pulito e professionale.
 *
 * INDICE:
 * 1. Variabili CSS (colori, ombre, dimensioni)
 * 2. Stili di base (reset, tipografia)
 * 3. Classi di utilità
 * 4. Intestazioni sezioni
 * 5. Pulsanti
 * 6. Navbar
 * 7. Sezione Hero
 * 8. Card Servizi
 * 9. Sezione Target (Per chi lavoriamo)
 * 10. Card Punti di forza
 * 11. Timeline (Metodo di lavoro)
 * 12. Portfolio
 * 13. Sezione Chi siamo
 * 14. Footer
 * 15. Media Queries (Responsive)
 * 16. Animazioni
 *
 * @author Due Bytes
 * @version 1.0
 */


/* ===========================================
   1. VARIABILI CSS
   ===========================================
   Definizione centralizzata di colori, ombre
   e altre proprietà riutilizzabili nel sito.
   Modifica questi valori per cambiare il tema.
*/
:root {
    /* Colori principali */
    --primary: #2563eb;           /* Blu principale */
    --primary-dark: #1d4ed8;      /* Blu scuro (hover) */
    --primary-light: #3b82f6;     /* Blu chiaro */
    --secondary: #0f172a;         /* Blu notte (testi, sfondi scuri) */
    --accent: #06b6d4;            /* Ciano (accento) */

    /* Colori neutri */
    --dark: #1e293b;              /* Grigio scuro */
    --light: #f8fafc;             /* Grigio chiaro (sfondi) */
    --gray: #64748b;              /* Grigio medio (testi secondari) */
    --gray-light: #e2e8f0;        /* Grigio chiarissimo (bordi) */
    --white: #ffffff;

    /* Sfumatura principale */
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);

    /* Ombre */
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Bordi arrotondati */
    --radius: 12px;               /* Raggio standard */
    --radius-lg: 20px;            /* Raggio grande (card) */

    /* Transizioni */
    --transition: all 0.3s ease;
}


/* ===========================================
   2. STILI DI BASE
   ===========================================
   Reset CSS e stili tipografici di base.
*/

/* Reset margini e padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Comportamento scroll */
html {
    scroll-behavior: smooth;      /* Scroll fluido per link interni */
    overscroll-behavior: none;    /* Disabilita il bouncing su macOS/iOS */
}

/* Body principale */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--secondary);
    background-color: var(--white);
    overflow-x: hidden;           /* Nasconde scroll orizzontale */
    overscroll-behavior: none;    /* Disabilita il bouncing */
}

/* Titoli */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--secondary);
}

/* Paragrafi */
p {
    color: var(--gray);
    margin-bottom: 1rem;
}

/* Link */
a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

/* Immagini responsive */
img {
    max-width: 100%;
    height: auto;
}


/* ===========================================
   3. CLASSI DI UTILITÀ
   ===========================================
   Classi riutilizzabili per spaziature,
   sfondi e contrasti testo.
*/

/* Padding standard per sezioni */
.section-padding {
    padding: 100px 0;
}

/* Sfondi */
.bg-light {
    background-color: var(--light) !important;
}

.bg-dark {
    background-color: var(--secondary) !important;
}

.bg-gradient-primary {
    background: var(--gradient);
}

/*
 * Contrasto testi su sfondi scuri/colorati
 * Garantisce leggibilità su sezioni con sfondo blu/scuro
 */
.bg-gradient-primary p,
.bg-gradient-primary .lead,
.bg-dark p,
.bg-dark .lead {
    color: rgba(255, 255, 255, 0.9);
}

.bg-gradient-primary .text-muted,
.bg-dark .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

.bg-gradient-primary .small,
.bg-dark .small {
    color: rgba(255, 255, 255, 0.8);
}


/* ===========================================
   4. INTESTAZIONI SEZIONI
   ===========================================
   Stili per tag, titoli e descrizioni
   delle varie sezioni del sito.
*/

/* Tag sopra il titolo (es. "I nostri servizi") */
.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

/* Variante chiara per sfondi scuri */
.section-tag.light {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

/* Titolo sezione */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
}

/* Descrizione sezione */
.section-desc {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}


/* ===========================================
   5. PULSANTI
   ===========================================
   Stili per i vari tipi di pulsanti.
*/

.btn {
    padding: 14px 32px;
    font-weight: 600;
    border-radius: var(--radius);
    transition: var(--transition);
    border: none;
}

/* Pulsante primario con sfumatura */
.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);  /* Effetto "sollevamento" */
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5);
    background: var(--gradient);
}

/* Pulsante chiaro */
.btn-light {
    background: var(--white);
    color: var(--primary);
}

.btn-light:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: var(--white);
    color: var(--primary-dark);
}

/* Pulsante contorno */
.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: var(--white);
}


/* ===========================================
   6. NAVBAR
   ===========================================
   Barra di navigazione fissa con effetto
   trasparente/solido allo scroll.
*/

.navbar {
    padding: 1rem 0;
    transition: var(--transition);
    background: transparent;      /* Trasparente all'inizio */
}

/* Stato dopo lo scroll (classe aggiunta via JS) */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    padding: 0.7rem 0;
}

.navbar.scrolled .nav-link {
    color: var(--secondary) !important;
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
    color: var(--primary) !important;
}

.navbar-brand img {
    transition: var(--transition);
}

.navbar.scrolled .navbar-brand img {
    filter: none;
}

/* Link di navigazione */
.nav-link {
    color: var(--white) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent) !important;
}

/* Linea sotto il link attivo/hover */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

/* Pulsante CTA nella navbar */
.btn-nav {
    background: var(--gradient) !important;
    border-radius: var(--radius) !important;
    margin-left: 1rem;
}

.btn-nav:hover {
    transform: scale(1.05);
}

/* Hamburger menu mobile */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar.scrolled .navbar-toggler-icon {
    filter: invert(1);            /* Inverte colore su sfondo bianco */
}


/* ===========================================
   7. SEZIONE HERO
   ===========================================
   Sezione principale di apertura con
   sfondo sfumato e animazioni decorative.
*/

.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--secondary) 0%, #0f172a 50%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

/* Sfondo con effetti radiali animati */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 40% 80%, rgba(37, 99, 235, 0.1) 0%, transparent 40%);
    animation: bgPulse 8s ease-in-out infinite;
}

@keyframes bgPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Titolo hero */
.hero-title {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

/* Sottotitolo */
.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    max-width: 550px;
}

/* Lista caratteristiche */
.hero-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.hero-features li {
    color: var(--white);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-features i {
    color: var(--accent);
    font-size: 1.2rem;
}

/* Elementi decorativi flottanti */
.hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 6s ease-in-out infinite;
}

.floating-card i {
    font-size: 3rem;
    color: var(--white);
}

/* Posizioni e dimensioni card flottanti */
.card-1 {
    width: 150px;
    height: 150px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    width: 120px;
    height: 120px;
    top: 50%;
    right: 10%;
    animation-delay: 1s;
}

.card-3 {
    width: 100px;
    height: 100px;
    bottom: 15%;
    left: 30%;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* Indicatore scroll in basso */
.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.hero-scroll a {
    color: var(--white);
    font-size: 2rem;
    opacity: 0.7;
    transition: var(--transition);
}

.hero-scroll a:hover {
    opacity: 1;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-15px); }
    60% { transform: translateX(-50%) translateY(-7px); }
}


/* ===========================================
   8. CARD SERVIZI
   ===========================================
   Card per la presentazione dei servizi
   con effetti hover e barra colorata.
*/

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    transition: var(--transition);
    border: 1px solid var(--gray-light);
    position: relative;
    overflow: hidden;
}

/* Barra superiore che appare all'hover */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.service-card:hover::before {
    transform: scaleX(1);
}

/* Icona servizio */
.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

/* Tag caratteristiche servizio */
.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.service-features span {
    background: var(--light);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 5px;
}

.service-features i {
    color: var(--primary);
}


/* ===========================================
   9. SEZIONE TARGET (Per chi lavoriamo)
   ===========================================
*/

/* Griglia icone target */
.target-visual {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 400px;
}

/* Singolo elemento target */
.target-item {
    background: var(--gradient);
    color: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    transition: var(--transition);
}

.target-item:hover {
    transform: scale(1.05);
}

.target-item i {
    font-size: 1.5rem;
}

/* Benefici */
.target-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--secondary);
}

.benefit-item i {
    width: 40px;
    height: 40px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}


/* ===========================================
   10. CARD PUNTI DI FORZA
   ===========================================
   Card su sfondo scuro con numero grande.
*/

.strength-card {
    padding: 2rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    height: 100%;
}

.strength-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

/* Numero grande con sfumatura */
.strength-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.strength-card h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.strength-card p {
    color: rgba(255, 255, 255, 0.85);
}


/* ===========================================
   11. TIMELINE (Metodo di lavoro)
   ===========================================
   Timeline verticale con marcatori numerati.
*/

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

/* Linea verticale */
.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient);
    border-radius: 3px;
}

/* Singolo step */
.timeline-item {
    position: relative;
    padding-left: 80px;
    padding-bottom: 3rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

/* Marcatore numerato */
.timeline-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 8px var(--light);
}

.timeline-marker span {
    color: var(--white);
    font-weight: 700;
    font-size: 1.2rem;
}

/* Contenuto dello step */
.timeline-content {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-light);
}

.timeline-content h3 {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.timeline-content h3 i {
    color: var(--primary);
}


/* ===========================================
   12. PORTFOLIO
   ===========================================
   Griglia di card per i progetti.
   Usa flexbox per altezze uniformi.
*/

/* Contenitore griglia */
#portfolio-grid {
    display: flex;
    flex-wrap: wrap;
}

/* Colonne con altezza uniforme */
#portfolio-grid > [class*="col-"] {
    display: flex;
}

/* Singola card progetto */
.portfolio-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;                /* Altezza uniforme per riga */
    width: 100%;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

/* Immagine progetto */
.portfolio-image {
    position: relative;
    height: 220px;
    background: var(--gradient);  /* Sfondo se manca l'immagine */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

/* Icona placeholder */
.portfolio-image .placeholder-icon {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.3);
}

/* Zoom immagine all'hover */
.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

/* Overlay con link */
.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(37, 99, 235, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay a {
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    transform: scale(0);
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay a {
    transform: scale(1);
}

/* Contenuto testuale */
.portfolio-content {
    padding: 1.5rem;
    flex: 1;                      /* Espande per riempire altezza */
    display: flex;
    flex-direction: column;
}

.portfolio-content h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.portfolio-content p {
    font-size: 0.9rem;
    margin-bottom: 0;
}


/* ===========================================
   13. SEZIONE CHI SIAMO
   ===========================================
*/

.about-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
}

/* Forma animata di sfondo */
.about-shape {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--gradient);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morph 8s ease-in-out infinite;
    opacity: 0.2;
}

@keyframes morph {
    0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    50% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
}

.about-logo {
    position: relative;
    z-index: 2;
    max-width: 200px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

/* Badge anni di esperienza */
.about-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient);
    color: var(--white);
    padding: 1rem;
    border-radius: var(--radius);
    text-align: center;
    z-index: 3;
}

.about-badge .years {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.about-badge .text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Statistiche */
.about-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-item i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    display: block;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--gray);
    margin-top: 0.5rem;
}


/* ===========================================
   14. FOOTER
   ===========================================
*/

.footer {
    background: var(--secondary);
    color: var(--white);
    padding: 4rem 0 2rem;
}

/* Logo invertito per sfondo scuro */
.footer-logo {
    filter: brightness(0) invert(1);
}

/* Testi nel footer */
.footer p {
    color: rgba(255, 255, 255, 0.9);
}

.footer .small,
.footer .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

.footer a {
    color: rgba(255, 255, 255, 0.85);
    transition: var(--transition);
}

.footer a:hover {
    color: var(--white);
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.1);
}

/* Navigazione footer */
.footer-nav {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.footer-nav a {
    font-weight: 500;
}


/* ===========================================
   15. MEDIA QUERIES (Responsive)
   ===========================================
   Adattamenti per tablet e dispositivi mobili.
*/

/* Tablet e schermi medi */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-padding {
        padding: 60px 0;
    }

    /* Menu mobile */
    .navbar-collapse {
        background: var(--white);
        padding: 1rem;
        border-radius: var(--radius);
        margin-top: 1rem;
        box-shadow: var(--shadow-lg);
    }

    .navbar-collapse .nav-link {
        color: var(--secondary) !important;
    }

    /* Timeline più compatta */
    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        padding-left: 60px;
    }

    .timeline-marker {
        width: 40px;
        height: 40px;
    }

    .timeline-marker span {
        font-size: 1rem;
    }

    .target-visual {
        margin-bottom: 2rem;
    }

    .footer-nav {
        justify-content: center;
        margin-top: 1rem;
    }
}

/* Smartphone */
@media (max-width: 575.98px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .btn {
        padding: 12px 24px;
    }

    .target-visual {
        grid-template-columns: 1fr;  /* Una colonna su mobile */
    }

    .about-stats {
        justify-content: center;
    }
}


/* ===========================================
   16. ANIMAZIONI
   ===========================================
*/

/* Animazione fade in verso l'alto */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/*
 * Offset per scroll con navbar fissa
 * Evita che i contenuti siano coperti dalla navbar
 * quando si naviga tramite link interni (#)
 */
:target::before {
    content: "";
    display: block;
    height: 100px;
    margin-top: -100px;
}
