* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #1e1e2e;
    color: white;
    margin: 0;
    padding: 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero {
    background: url('./images/bg.png') no-repeat center center/cover;
    padding: 20px 0 100px 0;
    text-align: center;
    height: 780px;
}

.hero h1 {
    font-size: 56px;
    margin-bottom: 20px;
    color: rgba(244, 243, 251, 1);
    font-weight: 500;
}

.hero p {
    font-size: 18px;
    margin-bottom: 40px;
    color: rgba(244, 243, 251, 1);
    line-height: 1.5;
    max-width: 480px;
}

.btn-group {
    display: flex;
    gap: 8px;
}

.cta-button {
    background-color: #7A2EDA;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    outline: none;
    box-shadow: none;
    border: none;
    transition: 300ms;
    cursor: pointer;
}

.ytb-btn {
    background-color: #7A2EDA33;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    outline: none;
    box-shadow: none;
    border: 1px solid #7A2EDA;
    transition: 300ms;
    cursor: pointer;
    text-decoration: none;
}

.cta-button:hover, .ytb-btn:hover {
    background-color: #563d7c;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.scrolling { 
    display: flex;
    justify-content: flex-start;
    position: relative;
}

.hero-content {
    max-width: 720px;
    text-align: left;
    margin-top: 168px;
}

.navbar .menu {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 60px;
}

.divider {
    display: flex;
    justify-content: space-between;
    width: 100%;
    position: relative;
}

.divider::after{
    content: "";
    display: block;
    height: 2px;
    width: 100%;
    position: absolute;
    background-color: rgba(53, 53, 62, 1);
    left: 0;
    top: 2px;
    z-index: 0;
}

.divider span{
    display: block;
    width: 6px;
    height: 6px;
    background: linear-gradient(180deg, #99BBE9 0%, #B6D0F3 100%);
    border-radius: 50%;
    position: relative;
    z-index: 1;
}

.navbar .menu li {
    margin-right: 20px;
}

.navbar .menu li a {
    text-decoration: none;
    color: rgba(244, 243, 251, 1);
    font-size: 16px;
}

h2 {
    margin: 48px 0;
    font-size: 40px;
    font-weight: 500;
}

.features, .audience, .course-format, .programs, .reviews, .about_author, .program-methods {
    padding: 80px 0 40px 0;
}

.features-grid {
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    flex-wrap: wrap;
}

footer {
    padding: 20px 0;
    background-color: #2e2e42;
    text-align: center;
    color: white;
}

.columns {
    column-count: 2;
    column-gap: 40px;
    flex: 1;
}

.feature {
    display: flex;
    align-items: center;
    max-width: 520px;
    margin-bottom: 40px;
}

.feature img {
    margin-right: 20px;
    object-fit: contain;
}

.course-format p {
    font-size: 28px;
    color: #F4F3FB
}

.format-grid {
    margin-top: 24px;
    display: flex;
    flex-direction: row;
    width: 100%;
    margin-bottom: 64px;
    justify-content: flex-start;
    gap: 10px;
}

.format-item {
    background: linear-gradient(180deg, #2D2943 0%, rgba(45, 41, 67, 0) 100%);
    margin-right: 16px;
    display: flex;
    flex-direction: column;
    width: 50%;
    border-radius: 4px;
}

.format-grid .format-item:last-child{
    margin-right: 0;
    width: 40%;
}

.format-grid .group {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.format-grid .group .format-item{
    width: 256px;
}

.format-item img {
    object-fit: contain;
    height: 120px;
    margin-bottom: 30px;
    margin-top: 30px;
}

.format-item p {
    font-size: 16px;
    color: #F4F3FB;
}

.course-info .item {
    max-width: 540px;
    margin-bottom: 64px;
}

.course-info .columns .item {
    max-width: 420px;
}

.course-info .item h4{
    color: #F4F3FB;
    font-size: 28px;
    margin-bottom: 16px;
}

.course-info .item p{
    color: #F4F3FB;
    font-size: 16px;
    line-height: 1.4;
}

.testimotions {
    margin-bottom: 100px;
}

.testimotions p {
    font-size: 16px;
    margin-bottom: 10px;
    color: #F4F3FB;
    line-height: 1.3;
    font-weight: 500;
}

.testimotions h4 {
    font-size: 24px;
    color: #F4F3FB;
    margin-bottom: 12px;
    font-weight: 500;
}

.testimotions .feature {
    justify-content: flex-start;
    align-items: flex-start;
    margin-bottom: 60px;
}

.content_author {
    display: flex;
    justify-content: flex-start;
}

.profile-image {
    width: 460px;
    border-radius: 10px;
    margin-right: 32px;
}
.description {
    text-align: left;
}
.description-item {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    max-width: 460px;
}
.description-item img {
    margin-right: 20px;
    object-fit: contain;
}

.description-item p{
    font-size: 16px;
    line-height: 1.4;
    color: #F4F3FB
}

.about_author {
    padding-bottom: 100px;
}

.programs-grid {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-bottom: 10px;
}

.program {
    background: #2C2942;
    padding: 32px 32px 40px 32px;
    color: #F4F3FB;
    line-height: 1.4;
    font-size: 16px;
    width: 100%;
    position: relative;
    margin-bottom: 32px;
}

.programs-grid .program{
    min-height: 424px;
    margin-bottom: 0px;
}

.programs-grid .program .fix-area {
    position: absolute;
    bottom: 40px;
    left: 32px;
}


.program h3{
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 12px;
}
.program p{
    margin-bottom: 32px;
}
.program ul{
    margin: 0 0 32px  0;
    padding: 0;
    list-style: none;
}
.program ul li{
    margin-left: 0px;
}

.program ul li::before {
    content: "*"; 
    padding-right: 8px;
}

.program span {
    font-size: 24px;
    margin-bottom: 24px;
    display: block;
}

.program-methods {
    padding-bottom: 100px;
}

.program-methods .program h3 {
    margin-bottom: 32px;
}

.program-methods .program hr {
    border: 1px solid #565468;
    margin: 40px 0;
}

.program-methods .program .info {
    max-width: 670px;
    margin-bottom: 16px;
}

.program-methods .program .info:last-child {
    margin-bottom: 0;
}

.course_column {
    display: flex;
    flex-direction: row;
    gap: 24px;
    margin-bottom: 32px;
}

.program .course_column ul li::before {
    content: none;
    padding-right: 0px;
}

.program .course_column ul{
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 0;
}

._daptive_menu {
    display: none;
    margin: 0;
    padding: 0;
    text-align: left;
}
._daptive_menu li{
    display: inline-block;
    color: #FFFFFF;
    margin-right: 12px;
}
._daptive_menu li a{
    text-decoration: none;
    color: #FFFFFF;
    font-size: 16px;
    text-wrap: nowrap;
}

[class^="ico-"], [class*=" ico-"] {
    font: normal 1em/1 Arial, sans-serif;
    display: inline-block;
}
  
.ico-times::before { content: "\2716"; }
.ico-check::before { content: "\2713"; }

.form_order {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(51, 50, 50, 0.95);
    height: 100vh;
    justify-content: center;
    padding-top: 80px;
    transition: 300ms;
    display: none;
    z-index: 999;
}

.user_form {
    background-color: #1F1D2B;
    border-radius: 4px;
    padding: 32px;
    position: relative;
    height: max-content;
    display: block;
    max-width: 420px;
    width: 100%;
}
.video_form {
    width: 100vw; /* Занимает всю ширину экрана */
    height: calc(100vh - 160px); /* Занимает всю высоту экрана */
    max-width: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-wrapper {
    width: 80%; /* Ширина контейнера */
    height: 80%; /* Высота контейнера */
}

.video-wrapper iframe {
    width: 100%; /* iframe занимает всю ширину контейнера */
    height: 100%; /* iframe занимает всю высоту контейнера */
    border: none;
}

.user_form h4 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 10px;
}

.user_form p {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 24px;
}

.user_form .btn_close {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 12px;
    right: 12px;
    border: 1.5px solid #FFFFFF;
    border-radius: 50%;
    padding: 8px;
    width: 32px;
    height: 32px;
    cursor: pointer;
}

.form_control {
    margin-bottom: 16px;
}

.form_control label{
    font-size: 14px;
    display: block;
    margin-bottom: 4px;
}

.form_control input {
    border-radius: 4px;
    border: 2px solid #4C4A55;
    width: 100%;
    height: 48px;
    background-color: transparent;
    color: #FFFFFF;
    padding: 8px;
}

.form_control .cta-button {
    width: 100%;
    margin-top: 20px;
}

.form_result {
    background-color: #1F1D2B;
    border-radius: 4px;
    padding: 32px;
    position: relative;
    height: max-content;
    display: none;
    max-width: 420px;
    width: 100%;
}

.form_result h4 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 16px;
    text-align: center;
}

.form_result p {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 56px;
    text-align: center;
    line-height: 1.4;
}

.form_result .ytb-btn{
    width: 100%;
}

.btn_result {
    margin: 0 auto 32px auto;
    display: flex;
    width: 96px;
    height: 96px;
    background: #7A2EDA;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
}

.btn_result i {
    font-size: 48px;
    font-weight: 400;
}

@media (max-width: 1020px) {
    .programs-grid {
        flex-direction: column;
    }
    .programs-grid .program {
        min-height: auto;
    }
    .programs-grid .program p {
        max-width: 640px;
    }
    .programs-grid .program .fix-area {
        position: unset;
    }
    .hero-content {
        margin-top: 120px;
    }
}

@media (max-width: 920px) {
    .hero {
        height: 640px;
    }
    .hero h1 {
        font-size: 48px;
    }
    h2 {
        font-size: 32px;
    }
    .columns {
        display: flex;
        flex-direction: column;
    }
    .format-grid {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    .format-item{
        width: 50%;
        display: flex;
        margin-right: 0;
    }
    .format-grid .format-item:last-child{
        width: 100%;
    }
    .profile-image {
        width: 280px;
        border-radius: 10px;
        margin-right: 32px;
        object-fit: contain;
    }
    .content_author {
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
    }
    .course_column {
        flex-direction: column;
    }
    .format-grid .group {
        margin-bottom: 20px;
    }
    .format-grid .group .format-item{
        width: 50%;
    }
    .course-format p {
        font-size: 24px;
    }
    .navbar {
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        margin-bottom: 12px;
    }
    .navbar .menu {
        display: none;
    }
    ._daptive_menu {
        display: flex;
        width: 100%;
        overflow: scroll;
        scrollbar-width: none;
    }
}

@media (max-width: 768px) {
    .content_author {
        flex-direction: column;
    }
    .hero h1 {
        font-size: 40px;
    }
    .hero-content {
        margin-top: 74px;
    }
    h2 {
        font-size: 24px;
    }
    .feature img {
        width: 56px;
    }
    .feature p {
        font-size: 14px;
    }
    .course-format p {
        font-size: 14px;
    }
    .features, .audience, .course-format, .programs, .reviews, .about_author, .program-methods {
        padding: 50px 0 10px 0;
    }
    .program span {
        font-size: 20px;
    }
    .btn-group {
        flex-direction: column;
    }
    .cta-button, .ytb-btn {
        text-align: center;
    }
    .program h3 {
        font-size: 20px;
    }
    .program ul li {
        font-size: 14px;
        margin-bottom: 10px;
    }
    .course-info .item p {
        font-size: 14px;
    }
    .course-info .item h4 {
        font-size: 20px;
    }
    .program-methods .program .info {
        font-size: 14px;
    }
    .profile-image {
        width: 100%;
        margin-bottom: 24px;
    }
    .description-item img {
        width: 56px;
    }

    .testimotions .feature img{
        width: 100px;
    }

    .testimotions h4 {
        font-size: 20px;
    }
}