@import url('https://fonts.googleapis.com/css2?family=Kalnia&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@500;700&display=swap');

body {
    font-family: "work-sans", sans-serif;
}

.logo {
    position: absolute; /*par dessus tout*/
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);  /* Centrage horizontalement et verticalement */
    z-index: 1 /*  1 pour ajuster la profondeur d'empilement */
}

video {
    width: 100%;
    height: auto;
    z-index: -1; /* -1 pour ajuster la profondeur d'empilement */
}

#menu-icon {
    color: #fff;
    cursor: pointer; /* Curseur pointeur pour indiquer un élément interactif */
    padding: 15px;
    position: absolute; /* Positionnement absolu, dépasse tout */
    top: 40px;
    left: 310px;
    z-index: 4; /* 4 pour ajuster la profondeur d'empilement */
    border-radius: 8px; /*arrondir les bords*/
}

#menu-icon span {
    display: block;
    height: 5px;
    width: 35px;
    margin: 5px;
    background-color: #fff;
    transition: 0.4s;/* Transition de 0.4s pour des changements en douceur */
}

#menu-toggle:checked+#menu-icon span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 0); /* Rotation -45 degrés et translation horizontale de -5px */
}

#menu-toggle:checked+#menu-icon span:nth-child(2) {
    opacity: 0; /*pas d'opacité*/
}

input {
    display: none;
}

.text {
    color: #E5C4AE;
    margin: 20px;

}

h1 {
    font-size: 36px;
}

p {
    font-size: 22px;
}

button {
    /*position du bouton*/
    margin: auto;
    margin-top: 50px;
    height: 40px;
    width: 260px;
    display: flex;
    justify-content: center;
    /* Centrage horizontal sur l'axe X */
    align-items: center;
    /* Centrage vertical sur l'axe Y */

    /*esthétique du bouton*/
    font-family: 'Kalnia', serif;
    font-style: normal;
    color: #E5C4AE;
    background-color: white;
    border: 2px solid #E5C4AE;
    border-radius: 5px;
    font-size: 20px;

}

button:hover /* Lorsqu'on passe sur le bouton*/{
    background-color: #E5C4AE;
    color: white;
}

.footer {
    display: flex;
    flex-direction: column;
    background-color: #E5C4AE;
    color: white;
    font-weight: 500;
    font-size: 20px;
    font-style: normal;
    margin-top: 40px;
    justify-content: space-between; /* espacement pour avoir 2 éléments à chaque extrémité*/
}

footer>p {
    color: white;
}


.textfooter {
    margin-left: 100px;

}

.img {
    height: 40px;
    display: flex;
    flex-direction: column;
    margin: 12px;
}

.icon {
    margin-top: -160px;
}

.title {
    font-family: 'Kalnia', serif;
    font-size: 30px;
    font-style: normal;

}

#source {
    background-color: #E5C4AE;
    color: white;
    padding: 6px;
    margin-top: -5px;
    font-size: 17px;
    text-align: center;
}

a {
    color: #fff;
    text-decoration: none;
    margin: 20px;
    font-size: 20px;

}

.linkhead {
    margin-left: 730px;
}

/* Styles pour le logo */
.logo img {
    max-width: 100px;
    height: auto;
}


#logo {
    max-width: 100px;
    height: auto;
}

.video-container {
    display: none;

}

#logofooter {
    display: block;

}

header {
    background-color: transparent;
    color: #fff;
    padding: 10px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    z-index: 10; /* 10 pour ajuster la profondeur d'empilement */
}

.footerdesktop {
    display: none;
}

.linkfooter {
    display: none;
}

#video-mobile {
    display: block;
}

.desktop-header {
    display: none;
}

#logofooter {
    display: none;
}

.headerdesktop {
    display: none;
}

.burger {
    display: block;
}

#menu-icon {
    display: none;
    cursor: pointer; /* Curseur pointeur pour indiquer un élément interactif */
}

.color {
    background-color: #E5C4AE;
}

.color :hover {
    background-color: #E5C4AE;
}

nav {
    display: flex;
    justify-content: space-between; /* espacement pour avoir 2 éléments à chaque extrémité*/
    background-color: rgba(116, 76, 52, 0.7);
    padding: 20px;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 10px;
    margin: 0 10px;
}

nav a:hover {
    background-color: #777;
}

.burger {
    flex-direction: column;
    align-items: center;
    display: none;
    position: absolute;
    width: 100%;
    z-index: 1; /* 1 pour ajuster la profondeur d'empilement */
}

nav.show {
    display: flex;
}

nav a {
    width: 100%;
    text-align: center;
    margin: 20px;
}

#menu-icon {
    display: block;
}

/* Styles pour les ordinateurs  */
@media (min-width: 768px) {
    nav a {
        margin-bottom: -12px;
    }

    nav.show {
        display: none;
    }

    #menu-icon {
        display: none;
    }

    .burger {
        display: none;
    }

    #logofooter {
        display: block;
    }

    .headerdesktop {
        display: flex;
    }

    .desktop-header {
        display: block;
    }

    #video-mobile {
        display: none;
    }

    .linkfooter {
        display: block;
    }

    .footermobile {
        display: none;
    }

    .footerdesktop {
        display: block;
    }

    footer {
        display: flex;
        flex-direction: column; /*mise en colonne du footer*/
        background-color: #E5C4AE;
        color: white;
        font-weight: 500;
        font-size: 24px;
        font-style: normal;
        margin-top: 30px;
    }

    .textfooter {
        margin-left: 120px;

    }

    .img {
        height: 40px;
        display: flex;
        flex-direction: column;
        margin: 16px;

    }

    .icon {
        margin-right: -304px;
        margin-top: 42px;

    }

    #title {
        font-weight: 700;
        font-size: 30px;
        font-style: normal;
        margin-left: 20px;
    }

    .logofooter {
        height: 220px;
        width: 200px;
        margin-top: 30px;
    }

    .foot {
        display: flex;
        justify-content: space-between; /* espacement pour avoir 2 éléments à chaque extrémité*/
    }

    nav {
        display: flex;
        flex-direction: column;
        align-items: start;
        margin-right: 60px;
        margin-top: -56px;
    }

    .desktop-header {
        display: block;
    }

    .logo {
        height: 300px;
    }

    #video-desktop {
        display: block;
        object-fit: cover;

    }

    #menu-icon {
        display: none;
    }

    .logoheader {
        height: 100px;
        width: 100px;
    }

    #logofooter {
        margin-top: 60px;
        margin-left: 30px;
        width: 256px;
        display: flex;
        flex-direction: column;
    }

    video {
        width: 100%;
        height: auto;
    }

    h1 {
        font-size: 30px;
        margin-left: 20px;
        text-align: center;
    }

    .text>p {
        font-size: 18px;
        margin-left: 20px;
        text-align: center;
    }

    .infocontact {
        display: flex;
        align-items: end;
    }

    #title {
        margin-right: 220px;
    }

    button {
        font-size: 20px;
        width: 190px;
        height: 76px;
        border: 4px solid #E5C4AE;
    }

    .desktop-header {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

}