@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: #b98eef;
    --primary-text: #000000;
    --sub-text: #0000009e;
    --border: 1px solid #ffffff24;
    --lite-border: 1px solid #ffffff0b;
    --bg: #fafafa;
    --bg2: #f2f2f2;
}

[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%;
}

.container {
    max-width: 1240px;
    width: 100%;
    margin: auto;
    padding: 0 1.5rem;
}

button {
    padding: 1.5rem 2rem;
    cursor: pointer;
    background: var(--primary);
    color: var(--primary-text);
}

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: white;
}

.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.sticky .links a {
    color: var(--primary-text);
}

header.sticky .logo h1 {
    color: var(--primary-text);
}

header button {
    transition: 0.3s;
}

header.sticky button {
    padding: 1rem;
    font-size: 1.3rem;
}

header .logo h1 {
    transition: 0.3s;
    line-height: 0.8;
    color: white;
}

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;
    scale: 0;
    opacity: 0;
    transition: 0.3s;
}

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: 60dvh;
    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: flex-start;
    justify-content: flex-end;
    padding: 5rem;
}

main .title {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
    max-width: 65rem;
    width: 100%;
}

main .title h1 {
    font-size: 5rem;
    line-height: 1;
    color: white;
}

main .title p {
    font-size: 1.6rem;
    font-weight: 300;
    color: #ffffffc9;
}

section {
    padding: 8rem 0;
}

.logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.logos img {
    width: unset;
    height: 10rem;
    padding: 1.5rem;
}

section.bg {
    background: white;
}

section.logo {
    padding: 1.5rem;
}

.title {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 5rem;
}

.title h2 {
    font-size: 5rem;
}

.title .tag {
    color: var(--primary);
    text-transform: uppercase;
    font-size: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 90rem;
    width: 100%;
    margin: auto;
}

.card {
    background: var(--bg2);
    padding: 3rem;
    border-radius: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.card .ico {
    width: 7rem;
    aspect-ratio: 1/1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: 1rem;
}

.card .ico i {
    font-size: 4rem;
}

.card h3 {
    font-size: 3rem;
}

.card .list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.card .list p {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.5rem;
    align-items: flex-start;
}

.card .list i {
    color: var(--primary);
    font-size: 1.8rem;
}

form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
}

form .content {
    height: 100%;
    background: var(--primary);
    padding: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    gap: 1rem;
}

form .content h2 {
    font-size: 5rem;
    line-height: 1;
}

form .content p {
    font-size: 2rem;
}

form button {
    margin-top: 2rem;
}

.form {
    padding: 5rem;
    background: var(--bg2);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

form button:hover {
    color: var(--primary-text) !important;
}

.input {
    width: 100%;
}

form input,
form select {
    width: 100%;
    padding: 1.5rem 2rem;
    background: #00000008;
    color: var(--primary-text);
    border: 1px solid #00000013;
    transition: 0.3s;
}

form label {
    display: block;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

form p {
    font-weight: 300;
}

form h3 {
    font-size: 2rem;
    font-style: italic;
    font-weight: 800;
    margin-bottom: 1rem;
}

input:focus {
    border-color: var(--primary);
}

footer {
    background: var(--bg2);
    padding: 1.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

main .title {
    margin: unset;
}

@media (max-width: 1024px) {
    html {
        font-size: 50%;
    }
}

@media (max-width: 720px) {
    html {
        font-size: 62%;
    }

    [class*="grid"] {
        grid-template-columns: 1fr !important;
    }

    .news {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    /* 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 2rem !important;
        font-size: 1.6rem !important;
    }

    .title-1 h2 {
        font-size: 3rem;
    }

    .title-1 h2 br {
        display: none;
    }

    .grid-2 .card {
        padding: 3rem;
        border: unset;
        border-bottom: var(--border);
    }

    .card-2 h2 {
        font-size: 2.3rem;
    }

    main .title h1 {
        font-size: 3rem;
    }

    main {
        height: fit-content;
        margin-top: 8rem;
        padding: 5rem 0;
    }

    main .container {
        padding: 0 1.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;
    }

    header .logo h1 {
        color: var(--primary-text);
    }

    .fix {
        grid-area: 1 / 1 / 2 / 2;
    }

    form {
        grid-template-columns: 1fr;
    }

    section {
        padding: 5rem 0;
    }

    .logos img {
        width: unset;
        height: 6rem;
        padding: 1rem;
    }

    section .title {
        text-align: center;
    }

    section .title h2 {
        font-size: 4rem;
        line-height: 1;
    }

    .form,
    .content {
        padding: 3rem;
    }

    form .content h2 {
        font-size: 3rem;
    }
}