:root {
    --green: #30d158;
    --yellow: #ffcc00;
    --orange: #ff9500;
    --red: #f44235;

    --dark: #010018;
    --corp: #2D3D6E;
    --gold: #A38136;
    --bg: #ECEFF3;

    --grey: #596A8B;
    --grey-light: #b2b3c4;
    --border: 1px solid #dde5e9;

    --status-blue-light: #dff3fc;
    --status-blue: #007AFF;

    --status-green-light: #ecfdf3;
    --status-green: #30d158;

    --status-grey-light: #6d8297;
    --status-grey: #fff;

    --status-red-light: #fee8e7;
    --status-red: #f44235;

    --status-yellow-light: #fefaeb;
    --status-yellow: #f6ba53;
}

@font-face {
    font-display: swap;
    font-family: 'SF';
    font-style: normal;
    font-weight: 400;
    src: url('/public/fonts/SF-400.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'SF';
    font-style: normal;
    font-weight: 500;
    src: url('/public/fonts/SF-500.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'SF';
    font-style: normal;
    font-weight: 600;
    src: url('/public/fonts/SF-600.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'SF';
    font-style: normal;
    font-weight: 700;
    src: url('/public/fonts/SF-700.woff2') format('woff2');
}

html {
    scroll-behavior: smooth;
}

body {
    padding-bottom: 24px;
    background-color: var(--bg);
    font-size: 16px;
    position: relative;
    font-family: 'SF';
    overflow-x: hidden;
    color: #050a41;
    scroll-behavior: smooth;
}

.pc {
    display: block!important;
}
.mobile {
    display: none !important;
}

* {
    font-family: 'SF', sans-serif;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    outline: none;
    text-decoration: none;
    border: none;
    font-weight: normal;
    &::-webkit-scrollbar {
        width: 5px;
        height: 5px;
    }
    &::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1);
    }

    &::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.3);
    }

    &::-webkit-scrollbar-thumb:hover {
        background: var(--corp);
    }
}

.margin-line {
    height: 1px;
    width: 100%;
    background-color: var(--grey-light);
    margin: 24px 0;
}

.margin {
    height: 86px;
}

.margin-small {
    height: 24px;
}



ul {
    padding-left: 16px;
    li {
        color: #050a41;
        margin: 4px 0;
        font-weight: 400;
    }
}

h1 {
    font-size: 48px;
    line-height: 1;
    font-weight: 600;
}

h2, .h2 {
    display: block;
    font-weight: 700;
    font-size: 38px;
    line-height: 1;
}

h3, .h3 {
    display: block;
    font-size: 30px;
    line-height: 1;
    font-weight: 600;
}

h4, .h4 {
    font-weight: 600;
    display: block;
    font-size: 28px;
}

h5, .h5 {
    display: block;
    font-size: 24px;
}

b {
    font-weight: 600;
}

p {
    color: #596A8B;
    line-height: 1.5;
    font-size: 16px;
    font-weight: 400;
}

.big {
    font-size: 20px;
    line-height: 1.3;
}

.note {
    color: var(--grey)!important;
    font-size: 14px;
}

a {
    color: var(--dark);
}

.mobile-header {
    position: fixed;
    width: 100%;
    padding: 12px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 10;
    transition: 0.3s ease;
    background-color: #fff;
    top: 0;
    left: 0;
    right: 0;
    .width {
        display: flex;
        justify-content: space-between;
        align-items: center;
        a {
            display: flex;
            justify-content: center;
            align-items: center;
            img {
                height: 48px;
            }
        }
        .right {
            display: flex;
            align-items: center;
            a {
                margin-right: 12px;
            }
            img {
                width: 18px;
                height: 18px;
                margin-left: 4px;
            }
        }
    }

    .choose-lang {
        display: block;
        margin-right: 12px;
    }
}

.mobile-menu {
    position: fixed;
    right: 0;
    left: 0;
    top: 69px;
    background-color: #fff;
    padding: 12px 20px 20px;
    z-index: 15;
    display: none;
    &.active {
        display: block!important;
    }
    .close-menu {
        flex-shrink: 0;
        margin-top: 24px;
        span {
            position: relative;
            color: var(--corp);
            font-size: 14px;
            line-height: 1;
            padding-bottom: 2px;
            cursor: pointer;
            display: inline-block;
            border-bottom: 1px solid var(--corp);
            margin-top: 0;
        }
    }

    span {
        display: block;
        margin: 12px 0 0;
    }
    p {
        line-height: 1.6;
    }
    a {
        display: block;
        font-size: 22px;
        line-height: 1.5;
        font-weight: 400;
    }
}

.bubble {
    position: absolute;
    z-index: 3;
    width: 15vw;
}

.bubble-1 {
    top: 800px;
    right: 0;
}

.bubble-2 {
    top: 2400px;
    left: 0;
}

header {
    background-color: #fff;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    width: 100%;
    padding: 16px 30px;
    z-index: 10;
    transition: 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    .left, .right {
        display: flex;
        align-items: center;
        gap: 30px;
        grid-gap: 30px;
    }
    .right {
        .buttons {
            display: flex;
            align-items: center;
            grid-gap: 16px;
            gap: 16px;
        }
    }
    &.sticky {
        padding: 12px 30px;
        position: fixed;
        top: 0;
        left: 0;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        background-color: var(--corp);
        color: #fff!important;
        a {
            color: #fff!important;
        }
        .logo-file {
            background-image: url('/public/images/logo-classic.svg') !important;
        }
    }
}

.block-white {
    background-color: #fff;
    padding: 27px;
    border-radius: 18px;
}

h2 {
    color: #000;
    margin-bottom: 6px;
}

button {
    font-size: 16px!important;
    overflow: hidden;
    padding: 12px 30px 13px;
    background-color: var(--corp);
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 400;
    position: relative;
    transition: .3s ease;
    border: 1px solid transparent;
    img {
        margin-right: 6px;
        height: 24px;
    }
    &:hover {
        background-color: #fff!important;
        color: var(--dark)!important;
        border-color: var(--dark);
    }
    &.gold {
        background-color: var(--gold);
    }
    &.white {
        background-color: #fff!important;
        color: var(--dark)!important;
        box-shadow: -3px 5px 20px #00000027;
    }
    &.black {
        background-color: #050a41!important;
        color: #fff!important;
        img {
            filter: invert(1);
        }
    } 
    &.img {
        width: 48px;
        height: 48px;
        padding: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        img {
            width: 18px;
            height: 18px;
            object-fit: contain;
            object-position: center center;
            margin-right: 0;
        }
    }
    &.circle {
        padding: 6px 10px;
        border-radius: 100px;
        display: flex;
        justify-content: center;
        align-items: center;
        color: #050a41;
        background-color: #fff;
        font-weight: 500;
        img {
            margin-right: 6px;
            height: 18px;
        }
    }
}

button:disabled {
    opacity: .3;
}

@keyframes loader-animate {
    0% {
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
    }
    100% {
        -webkit-transform: translate3d(100%, 0, 0);
        transform: translate3d(100%, 0, 0);
    }
}

.width {
    max-width: 1280px;
    width: 1280px;
    padding-left: 20px;
    padding-right: 20px;
    margin: 0 auto;
}

.width-small {
    max-width: 1000px;
    width: 1000px;
    padding-left: 20px;
    padding-right: 20px;
    margin: 0 auto;
}

.width-form {
    width: 480px;
    max-width: 480px;
    padding-left: 20px;
    padding-right: 20px;
    margin: 0 auto;
}

.heading {
    display: flex;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    align-items: center;
    margin-bottom: 25px;
    &.left {
        text-align: left;
        align-items: flex-start;
    }
    dd {
        margin-top: 18px;
        display: flex;
        justify-content: center;
        align-items: center;
        grid-gap: 12px;
        gap: 12px;
        flex-wrap: wrap;
        white-space: nowrap;
        span {
            padding: 6px 10px;
            border: 2px solid #000;
            border-radius: 100px;
            font-size: 14px;
            font-weight: 500;
        }
    }
    &.left {
        text-align: left;
    }
    h2, .h2 {
        max-width: 30ch;
    }
    h3, .h3 {
        margin-bottom: 6px;
    }
    p {
        margin-top: 3px;
        max-width: 40ch;
    }
    i {
        font-style: normal;
        background: -webkit-linear-gradient(45deg, #7549F2, #DF58D2, #ED787C, #ED787C);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        font-weight: 600;
    }
}

.buttons {
    margin-top: 12px;
    display: flex;
    grid-gap: 6px;
    gap: 6px;
}

.button-center {
    margin-top: 24px;
    display: flex;
    justify-content: center;
}


form {
    display: flex;
    flex-direction: column;
    input, select {
        background-color: #f1f6fb;
        background-color: #fff;
        border: 1px solid rgba(185, 190, 199, .6);
        border-radius: 8px;
        font-weight: 500;
        height: 44px;
        margin-bottom: 18px;
        min-width: 244px;
        padding-left: 14px;
        padding-right: 14px;
        transition: .1s ease;
        width: 100%;
        &.red {
            border-color: red;
        }
        &:focus {
            border: 1px solid rgba(0, 125, 250, .6);
            box-shadow: inset 0 0 0 4px rgba(0, 125, 250, .6);
            outline: none;
        }
    }
    label {
        font-size: 14px;
        color: var(--grey);
        margin-bottom: 8px;
    }
}

.close {
    cursor: pointer;
    background-color: var(--bg);
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: 8px;
    top: 8px;
    padding: 8px;
    transition: .3s ease;
    border: 2px solid transparent;
    img {
        width: 16px;
        height: 16px;
        transition: .3s ease;
    }
    &:hover {
        background-color: var(--light-blue);
    }
}

footer {
    padding-bottom: 24px;
    .screen-faq {
        .wrapper {
            display: grid;
            grid-gap: 12px;
            .item {
                background-color: var(--bg);
                padding: 24px;
                position: relative;
                cursor: pointer;
                .a {
                    max-height: 0;
                    overflow: hidden;
                    transition: max-height 0.5s ease, opacity 0.5s ease;
                    opacity: 0;
                }
                .a {
                    transition: .3s ease;
                    margin-top: 0;
                    color: var(--grey);
                    max-width: 85%;
                }
                &.active {
                    .a {
                        margin-top: 12px;
                        max-height: min-content;
                        opacity: 1;
                    }
                    .close {
                        border: 2px solid var(--corp);
                        img {
                            transform: rotate(45deg);
                        }
                    }
                }
            }
        }
    }
    .contacts {
        .imgs {
            display: flex;
            align-items: flex-start;
            margin-top: 24px;
            gap: 12px;
            grid-gap: 12px;
            img {
                width: 120px;
            }
        }
    }
}

footer {
    .screen-footer {
        .wrapper {
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
        }
        b {
            display: block;
            margin-bottom: 8px;
        }
        a {
            padding: 2px 0;
            display: block;
            color: var(--grey);
            &:hover {
                color: var(--corp);
            }
        }
        a {
            h3 {
                color: #050a41;
            }
        }
    }
}

.modal-bg {
    position: fixed;
    z-index: 11;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .5);
    display: none;
    &.active {
        display: block;
    }
}

.modal {
    position: fixed;
    background-color: #fff;
    border-radius: 20px;
    left: 50%;
    overflow: hidden;
    padding: 40px;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 11;
    display: none;
    &.active {
        display: block;
    }
}

@media only screen and (max-width: 1320px) {
    html {
        body {
            .width {
                width: 100%;
                max-width: 100%;
            }
        }
    }
}

@media only screen and (max-width: 1040px) {
    html {
        body {
            .width-small {
                width: 100%;
                max-width: 100%;
            }
        }
    }
}

@media only screen and (max-width: 800px) {
    html {
        overflow-x: hidden;
        body {
            overflow-x: hidden;
            font-size: 14px;
            .block-white {
                border-radius: 12px;
            }
            .block-white {
                padding: 20px;
            }
            .bubble {
                width: 35vw;
            }
            .bubble-1 {
                right: -15%;   
            }
            .bubble-2 {
                left: -15%;
            }
            .modal {
                padding: 24px;
                width: calc(100% - 40px);
                border-radius: 12px;
            }
            .close {
                top: 3px;
                right: 3px;
            }
            .button-center {
                button {
                    width: 100%;
                }
            }
            .heading {
                text-align: left;
                justify-content: flex-start;
                align-items: flex-start;
                margin-bottom: 18px;
                dd {
                    grid-gap: 6px;
                    gap: 6px;
                    justify-content: flex-start;
                    align-items: flex-start;
                    span {
                        font-size: 13px;
                    }
                }
            }
            .options {
                width: 100%;
                display: flex;
                justify-content: space-between;
                font-size: 14px;
                menu {
                    white-space: nowrap;
                    padding-top: 6px;
                    padding-bottom: 6px;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    &.active {
                        width: 50%;
                        padding: 6px 24px;
                    }
                }
            }
            .courses-list {
                .item {
                    padding: 12px;
                    height: 246px;
                    p {
                        font-size: 13px;
                    }
                }
            }
            button {
                &.circle {
                    padding: 4px 8px;
                    img {
                        margin-right: 3px;
                        height: 12px;
                    }
                }
            }
            .margin {
                height: 36px
            }
            .margin-line {
                margin: 16px 0;
            }
            button {
                font-size: 13px;
            }
            .pc {
                display: none !important;
            }
            .mobile {
                display: block!important;
            }
            .width, .width-small, .width-form {
                width: 100%;
                min-width: 100%;
                padding-left: 15px;
                padding-right: 15px;
            }

            h1 {
                font-size: 30px;
            }
            
            h2, .h2 {
                font-size: 26px;
                font-weight: 600;
            }
            
            h3, .h3 {
                font-weight: 600;
                font-size: 24px;
            }
            
            h4, .h4 {
                font-size: 18px;
            }
            
            h5, .h5 {
                font-size: 18px;
            }
            
            p {
                font-size: 15px;
                line-height: 1.2;
            }
            
            .big {
                font-size: 18px;
            }
            
            .note {
                font-size: 12px;
            }
            footer {
                .wrapper {
                    padding: 0;
                    display: flex;
                    flex-direction: column;
                    align-items: flex-start;
                    gap: 12px;
                    grid-gap: 12px;
                    margin-bottom: 12px;
                }
            }
        }
    }
}
