@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
:root {
    /* Body, header btn background and border */
    --primary-color-1: #FCF6FF;
    /* Text, table text , footer text,*/
    --primary-color-2: #070707;
    /* Links in text */
    --primary-color-3: #FF3E5E;
    /* Logo color,*/
    --primary-color-4: #fff;
    /* Header background and btn color, Table header background and border, burger line */
    --primary-color-5: #5774CD;
    /* Header links */
    --primary-color-6: #F6F8FF;
    /* Background logo */
    --primary-color-7: rgba(144, 144, 144, 0.12);
    /* Mobile menu background,*/
    --primary-color-8: #fff;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body {
    background: var(--primary-color-1);
    color: var(--primary-color-2);
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 34px;
    font-size: 16px;
    overflow-x: hidden;
}

.header-nav a {
    color :red;
    text-decoration :none;
}

.container {
    width: 100%;
    max-width: 1100px;
    padding: 0px 15px;
    margin: 0 auto;
}

.linkTop {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    width: 50px;
    border-radius: 50%;
    background-color: #5774CD;
    font-size: 32px;
    color: #000;
    position: fixed;
    bottom: 50px;
    right: 50px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.linkTop.active {
    opacity: 1;
    visibility: visible;
}

.linkTop img {
    width: 70%;
}

h1,
h2,
h3 {
    font-weight: 600;
    margin-bottom: 20px;
    margin-top: 46px;
    text-align: center;
    color: #5774CD;
}

h1 {
    font-size: 40px;
    margin-top: 46px;
}

h2 {
    font-size: 32px;
}

h3 {
    font-size: 26px;
}

p,
ul,
ol {
    font-size: 16px;
    font-weight: 400;
    line-height: 30px;
    margin-bottom: 20px;
}

ul,
ol {
    padding-left: 20px;
}

p a {
    color: var(--primary-color-3);
}

p a:hover {
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
    margin: 0 auto;
}

picture img {
    border-radius: 18px;
    margin: 30px auto;
}

table {
    border-collapse: collapse;
    width: 100%;
    table-layout: fixed;
    margin-bottom: 16px;
}

tr {
    background-color: var(--primary-color-1);
}

th {
    border: 1px solid var(--primary-color-5);
    background: var(--primary-color-5);
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    padding: 20px;
}

td {
    border: 1px solid var(--primary-color-5);
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    padding: 12px 20px;
    width: 100%;
}

.intro {
    padding: 8px 0px;
    background: url(../img/bg.png) no-repeat top / cover;
}

.header {
    padding: 10px 0px;
    background-color: var(--primary-color-5);
}

.header .container {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.header__logo {
    padding: 8px 39px 8px 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    line-height: 20px;
    text-transform: uppercase;
    flex-shrink: 1;
    color: var(--primary-color-4);
    margin-right: 8px;
}

.header-nav__link {
    display: inline-block;
    margin: 0px 40px;
    color: var(--primary-color-6);
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    text-decoration: none;
}

.header-access {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.header-access__btn {
    color: var(--primary-color-6);
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 30px;
    margin-left: 12px;
    text-decoration: none;
    flex-shrink: 0;
    transition: all 0.3s;
    cursor: pointer;
}

.header-access__login {
    border: 1px solid var(--primary-color-1);
    background-color: transparent;
}

.header-access__reg {
    background: var(--primary-color-1);
    border: 1px solid var(--primary-color-1);
    color: var(--primary-color-5);
}

.header__burger {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 11;
    width: 36px;
    height: 36px;
    cursor: pointer;
    flex-shrink: 0;
    margin-right: 10px;
}

.header__burger span {
    height: 3px;
    width: 25px;
    transition: all 0.3s;
    background-color: var(--primary-color-5);
    display: inline-block;
    position: relative;
}

.header__burger span:not(:last-child) {
    margin-bottom: 4px;
}

.header__burger.active span:nth-child(1) {
    transform: translate(0px, 50%) rotate(45deg);
    top: 2px;
}

.header__burger.active span:nth-child(2) {
    display: none;
}

.header__burger.active span:nth-child(3) {
    transform: translate(0px, -50%) rotate(-45deg);
    bottom: 2px;
}

.header__burger.active::after,
.header__burger.active::before,
.header__burger.active span {
    background: var(--primary-color-5);
}

.header-mobileMenu {
    min-height: 100vh;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: var(--primary-color-8) url(../img/mobileMenu-bg.png) no-repeat bottom right / contain;
    padding: 87px 15px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s;
}

.header-mobileMenu.show {
    opacity: 1;
    visibility: visible;
}

.lock {
    overflow: hidden;
}

.banner_mob {
    display: none;
}


.footer {
    padding: 24px 0px;
    margin-top: 53px;
    border-top: 1px solid var(--primary-color-5);
}

.footer p {
    color: var(--primary-color-2);
    text-align: center;
    font-size: 12px;
    font-weight: 400;
    opacity: 0.5;
    margin: 0;
}

@media (max-width: 992px) {
    .header-nav__link {
        margin: 0px 20px;
    }

    .intro {
        background: unset;
        padding: 0;
    }

    .main__banner_mob {
        margin-top: 15px;
    }
}

@media (max-width: 768px) {
    body {
        background-image: none;
    }

    .header {
        margin-top: 0;
        padding: 15px 0px;
        background: transparent;
    }

    .header__burger {
        display: flex;
    }

    .header__logo {
        background: var(--primary-color-5);
    }

    .header-nav {
        display: flex;
        flex-direction: column;
    }

    .header-nav__link {
        padding: 16px 10px;
        margin: 0;
        margin-bottom: 16px;
        color: var(--primary-color-2);
    }

    .header-access__login {
        border: 1px solid var(--primary-color-5);
        color: var(--primary-color-5);
    }

    .header-access__reg {
        background: var(--primary-color-5);
        border: 1px solid var(--primary-color-5);
        color: var(--primary-color-6);
    }
}

@media (max-width: 576px) {
    .linkTop {
        bottom: 25px;
        right: 25px;
    }

    h1 {
        font-size: 32px;
        margin-top: 0;
    }

    h2 {
        font-size: 26px;
    }

    h3 {
        font-size: 20px;
    }

    p,
    ul,
    ol {
        font-size: 14px;
    }

    th,
    td {
        font-size: 16px;
        padding: 12px;
    }

    td {
        font-size: 14px;
    }

    .header {
        margin: 0;
    }

    .header-access__btn {
        font-size: 12px;
        padding: 10px 16px;
        margin-left: 10px;
    }

    .header-access__reg {
        margin-right: 0;
    }

    .header__logo {
        padding: 10px;
    }


}

@media (max-width: 380px) {

    th,
    td {
        font-size: 12px;
        padding: 5px;
    }

    td {
        font-size: 10px;
    }

    .container {
        padding: 0px 10px;
    }

    .header-access__btn {
        padding: 7px 9px;
        font-size: 11px;
    }
}