@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    box-sizing: border-box;
    border: none;
    outline: none;
    scroll-behavior: smooth; /*Pour que les déplacements soient lent*/
    font-family: mundial, inter;
}

html {
    font-size: 70%;
    overflow-x: hidden; /*Si le contenu dépasse, alors il sera masqué*/
}

body {
    background: black;
}

/* HEADER */

.header {
    position: fixed; /* Pour la rendre flottante */
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 4%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    text-decoration: none;
    z-index: 2;
}

.header-right {
    width: 25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    width: 20px;
 }

 .navbar a {
    color: white;
}

.navbar a:hover,
.navbar a.active {
    text-decoration: underline;
}

#menu-icon {
    font-size: 3.6rem;
    color: var(--text-color);
    display: none;
    cursor: pointer;
}

/* BACKGROUND */

section {
    position: relative;
    height: 100vh; /* Remplit toute la hauteur de la fenêtre */
    width: 100vw; /* Remplit toute la largeur de la fenêtre */
    z-index: 1;
}

.vid {
    position: absolute; /* Positionne la vidéo */
    min-width: 100%; /* La vidéo doit avoir au moins 100% de largeur  */
    min-height: 100%; /*La vidéo doit avoir au moins 100% de hauteur */
    object-fit: cover; 
}

/* CONTENT */

.content{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 8%;
    font-size: 25px;
    font-weight: 200;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-style: italic;
    color: rgba(255, 255, 255, 0.805);
    z-index: 1;
}

.soft {
    margin-top: 130px;
}

.soft a {
    padding: 10px;
}

.soft-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-info- {
    font-size: 35px;
}

.contact-info- img {
    margin-top: 15px;
}

/* FOOTER */
.footer {
    position: relative;
    z-index: 10;
    padding: 20px;
    font-size: 15px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: black;
}



/* RESPONSIVE */

@media (max-width: 3000px) {
    #menu-icon {
        display: block; 
    }

    .navbar {
        position: absolute;
        top: 100%;
        right: 1rem;
        width: 20%;
        padding: 1rem 3%;
        background: rgba(0, 0, 0, 0.414);
        /* border-top: .1rem solid rgb(0, 0, 0);
        box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .2); */
        display: none;
        border-radius: 10px;
    }

    .navbar.active {
        display: block;
    }

    .navbar a {
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
        z-index: 1000;
        font-weight: 100;
    }

}

@media (min-width: 1630px){
    .footer {
        margin-top: 120px;
    }
} 

@media (min-width: 1530px){
    .footer {
        margin-top: 90px;
    }
} 

@media (max-width: 1200px) {

    .logo img {
        width: 130px;
    }

    .header-right img {
        width: 120px;
    }

    .navbar {
        width: 30%;
    }

    .header-right {
        width: 20rem;
    }

}

@media only screen and (max-width: 780px) {
    
    .logo img {
        width: 110px;
    }

    .header-right img {
        width: 100px;
    }

    .navbar {
        width: 40%;
    }

    .header-right {
        width: 15rem;
    }

    .contact-info-{
        font-size: 25px;
    }
}

@media only screen and (max-height: 700px) {
    .footer {
        margin-top: 100px;
    }
}

@media only screen and (max-height: 600px) {
    .footer {
        margin-top: 200px;
    }
}

@media only screen and (max-height: 500px) {
    .footer {
        margin-top: 300px;
    }
}