/* reset */
html {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

*,
*::after,
*::before {
    box-sizing: inherit;
}

html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
nav,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
}

html {
    overflow-x: hidden;
}

body {
    min-width: 360px;
    overflow-x: hidden;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
nav,
section {
    display: block;
}

nav ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

a {
    margin: 0;
    padding: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
    text-decoration: none;
}

ins {
    background-color: #ff9;
    color: #000;
    text-decoration: none;
}

mark {
    background-color: #ff9;
    color: #000;
    font-style: italic;
    font-weight: bold;
}

del {
    text-decoration: line-through;
}

abbr[title],
dfn[title] {
    border-bottom: 1px dotted;
    cursor: help;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #cccccc;
    margin: 1em 0;
    padding: 0;
}

input,
select {
    vertical-align: middle;
}

/* constants */
:root {
    --color-bg: #0B0C1A;
    --color-header: #0B0C1A;
    --color-text: #FFFFFF;
    --color-text-button: white;
    --color-title: #FFFFFF;
    --color-primary: linear-gradient(90deg, #FF057C 0%, #8D0B93 50%, #321575 100%);
    --color-accent: #E300A4;
    --color-footer: #0B0C1A;
    --font-size: 18px;
    --font-size-button: 20px;
}

/* base */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--color-bg);
    line-height: 1.15;
    color: var(--color-text);
    -webkit-font-smoothing: antialiased;
    font-family: 'Nunito', sans-serif;
    font-size: var(--font-size);
    font-weight: 400;
}

main {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex: 1;
}

.inner {
    max-width: 1210px;
    padding: 0 15px;
    margin: 0 auto;
}

h1 {
    font-weight: 500;
    font-size: 28px;
    line-height: 1.3;
    text-transform: uppercase;
    color: var(--color-accent);
    margin: 30px 0;
}

h1 span {
    text-transform: none;
}

h1 p {
    margin: 0;
    letter-spacing: 5px;
}

h2 {
    font-weight: 600;
    font-size: 28px;
    line-height: 140%;
    color: var(--color-accent);
    text-align: center;
    margin: 30px 0;
}

.h2__decor {
    display: flex;
    align-items: center;
    gap: 10px;
}

.h2__decor h2 {
    white-space: nowrap;
}

.h2__decor-left,
.h2__decor-right {
    position: relative;
    width: 100%;
    height: 2px;
    /* margin-top: 50px; */
    background: var(--color-primary);
}

.h2__decor-left::before {
    position: absolute;
    content: '';
    width: 33px;
    height: 24px;
    background-image: url('/image/table-decor-left.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    right: -2px;
    top: 50%;
    transform: translateY(-50%);
}

.h2__decor-right::after {
    position: absolute;
    content: '';
    width: 32px;
    height: 24px;
    background-image: url('/image/table-decor-left.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    left: -2px;
    top: 50%;
    transform: translateY(-50%);
}

h3 {
    font-weight: 400;
    font-size: 24px;
    line-height: 140%;
    color: var(--color-title);
    margin: 30px 0;
}

.button {
    padding: 2px;
    min-width: 200px;
    font-weight: 600;
    font-size: var(--font-size-button);
    font-family: 'Nunito', sans-serif;
    line-height: 130%;
    background: var(--color-primary);
    border: none;
    border-radius: 25px;
    color: var(--color-text-button);
    white-space: nowrap;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s ease-in-out;
}

.button span {
    padding: 10px 26px;
    border-radius: 25px;
    min-width: 200px;
    will-change: transform;
}

.button_secondary span {
    background: var(--color-bg);
}

.button_colored:hover,
.button_secondary:hover {
    opacity: 0.8;
}

a {
    color: var(--color-accent);
}

a:hover,
button:hover {
    transition: all .3s ease-in-out;
}

/* header */
.header {
    position: relative;
    background-color: var(--color-header);
}

.header__inner {
    padding-top: 12px;
    padding-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-weight: 700;
    font-size: 16px;
    line-height: 1.1;
    text-transform: uppercase;
    color: var(--color-title);
}

.logo span {
    text-transform: none;
}

.logo p {
    margin: 0;
    letter-spacing: 1.5px;
}

/* nav */
nav {
    display: flex;
    align-items: center;
    gap: 70px;
}

.nav-close {
    display: none;
}

.nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 70px;
}

.nav-link {
    font-size: var(--font-size);
    line-height: 130%;
    font-weight: 400;
    color: var(--color-text-button);
    white-space: nowrap;
    transition: all .3s ease-in-out;
}

a.nav-link:hover {
    color: var(--color-primary);
}

.menu {
    display: none;
}

.header__inner-button {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* intro */
.intro {
    padding-top: 20px;
    padding-bottom: 50px;
}

.intro__inner {
    display: flex;
    flex-direction: column;
    row-gap: 30px;
    align-items: center;
    text-align: center;
}



.intro picture img {
    display: block;
    max-width: 100%;
    border-radius: 10px;
}

.intro__info {
    max-width: 870px;
    width: 100%;
    display: flex;
    align-items: start;
    justify-content: space-between;
}

.intro__info-link {
    display: flex;
    flex-direction: column;
    align-items: start;
    row-gap: 20px;
}

.intro__info-link a h3 {
    margin: 0;
}

.intro__info-link a h3:hover {
    background-image: var(--color-primary);
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    transition: all .3s ease-in-out;
}

.intro__info-text {
    max-width: 470px;
    text-align: left;
}

.intro__info-text p {
    margin: 0;
}

article {
    position: relative;
    max-width: 1210px;
    display: flex;
    flex-direction: column;
    padding: 0px 15px 90px 15px;
    margin: 0 auto;
}

.article__up {
    position: fixed;
    z-index: 50;
    width: 50px;
    height: 50px;
    right: 100px;
    top: 80%;
}

.article__up.scroll-item.scroll-no-hide {
    transform: scale(.5);
    opacity: 0;
}

.article__up.scroll-item.animation-class {
    transition: all 1.8s ease;
    transform: scale(1);
    opacity: 1;
}

article ul,
article ol {
    margin: 30px 0 30px 40px;
}

article ul li,
article ol li {
    line-height: 1.3;
    margin-bottom: 16px;
}

p {
    margin-bottom: 24px;
    line-height: 34px;
}

/* flex-module */
.flex-module {
    max-width: 1050px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 0 auto;
    transition: all .3s ease-in-out;
}

.flex-module picture {
    display: block;
    width: 350px;
    height: auto;
    margin: 0;
}

.flex-module picture img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 0px;
}

.flex-module p {
    max-width: 680px;
    width: 100%;
    text-align: left;
}

picture img {
    display: block;
    max-width: 100%;
    margin: 30px auto;
    border-radius: 25px;

}

/* table */
.table {
    width: 100%;
    margin: 0px auto;
    font-size: var(--font-size);
}

.table tr {
    position: relative;
}

table tr::after {
    position: absolute;
    content: '';
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--color-primary);
}

.table td {
    padding: 22px;
    text-align: center;
    box-sizing: border-box;
}

.table td span {
    font-size: 15px;
    margin-bottom: 5px;
    display: none;
}

.table tr td:first-child {
    text-align: left;
    padding-left: 60px;
}

.table tr:first-child td:first-child {
    position: relative;
    color: transparent;
}

.table tr:first-child td:first-child::after {
    position: absolute;
    content: '';
    background-image: url('/image/table-decor-left.svg');
    background-size: cover;
    background-repeat: no-repeat;
    width: 33px;
    height: 24px;
    bottom: 0;
    transform: translateY(50%);
    left: -2px;
    z-index: 1;
}

.table tr:first-child td:last-child::before {
    position: absolute;
    content: '';
    background-image: url('/image/table-decor-right.svg');
    background-size: cover;
    background-repeat: no-repeat;
    width: 33px;
    height: 24px;
    bottom: 0;
    transform: translateY(50%);
    right: -2px;
    z-index: 1;
}

.table_two-colums td {
    width: 50%;
}

.table_three-colums td {
    width: 33%;
}

.table_four-colums td {
    width: 25%;
}

/* footer */
.footer {
    position: relative;
    background-color: var(--color-footer);
    color: var(--color-text);
    margin-top: auto;
}

.footer__info {
    padding-top: 40px;
    padding-bottom: 40px;
    text-align: center;
}

.footer__info p {
    margin: 0;
}

@media (max-width: 1300px) {
    .article__up {
        right: 15px;
    }
}

@media (max-width: 1100px) {
    .header__inner {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        row-gap: 30px;
    }
}

@media (max-width: 800px) {}

@media (max-width: 650px) {
    article {
        padding: 0 15px 80px 15px;
    }


    h1 span {
        font-size: 44px;
    }

    h1 p {
        letter-spacing: 2px;
    }

    h2 {
        font-size: 24px;
        margin-bottom: 30px;
    }

    h3 {
        margin-top: 35px;
    }

    .header__inner {
        padding-top: 20px;
        row-gap: 20px;
    }

    .menu {
        display: block;
        position: absolute;
        width: 30px;
        height: 30px;
        top: 20px;
        left: 30px;
        cursor: pointer;
        border-radius: 3px;
        transition: all .5s ease-in-out;
        margin-left: auto;
    }

    .menu__line {
        width: 30px;
        height: 3px;
        border-radius: 3px;
        margin-bottom: 5px;
        background: var(--color-primary);
        transition: .25s ease-in-out;
    }

    .nav {
        z-index: 20;
        position: absolute;
        transform: translateX(-150%);
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        transition: all .8s;
        width: 80%;
        height: 100vh;
        flex-direction: column;
        align-items: start;
        justify-content: space-between;
        gap: 118px;
        background-color: rgba(11, 12, 25, 0.97);
    }

    nav.active {
        transition: all .5s ease-in-out;
        transform: translateX(0%);
    }

    .nav-close.active {
        display: block;
        position: absolute;
        top: 14px;
        left: 24px;
    }

    .nav-list {
        display: flex;
        margin-top: 90px;
        margin-left: 44px;
        flex-direction: column;
        align-items: start;
        gap: 30px;
    }

    .nav-item {
        display: inline-block;
    }

    .nav-link {
        font-size: 17px;
        font-weight: 700;
        color: var(--color-text);
    }

    .header__inner-button {
        flex-direction: column;
        align-items: center;
        row-gap: 10px;
    }

    .intro {
        padding-bottom: 20px;
    }

    .intro__inner {
        align-items: start;
    }

    .intro__info {
        flex-direction: column;
        row-gap: 30px;
    }

    .intro picture {
        max-width: 100vw;
        width: auto;
        left: 50%;
        right: 50%;
        margin: 0 -50vw;
        align-self: center;
    }

    .flex-module {
        flex-direction: column;
        gap: 10px;
    }

    .flex-module_reverse {
        flex-direction: column-reverse;
    }

    .flex-module picture {
        width: 100%;
    }

    .table td {
        display: inline-block;
        vertical-align: middle;
    }

    .table td span {
        display: block;
    }

    .table tr:first-child {
        font-size: 0;
    }

    .table tr td:first-child {
        padding-left: 0;
    }

    .table tr td:last-child {
        text-align: end;
        padding-right: 0;
    }

    .table_four-colums tr:not(:first-child) td {
        width: 50%;
    }

    .table_four-colums tr td:nth-child(odd) {
        text-align: start;
        padding-left: 0;
    }

    .table_four-colums tr td:nth-child(even) {
        text-align: end;
        padding-right: 0;
    }

    .table_four-colums tr td:nth-child(1),
    .table_four-colums tr td:nth-child(2) {
        padding-bottom: 10px;
    }

    .table_four-colums tr td:nth-child(3),
    .table_four-colums tr td:nth-child(4) {
        padding-top: 10px;
    }
}