/*
    TYPHOGRAPHY
*/
@font-face {
    font-family: 'Proxima Nova';
    font-weight: 400;
    src: url('./fonts/ProximaNovaRegular/font.woff2') format('woff2'),
        url('./fonts/ProximaNovaRegular/font.woff') format('woff');
}
@font-face {
    font-family: 'Proxima Nova';
    font-weight: 600;
    src: url('./fonts/ProximaNovaSemibold/font.woff2') format('woff2'),
        url('./fonts/ProximaNovaSemibold/font.woff') format('woff');
}

body h1 {
    color: #fff;
    font-size: 3.2rem;
    line-height: 1;
}
body h2 {
    font-size: 2.8rem;
    line-height: 1;
}

body h4 {
    font-size: 1.4rem;
    line-height: 1.3;
    font-weight: 600;
}

.privacy-section label div {
    text-size-adjust: 100%; 
    -ms-text-size-adjust: 100%; 
    -moz-text-size-adjust: 100%; 
    -webkit-text-size-adjust: 100%;
}


/*
    GENERALS
*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Proxima Nova";
}

body {
    overflow-x: hidden; /* Per evitare lo scrolling laterale*/
}

li:not(#form li) {
    list-style: none;
}

#form ul {
    padding-left: 1rem;
}

#loader-section {
    display: none;
}

#loader-section > div {
    position: fixed;
    height: 100vh;
    width: 100%;
    background-color: rgba(0,0,0,0.3);
    z-index: 999;
}

.loader {
    border: 16px solid #f3f3f3;
    border-top: 16px solid #212529;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Header */
header {
    /* height: 120px; */
    width: 100vw;
    /* background-color: #fff;  */
    background-color: transparent; 
    /* position: sticky;   
    transition: 0.2s ease-in-out all; */
    top: 0; 
    z-index: 2;
}

header .container-logo {
    text-align: right;
}

nav ul {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Hero */
.hero-section .img-container {
    width: 33,33%;
}

.hero-section .col-md-6 {
    padding: 0;
}

.title-section {
    color: white;
    background-color: black;
}

.title-section > div {
    height: 100%;
}

.title {
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
}

/* Body */
.info-section {
    background-color: #e2e1dd;
}

.contact-section form input:not([type="checkbox"]):not([type="submit"]):not([type="file"]) {
    border: none;
    border-bottom: 1px solid #000;
}

.contact-section form input[type="text"],
.contact-section form input[type="email"],
.contact-section form input[type="tel"] {
    width: 30%;
}

.contact-section form input:focus-visible {
    outline: none;
    border-bottom: 1px solid blue;
}

input[type="checkbox"] {
    min-height: 18px;
    min-width: 18px;
}

#submit {
    padding: 0 20px;
    line-height: 38px;
    color: #000;
    background-color: #e2e1dd;
    border: 1px solid #e2e1dd;
    border-radius: 500px;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-decoration: none;
    transition: .2s ease-in-out all;
    cursor: pointer;
    box-shadow: none;
}

#submit:hover {
    color: #e2e1dd;
    background-color: #000;
}

.privacy-section {
    font-size: 13px;
}

.privacy-section label {
    display: flex;
    align-items: flex-start;
}

.privacy-section input[type="checkbox"] {
    margin-right: 5px;
}

/* Footer */
footer {
    font-size: .9rem;
    line-height: 1.2;
}

.socials {
    justify-content: flex-end;
}

footer ul {
    padding-left: 0;
}

footer a {
    color: #000;
    text-decoration: none;
}

@media screen and (max-width: 767px) {

    .socials {
        justify-content: center;
    }

    header .container-logo {
        text-align: center;
    }

    .contact-section form input[type="text"],
    .contact-section form input[type="email"],
    .contact-section form input[type="tel"] {
        width: 100%;
    }

    body h1 {
        color: #fff;
        font-size: 2.4rem;
        line-height: 1;
    }
    body h2 {
        font-size: 2.1rem;
        line-height: 1;
    } 

    .privacy-section label:first-child div {
        font-size: 16px;
    }
}
