@import url('https://fonts.googleapis.com/css2?family=Stack+Sans+Headline:wght@200..700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Stack Sans Headline", sans-serif;
    border: none;
    outline: none;
    text-decoration: none;
    color: var(--primary-text);
}

html {
    --primary: #846bf5;
    --primary-text: #ffffff;
    --sub-text: #ffffff9e;
    --border: 1px solid #ffffff24;
    --lite-border: 1px solid #ffffff0b;
    --bg: #0a070e;
    --bg2: #181220;
}

[class*="grid"] {
    display: grid;
}

.align-center {
    align-items: center;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
    scroll-padding-top: 8rem;
    position: relative;
}

body {
    -webkit-text-size-adjust: 100%;
    background: var(--bg);
}

p,
a,
input,
select,
textarea,
button {
    font-size: 1.6rem;
}

p {
    color: var(--sub-text);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 500;

}

img,
video {
    max-width: 100%;
}

section.bg {
    background: var(--primary);
}

.container {
    max-width: 1240px;
    width: 100%;
    margin: auto;
    padding: 0 1.5rem;
}

button {
    padding: 1.5rem 2rem;
    cursor: pointer;
    background: var(--primary);
    color: white;
}

button.btn {
    position: relative;
    height: 5rem;
    padding: 0 2.5rem;
    padding-right: 0;
    border-radius: 5rem;
    overflow: hidden;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: 0.3s;
    z-index: 2;
}

button.empty {
    background: unset;
    display: flex;
    align-items: center;
    gap: 1rem;
}

button.btn i {
    font-size: 2.5rem;
    width: 5rem;
    aspect-ratio: 1/1;
    border-radius: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -1rem;
    margin-right: 1rem;
    transition: 0.3s;
}

button.btn::before {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 5rem;
    background: var(--primary);
    z-index: -1;
    transition: 0.3s;
}

button.btn:hover::before {
    width: 5rem;
}

button.btn:hover i {
    margin-left: 0rem;
    margin-right: 0rem;
}

button.btn:hover {
    color: var(--sub-text);
}

.buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* header section */
header {
    height: 8rem;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 99999;
    background: transparent;
    transition: 0.3s;
}

header.sticky {
    background: var(--bg);
    transition: 0.3s;
    border: unset;
}

header button {
    transition: 0.3s;
}

header.sticky button {
    padding: 1rem;
    font-size: 1.3rem;
}

header .logo h1 {
    transition: 0.3s;
    line-height: 0.8;
}

header.sticky .logo h1 {
    font-size: 2rem;
}

header .dropdown-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.6rem;
    color: white;
    height: 8rem;
    cursor: pointer;
}

header .dropdown {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: var(--bg2);
    border-radius: 2rem;
    padding: 2rem;
    top: 6rem;
    transform: scale(0);
    opacity: 0;
    transition: opacity .3s ease, transform .3s ease;
    transform-origin: top;
}

/* header .dropdown-wrap:hover .dropdown {
    opacity: 1;
    scale: 1;
} */

.logo img {
    height: 6rem;
}

header .container {
    height: 100%;
    max-width: 100%;
    padding: 0 5rem;
}

header .links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

header .links a {
    transition: 0.3s;
    color: white;
}

header .links a:hover {
    color: var(--primary);
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header .cta {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: flex-end;
}

.menu {
    font-size: 3rem;
    display: none;
}

/* main */
main {
    position: relative;
    min-height: 80dvh;
    height: 80rem;
    overflow: hidden;
}

main::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(#0a070e49, #0a070e);
    z-index: 1;
}

main .bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

main .container {
    position: relative;
    z-index: 3;
    height: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    justify-content: flex-end;
    padding: 5rem 0;
}

main .title {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 90rem;
    width: 100%;
}

main .title h1 {
    font-size: 8rem;
    line-height: 1;
}

main .title p {
    font-size: 2rem;
    font-weight: 300;
}

section {
    padding: 8rem 0;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.card {
    padding: 5rem;
}

.title-1 {
    display: flex;
    gap: 0.5rem;
    flex-direction: column;
    margin-bottom: 5rem;
    max-width: 80rem;
    width: 100%;
}

.title-1 span {
    color: var(--primary);
    font-size: 2rem;
    text-transform: uppercase;
}

.title-1 h2 {
    font-size: 5rem;
    line-height: 1;
}

.gap-5 {
    gap: 5rem;
}

.card-2 {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: var(--bg2);
    padding: 2.5rem;
    border-radius: 2rem;
}

.card-2 .ico {
    width: 5rem;
    aspect-ratio: 1/1;
    background: var(--primary);
    border-radius: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-2 .ico i {
    font-size: 2.5rem;
}

.card-2 h2 {
    font-size: 3rem;
}

.card-2 p {
    font-size: 1.8rem;
    font-weight: 300;
}

.title-1.center {
    text-align: center;
    margin: auto;
    margin-bottom: 5rem;
}

.logos {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
}

.logos img {
    width: 100%;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    object-fit: contain;
    padding: 3rem;
    border: var(--border);
    background: white;
    border-radius: 1rem;
}

footer {
    padding: 5rem 0;
    text-align: center;
}

.popup {
    max-width: 50rem;
    padding: 3rem;
    background: white;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 999;
    box-shadow: 0 0 100px var(--bg);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: 0.3s;
    scale: 0;
    opacity: 0;
}

.flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.flex p {
    color: var(--primary-text);
    font-size: 2.3rem !important;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.5rem;
    align-items: center;
}

.flex p i {
    color: var(--primary);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.card-sm {
    background: var(--bg2);
    padding: 2rem;
    border-radius: 2rem;
    display: grid;
    grid-template-columns: 15rem 1fr;
    align-items: center;
    gap: 2rem;
}

.card-sm .user {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 1.5rem;
}

.card-sm .user img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.card-sm .info h3 {
    font-size: 3rem;
}

.card-sm .info span {
    font-size: 1.6rem;
    color: var(--primary);
}

.gap-2 {
    gap: 2rem;
}

.modal {
    position: fixed;
    background: #000000dc;
    width: 100%;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 99999;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    display: none;
}

.modal.active {
    display: flex;
    animation: fade 0.3s linear;
}

@keyframes fade {
    from {
        opacity: 0;
    }
}

.modal .modal-content {
    background: var(--bg2);
    max-width: 100rem;
    width: 100%;
    padding: 3rem;
    max-height: 85vh;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.modal-content::-webkit-scrollbar {
    width: 0;
}

.modal .close {
    position: absolute;
    top: 0;
    right: 0;
    width: 5rem;
    aspect-ratio: 1/1;
    overflow-y: hidden;
    background: red;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.modal .close {
    font-size: 2rem;
}

.modal-content .body {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-content h2 {
    font-size: 3rem;
}

.modal-content img {
    width: 100%;
}

.modal-content .info h3 {
    font-size: 2.3rem;
}

.modal-content .info span {
    color: var(--primary);
    font-size: 1.5rem;
}

.frame {
    max-width: 80rem;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 2rem;
    margin: auto;
}

iframe {
    width: 100%;
    height: 100%;
}

@media (max-width: 1024px) {
    html {
        font-size: 50%;
    }
}

@media (max-width: 720px) {
    html {
        font-size: 62%;
    }

    [class*="grid"] {
        grid-template-columns: 1fr !important;
    }

    /* nav bar */
    header .container {
        padding: 0 1.5rem;
    }

    .toogle-menu {
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        flex-direction: column;
        justify-content: space-around;
        gap: 0.8rem;
        width: 3rem;
        height: 2.5rem;
        cursor: pointer;
        margin-left: auto;
    }

    .toogle-menu>span {
        width: 100%;
        height: 2px;
        border-radius: 1rem;
        background: var(--primary-text);
    }

    .toogle-menu>span:first-child {
        width: 50%;
        margin-left: auto;
    }

    .toogle-menu>span:last-child {
        width: 80%;
        margin-left: auto;
    }

    header.active .toogle-menu span:first-child,
    header.active .toogle-menu span:last-child {
        width: 100%;
    }

    .toogle-menu span:first-child,
    .toogle-menu span:last-child {
        transition: 0.3s;
    }

    header {
        background: var(--bg);
    }

    header .links {
        flex-direction: column;
        text-align: center;
        justify-content: center;
        height: calc(100vh - 8rem);
        position: fixed;
        top: 8rem;
        background: var(--bg);
        backdrop-filter: blur(15px);
        width: 100%;
        padding: 5rem 0;
        left: 0px;
        transition: 0.5s;
        transform: translateX(100%);
    }

    header.active .links {
        transform: translateX(0%) !important;
    }

    header .links a {
        color: var(--primary-text);
    }

    header .logo h1 {
        font-size: 1.6rem !important;
    }

    header button {
        padding: 1rem !important;
        font-size: 1.4rem !important;
    }

    .title-1 h2 {
        font-size: 3rem;
    }

    .title-1 h2 br {
        display: none;
    }

    main .title h1 {
        font-size: 3rem;
    }

    main {
        height: 100%;
        min-height: 100%;
        margin-top: 8rem;
        padding: 5rem 0;
    }

    .flex p {
        font-size: 1.6rem !important;
    }

    main .container {
        padding: 0 1.5rem;
        padding-bottom: 5rem;
    }

    main .title p {
        font-size: 1.6rem;
    }

    header .dropdown-wrap {
        height: unset;
        flex-direction: column;
    }

    header .dropdown-wrap .dropdown {
        opacity: 1;
        scale: 1;
        position: relative;
        padding: 0;
        background: unset;
        top: unset;
    }

    .logos {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .logos img {
        width: 10rem;
        padding: 1rem;
    }

    .fix {
        grid-area: 1 / 1 / 2 / 2;
    }

    .card-sm {
        grid-template-columns: 1fr;
    }

    .modal .modal-content {
        grid-template-columns: 1fr;
        overflow-y: scroll;
    }
}