/* ------- Non copiare lo stile! ------- */
@font-face {
    font-family: "space-bold";
    src: url("Poppins-Medium.woff2");
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: "space-reg";
    src: url("Poppins-Regular.woff2");
    font-display: swap;
    font-weight: normal;
}

@font-face {
    font-family: "extrabold";
    src: url("Poppins-ExtraBold.woff2");
    font-display: swap;
    font-weight: 900;
}

* {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    vertical-align: baseline;
    background: transparent;
}

/* ===== Scrollbar CSS ===== */
  /* Firefox */
  * {
    scrollbar-width: auto;
    scrollbar-color: #162531 #97c8eb;
  }

  /* Chrome, Edge, and Safari */
  *::-webkit-scrollbar {
    width: 16px;
  }

  *::-webkit-scrollbar-track {
    background: #97c8eb;
  }

  *::-webkit-scrollbar-thumb {
    background-color: #162531;
    border-radius: 10px;
    border: 0px none #ffffff;
  }

*,
*:before,
*:after {
    box-sizing: content-box;
}


body,
header,
.container {
    transition: background-color 0.3s, color 0.3s;
}

html {
    height: 100%;
    width: 100%;
    font-size: 20px;
}

:root {
    --verde-scuro: #162531;
    --verde-glass: #162531cd;
    --celeste-chiaro: #c8e1f5;
    --celeste: #97c8eb;
    --giallo: #f3dfa2;
    --grigio-scuro: #eaeaea;
    --grigio-chiaro: #e3e6eb;
    --bianco: #fff;
    --nero: #000;
}

@media (min-width: 2000px) {
    html {
        font-size: 30px;
    }
}

@media (max-width: 1100px) {
    html {
        font-size: 19px;
    }
}

@media (max-width: 800px) {
    html {
        font-size: 18px;
    }
}

@media (max-width: 400px) {
    html {
        font-size: 16px;
    }
}

body {
    color: #141414;
    background-color: var(--celeste);
}

main {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

h1 {
    font-family: "space-bold";
    font-size: 1.8rem;
    max-width: 800px;
    text-align: center;
}

h2 {
    font-family: "space-bold";
    font-size: 1.5rem;
}

h3 {
    font-family: "space-bold";
    font-size: 1.2rem;
}

p {
    font-family: "space-reg";
    font-size: 1rem;
    padding: 5px 0px;
}

.error-message {
    color: red;
    display: none;
    font-size: 13px;
}

strong {
    font-family: "extrabold";
}

.hetyna-st {
    position: sticky;
    top: 150px;
}

.hetyna-gl {
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}

.hetyna-pa {
    padding: 0 5vw;
    gap: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

header {
    display: flex;
    flex-direction: row!important;
    justify-content: space-between;
    position: sticky;
    z-index: 99;
    height: 75px;
    top: 0;
    border-radius: 0px 0px 30px 30px;
    margin-bottom: -30px;
    background-color: var(--verde-scuro);
}

header img {
    max-width: 260px;
    width: 50%;
    min-width: 180px;
    aspect-ratio: 78/16;
    margin: 10px 0px;
}

@keyframes flashlamp {
    0%,
    40%,
    80% {
        opacity: 0;
    }

    20%,
    60%,
    100% {
        opacity: 1;
    }
}

@keyframes manifesto {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}
.wrap-logo-header {
    display: flex;
    flex-direction: row;
    width: 100%;
}
#nav-logo {
    display: none;
    animation: flashlamp 1s ease-in-out;
}

.menu-desktop {
    display: flex;
    align-items: center;
    gap: 15px;
}

@media (max-width: 1090px) {
    .menu-desktop {
        display: none;
    }
}

.nav-button {
    font-family: "space-bold";
    text-decoration: none;
    font-size: 17px;
    padding: 5px 10px;
    border-style: solid;
    border-color: #97c8eb00;
    border-bottom-width: 2px;
    transition: border-color 200ms ease-in-out;
    color: #ffffff;
}

.nav-button:hover {
    border-color: #97c8eb;
}

.cta-button {
    font-family: "space-bold";
    text-decoration: none;
    color: var(--verde-scuro);
    min-width: fit-content;
    transition: background-color 250ms ease-in-out;
    padding: 10px 20px;
    border-radius: 50px;
    background-color: var(--celeste);
    text-align: center;
    width: -webkit-fill-available;
    font-size: 18px;
}

.cta-button:hover {
    background-color: var(--celeste-chiaro);
}

.inputwrapper {
    display: flex;
    flex-direction: column;
}


#section-verde-wrap {
    border-radius: 0px 0px 100px 100px;
    padding-bottom: 0;
    padding-top: 50px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
    margin-bottom: 50px;
    background-color: var(--verde-scuro);
}

.container {
    border-radius: 30px;
    background-color: var(--bianco);
    padding: 20px;
    box-sizing: content-box;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wrap1 {
    width: 100%;
    min-height: 300px;
    border-radius: 0px 200px 200px 80px;
    background-color: var(--bianco);
    display: flex;
    flex-direction: column;
    gap: 80px;
    margin-top: 200px;
    padding-bottom: 80px;
    margin-bottom: -98px;
}

#login-section {
    background-color: var(--celeste-chiaro);
    width: 80%;
    min-height: 100px;
    border-radius: 0px 200px 200px 0px;
    padding: 40px 140px 40px 40px;
    display: block;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: -100px;
}

#login-section div {
    flex-grow: 1;
    min-width: 200px;
    display: flex;
    align-content: space-around;
    box-sizing: border-box;
    max-width: 1070px;
    position: relative;
}

#hero {
    padding-bottom: 50px;
    padding-top: 20px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 50px;
    align-items: center;
}

#hero div {
    flex-grow: 1;
    min-width: 250px;
    width: 40%;
    height: fit-content;
    color: var(--bianco);
    display: flex;
    gap: 15px;
    flex-direction: column;
    align-items: center;
}

#hero div img {
    width: 100%;
    max-width: 550px;
}

@media (max-width: 580px) {
    #hero div {
        min-width: unset;
    }
}

#hero .videowrap {
    flex-grow: 1;
    aspect-ratio: 9/6;
}

.videowrap img {
    width: 100%;
    border-radius: 40px;
}

.cards {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    gap: 30px;
    margin: 30px 0px;
}

.cards img {
    aspect-ratio: 1/1;
    max-width: 280px;
    border-radius: 20px;
    background-color: rgb(179, 226, 255);
}

.wrap-section {
    display: flex;
    flex-direction: row;
    gap: 30px;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.wrap-section2 {
    display: flex;
    flex-direction: row;
    gap: 50px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

#partners {
    margin-bottom: 100px;
}

#actions .container {
    min-width: 250px;
    width: 40%;
    box-sizing: content-box;
    color: #282828;
    background-color: #efefef;
}

#acquista {
    margin-top: -100px;
}

#prenota {
    margin-bottom: -100px;
}

.wrap-set img {
    width: calc(100% - 0px);
    aspect-ratio: 6/2;
    position: absolute;
    border-radius: 20px;
    flex-grow: 1;
    order: 1;
    display: flex;
    box-sizing: border-box;
    max-width: 100%;
}

.wrap-set {
    width: auto;
    aspect-ratio: 6/2;
    box-sizing: content-box!important;
}

.atropos-inner {
    box-sizing: content-box;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 50px;
    justify-content: space-evenly;
    width: 100%;
}

.atropos-highlight {
    display: none;
}

#slider {
    color: var(--
    --verde-scuro);
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 80px;
}

#slider p {
    width: 100%;
    font-size: 6.067vw;
    margin: 20px 0px;
    font-weight: bolder;
}

#slider video, #slider img {
    width: 100%;
    border-radius: 30px;
    max-width: 1100px;
}

/* ---- footer ---- */
footer {
    margin-top: 150px;
    background-color: var(--verde-scuro);
    border-radius: 90px 90px 0px 0px;
    padding: 20px 20px;
}

.footer-content {
    padding: 50px 0px;
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-content__logo-card {
    display: flex;
    flex-direction: column;
    color: white;
    width: calc(28% - 40px);
    min-width: 250px;
}

.footer-content__cta-card {
    display: flex;
    flex-direction: column;
    color: #fff;
    width: calc(23% - 40px);
    min-width: 250px;
    gap: 10px;
}

.footer-content__logo-card img {
    width: 70%;
    align-self: center;
}

.footer-content__logo-card p {
    font-size: 13px;
    align-self: center;
    text-align: center;
}

.footer-content__cta-card p {
    font-size: 14px;
    font-family: 'space-bold';
    color: #ffffff;
}

.footer-content__cta-card a {
    font-size: 14px;
    font-family: 'space-reg';
    text-decoration: none;
    color: #ffffff;
}

.legal-links a {
    font-size: 12px;
    font-family: 'space-bold';
    text-decoration: none;
    color: #162531;
}

.footer-note-legali a {
    font-size: 12px;
    font-family: 'space-bold';
    text-decoration: none;
    color: #fff;
}

.legal-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 14px;
}

.legal-links div {
    width: 0px;
    height: 15px;
    border-color: #fff;
    border-width: 1px;
    border-style: solid;
}

.sub-footer p {
    font-size: 12px;
    font-family: 'space-bold';
    color: #162531;
    text-align: center;
}

.sub-footer {
    background-color: rgb(234, 234, 234);
    margin-bottom: 30px;
    border-radius: 50px;
    padding: 20px;
    display: flex;
    gap: 5px 14px;
    justify-content: space-around;
    gap: 15px;
}

@media (max-width: 700px) {
    .sub-footer {
        flex-wrap: wrap;
        justify-content: center!important;
    }
}

/* --- end footer ---- */
/* --- responsive media.q */
@media (max-width: 1120px) {
    #hero {
        flex-direction: column;
    }

    #hero div {
        width: auto;
    }

    #login-section {
        width: auto;
    }

    h1 {
        text-align: center;
    }
}

@media (max-width: 655px) {
    #actions .container {
        width: 100%;
        margin: 20px;
        min-width: unset;
    }

    #login-section {
        border-radius: 0px 70px 70px 0px;
        padding: 40px 20px 40px 20px;
    }
}


@media (max-width: 520px) {

    #slider {
        overflow: hidden;
    }

    #slider video, #slider img {
        width: 180%;
    }

    .footer-content__cta-card {
        align-items: center;
    }

    footer {
        border-radius: 40px 40px 0px 0px;
    }

    .nav-button {
        font-size: 14px;
        padding: 5px 6px;
    }

    .hetyna-pa {
        gap: 17px;
    }

    header img {
        min-width: 120px;
        width: 100%;
    }
}


.header-button {
    background-color: #97c8eb;
    border-radius: 8px;
}

.button-cookie {
    background-color: rgb(200, 225, 245);
    padding: 5px 10px;
    border-radius: 10px;
}

#manifesto {
    display: none;
    animation: flashlamp 1s ease-in-out;
    align-content: center;
}

#manifesto-content {
    display: none;
    position: fixed;
    width: 90vw;
    height: 90vh;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--verde-glass);
    color: var(--bianco);
    border-radius: 30px;
    box-sizing: border-box;
    padding: 5vw;
    z-index: 100;
    gap: 20px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: manifesto 1s ease-in-out;
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.75);
}

#manifesto-content .manifesto-wrap {
    overflow-y: scroll;
    max-height: 96%;
    text-align: center;
}

#manifesto-content .manifesto-wrap p {
    padding: 20px 3px;
}

#cookiescript_badge {display: none;}