* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    background-color: black;
    font-family: "Inter", sans-serif;
    margin: 0;
    height: 100%;
    overflow: hidden;
    /* position: fixed; */
    /* width: 100%;*/
}

header {
    position: fixed;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    padding: 4rem 0rem;
    width: 100%;
    z-index: 6;
}

header .item {
    width: 15%;
}
header .item.logo {
    width: 70%;
}

.item {
    display: flex;
    justify-content: center;
    align-content: center;
}


.item img {
    width: 100%;
    min-width: 27px;
    max-width: clamp(1.6rem, 2vw, 4rem);
}

.item.logo img {
    max-width: clamp(12rem, 20vw, 20rem);
    min-width: 100px;
}

.swiper {
    height: 100vh;
}

.swiper-slide{
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh !important;
}

.swiper-wrapper {
    height: 100vh !important;
}


.swiper-slide.first{
    background-image: url(img/dosso-magran.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.swiper-slide.second {
    background-image: url(img/dosso-magran-1.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.swiper-slide.third {
    background-image: url(img/dosso-magran-2.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.484);
    z-index: 1;
}

.overlay-line {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 97%;
    height: 97%;
    border-radius: 30px;
    border: 1px solid #C09216;
    transform: translate(-50%, -50%);
    z-index: 2;

}

.container {
    color: white;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    padding: clamp(.9rem, 4vw, 5rem);
    width: 100%;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
    gap: clamp(.8rem, 5vw, 1rem);
}

h1, h2 {
    font-family: "spalla", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: clamp(2rem, 4.5vw, 3.2rem);
}
p{
    font-family: "Inter", sans-serif;
}
html {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}
a{
    letter-spacing: 1.4px;
    text-decoration: none;
    text-transform: uppercase;
    color: white;
}
.button.alt {
    border-radius: 30px;
    padding: .5rem 1rem;
    background-color: #C09216;
    color: white;
    border: none;
    width: fit-content;
    font-family: "Inter", sans-serif;
    font-weight: 300;
    font-size: clamp(.6rem, 1.8vw, .8rem);
}

p.abstract {
    font-size: clamp(.9rem, 3vw, 1.3rem);
    font-family: "Inter", sans-serif;
    font-weight: 200;
}
.cta {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    margin-top: clamp(1rem, 3.6vw, 6rem);
    border-top: 1px solid rgba(255, 255, 255, 0.835);
    padding-top: clamp(.8rem, 2.2vw, 5rem);
    gap: clamp(1rem, 5vw, 1.2rem);
}
.cta p {
    font-size: clamp(.6rem, 2vw, .8rem);
    font-weight: 400;
    letter-spacing: 1.4px;
}
.buttons {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(.8rem, 2.6vw, 1.8rem);
    justify-content: center;
}

.button.primary {
    background-color: #1C5F56;
    border: 1px solid #1C5F56;
    display: inline-block;
    align-content: center;
    width: 310px;
    height: 59px;
    font-size: clamp(.81rem, 2vw, 1rem);
    transition: ease-in-out .2s;
}
.button.secondary {
    background-color: transparent;
    border: 1px solid white;
    display: inline-block;
    width: 310px;
    height: 59px;
    align-content: center;
    font-size: clamp(.81rem, 2vw, 1rem);
    transition: ease-in-out .2s;
}

.button.primary:hover {
    background-color: #1a544d;
    border: 1px solid #1a544d;
    transition: ease-in-out .2s;
}

.button.secondary:hover {
    border-color: #C09216;
    color: #C09216;
    box-shadow: inset 0 0 10px rgba(192, 146, 22, 0.2);
    transition: ease-in-out .2s;
}

footer {
    position: fixed;
    bottom: clamp(0rem, 4vw, 4rem);
    text-align: center;
    color: rgba(255, 255, 255, 0.785);
    z-index: 4;
    display: block;
    margin: 0 auto;
    width: 100%;
    font-size: clamp(.6rem, 1.2vw, .78rem);
    font-weight: 200;
    padding: 0 1rem;
}

footer a {
    text-transform: none;
    letter-spacing: 0px;
    color: rgba(255, 255, 255, 0.785);
}

@media only screen and (max-width:768px) {
    .overlay-line {
        display: none;
    }
    .button.primary, .button.secondary {
        width: 100%;
        max-height: 45px;
    }
    .container {
        padding-top: 16rem;
        top: 40%;
    }
    .cta {
        width: 100%;
    }
    header {
        padding: 1.6rem 0;
    }
}
@media only screen and (min-width:768px) {
    .d-none {
        display: none;
    }
}

@media only screen and (max-width:320px) {
    html, body {
        font-size: 10px;
    }
}
@media only screen and (max-width:200px) {
    .container h1, .container p, .container a, footer {
        display: none;
    }
    .container .cta{
        display: block !important;
        border: none;
        padding: 0;
        margin: 0;
    }
    .container {
        padding-top: 12rem;
    }
    .container .cta a{
        width: 100px;
        height: 20px;
    }
}

main {
    position: relative;
}


.popup {
    display: none;
    flex-wrap: nowrap;
    flex-direction: column;
    gap: clamp(.4rem, 2vw, .8rem);
    background-color: #1a544d;
    height: 580px;
    width: 500px;
    color: white;
    padding: 40px;
    border-radius: 20px;
    justify-content: center;
    align-items: stretch;
    align-content: space-between;
    position: fixed;
    z-index: 9999;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
   
}
.popup p {
    font-weight: 200;
}
form {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    width: 100%;
    margin-top: 8px;
    text-align: center;
    justify-content: center;
}

form * {
    border: none;
}
label {
    display: block;
    /* text-transform: uppercase; */
    font-weight: 300;
    font-size: 12px;
    margin: 10px 0 4px 0;
    text-align: left;
}
textarea {
    height: 80px;
    padding: 10px;
}

input{
    height: 30px;
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    padding: 10px;
}

form button {
    margin-top: 20px;
    color: white;
    background-color: #C09216 !important;
    border: #C09216 !important;
    font-size: clamp(.81rem, 2vw, 1rem) !important;
    text-transform: uppercase;
    width: 100% !important;
}
form button:hover {
    color: white !important;
    background-color: #b58b16 !important;
}

.item.icon {
    justify-content: flex-start;
    margin-left: 70px;
}
.item.icon.special {
    justify-content: flex-end;
    margin-right: 70px;
    align-items: flex-start;
    margin-left: 0;
}
.item-container {
    display: flex;
    align-items: center;
    gap: 16px;
}



@media only screen and (max-width:600px) {
    .popup {
        max-width: 80%;
        max-height: 70%;
        padding: 30px;
    }
    .item.icon {
        margin-left: 10px;
    }
    .item.icon.special {
        margin-right: 10px;
    }
}




@media only screen and (max-width:500px) {
    .popup {
        max-width: 88%;
        max-height: 86%;
        padding: 20px;
    }
}
.overlay-popup {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.617);
    top: 0;
    left: 0;
    z-index: 999;
    display: none;
}
.close, .close-success {
    color: white;
    width: 30px;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}


select#language-changer, select#language-changer:hover, select#language-changer:active {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.785);
    font-size: clamp(.6rem, 1.2vw, .78rem);
    font-family: inherit;
    font-weight: 400;
}

.checkbox {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    align-content: center;
    align-items: center;
    flex-direction: row;
    margin-top: 8px;
}
.checkbox label {
   margin: 0;
}

.popup.response {
    display: none;
}

.popup.response {
    display: none; 
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #1a544d;
    background-color: white;
}

.close-success  {
    color: #1a544d;
}
.check-icon {
    color: #1a544d;
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
}

label a {
    text-transform: none;
    letter-spacing: 0px;
}


