@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 {
    background-color: #F4F2EF;
    font-family: "work-sans", sans-serif;
}

.checkbox {
    display: none;
}

p {
    margin-bottom: 40px;
    font-size: 18px;
    display: flex;
    flex-direction: column;
}

img {
    height: 40px;
    display: flex;
    flex-direction: column;
    margin: 20px;
    margin-top: 40px;
}


footer>p {
    color: white;
}

.img {
    height: 40px;
    display: flex;
    flex-direction: column;
    margin: 12px;
}

.title {
    font-family: 'Kalnia', serif;
    font-size: 30px;
    font-style: normal;
    color: white;

}

#source {
    background-color: #E5C4AE;
    color: white;
    padding: 6px;
    margin-top: -5px;
    font-size: 17px;
    text-align: center;
}

.infos {
    display: flex;
    justify-content: space-between;
}

nav {
    display: flex;
    flex-direction: row;
    margin-top: 16px;
}

header {
    display: flex;
    justify-content: space-between;
}

form {
    background-color: white;
    padding: 26px;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
    width: 80%;
    height: 900px;
    margin-bottom: 20%;
    margin-left: 8px;

}

label {
    display: block;
    margin-bottom: 20px;
    color: #E5C4AE;
    font-size: 18px;
}

input {
    width: 280px;
    padding: 8px;
    margin-bottom: 15px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    background-color: #E5C4AE;
    color: white;
    padding: 10px 15px;
    border: solid 2px white;
    border-radius: 6px;
    cursor: pointer; /* Curseur pointeur pour indiquer un élément interactif */
    height: 50px;
    width: 280px;
    font-size: 24px;
}

button:hover {
    background-color: white;
    color: #E5C4AE;
    border: solid 2px #E5C4AE;

}

.checkbox-group {
    margin-top: 15px;
}

.checkbox-group label {
    display: block;
    margin-bottom: 8px;
}

.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;
}

.img {
    height: 40px;
    display: flex;
    flex-direction: column;
    margin: 16px;

}

h1 {
    color: #E5C4AE;
    font-family: 'Kalnia', serif;
}

h1.white {
    color: white;
    margin: 20px;
    padding-top: 20px;
}

#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;
}

.link {
    display: flex;
    flex-direction: column;
    align-items: start;
    margin-right: 120px;
    margin-top: -110px;

}

.link>a {
    color: white;
}

.links>a {
    color: #E5C4AE;
}


footer {
    display: none;
}

.footermobile {
    display: block;
}

a {
    color: #E5C4AE;
    text-decoration: none;
    margin: 20px;
    font-size: 20px;
}

.nav {
    display: none;
}

.logoheader {
    height: 80px;
    margin: 20px;
}

#text {
    color: #E5C4AE;
}

.beige {
    margin-bottom: 66px;
    background-color: #E5C4AE;
    padding-bottom: 100px;
    height: 232px;
    width: 330px;
    margin-left: 18px;
    margin-top: -430px;
    border-radius: 8px;
}

.infocontact {
    color: white;
    font-size: 80px;
}

.paragraphe {
    margin-bottom: 52px;
    font-size: 18px;
    margin-right: 20px;
}

.images {
    margin-top: -24px;
}


.icon {
    margin-top: -196px;
}

.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;
}

footer {
    display: none;
}

.rectangle {
    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;
    background-color: rgba(116, 76, 52, 0.7);
    padding: 20px;
}



#menu-icon {
    display: block;
}


#menu-icon {

    color: #E5C4AE;
    cursor: pointer; /* Curseur pointeur pour indiquer un élément interactif */
    padding: 15px;
    position: absolute; /*passe par dessus tout*/
    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 */
}

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;
}

.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;
}

nav a {
    width: 100%;
    text-align: center;
    margin: 30px;
}

#menu-icon {
    display: block;
}

/* Styles pour les ordinateurs  */
@media (min-width: 768px) {
    nav a{
        margin: 12px;
    }
    nav.show {
        display: none;
    }

    #menu-icon {
        display: none;
    }

    .burger {
        display: none;
    }

    .rectangle {
        width: 33%;
        height: 82%;
        background-color: #F2D8C7;
        margin-left: 56%;
        border-radius: 4px;
    }

    .textfooter {
        margin-top: -260px;
    }

    h1 {
        color: white;
    }

    .icon {
        margin-top: 80px;
    }

    h1 {
        color: #E5C4AE;
    }

    .beige {
        height: 280px;
        width: 466px;
        margin-left: 21px;
        padding-right: 16px;
    }

    .rectangle {
        display: block;
    }

    .label {
        width: 40%;
    }

    input {
        width: calc(100% - 16px);
        /* Ajuster la largeur en fonction de la marge */

    }

    form {
        width: 180%;
        margin-left: 50px;
        height: 74%;
    }

    .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é*/
    }

    .footermobile {
        display: none;
    }

    footer {
        display: block;
    }

    .nav {
        display: block;
        margin: 40px;
    }

    nav.color {
        display: flex;
        flex-direction: column;
       margin-top: 148px;
    }

    div.a{
        margin-top: -160px;
    }

    .images {
        margin-left: 42px;
    }

    nav {
        margin-right: 60px;
        margin-top: 20px;
    }

    .desktop-header {
        display: block;
    }

    .logoheader {
        height: 100px;
    }

    .linkhead {
        margin-left: 740px;
    }

    .container {
        display: flex;
        justify-content: space-between; /* espacement pour avoir 2 éléments à chaque extrémité*/
    } 

    .left-column,
    .right-column {
        width: 48%;
        /* Chaque colonne occupe 48% de la largeur */
        /* background-color: #E5C4AE;*/
    }


    .white {
        color: white;
        margin-left: 54px;
        padding-top: 40px;
    }


}