* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* HEADER */

header>a {
    display: flex;
    flex : 1 1 10%;
    max-width: 100px;
}

header img{
    width: 100%;
    object-fit: contain;
}

header {
    padding: 20px 0 10px 20px;
    background-color: #65C2DF;
    display: flex;
    justify-content: space-between;
    width: 100%;
    flex-wrap: wrap;
    align-items: center;
    gap: 5%;
}

#soutenir {
    background-color: #F4BF42;
    padding: 10px 30px;
    border-radius: 20px;
}

header a {
    text-decoration: none;
    color: white;
    font-weight: 600;
    white-space: nowrap;
}

header a:hover {
    color: #B3785D;
}

header li {
    list-style: none;
}

header ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

header div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    height: 0px;
    overflow: hidden;
    transition: all 0.5s ease-in-out;
    width: 100%;
}

header span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: black;
    transition: all 0.5s ease-in-out;
}

header label {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 0 30px;
    gap: 5px;
    height: 20px;
}

header input:checked ~ label span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

header input:checked ~ label span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

header input:checked ~ label span:nth-child(2) {
    width: 0px;
}

header input:checked ~ div {
    height: 370px;
}

header input {
    display: none;
}

#header-panier {
    aspect-ratio: 1/1;
    width: 70px;
}

#header-panier a {
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
}

#header-panier span {
    position: absolute;
    z-index: 1;
    width: 30px;
    height: 30px;
    top: 15px;
    right: 0px;
    background-color: #F4BF42;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#header-panier img {
    width: 100%;
    object-fit: contain;
}

#header-profile {
    height: 50px;
    width: 50px;
    background-color: #B3785D;
    border-radius: 50%;
    overflow: hidden;
}

#header-profile img {
    width: 100%;
    object-fit: contain;
}

/* FOOTER */

footer {
    background-color: #65C2DF;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px 0;
}

footer section {
    padding: 0;
}

.reseau-sociaux svg{
    height: 100%;
    fill: #F4BF42;
}

.reseau-sociaux {
    display: flex;
    justify-content: center;
    flex-direction: row;
    gap: 50px;
    margin: 20px 0;
}

.reseau-sociaux a {
    width: 60px;
    height: 60px;
    overflow: hidden;
    background-color: white;
    border: 2px solid white;
    border-radius: 50%;
}

.reseau-sociaux a:hover svg {
    fill: #B3785D;
}

.footer-menu a{
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: white;
}

.footer-menu a:hover {
    color: #F4BF42;
}

.footer-menu ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.footer-menu li {
    list-style: none;
}

footer>section:nth-child(1) {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin: 20px 0;
}

footer>section article a:nth-child(3) svg {
    transform: scale(1.2);
}

.mentions-legales {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
    gap: 30px;
}

.mentions-legales a {
    color: white;
    text-decoration: none;
}

.mentions-legales a:hover {
    color: #F4BF42;
}

.active {
    color: #B3785D !important;
}

@media (min-width: 992px) {
    header div {
        flex-direction: row;
        justify-content: flex-end;
        gap: 0px;
        height: 50px;
        flex: 1 1 80%;
    }
    header ul {
        flex-direction: row;
        width: 100%;
        gap: 0px;
        justify-content: space-between;
    }
    header {
        padding: 15px 100px;
    }
    header label {
        display: none;
    }

    .footer-menu ul {
        flex-direction: row;
        justify-content: center;
    }
    .mentions-legales {
        flex-direction: row;
        justify-content: center;
    }
}