@font-face {
    src: url('../fonts/OpenSans.ttf') format('truetype');
    font-family: "font";
    font-optical-sizing: auto;
    font-style: normal;
}

@font-face {
    src: url('../fonts/OpenSans-Italic.ttf') format('truetype');
    font-family: "font";
    font-optical-sizing: auto;
    font-style: italic;
}


:root {
    --black: black;
    --white: white;
    --accent-main: #FFAE00;
    --txt: color-mix(in srgb, var(--white), transparent 50%);
    --font: "font";
    --header-height: 80px;

    /* Neon Palette */
    --neon-pink: #FF3ECF;
    --neon-blue: #3CFFFC;
    --neon-purple: #C23EFF;
    --neon-glow: rgba(60, 255, 252, 0.6);

    --bg-dark: #0a0a0a;
    /* very dark background - очень темный фон */
    --accent-pink: #ff0080;
    /* neon pink - неоново-розовый */
    --accent-blue: #00e5ff;
    /* neon blue - неоново-голубой */
    --text-main: #f0f0f0;
    /* light text color - светлый цвет текста */
}

body {
    overflow-x: hidden;

    background-color: color-mix(in srgb, var(--black), var(--white) 10%);
}

main {
    min-height: calc(100vh - var(--header-height));
    min-height: calc(100dvh - var(--header-height));
}

* {
    font-family: var(--font);
    line-height: 125%;
}

img {
    object-fit: cover;
}

div>img {
    width: 100%;
}

.rel {
    position: relative;

    overflow: hidden;
}

/* Для секций */

.mb-180 {
    margin-bottom: 180px;
}

.mb-100 {
    margin-bottom: 100px;
}

.section {
    padding: 100px 0;
}

/* section.section:first-child {
    padding-top: 150px;
} */

header:not(.abs) {
    position: relative;

    z-index: 100;
}


/* Global Glow Text */
.glow {
    text-shadow:
        0 0 4px var(--neon-blue),
        0 0 8px var(--neon-blue),
        0 0 12px var(--neon-pink),
        0 0 16px var(--neon-purple);
    transition: text-shadow 300ms;
}

.glow:hover {
    text-shadow:
        0 0 8px var(--neon-blue),
        0 0 16px var(--neon-blue),
        0 0 24px var(--neon-pink),
        0 0 32px var(--neon-purple);
}

/* для оболчки */

.container {
    width: 100%;
    max-width: calc(1430px - 20px);

    margin: 0 auto;
    padding: 0 10px;
}

.wrapper {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

/* для кнопок */

/* Update transitions globally */
.trans {
    transition: 300ms !important;
}

/* Neon Buttons */
.btn {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    background: transparent;
    border: 2px solid var(--neon-blue);
    box-shadow: 0 0 8px var(--neon-glow), inset 0 0 4px var(--neon-glow);
    transition: all 300ms;
}

.btn::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--neon-pink), var(--neon-blue), var(--neon-purple));
    filter: blur(8px);
    opacity: 0;
    z-index: -1;
    transition: opacity 300ms;
}

.btn:hover::before {
    opacity: 1;
}

.btn:hover {
    color: var(--black);
    background: var(--neon-blue);
    box-shadow: 0 0 16px var(--neon-glow), inset 0 0 8px var(--neon-glow);
}

.default-btn {
    height: 52px;

    background-color: rgba(255, 255, 255, 0);
    border: 1px solid color-mix(in srgb, var(--white), transparent 10%);

    color: var(--white);
    font-size: 16px;

    padding: 0 35px;
}

.small-btn {
    height: 40px !important;
    min-height: 40px;

    background-color: rgba(255, 255, 255, 0);
    border: 1px solid color-mix(in srgb, var(--white), transparent 10%);


    color: var(--white);

    padding: 0 20px;
}

.btn.alt {
    background-color: rgba(255, 255, 255, 0);
    border: 1px solid var(--black);

    color: var(--black);
}

.btn.back {
    background-color: var(--white);
    border: 1px solid var(--white);

    color: var(--black);
}

.default-btn:hover,
.small-btn:hover {
    border: 1px solid var(--white);
    background-color: var(--white);

    color: var(--black) !important;
}

.btn.alt:hover {
    background-color: var(--black);

    color: var(--white) !important;
}

/* title */

.title-color span {
    color: var(--accent);
}

h1.title-color {
    font-size: 32px;
    text-transform: uppercase;
}

/* Для ссылок */


.default-anim-a {
    position: relative;
}

.default-anim-a::before {
    content: "";

    position: absolute;
    bottom: -4px;
    left: 0;

    width: 0;
    height: 1px;

    background-color: var(--accent);

    transition: 400ms;
    -webkit-transition: 400ms;
    -moz-transition: 400ms;
}

.default-anim-a:hover::before {
    width: 100%;
}

/* Заголовки */

h1 {
    font-size: 36px;
    font-weight: 700;
    text-transform: uppercase;
}

h2 {
    font-weight: 700;
    font-size: 32px;
    color: var(--black);

    text-transform: uppercase;
}

h2>a {
    color: var(--white);
}

h3 {
    font-weight: 700;
    font-size: 24px;
    color: var(--white);

    text-transform: uppercase;
}

@media (max-width: 500px) {
    h2 {
        font-size: 24px;
    }
}

/* Страница сенкс */


.thanks {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;

    width: 100vw;
    height: 100vh;
    height: 100dvh;

    background: var(--peach-gradient);
}


.thanks h1 {
    max-width: 80%;

    font-size: 2.4vw;
    color: var(--white);
    text-align: center;
}

.thanks a {
    font-size: 20px;

    color: var(--white);
}

/* Заголовок + кнопка */

.title-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

/* заголовок + текст */

.title-with-desc {
    position: relative;

    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;

    width: 100%;
}

.title-with-desc span {
    position: absolute;
    top: -24px;
    left: 0;
    right: 0;

    color: color-mix(in srgb, #141414, transparent 95%);
    font-weight: 700;
    font-size: 52px;
    text-transform: uppercase;
    text-align: center;
    line-height: 1;

    z-index: 1;
}

.title-with-desc.alt span {
    color: color-mix(in srgb, var(--white), transparent 90%);
}

.title-with-desc h2,
.title-with-desc h1 {
    position: relative;

    text-align: center;

    z-index: 2;
}

.title-with-desc.alt *:not(span) {
    color: var(--white);
}

.title-with-desc p {
    font-size: 16px;
    font-weight: 400;
    color: var(--txt);
    text-align: center;
}

/* Заголовок + текст */

.title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.title>div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.title>div::before,
.title>div::after {
    content: "";

    display: block;

    width: 50px;
    height: 2px;

    background-color: var(--accent);
}

.title h2,
.title h1 {
    color: var(--black);
    text-align: center;
    font-size: 32px;
}

.title p {
    font-size: 16px;
    text-align: center;
    font-weight: 400;
    color: var(--txt);
}

/* ДеФОЛТ БУРГЕР */

.burger {
    position: relative;

    display: none;
    flex-direction: column;
    justify-content: space-around;

    width: 40px;
    height: 30px;

    z-index: 5;
}

.burger span {
    width: 100%;
    height: 2px;

    border-radius: 3px;
    background-color: var(--accent);
}

.burger::before,
.burger::after {
    content: "";
    display: block;

    width: 100%;
    height: 2px;

    border-radius: 3px;
    background-color: var(--accent);

    transition: 400ms;
    -webkit-transition: 400ms;
    -moz-transition: 400ms;
}

.burger.active::after {
    transform: rotate(45deg) translate(-3px, -9px);
}

.burger.active::before {
    transform: rotate(-45deg) translateY(7px);
}

.burger.active span {
    display: none;

}

.burger.active::before,
.burger.active::after {
    background-color: var(--black) !important;
}

/* Фулл скрин блок - хедер */

.full-header {
    width: 100%;
    /* min-height: calc(100vh - var(--header-height)); */
    height: calc(100vh - var(--header-height));
    max-height: 1000px;

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.full__wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;

    height: 100%;
}

/* Фулл скрин блок */

.full-screen {
    width: 100%;
    min-height: calc(100vh);
    height: calc(100vh);

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

@media (max-width: 700px) {
    .burger {
        display: flex;
    }

    header nav {
        position: absolute;
        top: 0;
        left: 0;

        display: flex;
        justify-content: center;
        align-items: center;

        width: 100%;
        height: 0;

        background-color: var(--white);
        z-index: -100;

        transition: 400ms;
        -moz-transition: 400ms;
        -webkit-transition: 400ms;

        opacity: 0;
    }

    header nav.active {
        height: 100vh !important;
        height: 100dvh !important;

        opacity: 1;

        z-index: 3;
    }

    header nav ul {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 10px !important;
    }

    .header__wrapper nav>ul>li {
        height: fit-content !important;
    }

    header nav ul li p+ul {
        display: contents !important;

        opacity: 1;
    }

    header nav ul li p {
        display: none !important;
    }

    header nav ul li:has(ul) {
        display: contents !important;
    }

    header nav ul li a {
        height: fit-content !important;

        color: var(--black) !important;
        text-align: center;
    }

    h1 {
        font-size: 32px;
    }

    .container {
        width: 100%;
        max-width: calc(100vw - 20px);

        margin: 0 auto;
        padding: 0 10px;
    }
}

@media (max-width: 400px) {
    .title-btn {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .title-with-desc span {
        font-size: 40px;
    }

    .title h2,
    .title h1 {
        font-size: 24px;
    }
}