/* ======HEADER====== */
* {
    box-sizing: border-box
}

body {
    background-color: #F8F7FC;
    margin: 0
}

header,
main {
    padding: 50px
}

section {
    padding-top: 60px
}

header nav {
    font-family: "Raleway";
    font-size: 18px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

header nav>img {
    height: 30px;
    width: auto;
}

header nav>ul {
    display: flex;
    gap: 60px;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0 20px;
}

header nav>ul>li {
    list-style: none;
}

header nav>ul>li>a {
    text-decoration: none;
    color: rgba(51, 51, 51, 0.8);
}

header nav>ul>li>a:hover,
header nav>ul>li>a.active {
    color: #813BFF;
}

header nav>.lien-contact {
    border-style: solid;
    border-width: thin;
    border-color: rgba(51, 51, 51, 0.8);
    display: flex;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    aspect-ratio: 1 / 1;
    align-items: center;
    justify-content: center;
    margin-left: auto;
}

header nav>.lien-contact:hover {
    background-color: #813bff
}

header nav>.lien-contact>img {
    transition: filter 0.2s ease;
}

header nav>.lien-contact>img:hover {
    filter: brightness(0) invert(1);
}

header nav .burger-menu {
    display: none;
    background-color: transparent;
    border: none;
}

header nav .burger-menu>img {
    height: 30px;
    width: auto;
    cursor: pointer;
}

header .mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 60%;
    height: 100vh;
    background-color: #ffffff;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 60px;
    padding: 30px;
}

header .mobile-nav .burger-menu {
    background-color: transparent;
    border: none;
    width: fit-content;
}

header .mobile-nav.open {
    transform: translateX(0);
}

header .mobile-nav .burger-menu>img {
    height: 30px;
    width: auto;
    cursor: pointer;
}

header .mobile-nav .nav-group {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

header .mobile-nav .nav-group a {
    color: #2A2A35;
    text-decoration: none;
    font-size: 24px;
    font-family: "Raleway";
    font-weight: 600;
}

header .mobile-nav .nav-links {
    display: flex;
    gap: 60px;
}

header .mobile-nav .nav-links a img {
    height: 40px;
    width: auto;
}

header .mobile-nav>a>img {
    height: 40px;
    width: auto;
}

header .mobile-nav.open {
    right: 0;
}

h1 {
    font-family: "Poppins";
    font-size: 64px;
    color: #2A2A35;
    text-align: center;
    margin: 0
}

section h2 {
    font-family: "Poppins";
    font-size: 48px;
    color: #2A2A35;
    margin: 0
}

section p,
section ul {
    font-family: "Raleway";
    font-size: 18px;
    line-height: 1.5;
    letter-spacing: 2%;
    color: #2A2A35
}

span {
    font-weight: 600
}

@media (max-width: 1024px) {
    header {
        padding: 30px
    }


}

/* ===== FOOTER ===== */

footer {
    width: auto;
    height: auto;
    background-color: #2A2A35;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

footer .socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

footer .socials>a>img {
    width: 40px;
    height: 40px;
}

footer>a {
    color: #F8F7FC;
    font-family: "Raleway";
    font-size: 14px;
    letter-spacing: 5%;
    text-underline-offset: 4px
}

footer>p {
    font-family: "Raleway";
    color: #FAFAFA;
    margin: 0;
    font-size: 12px;
    text-align: center;
}

footer .copyright {
    color: #FAFAFA;
    font-family: "Raleway";
    font-weight: 300;
    font-style: italic;
    font-size: 12px;
    margin: 0;
}

.scroll-top-btn {
    border-width: 2px;
    border-radius: 50%;
    aspect-ratio: 1 / 1;
    border-color: #2A2A35;
    border-style: solid;
    background-color: #8860D0;
    position: fixed;
    bottom: 30px;
    right: 30px;
    cursor: pointer;
    z-index: 1000;
    padding: 10px 4px;
    height: 60px
}

.scroll-top-btn img {
    width: 30px;
    height: 35px;
    filter: invert(0%);
    transition: filter 0.3s ease;
    padding-top: 3px;
}

.scroll-top-btn.over-footer {
    border: 0.5px solid white;
}

.scroll-top-btn.over-footer img {
    filter: invert(100%);
}

@media (max-width: 1024px) {

    main {
        padding: 30px
    }

    h1 {
        font-size: 48px;
    }

    section h2 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    header nav ul {
        display: none;
    }

    header nav .lien-contact {
        display: none;
    }

    header nav .burger-menu {
        display: block;
    }

    h1 {
        font-size: 36px;
    }

    section h2 {
        font-size: 28px;
    }

}

@media (max-width: 425px) {
    header .mobile-nav {
        width: 100%
    }

    main {
        padding: 10px
    }

    section {
        padding-top: 30px
    }

    header {
        padding: 15px
    }
}

@media (max-width: 375px) {
    section {
        padding-top: 30px
    }

    h1 {
        font-size: 30px;
    }

    section h2 {
        font-size: 26px;
    }
}