.slide1{
    width: 100vw;
    height: 100vh;
    display: flex; justify-content: center; align-items: center;
    position: relative;
    overflow: hidden;
}

.slide1 video {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw; height: 100vh;
    object-fit: cover;
    z-index: 0;
}

.slide1 h1{
    position: absolute;
    left: 50%; top: 50%; margin-top: 10vh;
    transform: translate(-50%, -50%);
    z-index: 1;
    font-family: "Smooch Sans", sans-serif;
    font-weight: 700;
    font-size: 8vw;
     color: white;
}
.slide2{
    margin-top: 10vh;
    width: 90%;
    margin-left: auto; margin-right: auto;
    display: flex; justify-content: center; align-items: center;
    gap: 10vw;
}

.coordonees{
    display: flex;
    justify-content: center;
    width:50%; height: 110vh;
}

.coordonnees_contact{
    display: flex; flex-direction: column; gap: 3vh;
    align-items: end;
    margin-top: 20vh;
}

.coordonnees_contact h1{
    margin-bottom: 2vh;
    font-size: 3vw;
}

.coordonnees_contact a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity .2s ease;
}
.coordonnees_contact a:hover { opacity: .7; }

.carte_maps{
    width: 40vw; height: 100%;
}

.formulaire{
    width:50%; height: 110vh;
    position: relative;
}

form{
    display: flex; flex-direction: column;
    height: 100%; width: 70%;
}

input:focus,
textarea:focus {
  outline: none;
}


form label, form button{
    text-transform: uppercase;
    font-weight: 400; font-size: 1.4vw;
    margin-top: 1vh;
}

form input{
    font-weight: 400; font-size: 2vw;
    border: none;
    border-bottom: 2px solid rgb(183, 183, 183);
    margin-top: 3vh; margin-bottom: 4vh;
}

form textarea{
    font-weight: 400; font-size: 2vw;
    border: none;
    border-bottom: 2px solid rgb(183, 183, 183);
    margin-top: 3vh; margin-bottom: 4vh;
    height: 22vh;
}

form button{
    border: 1px solid white;
    cursor: pointer;
    background: none;
    transition: all .4s ease-in-out;
    width: 10vw;
    padding: 10px;
}

form button:hover{
    border: 1px solid black;
}


/************************FORMAT TABLETTE (< 1024px)************************/

@media (max-width: 1024px) {
    .slide2 {
        gap: 5vw;
    }
    .coordonnees_contact h1 { font-size: 4vw; }
    form label, form button { font-size: 2vw; }
    form input, form textarea { font-size: 2.5vw; }
    form button { width: 18vw; }
    .carte_maps { width: 45vw; }
}


/************************FORMAT MOBILE (< 768px)************************/

@media (max-width: 768px) {
    .slide1 h1 { font-size: 14vw; margin-top: 5vh; }

    .slide2 {
        flex-direction: column;
        gap: 4vh;
        margin-top: 5vh;
        width: 95%;
        align-items: center;
    }
    .coordonees {
        width: 100%;
        height: auto;
        justify-content: center;
    }
    .coordonnees_contact {
        align-items: center;
        margin-top: 3vh;
        gap: 2vh;
    }
    .coordonnees_contact h1 { font-size: 7vw; text-align: center; }
    .carte_maps {
        width: 90vw;
        height: 40vh;
    }
    .formulaire {
        width: 100%;
        height: auto;
    }
    form {
        width: 90%;
        height: auto;
        margin: 0 auto;
    }
    form label, form button { font-size: 4.5vw; }
    form input, form textarea { font-size: 5vw; margin-top: 2vh; margin-bottom: 3vh; }
    form button { width: auto; min-width: 35vw; padding: 10px 20px; }
}