@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;
}
input {
    display: none;
}

a{
    font-size: 20px;
}
.who {
    color: #E5C4AE;
    margin: 20px;
}

.lesson {
    color: white;
    background-color: #E5C4AE;
    padding: 60px;
}

.informations {
    color: #E5C4AE;
    margin: 20px;
}

h1 {
    font-family: 'Kalnia', serif;
    color: #E5C4AE;
    font-size: 30px;
}

#margin{
    margin-top: 20px;
}

p {
    font-weight: 500;
    font-size: 18px;
}

header {
    display: none;
}


footer>p {
    color: white;
}

.img {
    height: 40px;
    display: flex;
    flex-direction: column;
    margin: 12px;
}

img.images{
    height: 210px;
}

.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;
}

.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é*/
}

div.infocontact{
    margin-left: 90px;
}

footer {
    display: none;
}

#menu-icon {

    color:#E5C4AE;
    cursor: pointer; /* Curseur pointeur pour indiquer un élément interactif */
    padding: 15px;
    position: absolute;
    top: 40px;
    left: 310px;
    z-index: 4; /*  4 pour ajuster la profondeur d'empilement */
    border-radius: 8px;
}

#menu-icon span {
    display: block;
    height: 5px;
    width: 35px;
    margin: 5px;
    background-color:#E5C4AE;
    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é*/
}
.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é*/
    padding: 20px;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 10px;
    margin: 0 10px;
}

.burger {
    flex-direction: column;
    align-items: center;
    display: none;
    position: absolute;
    width: 88%;
    z-index: 1; /*  1 pour ajuster la profondeur d'empilement */
}

nav.show {
    display: flex;
    background-color:rgba(116, 76, 52, 0.7);

}

nav a {
    width: 100%;
    text-align: center;
    margin: 20px;
}

#menu-icon {
    display: block;
}
#logo{
    height: 70px;
    margin: 20px;
}
.head{
    background-color: #F4F2EF;
}

/* Styles pour les ordinateurs  */
@media (min-width: 768px) {
    nav a{
        margin-bottom: -12px;
    }
    nav.color{
        margin-right: 46px;
        display: flex;
        flex-direction: column;
        margin-top: -45px;
    }
    .head{
        display: none;
    }
    nav.show {
        display: none;
    }
    #menu-icon{
        display: none;
    }
    .burger{
        display: none;
    }
    .footermobile {
        display: none;
    }

    footer {
        display: block;
    }

    input {
        display: none
    }

    .who{
        display: flex;
        justify-content: space-between; /* espacement pour avoir 2 éléments à chaque extrémité*/
    }

    .lesson{
        display: flex;
        justify-content: space-between; /* espacement pour avoir 2 éléments à chaque extrémité*/
    }

    .informations{
        display: flex;
        justify-content: space-between; /* espacement pour avoir 2 éléments à chaque extrémité*/
    }

    header {
        display: block;
        background-color: #F4F2EF;
        display: flex;
        justify-content: space-between;/* espacement pour avoir 2 éléments à chaque extrémité*/

    }

    .logoheader {
        height: 200px;
        margin-top: auto;
        margin-bottom: auto;
    }

    a {
        text-decoration: none;
        font-weight: 500;
        margin: 20px;
    }


    img {
        margin: 20px;
        height: 260px;
    }

    .logo {
        height: 120px;
        margin: 10px;
    }

    .links {
        margin-top: auto;
        margin-bottom: auto;
        margin-right: 40px;


    }


    .footerdesktop {
        display: block;
    }

    footer {
        display: flex;
        flex-direction: column;
        background-color: #E5C4AE;
        color: white;
        font-weight: 500;
        font-size: 24px;
        font-style: normal;
        margin-top: 30px;
    }

    .textfooter {
        margin-left: 120px;
        color: white;
        margin-top: -224px;

    }

    .img {
        height: 40px;
        display: flex;
        flex-direction: column;
        margin: 16px;

    }

    .icon {
        margin-right: -354px;
        margin-top: 76px;

    }

    #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é*/
    }

    .link {
        display: flex;
        flex-direction: column;
        align-items: start;
        margin-right: 60px;
        margin-top: -110px;

    }

    .link>a {
        color: white;
    }

    .links>a {
        color: #E5C4AE;
    }

    .title {
        color: white;
    }
}