:root {
    --primary: #4031F0;
    --sec: #6C62E1;
    --dark-text: #4B4A5C;
    --light-text: #ABA9BC;
    --red: #fe2163;
    --green: #21fe7d;
    --bg-color: #F2F1FF;
}

/* Resets */
*,
*:before,
*:after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
a {
    text-decoration: none;
}
button {
    font-family: FiraGO;
}
ul {
    list-style: none;
}
.none {
    display: none;
}
.block {
    display: block;
}
.trans {
    transition: .38s cubic-bezier(0.22, 1, 0.420, 1);
}
.p-69 {
    padding-left: 69px;
    padding-right: 69px;
}
.fx-click {
    will-change: transform;
}
.fx-click:active {
    transform: scale(.95);
}

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

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

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

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


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


::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--light-text);
}

::-webkit-scrollbar-thumb {
    background: var(--dark-text);
}

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

html {
    scroll-behavior: smooth;
}
body {
    font-family: FiraGo;
    font-size: 14px;
    color: rgba(0, 0, 0, .69);
    font: 400;
    background: #fff;
    overflow-x: hidden;
}

header {
    padding: 11px 2%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo img {
    height: 38px;
}

header nav a {
    color: var(--light-text);
    margin: 0 11px;
    position: relative;
}
header nav a.active {
    color: var(--dark-text);
}
header nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    transform: translateY(22px);
    width: 100%;
    height: 0px;
    background: var(--primary);
    transition: .38s cubic-bezier(0.22, 1, 0.420, 1);
    opacity: 0;
    will-change: transform;
}
header nav a:hover {
    color: var(--primary);
}
header nav a:hover::after {
    transform: translateY(11px);
    height: 3px;
    opacity: 1;
}
.header-cta {
    padding: 0;
    border: none;
    display: flex;
    align-items: center;
    background: transparent;
    cursor: pointer;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
}
.header-cta--txt {
    margin-left: 11px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 400;
}
.header-cta:hover {
    border-bottom: 2px solid var(--primary);
}
.hero {
    margin:  22px 0;
    padding: 22px 2%;
    position: relative;
    width: 100%;
}
.hero-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.hero--text,
.hero--media {
    max-width: 47%;
}

.hero--text {
    padding-top: 38px;
}

.hero--hash {
    margin: 0;
    font-size: 22px;
    color: var(--light-text);
    font-weight: 300;
}
.hero--text h1 {
    margin: 11px 0;
    font-size: 47px;
    color: var(--primary);
    font-weight: 800;
}
.hero--text h2 {
    margin-top: 22px;
    max-width: 83%;
    font-size: 18px;
    line-height: 29px;
    color: var(--dark-text);
    font-weight: 300;
}
.hero-form--container {
    margin: 22px 0 0 0;
    width: 100%;
    overflow: hidden;
}
.hero-form--container h3 {
    margin: 11px 0;
    font-size: 22px;
    color: var(--dark-text);
    font-weight: 400;
}
.hero-form {
    margin: 0;
}
.hero-form--group {
    margin-bottom: 11px;
}
.hero-form--group:last-child {
    margin-bottom: 0;
}
.hero-form--group.error .hero-form--input {
    border: 2px solid var(--red);
}
.hero-form--group.success .hero-form--input {
    border: 2px solid var(--green);
}
.hero-form--input {
    margin: 0;
    width: 100%;
    padding: 11px 22px;
    border-radius: 4px;
    background: transparent;
    border: 2px solid var(--light-text);
    outline: none;
}
.hero-form--input:hover {
    border: 2px solid var(--dark-text);
}
.hero-form--input:focus {
    border: 2px solid var(--primary);
}
.hero-form-submit {
    margin: 0;
    line-height: 56px;
    width: 100%;
    background: var(--primary);
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.hero-form-submit:hover {
    background: var(--sec);
}
.hero-form-submit:active {
    background: var(--dark-text);
}
.hero-alert {
    margin-top: 4px;
    font-size: 12px;
    color: var(--red);
    font-weight: 400;
}

.hero--media {
    margin: 0;
}
.hero-img {
    max-height: 65vh;
    display: block;
}


.hero-middle {
    padding: 29px 38px 29px 29px;
    position: absolute;
    top: 29%;
    left: 56%;
    transform: translate(-50%, -69%);
    box-shadow: 2px 4px 22px rgba(22, 22, 22, 0.11);
    border-radius: 4px 4px 38px 4px;
    background: #fff;
}
.hero-middle li {
    margin-bottom: 11px;
    display: flex;
    align-items: center;
}
.hero-middle li:last-child {
    margin-bottom: 0;
}
.hero-middle--txt {
    margin-left: 11px;
    color: hsla(0, 0%, 0%, 0.56);
    font-size: 12px;
    font-weight: 400;
    transition: .38s cubic-bezier(0.22, 1, 0.420, 1);
}
.hero-middle li:hover .hero-middle--txt {
    color: var(--primary);
}
.hero-middle--icon svg path {
    transition: .38s cubic-bezier(0.22, 1, 0.420, 1);
}
.hero-middle li:hover .hero-middle--icon svg path {
    stroke: var(--primary);
}

.liquid {
    margin: 38px 0 0 0;
    padding: 69px 0;
    background: var(--bg-color);
    overflow: hidden;
}
.liqyud-title {
    margin: 0;
    font-size: 29px;
    font-weight: 700;
    color: var(--dark-text);
    text-align: center;
}
.liquid-slider {
    margin-top: 38px;
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.liquid-img {
    height: 47px;
    filter: grayscale(100%);
}
.liquid-img:hover {
    filter: grayscale(0%);
}
.payments {
    margin: 0;
    padding: 69px 0;
    background: var(--sec);
}
.pay-title {
    margin: 0;
    font-size: 29px;
    font-weight: 700;
    color: #fff;
    text-align: center;
}
.pay-slider {
    margin-top: 38px;
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.pay-item {
    padding: 22px 38px;
    border-radius: 11px;
    background: #fff;
    border: 2px solid transparent;
    box-shadow: 0px 11px 22px rgba(27, 32, 104, 0.11);
}
.pay-item:hover {
    border: 2px solid var(--dark-text);
    box-shadow: 0px 11px 22px rgba(27, 32, 104, 0.38);
}
.pay-img {
    height: 56px;
    filter: grayscale(0%);
}
.pay-item:hover .pay-img {
    filter: grayscale(100%);
}

.course {
    margin: 0;
    padding-top: 69px;
    padding-bottom: 69px;
    background: #fff;
    overflow: hidden;
}
.course-title {
    margin: 0;
    font-size: 38px;
    color: var(--light-text);
    font-weight: 900;
}
.course-det-list {
    margin-top: 38px;
    margin-left: 69px;
    display: flex;
    align-items: flex-start;
}
.course-det-item {
    margin-right: 69px;
    display: flex;
    align-items: flex-start;
}
.course-det-item:last-child {
    margin-right: 0;
}
.course-det--icon {
    display: flex;
    width: 47px;
    height: 47px;
    border-radius: 4px;
    background: hsla(245, 87%, 57%, 0.11);
    justify-content: center;
    align-items: center;
}
.course-det--meta {
    margin-left: 11px;
}
.course-det--key {
    font-size: 14px;
    font-weight: 400;
    color: var(--light-text);
}
.course-det--val {
    margin-top: 6px;
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-text);
}
.check-icon svg path {
    fill: var(--sec);
}


.course-cont {
    margin-top: 69px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}

.course-vid {
    max-width: 47%;
    overflow: hidden;
}
.vid-chart {
    width: 100%;
    object-fit: contain;
    border-radius: 11px;
}
.course-desc {
    padding: 22px 0;
    margin-left: 38px;
}
.hurry {
    font-size: 22px;
    font-weight: 600;
    color: var(--dark-text);
}

.course-check {
    margin-top: 29px;
    margin-left: 11px;
}
.course-check li {
    margin-bottom: 22px;
    display: flex;
    align-items: center;
}
.course-check li:last-child {
    margin-bottom: 0;
}
.check-txt {
    margin-left: 11px;
    font-size: 16px;
    font-weight: 400;
    color: var(--dark-text);
}
.course-cta {
    margin-top: 22px;
    padding: 0 29px;
    line-height: 56px;
    border-radius: 4px;
    background: var(--primary);
    color: #fff;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    border: none;
}
.course-cta:hover {
    background: var(--sec);
}

footer {
    padding: 22px 0;
    margin-top: 22px;
    width: 100%;
    background: var(--bg-color);
    text-align: center;
}
.warning {
    color: var(--dark-text);
    font-size: 16px;
    font-weight: 500;
}
.copy {
    margin-top: 22px;
    color: var(--dark-text);
    font-size: 14px;
    font-weight: 300;
}
.ft-social {
    margin-top: 11px;
}
.ft-social a {
    margin: 0 11px;
    font-size: 12px;
    color: var(--sec);
}
.ft-social a:hover {
    text-decoration: underline;
    color: var(--primary);
}

.ft-logo {
    margin: 22px auto 0 auto;
}

/* hidden */
body.no-scroll {
    overflow-y: hidden;
}
#blur {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 8;
    background: rgba(27, 32, 104, 0.22);
}
.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 22px 29px 22px 29px;
    background: #fff;
    border-radius: 11px;
    box-shadow: 0px 11px 22px rgba(27, 32, 104, 0.11);
    z-index: 99;
}
.modal-cont {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.succ-title {
    margin-top: 11px;
    font-size: 22px;
    font-weight: 900;
    color: var(--dark-text);
}
.succ-desc {
    margin-top: 22px;
    font-size: 14px;
    color: var(--light-text);
    font-weight: 400;
}
.close-modal {
    margin-top: 22px;
    padding: 11px 22px;
    border-radius: 4px;
    background: var(--bg-color);
    color: var(--dark-text);
    border: none;
    font-size: 12px;
    letter-spacing: 1.2px;
    cursor: pointer;
}
.close-modal:hover {
    background: #dcdbe4;
}
.close-modal:active {
    background: var(--dark-text);
    color: var(--bg-color);
}

@media screen and (max-width: 720px) {
    header nav,
    .hero-img,
    .hero-middle
    {
        display: none;
    }
    .hero-flex {
        flex-direction: column;
    }
    .hero--text, .hero--media {
        min-width: 100%;
    }
    .liquid-slider {
        flex-wrap: wrap;
    }
    .liquid-img {
        margin: 3px auto;
    }
    .liqyud-title,
    .pay-title {
        font-size: 22px;
    }
    .pay-slider {
        flex-direction: column;
    }
    .pay-item {
        min-width: 96%;
        margin: 11px auto;
    }
    .hero {
        padding: 22px 11px;
    }
    .hero--text {
        padding-top: 0;
    }
    .hero--text h1 {
        font-size: 33px;
    }
    .hero-form--input {
        padding: 16px 22px;
    }
    .modal {
        min-width: 96%;
    }
    .succ-title {
        font-size: 18px;
        white-space: nowrap;
    }
    .succ-desc {
        text-align: center;
    }
    .course-title {
        font-size: 29px;
        white-space: nowrap;
    }
    .p-69 {
        padding-left: 22px;
        padding-right: 22px;
    }
    .course-det-list {
        margin-left: 11px;
        flex-direction: column;
    }
    .course-det-item {
        margin-right: 0;
        margin-bottom: 29px;
    }
    .course-det-item:last-child {
        margin-bottom: 0;
    }
    .course-cont {
        flex-direction: column;
    }
    .course-vid {
        min-width: 100%;
        width: 100%;
    }
    .course-desc {
        margin-top: 11px;
        margin-left: 0;
    }
    .course-cta {
        margin-top: 38px;
        min-width: 100%;
    }
}