/* -------------------------------------------------------------------------------- */
/* !Impostazioni base  */
/* -------------------------------------------------------------------------------- */

html {
    scroll-behavior: smooth;
}

/* Tavolozza colore */
:root {

    --light: #fffcf2;

    --dark: #023047;
}

/* --light: #f8f3e3; */
/* --dark: #4d4d4d; */

/* reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: var(--dark);
}

li {
    list-style-type: none;
}

/* tipografia */
body {
    font-family: "Inter", sans-serif;
    font-size: 1.2em;
    background: var(--light);

}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "clash display", sans-serif;
    font-weight: 500;
}

h2 {
    font-size: 1.6em;
}

h5 {
    font-size: 2em;
    font-weight: 600;

}

p {
    font-size: 1.2em;
    margin-bottom: 15px;
    font-family: 'inter', 'sans-serif';
    font-weight: 400;
}

.leading {
    font-weight: 700;
}

/* utility */
.res {
    width: 100%;
    max-width: 500px;
    height: auto;

}

.res2 {
    width: 100%;
    max-width: 1000px;


}

.res3 {
    width: 100%;
    max-width: 900px;
}

.container {
    max-width: 1700px;
    border: 1px solid transparent;
    margin: auto;
}



/* header */
header.header {
    display: flex;
    /* si dispongono uno vicino all'altro */
    justify-content: space-between;
    /* si distanziano tutti automaticamente */
    align-items: center;
    /* tutti allineati sull'asse orizzontale */
    padding: 20px;

}

.fixed {
    position: absolute;
    width: 100%;
    background: transparent;
    z-index: 1;
}


/* provvisorio */
/* 
.header__logo,
.header__menu,
.header__cta,
.header__icon {
    border: 1px solid red;
} */


.header__logo,
/* .header__menu, */
.header__cta,
.header__icon {
    width: 50px;
}



.header h3 {
    color: var(--light);
    font-size: 1.2em;
}

.header__marchio {
    border: 2.6px solid var(--light);
    border-radius: 40px;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 20px;
    padding-right: 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.header__logo img {
    width: 30px;

}

.header__menu .site-nav>li {
    display: inline-block;
    /* metto i titoletti uno vicino all'altro */
}

header.header a {
    color: var(--light);
    /* metto tutte le ancore discendenti di header bianche */
}

.header__menu a {
    color: var(--light);
    font-family: 'clash display';
    font-size: 1.2em;
    padding: 20px;
    font-weight: 500;


}

.header__elements {
    border: 2.6px solid var(--light);
    border-radius: 40px;
    padding: 10px;

}

.header__cta .button {

    display: block;
    text-align: center;
    padding: 5px 10px;
    border: 1px solid var(--light);
}

.header__icon {
    display: none;
    color: var(--light);

}

/* hero */

.hero {
    background: url(../img/isia_firenze.jpg) no-repeat center center;
    height: 100vh;
    background-size: cover;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgb(20, 16, 16);
    opacity: 0.5;
}

.hero__content {
    z-index: 1;
    /* outline: 1px solid red; */
    color: var(--light);
    padding: 20px;
    text-align: center;
}

.hero__content h1 {
    font-size: 5em;
    margin: 20px;
    margin-bottom: 30px;
    font-family: 'clash display';
    font-weight: 500;
    line-height: 0.95em;
    color: var(--light);

}

/* .hero__content h2 {
    font-size: 1.8em;
    margin-bottom: 25px;
    font-family: 'Inter';
    font-weight: 400;
} */

.hero__content p {
    font-size: 1.4em;
    line-height: 1;


}


/* section */
.content {
    background: var(--light);
}

/* content opzioni */
.content__opzioni img {
    /* width: 700px; */
    border-top: 5px solid var(--dark);
    padding-top: 20px;
    margin-top: 10px;
}

.content__opzioni {
    display: flex;
    background: var(--light);
    gap: 60px;
    flex-wrap: wrap;
    justify-content: space-around;
    padding-top: 50px;
    padding-bottom: 40px;
    padding-left: 40px;
    padding-right: 40px;

}

.opzioni h5 {
    display: flex;
    justify-content: center;
    color: var(--dark);
    margin-top: 80px;

}

.content h2 {
    font-weight: 600;
    /* font-size: 1.8em; */
    color: var(--dark);
}

.opzioni {
    background: var(--light);
}

.ancora {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.fa-arrow-right {
    font-size: 2em;
    color: var(--dark);
}

/* content curiosita */



.curiosita {
    display: flex;
    gap: 7px;
    /* border-top: 5px solid var(--dark); */
    /* gap: 50px; */
    /* margin-top: 6px;

    padding-left: 80px;
    padding-right: 80px;
    */
    justify-content: flex-end;

    background: url(../img/superga4.jpg) no-repeat center center;
    background-size: 150%;

}

.curiosita img {
    /* width: 1000px */
    margin-top: 40px;
    /* padding-right: 40px; */
    display: none;
}



/* .curiosita__text p {
    font-weight: 200;
} */

.curiosita__text {

    flex-direction: column;
    /* margin-left: 40px; */
    margin: 50px;
    color: var(--dark);
    width: 45%;
    /* gap: 50px; */
    padding: 40px;
    background: var(--light);
    display: flex;
    align-items: flex-start;
    justify-content: center;



}

.curiosita__text h2 {
    color: var(--dark);

    margin-bottom: 30px;
}



.singola {
    display: flex;
    align-items: flex-start;
    gap: 15px;


}

.fa-check {
    font-size: 2.5em;
}

.curiosita__text li {
    margin: 8px;
}

/* Sintesi*/
.sintesi {
    background: var(--dark);

}

.sintesi h5 {
    color: var(--light);
    margin-bottom: 25px;
    display: flex;
    justify-content: center;

}

.sintesi__content {
    margin: 40px;
    margin-top: 50px;
    background: var(--dark);

}

.sintesi__opzioni {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-direction: column-reverse;

}

.sintesi h2 {

    font-weight: 600;
    color: var(--light);
    margin-bottom: 30px;
    display: flex;
    justify-content: center;


}

* {
    box-sizing: border-box
}

/* Style the tab */
.tab {

    background-color: var(--dark);
    width: 85%;
    height: auto;
    margin-right: 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

/* .tab h4 {
    color: var(--light);
} */

/* Style the buttons that are used to open the tab content */
.tab button {
    display: block;
    background-color: var(--dark);
    color: var(--light);
    padding: 13px 13px;
    border: 3.1px solid var(--light);
    border-radius: 20px;
    text-align: left;
    cursor: pointer;
    transition: 0.3s;
    font-size: 1.3em;
    margin: 15px;

}



/* Change background color of buttons on hover */
.tab button:hover {
    background-color: var(--light);
    color: var(--dark);
}

.tab h4:hover {
    color: var(--dark);
}

/* Create an active/current "tab button" class */
.tab button.active {
    background-color: var(--light);
    color: var(--dark);
}





/* Style the tab content */
.tabcontent {
    width: 85%;
    background-color: var(--light);

    border: 3px solid var(--light);
    display: flex;
    flex-direction: row-reverse;
    margin-bottom: 50px;


}

.tabcontent__text {
    display: flex;
    flex-direction: column;
    margin: 40px;
    margin-bottom: 20px;
    color: var(--dark);
    width: 300%;
}

.tabcontent__img {
    width: 2700px;
    padding: 8px;

}


/* visite */
.visite {
    background: var(--light);
}

.visite__img img {
    /* width: 700px; */
    border-top: 5px solid var(--dark);
    padding-top: 20px;
    margin-top: 10px;
}

.visite__img {
    display: flex;
    background: var(--light);
    gap: 60px;
    flex-wrap: wrap;
    justify-content: space-around;
    padding-bottom: 40px;
    padding-left: 40px;
    padding-right: 40px;

}

.visite h5 {
    display: flex;
    justify-content: center;
    color: var(--dark);
    margin-top: 80px;

}

.visite h2 {
    font-weight: 600;
    /* font-size: 1.8em; */
    color: var(--dark);
    display: flex;
    justify-content: center;
    margin-top: 40px;

}







/* footer */
.footer__content {
    background: var(--dark);
    color: var(--light);
    padding: 50px;




}

.footer__info {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-top: 60px;

}


.footer h2 {
    color: var(--light);

}

.icone a {
    color: var(--light);
    font-size: 1.4em;
    margin: 5px;

}

.footer a {
    color: var(--light);

}

.privacy p,
.cookies p {
    font-size: 1em;
}


.policy {
    display: flex;
    flex-direction: row;
    gap: 40px;
}







/* -------------------------------------------------------------------------------- */
/* ! Media queery large */
/* -------------------------------------------------------------------------------- */
/* in questo caso sono punti di interruzione massimi (max-width) */
@media (max-width: 1000px) {

    /* Sintesi*/

    .sintesi__content {
        margin: 30px;
        margin-top: 50px;
    }

    .sintesi__opzioni {

        flex-direction: column;
        gap: 20px;
        flex-direction: column-reverse;

    }

    .tab {
        display: flex;
        justify-content: space-between;
        width: 100%;
        font-size: 1em;
        margin-left: 50px;
        margin-right: 50px;
        flex-wrap: wrap;
        width: 90%;




    }

    .tab button {
        flex-direction: row;
        margin: 7px;
        padding: 15px;
        font-size: 1.1em;
    }

    .tabcontent {
        flex-direction: column;
        width: 90%;
        display: flex;
        align-items: center;
        flex-direction: column-reverse;
    }

    .tabcontent__text {
        width: 100%;
        padding: 30px;
        padding-bottom: 10px;
        margin: 0px;

    }

    .tabcontent__img {
        width: 100%;
        max-width: 900px;
        align-items: center;
    }

}







/* -------------------------------------------------------------------------------- */
/* ! Media queery medium */
/* -------------------------------------------------------------------------------- */
/* in questo caso sono punti di interruzione massimi (max-width) */
@media (max-width: 768px) {


    /* tiporgafia */


    h2 {
        font-size: 1.6em;
    }

    .curiosita h2 {
        font-size: 1.6em;
    }

    p {
        font-size: 1.1em;
    }

    h5 {
        font-size: 1.8em;
    }

    /* header */
    .header__icon {
        display: block;
        text-align: center;
        z-index: 3;
        font-size: 1.5em;
        border: 2.6px solid var(--light);
        padding-top: 9px;
        padding-bottom: 9px;

        border-radius: 20px;
    }



    .header__menu {
        position: absolute;
        top: -120px;
        left: 0;
        width: 100%;
        height: 100%;
        transform: translateY(-100%);
        /* transition: 0.5s cubic-bezier(.49, .77, .71, .44); */

    }

    .header__elements {
        border: 0px solid;
    }

    .site-nav {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 15px;
        padding: 25px;
        font-size: 1em;
        margin-top: 70px;
        line-height: 0.9em;


    }


    /* Richiamo la classe in base al click */
    .open .header__menu {
        transform: translateY(120px);
        transition: 0.4s cubic-bezier(.62, .3, .6, .65);


    }






    .header__marchio h3 {
        font-size: 1.1em;
    }

    .header__logo img {
        width: 22px;
    }

    .header__icon {
        font-size: 1.2em;
    }






    /* hero */
    .hero__content h1 {
        height: 50%;
        font-size: 4em;
        margin: 20px;
    }



    .hero {
        height: 100vh;
    }

    .hero::before {


        height: 100%;

    }

    /* sections */



    .content__opzioni img {
        max-width: 500px;
    }

    .content__opzioni {
        gap: 50px;
    }

    /* content curiosita */
    .curiosita {
        flex-direction: column;
        gap: 2px;
        background-image: none;
        flex-direction: column-reverse;
    }

    .curiosita__text {
        width: 100%;
        margin: 0;

        padding-bottom: 10px;


    }



    .curiosita img {
        margin: 0;

        display: block;
    }

    .fa-check {
        font-size: 2.3em;
    }



    /* visite */
    .visite h5 {
        margin-top: 60px;
    }

    .visite__img {
        gap: 20px;
    }



    .footer__info {
        padding-top: 20px;
        justify-content: flex-end;
        flex-direction: column;
        align-items: flex-start;
    }
}


/* -------------------------------------------------------------------------------- */
/* ! Media queery small */
/* -------------------------------------------------------------------------------- */

@media (max-width: 480px) {


    /* tipography */
    h2 {
        font-size: 6vw;
    }

    .curiosita h2 {
        font-size: 1.3em;
    }

    h5 {
        font-size: 1.6em;
    }

    p {
        font-size: 0.9em;
    }

    /* header */

    .header__marchio h3 {
        font-size: 1em;
    }

    .header__logo img {
        width: 22px;
    }

    .header__icon {
        font-size: 1.3em;
    }

    .site-nav {

        font-size: 0.9em;


    }

    .fa-solid {
        font-size: 6vw;
    }

    /* hero */
    .hero__content h1 {
        font-size: 14vw;
        margin: 20px;
    }

    .hero {
        height: 100vh;
    }

    .hero::before {


        height: 100vh;

    }


    /* sections */


    .fa-arrow-right {
        font-size: 1.6em;
        margin-left: 10px;
    }

    /* content curiosita*/
    .fa-check {
        font-size: 1.8em;
    }



    /* sintesi */

    .tabcontent {
        width: 100%;
    }

    .tab {
        width: 100%;
    }



    .tab {
        font-size: 0.9em;

    }

    .tab button {
        padding: 10px;
    }

    /* visite */

    .visite h5 {
        margin-top: 50px;
    }

    .visite__img {
        gap: 0px;
    }

    /* footer */
    .privacy p,
    .cookies p {
        font-size: 0.8em;
    }

    .policy {
        display: block
    }

}