/* Header Styles */
.alert-success {
    margin: 10px auto;
    padding: 20px;
    border-radius: var(--main-border-radius);
    color: white;
    background-color: rgb(141, 199, 141);
}

.alert-error {
    margin: 10px auto;
    padding: 20px;
    border-radius: var(--main-border-radius);
    color: white;
    background-color: rgb(211, 123, 123);
}

header {
    max-width: 1500px;
    margin: auto;
    padding: 20px 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid #eeeeee;
}

header .header-logo-container {
    width: 150px;
}

header .header-logo-container img {
    width: 100%;
}

header nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style-type: none;
    margin-bottom: 0;
}

header nav ul li {
    transition: 0.3s;
}

header nav ul li:hover {
    padding-bottom: 5px;
}

header nav ul li:not(:last-child) {
    margin-right: 50px;
}

header nav ul li a {
    text-decoration: none;
    color: black;
}

header nav ul li:hover a {
    color: var(--main-color);
}

header .header-soustraitance-button a {
    padding: 10px 20px;
    text-decoration: none;
    color: white;
    background-color: var(--main-color);
    border-radius: var(--main-border-radius);
}

header .header-hamburger-menu-container {
    display: none;
    font-size: 1.6rem;
    cursor: pointer;
}

.header-side-menu-container {
    width: 350px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: -350px;
    background-color: var(--footer-background-color);
    transition: 0.4s;
    z-index: 100000;
}

.header-side-menu-container .header-side-menu-x-mark-container {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 1.6rem;
    color: white;
}

.header-side-menu-container nav {
    margin-top: 100px;
}

.header-side-menu-container nav ul {
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    list-style-type: none;
}

.header-side-menu-container nav ul li a {
    text-decoration: none;
    color: white;
}

.header-side-menu-container .header-soustraitance-button {
    margin-top: 40px;
    text-align: center;
}

.header-side-menu-container .header-soustraitance-button a {
    padding: 10px 20px;
    text-decoration: none;
    color: white;
    background-color: var(--main-color);
    border-radius: var(--main-border-radius);
}

/* End Header Styles */
/* ###################################################### */
/* Footer Styles */
footer {
    color: white;
    background-color: var(--footer-background-color);
}

footer .footer-layout-container {
    max-width: 1500px;
    margin: auto;
    padding: 50px 80px 20px;
}

footer .footer-rows-container {
    display: flex;
    justify-content: space-between;
}

footer .footer-rows-container .footer-row-container div {
    margin: 10px 0;
}

footer
    .footer-rows-container
    .footer-row-container:first-child
    .footer-logo-container {
    width: 150px;
}

footer
    .footer-rows-container
    .footer-row-container:first-child
    .footer-logo-container
    img {
    width: 100%;
}

footer
    .footer-rows-container
    .footer-row-container:first-child
    .footer-description-container {
    max-width: 380px;
    font-weight: 300;
}

footer
    .footer-rows-container
    .footer-row-container:first-child
    .footer-social-media-container
    a {
    font-size: 1.5rem;
    text-decoration: none;
    transition: 0.3s;
    color: #ddd;
    /* color: #234156; */
}

footer
    .footer-rows-container
    .footer-row-container:first-child
    .footer-social-media-container
    a:hover {
    color: var(--main-color);
}

footer
    .footer-rows-container
    .footer-row-container:first-child
    .footer-social-media-container
    a:not(:last-child) {
    margin-right: 8px;
}

footer .footer-rows-container .footer-row-container .footer-heading-container {
    margin-top: 30px;
    text-align: center;
}

footer .footer-rows-container .footer-seconde-last-rows-container {
    width: 50%;
    display: flex;
    justify-content: space-between;
}

footer
    .footer-rows-container
    .footer-seconde-last-rows-container
    .footer-row-container:first-child
    .footer-heading-container
    h4 {
    color: var(--main-color);
    font-weight: 500;
    font-size: 1.3rem;
}

footer
    .footer-rows-container
    .footer-seconde-last-rows-container
    .footer-row-container:first-child
    .footer-links-container
    ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

footer
    .footer-rows-container
    .footer-seconde-last-rows-container
    .footer-row-container:first-child
    .footer-links-container
    ul
    li {
    list-style-type: none;
}

footer
    .footer-rows-container
    .footer-seconde-last-rows-container
    .footer-row-container:first-child
    .footer-links-container
    ul
    li
    a {
    text-decoration: none;
    color: white;
    font-weight: 300;
}

footer
    .footer-rows-container
    .footer-seconde-last-rows-container
    .footer-row-container:last-child
    .footer-heading-container
    h4 {
    color: var(--main-color);
    font-weight: 500;
    font-size: 1.3rem;
}

footer
    .footer-rows-container
    .footer-seconde-last-rows-container
    .footer-row-container:last-child
    .footer-links-container
    ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style-type: none;
}

footer
    .footer-rows-container
    .footer-seconde-last-rows-container
    .footer-row-container:last-child
    .footer-links-container
    ul
    li {
    text-decoration: none;
    color: white;
    font-weight: 300;
}

footer
    .footer-rows-container
    .footer-seconde-last-rows-container
    .footer-row-container:last-child
    .footer-links-container
    ul
    li
    span {
    margin-left: 10px;
}

footer .footer-copyright-container {
    padding: 30px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

footer .footer-copyright-container::before {
    content: "";
    max-width: 1200px;
    width: 80%;
    height: 1px;
    position: absolute;
    top: 0;
    background-color: white;
}

footer .footer-copyright-container .footer-copyright-labo-cosmo {
    color: var(--main-color);
    font-weight: 600;
}

/* End Footer Styles */
/* ####################################### */
/* Main Styles */

main {
    max-width: 1500px;
    margin: auto;
    padding: 0px 80px 20px;
}

/* End Main Styles */
/* ####################################### */
/* Medias Queries */

@media screen and (max-width: 1100px) {
    header .header-soustraitance-button {
        display: none;
    }

    header .header-hamburger-menu-container {
        display: block;
    }
}

@media screen and (max-width: 1000px) {
    header {
        padding: 20px 30px;
    }

    main {
        /* padding: 20px 30px; */
        padding: 0px 30px 20px;
    }

    footer .footer-layout-container {
        padding: 50px 30px 20px;
    }
}

@media screen and (max-width: 950px) {
    header nav {
        display: none;
    }
}

@media screen and (max-width: 850px) {
    footer .footer-rows-container {
        flex-direction: column;
        gap: 50px;
    }

    footer .footer-rows-container .footer-seconde-last-rows-container {
        width: 100%;
        justify-content: space-between;
    }
}

@media screen and (max-width: 500px) {
    footer .footer-rows-container .footer-seconde-last-rows-container {
        flex-wrap: wrap;
        gap: 50px;
        justify-content: center;
    }

    footer
        .footer-rows-container
        .footer-seconde-last-rows-container
        .footer-row-container {
        width: 100%;
    }

    footer
        .footer-rows-container
        .footer-seconde-last-rows-container
        .footer-row-container:last-child
        .footer-links-container
        ul
        li {
        text-align: center;
    }

    header {
        padding: 20px 10px;
    }

    main {
        /* padding: 20px 10px; */
        padding: 0 20px 10px;
    }

    footer .footer-layout-container {
        padding: 50px 10px 20px;
    }
}

/* End Medias Queries Styles */
