@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,100..900;1,100..900&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
    font-family: "Archivo", sans-serif;
}

html,
body {
    scroll-behavior: smooth;
}

:root {
    --primary-color: #5A1AF0;
    --primary-light-color: #986CFF;
    --primary-dark-color: hwb(258 8% 25%);
    --white-color: #FFFFFF;
    --black-color: #17171A;
    --gray-dark-color: #6C6F77;
    --gray-light-color: #EFF3FF;
}

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-track {
    background: #e2e2e2;
}

* a img {
    pointer-events: none;
    user-select: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}


header {
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    background-color: var(--gray-light-color);

    position: sticky;
    top: 0;
    z-index: 10;
}


.header-scrolled {
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.25);
}

.header-highlight {
    background-color: var(--white-color);
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header .container nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

header .container nav ul {
    display: flex;
    gap: 40px;
}

header .container nav ul li a {
    font-size: 16px;
    color: var(--black-color);
}

header .container nav ul li.active a {
    color: var(--primary-color);
    font-weight: 600;
}

header .container nav .header-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-btn {
    width: max-content;
    padding: 0.8rem 1rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 500;
    color: var(--primary-color);
    transition: .5s;
}

.header-btn.purple {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.header-btn.purple:hover {
    background-color: var(--primary-dark-color);
}

.header-btn.white {
    background-color: var(--white-color);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}


header .container nav hr {
    border: 1px solid #CECDD9;
    height: 40px;
}

@media screen and (max-width: 1080px) {
    header .logo {
        width: 150px;
    }

    header .container nav ul li a {
        font-size: 15px;
    }
}

@media screen and (max-width: 1000px) {
    header .container {
        justify-content: end;
        gap: 20px;
    }

    header .container nav ul {
        display: none;
    }

    header .container nav hr {
        display: none;
    }

    header .container nav .header-buttons {
        display: none;
    }
}

.menu-btn {
    border: none;
    justify-content: center;
    width: 50px;
    align-items: center;
    height: 50px;
    top: 0;
    position: absolute;
    background-color: var(--primary-dark-color);
    color: #fff;
    font-size: 18px;
    right: -50px;
    border-radius: 0 0 1rem 0;
    display: none;
    transition: background-color .5s ease;
}

.menu-btn .icon-btn {
    width: 100%;
    height: 100%;
    position: relative;
}

.menu-btn .icon-btn::after {
    content: "";
    width: 30px;
    height: 3px;
    border-radius: 10px;
    background-color: var(--white-color);
    position: absolute;
    top: 20px;
    left: 8px;
    animation: menuAfterReverse .5s forwards;
}

.menu-btn .icon-btn::before {
    content: "";
    width: 15px;
    height: 3px;
    border-radius: 10px;
    background-color: var(--white-color);
    position: absolute;
    top: 30px;
    left: 8px;
    animation: menuBeforeReverse .5s forwards;

}


.nav-mobile.active .menu-btn .icon-btn::before {
    animation: menuBefore .5s forwards;
}

.nav-mobile.active .menu-btn .icon-btn::after {
    animation: menuAfter .5s forwards;
}

.nav-mobile.active .menu-btn {
    background-color: var(--gray-light-color);
}

.nav-mobile.active .menu-btn .icon-btn::after {
    background-color: var(--primary-dark-color);
}

.nav-mobile.active .menu-btn .icon-btn::before {
    background-color: var(--primary-dark-color);

}


@keyframes menuBefore {
    0% {
        top: 30px;
        left: 8px;
        transform: translate(0) rotate(0deg);
        width: 15px;
    }

    100% {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(1125deg);
        width: 20px;
    }
}


@keyframes menuAfter {
    0% {
        top: 20px;
        left: 8px;
        transform: translate(0) rotate(0deg);
        width: 30px;
    }

    100% {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(1215deg);
        width: 20px;
    }
}

@keyframes menuBeforeReverse {
    0% {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(1125deg);
        width: 20px;
    }

    100% {
        top: 30px;
        left: 8px;
        transform: translate(0) rotate(0deg);
        width: 15px;
    }
}

@keyframes menuAfterReverse {
    0% {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(1215deg);
        width: 20px;
    }

    100% {
        top: 20px;
        left: 8px;
        transform: translate(0) rotate(0deg);
        width: 30px;
    }
}


/* Mobile */

.nav-mobile {
    display: none;
    width: 250px;
    height: 100vh;
    top: 0;
    left: 0;
    background: var(--gray-light-color);
    position: fixed;
    padding: 1rem;
    box-shadow: -5px 0 15px 0 rgba(0, 0, 0, .75);
    transition: transform .3s ease-out;
    z-index: 11;
    transform: translateX(-100%);
    flex-direction: column;
    gap: 40px;
}

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

.menu-mobile {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 1rem;
}

.menu-mobile li {
    width: 100%;
    position: relative;
}

.menu-mobile li::before {
    content: "";
    max-width: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-dark-color);
    bottom: 0;
    position: absolute;
    transition: .5s;
}

.menu-mobile li:hover::before {
    max-width: 100%;
}

.menu-mobile li:hover a {
    color: var(--primary-dark-color);
}

.menu-mobile li a {
    width: 100%;
    height: 100%;
    display: flex;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    font-size: 1em;
    color: var(--black-color);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.menu-mobile li.active a {
    color: #F0A009;
}

.nav-mobile .nav-btn {
    width: 100%;
    height: 40px;
    margin-top: 20px;
    border-radius: 5px;
    border: none;
    color: var(--white-color);
    background-color: var(--primary-color);
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    display: none;
    justify-content: center;
    align-items: center;
}

.nav-mobile .menu-mobile .item-dropdown::before {
    bottom: unset;
    top: 30px;
}

.nav-mobile .menu-mobile .item:hover>a {
    color: var(--primary-color);
}

.nav-mobile .menu-mobile .item.active>a {
    color: var(--primary-dark-color);
}

.nav-mobile .menu-mobile .item-dropdown.active>a {
    color: var(--primary-dark-color);
}

.nav-mobile .menu-mobile .item-dropdown.active::before {
    max-width: 100%;
}


.nav-mobile .menu-mobile .item .subnav {
    width: 100%;
    max-height: 0;
    height: max-content;
    top: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(72, 21, 191, 0.5);
    -moz-box-shadow: 0px 0px 5px 0px rgba(72, 21, 191, 0.5);
    box-shadow: 0px 0px 5px 0px rgba(72, 21, 191, 0.5);
}

.nav-mobile .menu-mobile .item .subnav.active {
    max-height: max-content;
}

.nav-mobile .menu-mobile .item .subnav .subitem {
    position: relative
}

.nav-mobile .menu-mobile .item .subnav .subitem>a {
    width: 100%;
    display: flex;
    padding: 1rem;
    color: var(--gray-dark-color);
}

.nav-mobile .menu-mobile .item .subnav .subitem::before {
    content: "";
    max-width: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-dark-color);
    bottom: 5px;
    left: 1rem;
    position: absolute;
    transition: .5s;
}

.nav-mobile .menu-mobile .item .subnav .subitem:hover::before {
    max-width: 80%;
}

.nav-mobile .menu-mobile .item .subnav .subitem:hover>a {
    color: var(--primary-color);
}

@media screen and (max-width: 1000px) {
    .menu-btn {
        display: flex;
    }

    .nav-mobile {
        display: flex;
    }
}

@media screen and (max-width: 1000px) {

    .nav-mobile .nav-btn {
        display: flex;
    }

    .nav {
        display: none;
    }

    .nav-mobile {
        margin-top: unset;
    }
}


.nav-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nav-buttons .header-btn {
    width: 100%;
    justify-content: center;
}


footer {
    width: 100%;
    background-color: var(--gray-light-color);
    padding-top: 4rem;
    padding-bottom: 4rem;
}

footer .container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

footer .container .footer-top {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 50px;
    padding-bottom: 2rem;
}

footer .container .footer-top .footer-top-left {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    gap: 30px;
}

footer .container .footer-top .footer-top-left p {
    max-width: 800px;
    color: #7A7A7A;
    font-size: 16px;
    font-weight: 400;
    line-height: 23px;
}

footer .container .footer-top .footer-top-right {
    width: 100%;
    display: flex;
    justify-content: space-around;
}

footer .container .footer-top .footer-top-right ul {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

footer .container .footer-top .footer-top-right ul li a {
    color: #7A7A7A;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
}

footer .container .footer-top .footer-top-right ul li.active a {
    color: var(--primary-color);
    font-weight: 600;
}


footer .container .footer-bottom {
    border-top: 2px solid var(--gray-dark-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer .container .footer-bottom .footer-bottom-left {
    display: flex;
    gap: 40px;
    align-items: center;
    color: #7A7A7A;
    font-size: 14px;
    font-weight: 400;
}

@media screen and (max-width: 950px) {
    footer .container .footer-bottom {
        flex-direction: column;
        gap: 20px;
        padding-top: 2rem;
    }
}

@media screen and (max-width: 650px) {
    footer .container .footer-top .footer-top-left {
        align-items: center;
    }

    footer .container .footer-top .footer-top-left p {
        text-align: center;
    }

    footer .container .footer-top {
        flex-direction: column;
    }

    footer .container .footer-top .footer-top-right ul {
        text-align: center;
    }
}

@media screen and (max-width: 500px) {
    footer .container .footer-bottom .footer-bottom-left {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }
}

@media screen and (max-width: 400px) {
    .footer-bottom-right img {
        width: 100%;
    }
}



@media screen and (max-width: 450px) {
    .title-break {
        display: none;
    }
}


