* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    font-family: "DM Sans", sans-serif;
    font-style: normal;
    min-width: 375px;
    background-color: #191919;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
}

.container {
    margin: 0 auto;
    padding: 0 70px;
    max-width: 1440px;
}

.header_container {
    max-width: 1440px;
    margin: 0 auto;
}


.section {
    padding: 100px 0;
}

.footer {
    padding:100px 0;
}

a {
    text-decoration: none;
}

a, button, input {
    cursor: pointer;
}


ul {
    list-style: none;
    padding:0;
    margin:0;
}

button {
    border: none;
    cursor: pointer;
}

button:hover {
    transition: 0.7s;
    background-color: rgba(0, 0, 0, 0.1);
    border: 2px solid #118da8;
}

h1, .text, .text_bold {
    color: #fff;
}

h1 {
    font-weight: 400;
    font-size: 70px;
    line-height: 1.25714;
    letter-spacing: 0.05em;
}

.header_content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-left: auto;
    margin-right: auto;
    padding: 43px 70px;
}

.header_menu {
    display: flex;
    gap: 40px;
}

.header_menu_link {
    font-weight: 400;
    font-size: 17px;
    line-height: 1.5;
    color: #fff;
}

.header_menu_link:hover {
    color: blue;
    transition: 0.5s;
}

.header_btn {
    width:48px;
    height:48px;
    background:none;
    border:none;
    padding:0;
    display: flex;
    align-items:center;
    justify-content:center;
    display: none;
}

.main-section {
    padding-top:40px;
    padding-bottom:40px;
}

.main_wrapper {
    display: flex;
    gap: 60px;
}

.main_content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 130px;
}

.main_img {
    flex: 0 0 650px;
    max-height: 873px;
    position: relative
}


.main_img img {
    border-radius: 12px;
    position: relative;
}

.main_img::after {
    content: "";
    position: absolute;
    top: -26px;
    left: -26px;
    width: 68px;
    height: 74px;
    background-image: url("./img/4main.svg");
    background-size: contain;
    background-repeat: no-repeat;
}

.main_title {
    font-weight: 400;
    font-size: 70px;
    line-height: 1.25714;
    letter-spacing: 0.05em;
    color: #fff;
    margin-bottom: 75px;
}

.title-row {
    display: flex;
    gap: 25px;
}

.title-light {
    font-weight: 400;
    font-size: 75px;
    line-height: 1.17333;
    letter-spacing: 0.04em;
    color: #fff;
    position: relative;
}

.title-light::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 160px;
    height: 104px;
    background-image: url("./img/4text.svg");
    background-size: contain;
    background-repeat: no-repeat;
}

.title-bold {
    font-weight: 700;
    font-size: 80px;
    line-height: 1.1;
    letter-spacing: 0.04em;
    color: #fff;
}

.platforms {
    display: flex;
    flex-direction: column;
    padding: 0 22px;
}

.platforms img:hover {
    transition: 0.5s;
    transform: translateY(-5px);
}

.platforms span {
    font-weight: 400;
    font-size: 15px;
    line-height: 1.6;
    color: #fff;
    margin-bottom: 16px;
}

.platforms_list {
    display: flex;
    gap: 17px;
}

.card_section {
    padding-top: 100px;
    padding-bottom: 160px;
}

.episodes_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}

.episodes_title {
    font-weight: 400;
    font-size: 64px;
    line-height: 1.2375;
    letter-spacing: 0.05em;
    color: #fff;
}

.episodes_list {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.btn {
    font-weight: 400;
    font-size: 17px;
    line-height: 1.58824;
    color: #fff;
    border-radius: 6px;
    padding: 12px 15px 12px 20px;
    background-color: #118da8;
}

.card {
    border-radius: 32px;
    background-color: #000;
    padding: 40px;
    display: flex;
    flex-direction: row;
    gap: 53px;
}

.card_content {
    display: flex;
    flex-direction: column;
}

.card_label {
    border-radius: 6px;
    background-color: #191919;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.5;
    color: #fff;
    text-align: center;
    padding: 0 10px;
    margin-bottom: 48px;
    align-self: flex-start;
}

.card_episode {
    font-weight: 400;
    font-size: 17px;
    line-height: 1.58824;
    color: #118da8;
    margin-bottom: 17px;
}

.card_title {
    font-weight: 400;
    font-size: 64px;
    line-height: 1.1;
    letter-spacing: 0.04em;
    color: #fff;
    margin-bottom: 28px;
}

.card_text {
    font-weight: 400;
    font-size: 22px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
}

.card_content .btn {
    align-self: flex-start;
    margin-top: auto;
}

.about-section {
    padding: 100px 0;
}

.frame {
    display: flex;
    gap: 60px;
}

.about_frame {
    display: flex;
    flex-direction: column;
    justify-content: center;
}


.about_link {
    width: 112px;
    height: 112px;
    margin-bottom: 20px;
}

.about_link:hover {
    transition: 0.8s;
    transform: rotateZ(90deg);
}

.span_about_Jacob {
    font-weight: 400;
    font-size: 18px;

    /* line-height: 27px; */
    line-height: 1.5;
    color: #118da8;
}

.about_frame h3 {
    font-weight: 400;
    font-size: 65px;
    /* line-height: 79px; */
    line-height: 1.21846;
    letter-spacing: 0.04em;
    color: #fff;
    margin-bottom: 28px;
}

.about_frame p {
    font-weight: 400;
    font-size: 22px;
    /* line-height: 33px; */
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 33px;
}

.about_img {
    border-radius: 12px;
    width: 650px;
    height: 743px;
}

.sub_frame {
    padding: 60px;
    display: flex;
    gap: 76px;
    border-radius: 32px;
    background-color: #000;
    justify-content: space-between;
    position: relative;
}

.sub_frame::before {
    content: "";
    position: absolute;
    bottom: -30px;
    left: -38px;
    width: 147px;
    height: 91px;
    background-image: url("./img/4sub.svg");
    background-size: contain;
    background-repeat: no-repeat;
}

.span_subscription {
    font-weight: 400;
    font-size: 18px;
    line-height: 1.5;
    color: #118da8;
}

.subscribe {
    flex: 1;

}

.subscribe h3 {
    font-weight: 400;
    font-size: 72px;
    /* line-height: 79px; */
    line-height: 1.1;
    letter-spacing: 0.04em;
    color: #fff;
    max-width: 431px;
}

.sub_form {
    width:522px;
}

.sub_form label {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    white-space: nowrap;
    border: 0;
}

.sub_form input {
    width: 100%;
    border: 1px solid #191919;
    border-radius: 6px;
    height: 82px;
    background-color: #191919;
    font-weight: 400;
    font-size: 24px;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.7);
    padding-left: 19px;
    margin-bottom: 20px;
}

.sub_form input{
    transition: border-color .3s ease;
}

.sub_form input:focus{
    outline:none;
    border: 1px solid #454444;

}
.reviews_list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.review_card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: 364px;
    border-radius: 32px;
    background-color: #000;
    padding: 54px 50px;
    flex-basis: calc((100% - 32px) / 3);
}

.review_text {
    font-weight: 400;
    font-size: 36px;
    line-height: 1.2;
    color: #fff;
}

.review_author {
    font-weight: 400;
    font-size: 24px;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.7);
}

.footer_wrapper {
    display: flex;
    gap: 16px;
}

.footer_brand {
    display:flex;
    flex-direction:column;
    gap: 20px;
    flex: 1 1 447px;
}

.footer_menu {
    display: flex;
}

.footer_socials {
    display: flex;
    gap: 10px;
}

.footer_socials img:hover {
    transition: 0.7s;
    transform: translateY(-5px);
}

.footer_logo img{
    height:46px;
    width:auto;
}

.footer_nav {
    flex-basis:178px;
    flex-shrink:0;
}

.footer_nav ul {
    display:flex;
    flex-direction:column;
    gap:10px;
}

.footer_nav a {
    font-weight:400;
    font-size:17px;
    line-height:1.58824;
    color:#fff;
}

.footer_platforms {
    display:flex;
    align-items:flex-start;
    flex: 1 1 447px;
}

.footer_platforms ul {
    display: flex;
    gap: 17px;
}

.footer_platforms img:hover {
    transition: 0.5s;
    transform: translateY(-5px);
}

.footer_nav a:hover {
    color: blue;
    transition: 0.7s;
}

@media (max-width: 768px) {
    .header_container {
     padding: 9px 20px 10px 20px;
 }
    .container {
        padding: 0 20px;
    }
    .header_menu {
        display: none;
    }
    .header {
        margin: 26px 0;
    }
    .header_content {
        padding: 0;
    }

    .header_btn{
        display: flex;
    }

    .header_menu{
        display: none;
    }

    .main-section {
        padding-bottom: 60px;
        padding-left: 40px;
        padding-right: 40px;
    }
    .main_wrapper {
        flex-direction: column;
        text-align: center;
        gap: 57px;
    }
    .main_content {
        align-items: flex-start;
        text-align: left;
        padding-bottom: 0;
    }

    .main_title {
        text-align: left;
    }

    .line{
        display:block;
    }

    .title-row {
        justify-content: left;
    }

    .episodes_header {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
        margin-bottom: 60px;
        padding-left: 40px;
    }

    .episodes_list {
        align-items: center;
    }


    .card {
        flex-direction: column;
        gap: 40px;

        width: 728px;
        align-items: center;
    }
    .card_img {
        width: 100%;
        max-width: 648px;
        aspect-ratio: 648 / 465;
        overflow: hidden;
    }

    .card_img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .card_text {
        margin-bottom: 18px;
    }

    .about-section {
        padding: 100px 40px 114px 40px;
    }

    .frame {
        flex-direction: column-reverse;
        align-items: center;
    }

     .about_img {
        justify-content: center;
    }

    .about_frame h3,
    .about_frame p,
    .about_frame a {
        margin-bottom: 0;
    }

    .about_frame {
        gap: 20px;
    }

    .sub_frame {
        flex-direction: column;
        gap: 86px;
        padding: 60px 40px;
    }

    .sub_form {
        width: 100%;
    }

    .sub_frame::before {
        right: -28px;
        transform: rotate(-45deg);;
        left: auto;
    }

    .review_card {
        padding: 53px 40px 50px 40px;
        flex-basis: calc((100% - 16px) / 2);
    }

    .footer {
        padding:100px 40px 100px 40px;
    }

    .footer_wrapper {
        flex-direction: column;
    }

    .footer_brand {
        flex: 1 1 222px;
    }

    .footer_platforms {
        flex: 0;
    }
}