/* 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,
navigation,
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,
navigation,
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: #05212D;
    --color-header: #05212D;
    --color-nav-bg: linear-gradient(125deg, #000 0%, #043B40 20.31%, #011618 30.73%, #000 36.98%, #01293F 59.38%, #020B10 78.65%, #10647D 89.58%, #010609 100%);
    --color-text: #D7F6FF;
    --color-text-button: #D7F6FF;
    --color-title: #D7F6FF;
    --color-primary: linear-gradient(134deg, #000 0%, #043B40 20.31%, #011618 30.73%, #000 36.98%, #01293F 59.38%, #020B10 78.65%, #10647D 89.58%, #010609 100%);
    --color-accent: #065460;
    --color-decor: #24A2EE;
    --color-footer: #05212D;
    --font-size: 16px;
    --font-size-button: 20px;
}

/* base */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--color-bg);
    line-height: 34px;
    color: var(--color-text);
    -webkit-font-smoothing: antialiased;
    font-family: 'Unbounded', cursive;
    font-size: var(--font-size);
    font-weight: 300;
}

main {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex: 1;
}

.wrap {
    max-width: 1210px;
    padding: 0 15px;
    margin: 0 auto;
}

h1 {
    font-weight: 400;
    font-size: 40px;
    line-height: 54px;
    text-transform: uppercase;
    background-image: radial-gradient(circle, rgba(4,148,249,1) 0%, rgba(190,249,5,1) 100%);
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    filter: drop-shadow(5px 5px 20px rgba(3, 141, 189, 0.40));
    margin: 30px 0;
}

h2 {
    font-weight: 300;
    font-size: 30px;
    line-height: 140%;
    /* text-transform: uppercase; */
    color: var(--color-title);
    text-align: center;
    /* white-space: nowrap; */
    margin: 30px 0;
}

.h2__decor {
    display: flex;
    align-items: center;
    gap: 50px;
}

.h2__decor-left,
.h2__decor-right {
    position: relative;
    width: 100%;
    height: 2px;
    /* margin-top: 70px; */
    background: var(--color-decor);
}

.h2__decor-left::after {
    position: absolute;
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 100px;
    left: -5px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--color-decor);
}

.h2__decor-left::before {
    position: absolute;
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 100px;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--color-decor);
}

.h2__decor-right::after {
    position: absolute;
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 100px;
    left: -5px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--color-decor);
}

.h2__decor-right::before {
    position: absolute;
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 100px;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--color-decor);
}

h3 {
    font-weight: 300;
    font-size: 20px;
    line-height: 140%;
    color: var(--color-title);
    text-align: center;
    margin: 30px 0;
}

.button {
    padding: 10px 22px;
    min-width: 200px;
    font-weight: 300;
    font-size: var(--font-size-button);
    font-family: 'Unbounded', cursive;
    line-height: 130%;
    border-radius: 0px;
    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_colored {
    background: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.button_secondary {
    background-color: transparent;
    border: 2px solid var(--color-accent);
}

.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-bg);
}

.header__wrap {
    padding-top: 24px;
    padding-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--color-header);
}

.logo {
    font-weight: 400;
    font-size: 22px;
    letter-spacing: 0.32px;
    background-image:  radial-gradient(circle, rgba(4,148,249,1) 0%, rgba(190,249,5,1) 100%);
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    filter: drop-shadow(2px 2px 5px rgba(3, 141, 189, 0.40));
}

/* navigation */
nav {
    display: flex;
    align-items: center;
    gap: 80px;
}

.nav__close {
    display: none;
}

.head-menu__list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
}

.head-menu__link,
.head-menu__item {
    font-size: var(--font-size);
    line-height: 130%;
    font-weight: 300;
    color: var(--color-text-button);
    white-space: nowrap;
    transition: all .3s ease-in-out;
}

a.head-menu__link:hover {
    color: var(--color-accent);
}

.menu-icon {
    display: none;
}

.header__wrap-button {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* promo */
.promo {
    padding-top: 0px;
    padding-bottom: 0px;
}

.promo__wrap {
    display: flex;
    flex-direction: column;
    row-gap: 30px;
    align-items: center;
    text-align: center;
}

.promo picture {
    display: block;
    max-width: 100%;
    margin: 0 auto;
}

.promo picture img {
    display: block;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 20px;
}

.promo h3 {
    margin: 0;
}

.promo p {
    margin-bottom: 50px;
}

.promo__info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
}

.promo__decor {
    position: relative;
    width: 100%;
    height: 2px;
    background-color: var(--color-decor);
}

.promo__decor:after {
    position: absolute;
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 100px;
    background-color: var(--color-decor);
    top: 50%;
    transform: translateY(-50%);
    left: -5px;
}

.promo__decor::before {
    position: absolute;
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 100px;
    background-color: var(--color-decor);
    top: 50%;
    transform: translateY(-50%);
    right: -5px;
}

.promo__contant-link {
    width: 690px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.promo__contant-link a h3 {
    margin: 0;
    text-transform: none;
}

.promo__contant-link a h3:hover {
    color: var(--color-accent);
    transition: all .3s ease-in-out;
}

.promo__contant-decor {
    margin-top: 5px;
    position: relative;
    width: 100%;
    height: 2px;
    background-color: var(--color-decor);
}

.promo__contant-decor_mob {
    display: none;
}

.promo__contant-decor:after {
    position: absolute;
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 100px;
    background-color: var(--color-decor);
    top: 50%;
    transform: translateY(-50%);
    left: -5px;
}

.promo__contant-decor::before {
    position: absolute;
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 100px;
    background-color: var(--color-decor);
    top: 50%;
    transform: translateY(-50%);
    right: -5px;
}

article {
    position: relative;
    max-width: 1210px;
    padding: 0px 15px 120px 15px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    /* gap: 30px; */
}

.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 li,
article ol li {
    line-height: 34px;
    margin-left: 40px;
    font-size: var(--font-size);
    margin-bottom: 10px;
}

/* image 100% */
article picture {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
}

article picture img {
    /* object-fit: cover;
    height: 100%;
    width: 100%; */
    display: block;
    max-width: 100%;
    margin: 30px auto;
    border-radius: 25px;
}

p {
    text-align: left;
    margin-bottom: 24px;
    line-height: 34px;
}

/* flex-block */
.flex-block {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 0 auto;
    transition: all .3s ease-in-out;
}

.flex-block picture {
    display: block;
    width: 400px;
    height: auto;
    margin: 0;
}

.flex-block picture img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.flex-block h2 {
    /* margin-top: 0; */
    text-align: left;
}

.flex-block p {
    max-width: 700px;
    width: 100%;
    text-align: left;
    margin-bottom: 20px;
}

/* table */
.table {
    width: 100%;
    margin: 20px auto;
    font-size: var(--font-size);
}

.table tr {
    position: relative;
}

.table td, .table th {
    padding: 25px;
    text-align: center;
    box-sizing: border-box;
    vertical-align: middle;
    border: 1.5px solid #000;
}

.table tr:first-child td {
    border-top: none;
}

.table tr td:first-child {
    border-left: none;
    text-align: left;
}

.table tr td:last-child {
    border-right: none;
    text-align: right;
}

.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: 36px;
    padding-bottom: 36px;
    text-align: center;
}

.footer__info p {
    color: var(--color-primary);
    margin: 0;
}

@media (max-width: 1300px) {
    .article__up {
        right: 15px;
    }
}

@media (max-width: 1210px) {
    .header__wrap {
        margin-left: 15px;
        margin-right: 15px;
    }
}

@media (max-width: 1100px) {
    .header__wrap {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        row-gap: 30px;
    }

    .promo__decor {
        display: none;
    }

    .promo__contant {
        width: 100%;
    }

    .promo__contant-link {
        position: relative;
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px 100px;
    }

    .promo__contant-decor {
        margin: 10px auto 0 auto;
        width: 70%;
    }

    .promo__contant-decor_mob {
        width: 100%;
        display: block;
        margin-bottom: 5px;
    }

}

@media (max-width: 800px) {
    article picture {
        width: 100%;
    }

    article ul li,
    article ol li {
        margin-left: 20px;
    }

    h2 {
        white-space: normal;
    }

    .h2__decor-right_mob,
    .h2__decor-left_mob {
        display: none;
    }

    .table {
        margin: 20px auto;
    }

    .table td, .table th {
        display: inline-block;
        width: 50%;
        font-size: 14px;
        padding: 16px 16px 16px 0;
    }

    .table tr {
        border-bottom: 2px solid #000;
    }

    .table tr td, .table th {
        border: none;
    }

    .table tr td:nth-child(odd) {
        text-align: left;
    }

    .table tr td:nth-child(even) {
        text-align: right;
    }

}

@media (max-width: 700px) {
    h1 {
        font-size: 26px;
        text-transform: none;
        line-height: 34px;
    }

    h2 {
        margin-top: 50px;
    }

    .h2__decor-left,
    .h2__decor-right {
        margin-top: 25px;
    }

    article {
        padding: 0 15px 80px 15px;
        gap: 20px;
    }

    article ul li,
    article ol li {
        font-size: 18px;
    }

    article picture {
        max-width: 100vw;
        width: auto;
        left: 50%;
        right: 50%;
        margin: 0 -50vw;
        align-self: center;
    }

    p {
        font-size: 16px;
    }

    .header__wrap {
        padding-top: 20px;
        row-gap: 20px;
    }

    .button {
        width: 250px;
    }

    .menu-icon {
        display: block;
        position: absolute;
        width: 30px;
        height: 30px;
        top: 30px;
        left: 30px;
        cursor: pointer;
        border-radius: 3px;
        transition: all .5s ease-in-out;
        margin-left: auto;
    }

    .menu-icon__line {
        width: 30px;
        height: 3px;
        border-radius: 3px;
        margin-bottom: 5px;
        background: var(--color-text);
        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: var(--color-nav-bg);
    }

    nav.active {
        transition: all .5s ease-in-out;
        transform: translateX(0%);
    }

    .nav__close.active {
        display: block;
        position: absolute;
        top: 25px;
        left: 35px;
    }

    .head-menu__list {
        display: flex;
        margin-top: 100px;
        margin-left: 35px;
        flex-direction: column;
        align-items: start;
        gap: 30px;
    }

    .head-menu__item {
        display: inline-block;
    }

    .head-menu__link {
        font-size: 20px;
        color: white;
    }

    .header__wrap-button {
        flex-direction: column;
        align-items: center;
        row-gap: 10px;
    }

    .promo__info {
        align-self: start;
    }

    .promo__info-link {
        flex-direction: column;
        row-gap: 20px;
        align-items: start;
    }

    .promo picture {
        max-width: 100vw;
        width: auto;
        left: 50%;
        right: 50%;
        margin: 0 -50vw;
        align-self: center;
    }

    .flex-block {
        flex-direction: column;
        gap: 10px;
    }

    .flex-block_reverse {
        flex-direction: column-reverse;
    }

    .flex-block picture {
        width: 100%;
    }
}