
/*
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
*/

/*
    colors variables palette
*/

:root {
    --bg-color: #0f0f0f;    /* #1f242d; */
    --bg-color-alt: #202020;
    --fg-color: #f0f0f0;
    --fg-color-alt: #aabbcc;
    --bg-link-color: #1f242d;
    --fg-link-color: #00EEFF;
    --fg-color-typed: #00EEFF;
    --bg-social-color: #1f242d;
    --fg-social-color: #00EEFF;
    --bg-btn-color: #00EEFF;
    --fg-btn-color: #1f242d;
    --bg-header-color: transparent;
    --color-transparent: transparent;
}

/*
    GENERAL CSS
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
}

.wr400-font {
    /*font-family: "Anton", cursive;
    font-family: "Anton";*/
    font-family: "Poetsen One", sans-serif;
    font-weight: 400;
    font-style: normal;
}

body {
    background: var(--bg-color);
    color: var(--fg-color);

}

/*
    HEADER
*/
.header {
    position: fixed; /* Mantiene l'header in cima alla pagina */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 1.5s ease; /* Transizione per rendere il cambio fluido */
}

/* Stile per l'header quando viene scrollato */
.header.scrolled {
    background-color: var(--bg-color-alt); /* Sostituisci con il colore opaco desiderato */
    box-shadow: 0 4px 5px rgba(126, 126, 126, 0.2); /* Aggiunge un'ombra per farlo risaltare */
}

/**************************************************
***************************************************

                    MENU MAIN MENU

***************************************************
**************************************************/

.logo {
    font-size: 2.5rem;
    color: var(--fg-color);
    text-decoration: none;
    font-weight: 600;
    cursor: default;
    opacity: 0;
    animation: slideRight 1s ease forwards;

}

.header .logo img {
    height: 4rem; /* Imposta l'altezza desiderata per il logo */
    width: auto; /* Mantiene le proporzioni */
    vertical-align: middle; /* Allinea il logo verticalmente */
}

.navbar li {
    display: inline-block;
    margin-left: 3.5rem;
    transition: .3s;
    opacity: 0;
    animation: slideTop .5s ease forwards;
    animation-delay: calc(.2s*var(--i));
}

.navbar li a {
    color: var(--fg-color);
    font-size: 1.8rem;
    font-weight: 500;
    text-decoration: none;
}

.navbar li a:hover,
.navbar li.current-menu-item a {
    color: var(--fg-link-color);
    /*text-decoration: underline;*/
}

/**********************************

    Stile del sottomenu

***********************************/

.navbar ul.sub-menu {
    position: absolute; /* Rimuove il sottomenu dal flusso della pagina */
    top: 100%; /* Lo posiziona subito sotto il link principale */
    left: 0;
    opacity: 0;
    visibility: hidden;
    list-style: none;
    padding: 0;
    min-width: 200px;
    background-color: var(--bg-color-alt); /* Colore di sfondo del menu a tendina */
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    transition: opacity 0.5s ease;
    z-index: 99; /* Assicura che il menu appaia sopra gli altri elementi */
}

/* Rendi il sottomenu visibile al passaggio del mouse */
.navbar li:hover > ul.sub-menu {
    opacity: 1;
    visibility: visible;
}

/* Stile dei link del sottomenu */
.navbar ul.sub-menu li a {
    display: block;
    padding: 10px 15px;
    color: var(--fg-color);
    white-space: nowrap; /* Impedisce al testo di andare a capo */
}

/* Effetto al passaggio del mouse sui link del sottomenu */
.navbar ul.sub-menu li a:hover {
    background-color: var(--bg-link-color);
    color: var(--fg-link-color);
}

/**********************************************************/
/*    MENU RESPONSIVE - Icona Hamburger e Menu Mobile     */
/**********************************************************/

/* Icona Hamburger per Mobile */
#menu-icon {
    font-size: 3.6rem;
    color: var(--bg-btn-color);
    cursor: pointer;
    display: none; /* Nascosto per default su desktop */
    z-index: 101; /* Assicura che sia sopra l'header */
}

/* Nascondi il menu e l'icona sul mobile in base alla larghezza */
@media (max-width: 768px) {
    .header {
        background-color: var(--bg-color);
        box-shadow: 0 4px 6px rgba(255, 255, 255, 0.5);
    }
    
    /* Mostra l'icona hamburger */
    #menu-icon {
        display: block;
    }

    /* Nascondi la navbar per il layout mobile iniziale */
    .header nav {
        position: absolute;
        top: 100%; /* Posiziona sotto l'header */
        left: 0;
        width: 100%;
        padding: 0 5%;
        background: var(--bg-color-alt); /* Sfondo per il menu aperto */
        border-top: 1px solid var(--fg-color-alt);
        box-shadow: 0 4px 6px rgba(255, 255, 255, 0.5);

        /* Stato iniziale: NASCOSTO CON TRANSIZIONE */
        max-height: 0; /* Altezza effettiva del contenuto a 0 */
        overflow: hidden;
        transition: max-height 0.5s ease-in-out, padding 0.5s ease-in-out; /* Applica transizione a max-height e padding */
    }

    /* Stile per il menu quando è aperto */
    .header nav.active {
        /* Usa un valore sufficientemente grande per contenere tutto il menu */
        max-height: 500px; 
        padding-top: 1rem; /* Aggiungi il padding verticale quando è aperto */
        padding-bottom: 1rem;
    }

    /* Stili per gli elementi del menu mobile */
    .navbar {
        display: block; /* Ogni <li> su una nuova riga */
        text-align: left;
    }

    .navbar li {
        display: block;
        margin: 1.5rem 0; /* Spazio tra gli elementi */
        opacity: 1; /* Rimuove l'animazione di entrata slideTop specifica per desktop */
        animation: none;  /* Rimuove altre animazioni */
    }

    .navbar li a {
        font-size: 2rem;
        display: block; /* Rende cliccabile tutta l'area */
        padding: 0.5rem 0;
    }

    /* Adatta il sottomenu alla visualizzazione mobile */
    .navbar ul.sub-menu {
        position: static; /* Non più assoluto, fluisce nel documento */
        opacity: 1;
        visibility: visible;
        background-color: transparent; /* Sfondo trasparente o meno visibile */
        box-shadow: none;
        padding-left: 2rem; /* Indenta il sottomenu */
        border-left: 2px solid var(--fg-link-color);
        min-width: auto;
    }

    .navbar ul.sub-menu li a {
        padding: 5px 10px;
        font-size: 1.6rem;
    }

    .navbar ul.sub-menu li a:hover {
        background-color: transparent;
        color: var(--fg-link-color);
    }
}



/********************************************
*
*    HERO
*
*********************************************/

.home {
    /* border: 1px solid green; */
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0rem 10% 0rem;

}

.home-content {
    /* border: 1px solid red; */
    max-width: 60%;
}

.home-content h1 {
    /* border: 1px solid orange; */
    font-size: 17rem;
    font-weight: 700;
    padding-bottom: 2rem;
    /* margin: -0.3rem 0; */
    opacity: 0;
    animation: slideRight 1s ease forwards;
    animation-delay: 1s;

}

.home-content h2 {
    /* border: 1px solid orange; */
    font-size: 6rem;
    font-weight: 400;
    padding-bottom: 2rem;
    opacity: 0;
    animation: slideBottom .5s ease forwards;
    animation-delay: .7s;

}

.home-content h3 {
    /* border: 1px solid orange; */
    font-size: 4rem;
    font-weight: 200;
    padding-bottom: 2rem;
    opacity: 0;
    animation: slideBottom .5s ease forwards;
    animation-delay: .7s;

}

.home-content h3:nth-of-type(2) {
    /* border: 1px solid orange; */
    margin-bottom: 3rem;
    animation: slideTop .5s ease forwards;
    animation-delay: .7s;

}

.home-content h3 span {
    /* border: 1px solid orange; */
    color: var(--fg-color-typed);
    font-size: 5.5rem;
}

.home-content p {
    /* border: 1px solid orange; */
    font-size: 2.5rem;
    font-weight: 200;
    padding-bottom: 2rem;
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: 1s;

}

.home-img img {
    /* border: 1px solid red; */
    max-width: 60rem;
    /* margin-right: 5rem; */
    opacity: 0;
    animation: zoomIn 1s ease forwards, floatImage 4s ease-in-out infinite;
    animation-delay: 2s, 3s;

    /* --- INIZIO CODICE PER EFFETTO NUVOLA --- */
    /*
     * Applica una maschera con un gradiente radiale.
     * L'immagine sarà completamente visibile al centro (black) e sfumerà
     * verso la totale trasparenza (transparent) sui bordi.
     * Puoi modificare le percentuali per cambiare l'intensità della sfumatura.
     * '60%' definisce la fine della parte solida, '80%' la fine della sfumatura.
    */
    -webkit-mask-image: radial-gradient(circle, black 20%, transparent 70%);
    mask-image: radial-gradient(circle, black 20%, transparent 70%);
    /* --- FINE CODICE PER EFFETTO NUVOLA --- */
    /* -webkit-mask-image: url("http://wp-ada/wp-content/themes/tema-ada/assets/img/irregulars-mask-01.png");
    -webkit-mask-size: cover;
    -webkit-mask-repeat: no-repeat;
    mask-image: url("http://wp-ada/wp-content/themes/tema-ada/assets/img/irregulars-mask-01.png");
    mask-size: cover;
    mask-repeat: no-repeat; */
}

/* .irregular-mask {
    -webkit-mask-image: url("http://localhost/wp-ada/wp-content/themes/tema-ada/assets/img/nuvole-co2-bw.jpg");
    -webkit-mask-size: cover;
    -webkit-mask-repeat: no-repeat;
    mask-image: url("http://localhost/wp-ada/wp-content/themes/tema-ada/assets/img/nuvole-co2-bw.jpg");
    mask-size: cover;
    mask-repeat: no-repeat;
} */

.social-media a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background: var(--bg-social-color);
    color: var(--fg-social-color);
    border: .2rem solid var(--fg-social-color);
    border-radius: 50%;
    text-decoration: none;
    margin: 3rem 1.5rem 3rem 0;
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: calc(.2s * var(--i));

}

.social-media i {
    /* border: 1px solid gold; */
    font-size: 2.5rem;
}

.social-media a:hover {
    background: var(--fg-social-color);
    color: var(--bg-social-color);
    box-shadow: 0 0 2rem var(--bg-social-color);

}

.btn {
    /* border: 1px solid gold; */
    display: inline-block;
    padding: 1.2rem 2.8rem;
    background: var(--bg-btn-color);
    color: var(--fg-btn-color);
    border-radius: 2.5rem;
    box-shadow: 0 0 1rem var(--bg-btn-color);
    font-size: 2rem;
    letter-spacing: .2rem;
    text-decoration: none;
    font-weight: 600;
    opacity: 0;
    animation: slideTop 1s ease forwards;
    animation-delay: 2s;

}

.btn:hover {
    box-shadow: 0 0 3rem var(--bg-btn-color) inset;
    background: var(--fg-btn-color);
    color: var(--bg-btn-color);

}

/*
    KEYFRAMES ANIMATION
*/

@keyframes slideRight {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideLeft {
    0% {
        transform: translateX(100px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideTop {
    0% {
        transform: translateY(100px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideBottom {
    0% {
        transform: translateY(-100px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes zoomIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes floatImage {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-24px);
    }
    100% {
        transform: translateY(1);
    }
}




/************************************

    SECTION GLASS CARDS FRONT-PAGE

*************************************/

.bgc {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    background: var(--bg-color-alt);
    min-height: 100vh;
}

.bgc__section {
    position: relative;
    width: 100%;
    height: 100vh;
}

.bgc__section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(#f00, #f0f);
    clip-path: circle(25% at right 90%);
}

.bgc__section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(#2196f3, #e91e63);
    clip-path: circle(20% at 10% 10%);
}

.bgc__container {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    height: 100%;
    /* margin: 4rem 0; */
}

.bgc__container .bgc__card {
    position: relative;
    width: 40vh;
    height: 50vh;
    background: rgba(255, 255, 255, 0.05);
    margin: 4rem;
    box-shadow: 0 1.5rem 3.5rem rgba(0, 0, 0, 0.2);
    border-radius: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(1rem);
}

.bgc__container .bgc__card .bgc__content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity: 0.5;
    transition: 0.5s;
}

.bgc__container .bgc__card:hover .bgc__content {
    opacity: 1;
    transform: translateY(-2rem);
}

.bgc__container .bgc__card .bgc__content .bgc__imgBx {
    position: relative;
    width: 20rem;
    height: 20rem;
    border-radius: 50%;
    overflow: hidden;
    border: 1rem solid rgba(0, 0, 0, 0.5);
}

.bgc__container .bgc__card .bgc__content .bgc__imgBx img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bgc__container .bgc__card .bgc__content .bgc__contentBx h3 {
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: .2rem;
    font-weight: 500;
    font-size: 2rem;
    text-align: center;
    margin: 2rem 0 1rem;
    line-height: 2rem;
}

.bgc__container .bgc__card .bgc__content .bgc__contentBx h3 span {
    font-size: 1.5rem;
    font-weight: 300;
    text-transform: initial;
}

.bgc__container .bgc__card .bgc__sci {
    position: absolute;
    bottom: 5rem;
    display: flex;
}

.bgc__container .bgc__card .bgc__sci li {
    /* border: 1px solid red; */
    list-style: none;
    margin: -1.5rem 1rem;
    transform: translateY(4rem);
    transition: 0.5s;
    opacity: 0;
    /* transition-delay: calc(0.1s * var(--i)); */
}

.bgc__container .bgc__card:hover .bgc__sci li {
    transform: translateY(1rem);
    opacity: 1;
}

/* .bgc__container .bgc__card .bgc__sci li a {
    color: var(--fg-btn-color);
}

.bgc__container .bgc__card .bgc__sci li a:hover {
    color: var(--bg-btn-color);
} */

.bgc__container .bgc__card .bgc__sci li a i {
    font-size: 2.5rem;
}

/******************************************
        BUTTON FRONT-PAGE
******************************************/

.btn-card {
    /* border: 1px solid gold; */
    display: inline-block;
    padding: 1.2rem 2.8rem;
    background: var(--bg-btn-color);
    color: var(--fg-btn-color);
    border-radius: 2.5rem;
    box-shadow: 0 0 1rem var(--bg-btn-color);
    font-size: 2rem;
    letter-spacing: .2rem;
    text-decoration: none;
    font-weight: 600;
    /* opacity: 0;
    animation: slideTop 1s ease forwards;
    animation-delay: 2s; */

}

.btn-card:hover {
    box-shadow: 0 0 3rem var(--bg-btn-color) inset;
    background: var(--fg-btn-color);
    color: var(--bg-btn-color);

}



/************************************
*
*   SECTION CHI SIAMO FRONT PAGE
*
*************************************/

.home-img-chi-siamo-front-page img {
    /* border: 1px solid red; */
    max-width: 60rem;
    /* margin-right: 5rem; */
    opacity: 0;
    animation: zoomIn 1s ease forwards, floatImage 4s ease-in-out infinite;
    animation-delay: 2s, 3s;

    /* --- INIZIO CODICE PER EFFETTO NUVOLA --- */
    /*
     * Applica una maschera con un gradiente radiale.
     * L'immagine sarà completamente visibile al centro (black) e sfumerà
     * verso la totale trasparenza (transparent) sui bordi.
     * Puoi modificare le percentuali per cambiare l'intensità della sfumatura.
     * '60%' definisce la fine della parte solida, '80%' la fine della sfumatura.
    */
    -webkit-mask-image: radial-gradient(ellipse, black 20%, transparent 70%);
    mask-image: radial-gradient(ellipse, black 20%, transparent 70%);
    /* --- FINE CODICE PER EFFETTO NUVOLA --- */
    /* -webkit-mask-image: url("http://wp-ada/wp-content/themes/tema-ada/assets/img/irregulars-mask-01.png");
    -webkit-mask-size: cover;
    -webkit-mask-repeat: no-repeat;
    mask-image: url("http://wp-ada/wp-content/themes/tema-ada/assets/img/irregulars-mask-01.png");
    mask-size: cover;
    mask-repeat: no-repeat; */
}

/************************************
*
*   SECTION COSA FACCIAMO FRONT PAGE
*
*************************************/

.home-cosa-facciamo {
    /* border: 1px solid green; */
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0rem 10% 0rem;
    background-color: var(--bg-color-alt);
}

.home-content-cosa-facciamo {
    /* border: 1px solid red; */
    max-width: 100%;
}

.home-content-cosa-facciamo h1 {
    /* border: 1px solid orange; */
    font-size: 17rem;
    font-weight: 700;
    padding-bottom: 2rem;
    /* margin: -0.3rem 0; */
    opacity: 0;
    animation: slideRight 1s ease forwards;
    animation-delay: 1s;

}

.home-content-cosa-facciamo h2 {
    /* border: 1px solid orange; */
    font-size: 6rem;
    font-weight: 400;
    padding-bottom: 2rem;
    opacity: 0;
    animation: slideBottom .5s ease forwards;
    animation-delay: .7s;

}

.home-content-cosa-facciamo h3 {
    /* border: 1px solid orange; */
    font-size: 4rem;
    font-weight: 200;
    padding-bottom: 2rem;
    /* opacity: 0;
    animation: slideBottom .5s ease forwards;
    animation-delay: .7s; */

}

.home-content-cosa-facciamo p {
    /* border: 1px solid orange; */
    font-size: 2.5rem;
    font-weight: 200;
    padding-bottom: 2rem;
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: 1s;

}

/*****************************************
                CAROUSEL
*****************************************/

.carousel {
    width: 100%;
    height: 50vh;
    overflow-x: auto;
    margin: 3rem auto;
    display: flex;
    gap: 3rem;
    /* scroll-behavior: smooth;
    anchor-name: --carousel;
    scroll-snap-type: x mandatory;
    scroll-marker-group: after; */
}

.carousel:hover .group {
    animation-play-state: paused;
}

.group {
    display: flex;
    gap: 3rem;
    flex: 0 0 100%;
    /* padding-right: 3rem; */
    will-change: transform;
    animation: scrolling 30s linear infinite;
}

/* .carousel::scroll-marker-group {
    display: flex;
    justify-content: center;
    gap: .5rem;
}

.carousel-card::scroll-marker {
    content: '';
    height: 2rem;
    width: 2rem;
    background-color: var(--fg-color);
    border-radius: 50%;
}

.carousel-card::scroll-marker:target-current {
    background-color: var(--bg-btn-color);
} */

.carousel::-webkit-scrollbar {
    display: none;
}

/* .carousel::scroll-button(right), .carousel::scroll-button(left) {
    content: '→';
    border: none;
    background-color: var(--bg-btn-color);
    font-family: Consolas;
    font-size: 3rem;
    font-weight: 800;
    color: var(--fg-btn-color);
    height: 6rem;
    width: 6rem;
    border-radius: 50%;
    padding-bottom: .1rem;
    cursor: pointer;
    /* position: absolute;
    top: 50%;
    right: 0; */
/*    position: fixed;
    position-anchor: --carousel;
    position-area: right center;
    translate: -50%;
    z-index: 10;
}

.carousel::scroll-button(left) {
    content: '←';
    position-area: left center;
    translate: 50%;
    z-index: 10;
}

.carousel::scroll-button(right):disabled, .carousel::scroll-button(left):disabled {
    opacity: 0.5;
    cursor: auto;
} */

.carousel-card {
    scroll-snap-align: start;
    flex: 0 0 20rem;
    /* height: 12rem; */
    aspect-ratio: 5 / 3;
    /* background-color: var(--bg-color-alt); */
    background-color: var(--bg-color);
    padding: 2rem;
    border-radius: 1.5rem;
    text-align: center;
    align-content: center;
    /* max-height: 70vh; */
    position: relative;
}

.carousel-card-content {
    /* Abilita il Flexbox o Grid se necessario. Useremo position: absolute per l'immagine
       e il testo per far sì che l'immagine copra tutto e il testo sia sopra. */
    width: 100%;
    height: 100%;
    position: relative; /* Importante per posizionare i figli assoluti */
    /* Rimuovi il padding se vuoi che l'immagine occupi il 100% dell'area */
    padding: 0; /* Rimosso il padding per massimizzare l'area dell'immagine/testo */
}

.carousel-card-content-img {
    width: 100%;
    height: 100%;
    overflow: hidden; /* Assicura che l'immagine non strabordi */
    position: absolute; /* Copre completamente il contenitore .carousel-card-content */
    top: 0;
    left: 0;
    border-radius: 1.5rem;
}

.carousel-card-content-img img {
    width: 100%;
    height: 100%;
    /* Riempi lo spazio mantenendo le proporzioni e ritagliando,
       o usa 'contain' se preferisci vedere l'immagine completa */
    object-fit: cover; 
    border-radius: 1.5rem; /* Aggiungi il border-radius qui o su .carousel-card-content se preferisci */
    filter: blur(3px);
}

.carousel-card-content-text {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    /* Centratura con Flexbox */
    display: flex; 
    justify-content: center; /* Centra orizzontalmente */
    align-items: center; /* Centra verticalmente */
    /* text-align: center; */
    padding: 5rem; /* Aggiungi un po' di padding per non attaccare il testo ai bordi */
    z-index: 10; /* Assicura che il testo sia sopra l'immagine */
}

.carousel-card-content-text h3 {
    font-size: 5rem;
    font-weight: 400;
    color: var(--fg-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Ombra per una migliore leggibilità */
}

@keyframes scrolling {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

@media(max-width: 50rem) {
    .carousel-card {
        flex: 0 0 100%;
    }
}


/* .home-img-cosa-facciamo-front-page img {
    /* border: 1px solid red; *//*
    max-width: 60rem;
    /* margin-right: 5rem; *//*
    opacity: 0;
    animation: zoomIn 1s ease forwards, floatImage 4s ease-in-out infinite;
    animation-delay: 2s, 3s;

    /* --- INIZIO CODICE PER EFFETTO NUVOLA --- */
    /*
     * Applica una maschera con un gradiente radiale.
     * L'immagine sarà completamente visibile al centro (black) e sfumerà
     * verso la totale trasparenza (transparent) sui bordi.
     * Puoi modificare le percentuali per cambiare l'intensità della sfumatura.
     * '60%' definisce la fine della parte solida, '80%' la fine della sfumatura.
    *//*
    -webkit-mask-image: radial-gradient(ellipse, black 20%, transparent 70%);
    mask-image: radial-gradient(ellipse, black 20%, transparent 70%); */
    /* --- FINE CODICE PER EFFETTO NUVOLA --- */
    /* -webkit-mask-image: url("http://wp-ada/wp-content/themes/tema-ada/assets/img/irregulars-mask-01.png");
    -webkit-mask-size: cover;
    -webkit-mask-repeat: no-repeat;
    mask-image: url("http://wp-ada/wp-content/themes/tema-ada/assets/img/irregulars-mask-01.png");
    mask-size: cover;
    mask-repeat: no-repeat; */
/* } */












/*****************************************************
*****************************************************
*****************************************************
*****************************************************
*****************************************************

                PAGE SERVIZI E PRODOTTI

******************************************************
******************************************************
******************************************************
******************************************************
******************************************************/

.page-servizi-e-prodotti-home {
    /* border: 1px solid green; */
    position: relative;
    width: 100%;
    /* height: 100vh; */
    display: flex;
    justify-content: center;
    align-items: center;
    /* padding: 0rem 10% 0rem; */
    padding: 5% 10%;
}

.page-servizi-e-prodotti-home-content {
    /* border: 1px solid red; */
    max-width: 100%;
}

.page-servizi-e-prodotti hr{
    margin: 4rem 20%;
    opacity: 0;
    animation: slideTop 1s ease forwards;
    animation-delay: 1s;
}

.page-servizi-e-prodotti h1{
    font-size: 10rem;
    padding-bottom: 2rem;
    opacity: 0;
    animation: slideRight 1s ease forwards;
    animation-delay: 1s;
}

.page-servizi-e-prodotti h2{
    font-size: 6rem;
    font-weight: 400;
    color: var(--fg-link-color);
    padding-bottom: 2rem;
    opacity: 0;
    animation: slideRight 1s ease forwards;
    animation-delay: 1.2s;
}

.page-servizi-e-prodotti h3{
    font-size: 4rem;
    font-weight: 400;
    padding-bottom: 2rem;
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: 1s;
}

.page-servizi-e-prodotti h4{
    font-size: 2rem;
    font-weight: 400;
    /* color: var(--fg-link-color); */
    /* text-decoration: underline; */
    padding-bottom: .5rem;
    opacity: 0;
    animation: slideRight 1s ease forwards;
    animation-delay: 1s;
}

.page-servizi-e-prodotti p{
    font-size: 2rem;
    font-weight: 200;
    padding-bottom: 1rem;
    opacity: 0;
    animation: slideRight 1s ease forwards;
    animation-delay: 1.3s;
}

.page-servizi-e-prodotti p strong{
    font-size: 2rem;
    font-weight: 600;
}

.page-servizi-e-prodotti ul{
    padding-left: 4rem;
    padding-bottom: 3rem;
    opacity: 0;
    animation: slideRight 1s ease forwards;
    animation-delay: 1.4s;
}

.page-servizi-e-prodotti li{
    font-size: 1.8rem;
    font-weight: 200;
}

.page-servizi-e-prodotti li::marker{
    color: var(--fg-link-color);
}


/*****************************************************
*****************************************************
*****************************************************
*****************************************************
*****************************************************

                PAGE CHI-SIAMO

*****************************************************
*****************************************************
*****************************************************
*****************************************************
*****************************************************/

.page-chi-siamo h1{
    font-size: 10rem;
    padding-bottom: 2rem;
}

.page-chi-siamo h3{
    /* font-size: 10rem; */
    padding-bottom: 2rem;
}

.page-chi-siamo p{
    font-size: 2rem;
    padding-bottom: 1rem;
}

.page-chi-siamo p strong{
    font-size: 2rem;
    font-weight: 600;
}

.page-chi-siamo-home-img img {
    /* border: 1px solid red; */
    max-width: 60rem;
    /* margin-right: 5rem; */
    opacity: 0;
    animation: zoomIn 1s ease forwards, floatImage 4s ease-in-out infinite;
    animation-delay: 2s, 3s;

    /* --- INIZIO CODICE PER EFFETTO NUVOLA --- */
    /*
     * Applica una maschera con un gradiente radiale.
     * L'immagine sarà completamente visibile al centro (black) e sfumerà
     * verso la totale trasparenza (transparent) sui bordi.
     * Puoi modificare le percentuali per cambiare l'intensità della sfumatura.
     * '60%' definisce la fine della parte solida, '80%' la fine della sfumatura.
    */
    -webkit-mask-image: radial-gradient(30% 60%, black 20%, transparent 70%);
    mask-image: radial-gradient(40% 70%, black 20%, transparent 70%);
    /* --- FINE CODICE PER EFFETTO NUVOLA --- */
    /* -webkit-mask-image: url("http://wp-ada/wp-content/themes/tema-ada/assets/img/irregulars-mask-01.png");
    -webkit-mask-size: cover;
    -webkit-mask-repeat: no-repeat;
    mask-image: url("http://wp-ada/wp-content/themes/tema-ada/assets/img/irregulars-mask-01.png");
    mask-size: cover;
    mask-repeat: no-repeat; */
}

/*
    SECTION GLASS CARDS CHI SIAMO
*/

.page-chi-siamo-bgc {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    background: var(--bg-color-alt);
    min-height: 100vh;
}

.page-chi-siamo-bgc__section {
    position: relative;
    width: 100%;
    height: 100vh;
}

.page-chi-siamo-bgc__section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: linear-gradient(#f00, #f0f);
    clip-path: circle(35% at right 80%);*/
	background: linear-gradient(to right, #f00, #f0f);
	clip-path: polygon(
	  10% 70%, 20% 90%, 30% 70%, 40% 90%, 50% 70%,
	  60% 90%, 70% 70%, 80% 90%, 90% 70%, 80% 80%
	);
}

.page-chi-siamo-bgc__section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: linear-gradient(#2196f3, #e91e63);
    clip-path: circle(20% at 10% 10%);*/
	background: linear-gradient(to right, #2196f3, #e91e63);
	clip-path: polygon(
	  15% 10%, 25% 30%, 35% 10%, 45% 30%, 55% 10%,
	  65% 30%, 75% 10%, 85% 30%, 90% 10%, 10% 20%
	);
}

.page-chi-siamo-bgc__container {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    height: 100%;
    margin: 4rem 0;
}

.page-chi-siamo-bgc__container .bgc__card {
    position: relative;
    width: 17.5vw;
    height: 50vh;
    background: rgba(255, 255, 255, 0.05);
    margin: 4rem;
    box-shadow: 0 1.5rem 3.5rem rgba(0, 0, 0, 0.2);
    border-radius: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(1rem);
}

.page-chi-siamo-bgc__container .bgc__card .bgc__content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity: 0.5;
    transition: 0.5s;
}

.page-chi-siamo-bgc__container .bgc__card:hover .bgc__content {
    opacity: 1;
    transform: translateY(-2rem);
}

.page-chi-siamo-bgc__container .bgc__card .bgc__content .bgc__imgBx {
    position: relative;
    width: 25rem;
    height: 25rem;
    border-radius: 50%;
    overflow: hidden;
    border: 1rem solid rgba(0, 0, 0, 0.5);
}

.page-chi-siamo-bgc__container .bgc__card .bgc__content .bgc__imgBx img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-chi-siamo-bgc__container .bgc__card .bgc__content .bgc__contentBx h3 {
    color: var(--fg-color);
    text-transform: uppercase;
    letter-spacing: .2rem;
    font-weight: 500;
    font-size: 2rem;
    text-align: center;
    margin: 2rem 0 1rem;
    line-height: 2rem;
}

.page-chi-siamo-bgc__container .bgc__card .bgc__content .bgc__contentBx h3 span {
    font-size: 1.5rem;
    font-weight: 300;
    text-transform: initial;
}

.page-chi-siamo-bgc__container .bgc__card .bgc__sci {
    position: absolute;
    bottom: 5rem;
    display: flex;
}

.page-chi-siamo-bgc__container .bgc__card .bgc__sci li {
    /* border: 1px solid red; */
    list-style: none;
    margin: 0 1rem;
    transform: translateY(4rem);
    transition: 0.5s;
    opacity: 0;
    transition-delay: calc(0.1s * var(--i));
}

.page-chi-siamo-bgc__container .bgc__card:hover .bgc__sci li {
    transform: translateY(1rem);
    opacity: 1;
}

.page-chi-siamo-bgc__container .bgc__card .bgc__sci li a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background: var();
    color: var(--fg-social-color);
    /* border: .2rem solid var(--fg-social-color); */
    border-radius: 50%;
    text-decoration: none;
    /* margin: 3rem 1.5rem 3rem 0; */
}

.page-chi-siamo-bgc__container .bgc__card .bgc__sci li a:hover {
    background: var(--fg-social-color);
    color: var(--bg-color);
    /* box-shadow: 0 0 2rem var(--bg-social-color); */
}

.page-chi-siamo-bgc__container .bgc__card .bgc__sci li a i {
    font-size: 3rem;
}


/*****************************************************
*****************************************************
*****************************************************
*****************************************************
*****************************************************

            Stili per Contact Form 7

*****************************************************
*****************************************************
*****************************************************
*****************************************************
*****************************************************/

.wpcf7-wr400-font {
    /* border: 1px solid red; */
    /*font-family: "Anton", cursive;
    font-family: "Anton";*/
    font-family: "Poetsen One", sans-serif;
    font-size: 8rem;
    font-weight: 400;
    font-style: normal;
    margin: 10rem 0 -3rem 0;
    text-align: center;
}

.wpcf7 {
    padding: 3rem;
    background: var(--bg-color-alt);
    border-radius: 1.5rem;
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.2);
    max-width: 600px;
    margin: 4rem auto;
}

.wpcf7 form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.wpcf7-form-control-wrap {
    display: block;
}

.wpcf7-form-control:not(.wpcf7-submit) {
    width: 100%;
    padding: 1.5rem 2rem;
    font-size: 1.8rem;
    color: var(--fg-color);
    background-color: var(--bg-color);
    border: 1px solid var(--fg-color-alt);
    border-radius: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.wpcf7-form-control:not(.wpcf7-submit):focus {
    outline: none;
    border-color: var(--fg-link-color);
    box-shadow: 0 0 1rem rgba(0, 238, 255, 0.5);
}

.wpcf7-form-control::placeholder {
    color: var(--fg-color-alt);
    opacity: 0.7;
}

textarea.wpcf7-textarea {
    resize: vertical;
    min-height: 15rem;
}

label {
    font-size: 1.8rem;
    color: var(--fg-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
}

.wpcf7-submit {
    display: inline-block;
    padding: 1.2rem 2.8rem;
    background: var(--bg-btn-color);
    color: var(--fg-btn-color);
    border: none;
    border-radius: 2.5rem;
    box-shadow: 0 0 1rem var(--bg-btn-color);
    font-size: 2rem;
    letter-spacing: .2rem;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.wpcf7-submit:hover {
    box-shadow: 0 0 3rem var(--bg-btn-color) inset;
    background: var(--fg-btn-color);
    color: var(--bg-btn-color);
}

.wpcf7-response-output {
    margin-top: 2rem;
    font-size: 1.6rem;
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
}


/*****************************************************
*****************************************************
*****************************************************
*****************************************************
*****************************************************

                PAGE PRIVACY POLICY

*****************************************************
*****************************************************
*****************************************************
*****************************************************
*****************************************************/
.page-privacy-policy-wr400-font {
    /*font-family: "Anton", cursive;
    font-family: "Anton";*/
    font-family: "Poetsen One", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.page-privacy-policy-home {
    /* border: 1px solid green; */
    position: relative;
    width: 100%;
    /* height: 100vh; */
    display: flex;
    justify-content: center;
    align-items: center;
    /* padding: 0rem 10% 0rem; */
    padding: 5% 10%;
}

.page-privacy-policy-home-content {
    /* border: 1px solid red; */
    max-width: 100%;
}

.page-privacy-policy-home-content h1 {
    /* border: 1px solid orange; */
    font-size: 17rem;
    font-weight: 700;
    padding-bottom: 2rem;
    /* margin: -0.3rem 0; */
    opacity: 0;
    animation: slideRight 1s ease forwards;
    animation-delay: 1s;

}

.page-privacy-policy-home-content h2 {
    /* border: 1px solid orange; */
    font-size: 6rem;
    font-weight: 400;
    padding-bottom: 2rem;
    opacity: 0;
    animation: slideBottom .5s ease forwards;
    animation-delay: .7s;

}

.page-privacy-policy-home-content h3 {
    /* border: 1px solid orange; */
    font-size: 4rem;
    font-weight: 200;
    padding: 2rem 0 1rem;
    opacity: 0;
    animation: slideBottom .5s ease forwards;
    animation-delay: .7s;

}

.page-privacy-policy-home-content p {
    /* border: 1px solid orange; */
    font-size: 2.5rem;
    font-weight: 200;
    text-align: justify;
    padding-bottom: 2rem;
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: 1s;
}

.page-privacy-policy-home-content a {
    /* border: 1px solid orange; */
    font-size: 2.5rem;
    font-weight: 200;
    color: var(--fg-link-color);
    /* text-align: justify; */
    /* padding-bottom: 2rem; */
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: 1s;
}



/*****************************************************
*****************************************************
*****************************************************
*****************************************************
*****************************************************

                SECTION FOOTER

*****************************************************
*****************************************************
*****************************************************
TODO: CONTROLLARE IL MENU DEL FOOTER
*****************************************************
*****************************************************/

.footer {
    /* background: var(--bg-color-alt); */
    padding: 6rem 10%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 3rem;
}

.footer__section {
    flex-basis: 30%;
    min-width: 25rem;
}

.footer__section h3 {
    font-size: 2.2rem;
    color: var(--fg-color);
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--fg-social-color);
    display: inline-block;
    padding-bottom: .5rem;
}

.footer__section p,
.footer__section a {
    font-size: 1.6rem;
    color: var(--fg-color-alt);
    text-decoration: none;
    line-height: 1.8;
}

.footer__links a:hover {
    color: var(--fg-social-color);
}

.footer__copyright {
    width: 100%;
    text-align: center;
    border-top: 1px solid var(--fg-color-alt);
    padding-top: 2rem;
    margin-top: 2rem;
}



/*****************************************************
*****************************************************
*****************************************************
*****************************************************
*****************************************************

            PAGE COOKIE POLICY (UE)

*****************************************************
*****************************************************
*****************************************************
*****************************************************
*****************************************************/

#cmplz-document, #cmplz-document p, #cmplz-document span, #cmplz-document li {
    /* General Font Color
    color: white; */
    color: var(--fg-color);
}
#cmplz-document a {
     /* General Link Color
    color: #85d5ff; */
    color: var(--fg-link-color);
}

#cmplz-document a:visited {
     /* Link visited
    color: #deb7ff; */
    color: var(--fg-link-color);
}

#cmplz-cookies-overview .cmplz-dropdown, #cmplz-document .cmplz-dropdown, .editor-styles-wrapper .cmplz-unlinked-mode .cmplz-dropdown {
    /* background-color: unset; */
    background-color: var(--bg-color-alt);
}

#cmplz-cookies-overview .cmplz-dropdown summary, #cmplz-document .cmplz-dropdown summary, .editor-styles-wrapper .cmplz-unlinked-mode .cmplz-dropdown summary {
     /* Background Color */
    color: #1A1423;
}

#cmplz-cookies-overview .cmplz-dropdown summary p, #cmplz-document .cmplz-dropdown summary p, .editor-styles-wrapper .cmplz-unlinked-mode .cmplz-dropdown summary p {
     /* Background Color */
    color: #1A1423;
    font-weight: 500;
}

#cmplz-cookies-overview .cmplz-dropdown .cookies-per-purpose div,
#cmplz-document .cmplz-dropdown .cookies-per-purpose div, .editor-styles-wrapper .cmplz-unlinked-mode .cmplz-dropdown .cookies-per-purpose div,
#cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose, #cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose, .editor-styles-wrapper .cmplz-unlinked-mode .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose
{
    background-color: unset!important;
}

cmplz-cookies-overview .cmplz-dropdown summary, #cmplz-document .cmplz-dropdown summary, .editor-styles-wrapper .cmplz-unlinked-mode .cmplz-dropdown summary,
#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header
{
    background-color: #909090;
    /* Category Titles */
    font-size: 18px;
    font-weight: 400;
    /* Background Color */
    color: #1A1423;
}
#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-always-active {
    /* Background Color */
    color: #1A1423;
}
#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-description {
    padding: 10px;
    /* Background Color */
    background: #1A1423;
}

.cmplz-category-title {
    color: #1A1423!important;
    font-weight: 500;
}




/* *********************************************************************** */
/* *********************************************************************** */
/* *********************************************************************** */
/* *********************************************************************** */
/* *********************************************************************** */
/* *********************************************************************** */
/* *********************************************************************** */
/* *********************************************************************** */
/* *********************************************************************** */
/* *********************************************************************** */
/* *********************************************************************** */
/* *********************************************************************** */
/* *********************************************************************** */
/*
    STILE PER PAGINE DINAMICHE (BLOG/POSTS/PAGES)
*/

.section-container {
    /*padding: 8rem 10% 4rem; /* Padding simile alle sezioni .home */
    /*max-width: 1200px; /* Larghezza massima per centrare il contenuto */
    /*margin: 0 auto; /* Centra il contenitore */

    border: 1px solid green;
    position: relative;
    width: 100%;
    /* height: 100vh; */
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* padding: 0rem 10% 0rem; */
    padding: 5% 10%;
}

.page-header {
    margin-bottom: 3rem;
    border-bottom: 2px solid var(--fg-color-alt); /* Linea sotto il titolo */
    padding-bottom: 1.5rem;
    text-align: center; /* Centra il titolo della pagina */
}

.page-title {
    font-size: 5rem;
    font-weight: 700;
    color: var(--fg-color);
}

.article-summary {
    margin-bottom: 4rem;
    border-bottom: 1px solid var(--bg-color-alt);
    padding-bottom: 3rem;
    background: var(--bg-color-alt); /* Sfondo per le card degli articoli */
    border-radius: 1.5rem; /* Bordi arrotondati */
    padding: 2.5rem; /* Padding interno */
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.2); /* Ombra leggera */
}

.entry-header {
    margin-bottom: 1.5rem;
}

.entry-title {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.entry-title a {
    text-decoration: none;
    color: var(--fg-color);
    transition: .3s ease;
}

.entry-title a:hover {
    color: var(--fg-link-color);
}

.entry-meta {
    font-size: 1.4rem;
    color: var(--fg-color-alt);
    margin-bottom: 1.5rem;
}

.entry-summary p {
    font-size: 1.8rem;
    line-height: 1.6;
    color: var(--fg-color-alt);
}

.entry-footer {
    margin-top: 2rem;
}

/* Stile per la paginazione */
.navigation.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 5rem;
}

.nav-links {
    display: flex;
    gap: 1rem;
}

.page-numbers {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background: var(--bg-social-color);
    color: var(--fg-social-color);
    border: .2rem solid var(--fg-social-color);
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.8rem;
    transition: .3s;
}

.page-numbers.current,
.page-numbers:hover {
    background: var(--fg-social-color);
    color: var(--bg-social-color);
    box-shadow: 0 0 2rem var(--bg-social-color);
}

.nav-links .prev,
.nav-links .next {
    font-size: 1.8rem;
    color: var(--fg-link-color);
    text-decoration: none;
    padding: 1rem 1.5rem;
    border-radius: 2.5rem;
    transition: .3s;
    border: 2px solid var(--fg-link-color);
}

.nav-links .prev:hover,
.nav-links .next:hover {
    background: var(--fg-link-color);
    color: var(--bg-social-color);
    box-shadow: 0 0 2rem var(--fg-link-color);
}




/*
    STILE PER PAGINE DINAMICHE (SINGLE)
*/

.single-post-entry {
    background: var(--bg-color-alt);
    border-radius: 1.5rem;
    padding: 3rem;
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.2);
}

.single-post-entry .entry-header {
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--bg-color-alt);
    padding-bottom: 2rem;
}

.single-post-entry .entry-title {
    font-size: 5rem;
    font-weight: 700;
    color: var(--fg-color);
    margin-bottom: 1rem;
    text-align: center;
}

.single-post-entry .entry-meta {
    font-size: 1.5rem;
    color: var(--fg-color-alt);
    margin-top: 1.5rem;
    text-align: center;
}

.single-post-entry .entry-meta a {
    color: var(--fg-link-color);
    text-decoration: none;
    transition: .3s;
}

.single-post-entry .entry-meta a:hover {
    text-decoration: underline;
}

.single-post-entry .entry-content {
    font-size: 2.8rem; /*1.8*/
    line-height: 1.7;
    color: var(--fg-color-alt);
    margin-bottom: 3rem;
}

.single-post-entry .entry-content p {
    margin-bottom: 2.5rem; /*1.5*/
}

.single-post-entry .entry-footer {
    margin-top: 4rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--bg-color-alt);
    font-size: 1.5rem;
    text-align: center; /* Centra tag e link modifica */
}

.tags-links {
    margin-bottom: 1.5rem;
    color: var(--fg-color-alt);
}

.tags-links a {
    color: var(--fg-link-color);
    text-decoration: none;
    margin-right: 0.5rem;
    transition: .3s;
}

.tags-links a:hover {
    text-decoration: underline;
}

.edit-link {
    display: block;
    margin-top: 1.5rem;
}

.edit-link a {
    color: var(--fg-link-color);
    text-decoration: none;
    font-weight: 500;
    transition: .3s;
}

.edit-link a:hover {
    text-decoration: underline;
}

/* Stile per la navigazione precedente/successivo */
.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 5rem;
    padding: 2rem;
    background: var(--bg-color-alt);
    border-radius: 1.5rem;
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.2);
}

.nav-previous,
.nav-next {
    flex: 1;
}

.nav-previous {
    text-align: left;
}

.nav-next {
    text-align: right;
}

.post-navigation .nav-subtitle {
    display: block;
    font-size: 1.4rem;
    color: var(--fg-color-alt);
}

.post-navigation .nav-title {
    display: block;
    font-size: 2rem;
    font-weight: 600;
    color: var(--fg-link-color);
    text-decoration: none;
    transition: .3s;
}

.post-navigation a:hover .nav-title {
    text-decoration: underline;
}








/*
    SECTION 3 CARDS
*/

/* .col-3 {
    /* border: 1px solid red;
    background-image: linear-gradient(0deg, rgba(25,25,25,0) 0%, rgba(0,238,255,0.2) 50%, rgba(25,25,25,0) 100%), url();
    background-repeat: no-repeat;
    background-size: cover;
    background-blend-mode: multiply;
    /* background-position: bottom;
    padding: 7rem 10% 0;
}

.cards {
    /* border: 1px solid blue;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    height: calc(100vh/2);
    gap: 1rem;
    max-width: 100%;
    padding: 0rem 10% 0;

}

.card {
    /* border: .2rem solid var(--fg-color-alt);
    display: block;
    width: 20%;
    /* min-height: 100%;
    overflow: hidden;
    border-radius: 2rem;
    position: relative;
    box-shadow: 0 3rem 2rem -.4rem rgba(0,0,0,0.4);
    transition: 600ms all ease-in-out;
}

.card__img {
    /* border: 1px solid green;
    max-width: 100%;
}

.card__content {
    position: absolute;
    bottom: 0;
    left: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 100%), url() no-repeat center center;
    bottom: -100%;
    transition: 450ms all ease-in-out;
    text-shadow: 0 0 1rem #1d1d1d;
}

.card__content h3 {
    font-size: 2.8rem;
    font-weight: 600;
    margin: 1rem;
    /* opacity: 0;
    animation: slideRight 1s ease forwards;
    animation-delay: 1s; //
}

.card__content p {
    font-size: 1.6rem;
    padding: 1rem;
    /* opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: 1s; //
}

.card__content .button {
    display: inline-block;
    padding: 1.2rem 2.8rem;
    margin: 1rem;
    background: var(--bg-btn-color);
    color: var(--fg-btn-color);
    border-radius: 2.5rem;
    box-shadow: 0 0 1rem var(--bg-btn-color);
    font-size: 2rem;
    letter-spacing: .2rem;
    text-decoration: none;
    font-weight: 600;
    /* opacity: 0;
    animation: slideTop 1s ease forwards;
    animation-delay: 2s; //
}

.card img {
    pointer-events: none;
}

.card:hover {
    transform: scale(1.1, 1.1);
    margin-bottom: 4rem;
}

.card__content .button:hover {
    box-shadow: 0 0 3rem var(--bg-btn-color) inset;
    background: var(--fg-btn-color);
    color: var(--bg-btn-color);
}

.card:hover .card__content {
    bottom: 0;
}

.card:hover img {
    transform: scale(1.6, 1.6);
    transition: 650ms all ease-in-out;
}

.card:nth-child(1):hover {
    margin-right: 1.1rem;
}

.card:nth-child(2):hover {
    margin-right: 1.1rem;
    margin-left: 1.1rem;
}

.card:nth-child(3):hover {
    margin-left: 1.1rem;
}

.card:nth-child(1) img {
    transform-origin: right top;
}

.card:nth-child(2) img {
    transform-origin: left top;
}

.card:nth-child(3) img {
    transform-origin: right bottom;
} */










