@import url("https://cdn-uicons.flaticon.com/uicons-regular-rounded/css/uicons-regular-rounded.css");

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif
}

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 15px;
}

/* HEADER */
.header {
    background-color: #1A1A1A;
    padding-top: 36px;
    padding-bottom: 200px;
}

.navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mob-btn {
    display: none;
}

.logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #1A1A1A;
    font-weight: bold;
    transition: background-color .3s ease-in-out;
}

.logo:hover {
    background-color: #FEBE02;
}

.navigation-holder {
    list-style: none;
    padding: 0;
    display: flex;
    flex-grow: 1;
    justify-content: space-evenly;
}

.nav-link a {
    text-decoration: none;
    color: #D1D1D1;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
    transition: color 0.3s ease-in-out;
}

/* HEADER-TITLE */
.header-title {
    margin-top: 110px;
    margin-bottom: 80px;
    position: relative;
}

.header-subtitle-text {
    display: inline-block;
    border-left: 1px solid #8c8c8c;
    padding: 8px 0px 8px 20px;
    color: #8c8c8c;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1.5px;
    margin-bottom: 13px;
}

.header-title-text {
    font-size: 90px;
    font-weight: bold;
    color: #fff;
    max-width: 620px;
    line-height: 1;
}

.join {
    background-color: #FEBE02;
    position: absolute;
    right: 0;
    bottom: 0;
    width: 110px;
    height: 110px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: flex-start;
    text-decoration: none;
    color: #1A1A1A;
    font-weight: bold;
    border-radius: 6px;
    transition: background-color .3s ease-in-out;
} 

.join:hover {
    background-color: #ce9e10;
}

.header-info-block {
    display: flex;
    justify-content: space-between;
}

.card-info {
    max-width: 361px;
}

.card-info-img {
    display: flex;
}

.info-title {
    color: #FFF;
    font-size: 20px;
    font-weight: 600;
    line-height: 30px; 
    letter-spacing: 0.3px;
    margin-top: 15px;
    margin-bottom: 4px;
}

.info-subtitle {
    font-size: 13px;
    color: #8C8C8C;
    font-weight: bold;
    letter-spacing: 1.5px;
    display: block;
}

.about-subtitle-text {
    display: inline-block;
    border-left: 1px solid #fff;
    padding: 8px 0 8px 20px;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1.5px;
    margin-bottom: 13px;
} 

.about-descr {
    color: #D1D1D1;
    max-width: 240px;
    font-size: 14px;
    line-height: 1.8;
}

.audio-block {
    background-color: #242424;
    display: flex;
    margin-top: 61px;
}

.audio-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    position: relative;
    padding: 0 25;
}

.play-button {
    display: flex;
    background-color: #1C68F0;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 0;
    bottom: 0;
}

.about-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
    margin-top: 15px;
    margin-bottom: 4px;
    text-align: center;
}

.about-subtitle {
    font-size: 13px;
    color: #8c8c8c;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-align: center;
    display: block;
}

.audio-holder {
    width: 540px;
}

.audio-detail {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .control {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .control i {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.25rem;
    background-color: blue;
    color: white;
    cursor: pointer;
}

.audio-author {
    display: flex;
    justify-content: center;
    position: relative;
}
  
.time {
    color: #fff;
    position: absolute;
    top: 10px;
    right: 0;
}

.nav-link:hover a {
    color: #FEBE02;
}

.header-info-block {
    margin-right: -200px;
}

/* main-content */
.courses-section-title {
    font-weight: 600;
    font-size: 70px;
    color: #1A1A1A;
    margin: 60px 0;
}

.course-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

.img-container {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 360px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 20px;
    padding-left: 20px;
}

.img-card-1 {
    background-image: url("img/card-1.jpg");
}

.card-big {
    max-width: 540px;
}

.card-small {
    width: 360px;
}

.btn-time {
    background-color: #fff;
    border-radius: 5px;
    color: #111;
    padding: 6px 12px;
    display: inline-block;
    margin-right: 8px;
}  

.btn-rating {
    width: 77px;
    background-color: #111;
    border-radius: 5px;
    color: #fff;
    padding: 6px 0;
    display: inline-flex;
    align-items: center;
    justify-content: space-evenly;
}

.course-category {
    font-size: 13px;
    letter-spacing: 2px;
    color: #bababa;
    font-weight: 400;
    margin: 18px 0;
}

.course-title {
    font-size: 35px;
    font-weight: bold;
    letter-spacing: 0.3px;
    color: #1A1A1A;
    margin-bottom: 20px;
}

.course-desc {
    font-size: 16px;
    font-weight: 400;
    color: #767676;
    line-height: 1.7;
    letter-spacing: 0.5px;
}

.img-card-2 {
    background-image: url("img/card-2.jpg");
}

.img-card-3 {
    background-image: url("img/card-3.jpg");
}

.img-card-4 {
    background-image: url("img/card-4.jpg");
}

.footer {
    background-color: #f5f6f8;
    padding: 60px 0;
}

.courses-info-title {
    font-weight: 600;
    font-size: 70px;
    color: #1a1a1a;
    padding-bottom: 40px;
}

.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #939495;
    padding: 30px 0;
  }

  .left-block {
    display: flex;
    align-items: center;
  }

  .course-number {
    font-style: normal;
    font-weight: 600;
    font-size: 25px;
    color: #A2A2A4;
  }

  .course-block {
    margin-left: 60px;
    line-height: 1.5;
  }

  .course-name {
    font-style: normal;
    font-weight: 400;
    font-size: 50px;
    letter-spacing: 0.8px;
    color: #000000;
  }

  .course-count {
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    letter-spacing: 0.5px;
    color: #9A9A9B;
  }

  .course-block {
    margin-left: 60px;
    line-height: 1.5;
  }

  .course-name {
    font-style: normal;
    font-weight: 400;
    font-size: 50px;
    letter-spacing: 0.8px;
    color: #000000;
  }

  @media (max-width: 1120px) {
    .container {
        padding: 0 20px;
    }
  } 

  @media (max-width: 992px) {
    .header-info-block {
        flex-direction: column;
    }
    .card-about {
        align-self: end;
        margin-top: 60px;
    }

    .audio-container {
        order: -1;
    }

     /* Для основного раздела */
  .course-row {
    flex-wrap: wrap;
    margin-bottom: 0;
  }
  .course-card {
    display: flex;
    margin-bottom: 60px;
  }
  .card-big, .card-small {
    width: 100%;
  }
  .img-container, .info-container {
    width: 50%;
  }
  .img-card-1, .img-card-3 {
    margin-right: 40px;
  }
  .img-card-2, .img-card-4 {
    order: 2;
    margin-left: 40px;
  }
  }

  @media (max-width: 756px) {

    .courses-card {
        flex-direction: column;
        width: 100%;
    }

    .img-card-1, .img-card-2, .img-card-3, .img-card-4 {
        margin: 0;
    }

    .img-container {
        width: 100%;
    }

    .img-card-2, .img-card-4 {
        order: -1;
    }
  }

  @media (max-width: 578px) {
    .navigation-holder {
        display: none;
    }

    .mob-btn {
        display: inline-block;
        text-decoration: none;
        font-size: 60px;
        color: #fff;
    }

    .header-title-text {
        font-size: 60px;
    }

    .join {
        display: none;
    }

    .card-info-img {
        max-width: 100%;
    }

    .audio-holder, .card-about {
        max-width: 100%;
    }

    .audio-block img {
        display: none;
    }

    .audio-container {
        padding: 0 42px 0 0;
    }

    .control i {
        height: 48px;
    }

    .course-name {
        font-size: 24px;
    }
  }