/* TAV COLORE */
:root {
    --primary: #ffffff;
    --secondary: #838383;
    --accente: #9f9d9d;
    --light: #F2F2F2;
    --dark: #09090B;
}

/* RESET */
* {
    margin: 0;
    padding: 0;
    border-color: var(--secondary);
}

li {
    list-style-type: none;
}

a {
    text-decoration: none;
}

.contatti a {
    color: var(--primary);
}

a,
button,
img,
.fa-solid {
    display: block;
}

button {
    background: none;
    border: none;
    cursor: pointer;
}

html {
    scroll-behavior: smooth;
}

/* RESET */

/* IMG */
.res {
    width: 100%;
    max-width: 680px;
    margin-left: 0px;
}

.res__cop {
    width: 100%;
    max-width: 500px;
}

.res__clip {
    width: 100%;
    max-width: 360px;
    padding-top: 50px;
}

/* IMG */

/* TIPOGRAFIA */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Oswald', sans-serif;
    color: var(--primary);
}

header {
    background-color: var(--primary);
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
    transition: 0.5s linear;
    font-size: 30px;
    margin: 10px;
}

.content {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
}

.cover {
    height: 30px;
}

/* TIPOGRAFIA */


/* MENU */
.nav-toggle-btn .fa-solid {
    font-size: 20px;
    color: var(--secondary);
}

.nav-toggle-btn.active .open,
.nav-toggle-btn .close {
    display: none;
}

.nav-toggle-btn .open,
.nav-toggle-btn.active .close {
    display: block;
}

.cover__menu {
    width: 100%;
    order: 3;
    visibility: hidden;
    padding-top: 35px;
}

.cover__menu a {
    color: var(--secondary);
}

.active .cover__menu {
    visibility: visible;
    font-size: 20px;
    line-height: 30px;
}

.cover.active {
    height: 150px;
}

/* MENU */


/* PARTE 2 */
p {
    font-size: 22px;
    padding-top: 25px;
    line-height: 30px;
}

a.cta {
    background-color: var(--secondary);
    border: none;
    width: fit-content;
    padding: 9px;
    color: black;
    margin-top: 20px;
    padding-left: 20px;
    padding-right: 20px;
    font-size: 15px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

section {
    background-color: var(--secondary);
    padding: 55px;
}

.hero {
    background-color: var(--secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    font-family: 'Montserrat', sans-serif;
    padding: 60px;
}

.hero__text h1 {
    font-size: 50px;
}

.hero__text h2 {
    font-weight: 400;
}

.cta-group {
    font-size: 2em;
    margin-top: 40px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.cta__primary {
    background: var(--primary);
    color: var(--secondary);
    border: 2px solid var(--primary);
}

.cta__primary:is(:hover, :focus) {
    background: var(--primary);
    color: var(--secondary);
    border: 2px solid;
    text-decoration: none;
}

.cta__secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.cta__secondary:is(:hover, :focus) {
    background: transparent;
    color: var(--primary);
    border: 1px solid;
    text-decoration: none;
}

.cta__primary,
.cta__secondary {
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 6px;
    font-size: 15px;
}

.estratto {
    max-width: 600px;
    padding-top: 20px;
}

.citazione {
    font-weight: 500;
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
}

/* PARTE 2 */

/* LINEA */
hr {
    border: 0;
    height: 1px;
    background: #333;
    background-image: linear-gradient(to right, rgb(135, 135, 135), rgb(58, 58, 58), rgb(135, 135, 135));
}

/* LINEA */


/* BTT */
.btt {
    position: fixed;
    bottom: 10px;
    right: 10px;
    background-color: rgba(255, 255, 255, 0.40);
    font-size: 20px;
    z-index: 4;
    padding: 10px;
    border-radius: 10px;

}

.btt__icon {
    color: var(--primary);
}

/* BTT */

/* TABBAR */
.tabbar {
    height: 100px;
    width: 100%;
    position: relative;
}

.tabbar__menu {
    display: flex;
    justify-content: center;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100px;
    background: var(--light);
    padding-top: 25px;
}

.tabbar li {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 5px;
    height: 70px;
    width: 60px;
}

.tabbar a {
    font-size: 1.8em;
    color: var(--secondary);
    border-radius: 100%;
    background: var(--light);
    padding: 15px;
}

.tabbar a:is(:hover, :focus) {
    font-size: 2em;
    transform: translateY(-10px);
    transition: 200ms cubic-bezier(.4, .76, .54, .21);
}

/* FINE TABBAR*/


/* media query medium */
@media (min-width: 767px) {

    footer {
        display: flex;
        margin-left: 20px;
        margin-bottom: 20px;
    }

    .social {
        margin-left: auto;
    }

    .ordiniesupporto {
        margin-left: auto;
    }

    .legal {
        margin-left: auto;
        margin-right: 40px;
    }

    .cover,
    .cover.active {
        height: 30px;
        align-items: center;
    }

    .cover__menu {
        all: unset;
    }

    .mainmenu li {
        display: inline-block;
        font-size: 0.6em;
        margin-left: 18px;
    }

    .mainmenu li:is(:hover, :focus) {
        text-decoration: underline;
    }

    .cover__hb {
        display: none;
    }

    .hero {
        flex-direction: row;
    }

    .hero__text {
        width: 50%;
    }

    .hero__cover {
        width: 50%;
    }

    .hero__cover img {
        margin: 5px auto;
    }
}

/* media query medium */

/* media query large */
@media (min-width: 992px) {
    .container {
        display: flex;
    }

    .content__project {
        width: 60%;
    }

    .content__magazine {
        width: 40%;
    }
}

/* media query large */


/* NEWSLETTER */
.nl {
    background-color: var(--primary);
    margin: 0;
}

.footer__newsletter__title {
    background: var(--primary);
    display: block;
    text-align: center;
    padding: 5px 25px;
}

.footer__newsletter__form {
    flex-direction: row;
    margin-top: 60px;
    margin-bottom: 10px;
}

#iscriviti {
    max-width: 330px;
    margin-left: 20px;
}

#iscrivitinero {
    max-width: 330px;
    margin-left: 20px;
}

#footer__container {
    padding-right: 20px;
    padding-left: 20px;
    padding-bottom: 40px;
}

#footer__newsletter {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer__newsletter__title {
    margin-bottom: 20px;
    margin-bottom: 0;
    color: var(--dark);
    background: var(--primary);
    text-align: center;
    font-size: 2.1em;
    font-weight: 900;
    font-family: 'Oswald', sans-serif;
}

.footer__newsletter__form {
    width: 100%;
    margin-top: 60px;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bottone__bianco {
    border: 0.5px solid #000;
    background: var(--light);
    color: var(--dark);
}

.bottone__nero {
    background: #000;
    color: var(--light);
}

#iscriviti,
#iscrivitinero {
    width: 80%;
    height: 3.75rem;
    text-align: center;
    text-indent: 0;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0.75rem;
    box-sizing: border-box;
    font-size: 13px;
    font-weight: 400;
    margin-bottom: 20px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
}

#iscrivitinero {
    padding-top: 20px;
}

.footer__newsletter__content {
    margin-bottom: 0;
    color: #000;
    text-align: center;
}

.gs-small {
    color: #000;
    text-align: center;
    line-height: 20px;
    font-size: 0.9em;
    font-weight: 300;
    font-family: 'Montserrat', sans-serif;
}

/* FINE NEWSLETTER */

/* FOOTER */
footer {
    display: flex;
    margin-left: 10px;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
    color: var(--primary);
    background-color: black;
    margin: 0px;
    padding-top: 40px;
    height: 150px;
    padding-left: 50px;
}

.elenco {
    color: var(--primary);
}

.social {
    margin-left: auto;
    color: var(--primary);
}

.ordiniesupporto {
    margin-left: auto;
    color: var(--primary);
}

.legal {
    margin-left: auto;
    margin-right: 40px;
    color: var(--primary);
}

.contatti_elenco {
    font-size: 12px;
    line-height: 16px;
    padding-top: 10px;
}

.social_elenco {
    font-size: 12px;
    line-height: 16px;
    padding-top: 10px;
}

.ordiniesupporto_elenco {
    font-size: 12px;
    line-height: 16px;
    padding-top: 10px;
}

.legal_elenco {
    font-size: 12px;
    line-height: 16px;
    padding-top: 10px;
}

/* FINE FOOTER */