﻿* {
    box-sizing: border-box;
}

html,
body {
    scroll-behavior: smooth;
    width: 100%;
    height: 100%;
    overflow-x: auto;
    overflow-y: hidden;
}

.page-layout {
    height: 100dvh;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
}

.page-scroll {
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    scroll-behavior: smooth;

    display: flex;
    flex-direction: column;

    align-items: center;
}

.page-scroll > footer {
    margin-top: auto;
}

:root {
    --color-primary: #783DCC;
    --color-secondary: rgba(120, 61, 204, 0.15);

    --background-main: #EFEFEF;
    --text-color-primary: linear-gradient(180deg, #292929 0%, #151515 100%);
    --text-color-secondary: #7E7E7E;
    --block-background: #FFF;
    --rates-block-background: #F8F8F8;
    --trial-block-background: #F8F8F8;
    --language-button-text: #0F1113;
    --hiw-button-color: var(--text-color-primary);
    --arrow-color: #050507AA;
    --blocks-line: rgba(0, 0, 0, 0.05);
    --wyg-q-color: #0F1113;
    --auth-button: #FFF;
    --special-block-background: linear-gradient(270deg, rgba(255, 255, 255, 0.00) 0%, #FFF 50%, rgba(255, 255, 255, 0.00) 100%);
    --demo-title-text-color: #050507;

    --button-text-primary: #FFF;
}

[data-theme="dark"] {
    --background-main: #050507;
    --text-color-primary: linear-gradient(180deg, #F1F1F1 0%, #838385 100%);
    --text-color-secondary: #898A8B;
    --block-background: #0E0C11;
    --rates-block-background: linear-gradient(90deg, rgba(14, 12, 17, 0.90) 0.08%, #180F25 51.78%, rgba(14, 12, 17, 0.90) 99.9%);
    --trial-block-background: #0E0C11;
    --language-button-text: linear-gradient(180deg, #F1F1F1 0%, #838385 100%);
    --hiw-button-color: #FFF;
    --arrow-color: #EFEFEFAA;
    --blocks-line: rgba(255, 255, 255, 0.05);
    --wyg-q-color: #FFF;
    --auth-button: var(--text-color-primary);
    --special-block-background: linear-gradient(270deg, rgba(14, 12, 17, 0.00) 0%, #0E0C11 50%, rgba(14, 12, 17, 0.00) 100%);
    --demo-title-text-color: #FFF;
}

body {
    margin: 0;
    background: var(--background-main);
    color: var(--text-color-primary);
    font-family: "Manrope", sans-serif;
}

button,
input,
select,
textarea {
    font: inherit;
}

.image-light {
    display: block;
}

.image-dark {
    display: none;
}

[data-theme="dark"] .image-light {
    display: none;
}

[data-theme="dark"] .image-dark {
    display: block;
}

.text-primary {
    background: var(--text-color-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-secondary {
    background: var(--text-color-secondary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.info-text {
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.text-purple {
    background: var(--color-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-hiw {
    background: var(--hiw-button-color);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.margin-0 {
    margin: 0;
}

.padding-0 {
    padding: 0;
}

html .page-scroll::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 10px;
    border: 2px solid var(--block-background);
}


html .page-scroll {
    scrollbar-color: #555 var(--block-background);
    scrollbar-width: thin;
}

html .page-scroll::-webkit-scrollbar {
    width: 10px;
}

html .page-scroll::-webkit-scrollbar-track {
    background: var(--block-background);
}

.vertical-stack {
    display: flex;
    flex-direction: column;
}

.horizontal-stack {
    display: flex;
    flex-direction: row;
}

.button {
    display: flex;
    padding: 14px 20px;
    justify-content: center;
    align-items: center;

    border-radius: 16px;
    border: 0;

    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-decoration: none;

    cursor: pointer;
}

.button-primary {
    background: var(--color-primary);
    color: var(--button-text-primary);
}

.image-w-fixed {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.image-h-fixed {
    height: 100%;
    width: auto;
}