/* ======== Responsive ======== */
@media only screen and (max-width: 820px) {
  /* ======== header start ======== */

  /* google font */

  @import url("https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@400;500;600;700&display=swap");

  /* reset */
  *,
  *::after,
  *::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  body {
    font-family: "Hanken Grotesk", sans-serif;
    background: var(--body-color);
  }

  .container {
    max-width: 410px;
    margin: 0 auto;
  }

  :root {
    --body-color: #fff;
    --navbar-color: #d61010;
    --btn-color: #3cc68a;
    --hero-text-color: #02073e;
    --text-color: #000;
    --hover-color: #beca0d;
  }

  li {
    list-style: none;
  }

  a {
    text-decoration: none;
  }

  .flex {
    display: block;
    text-align: center;
  }

  /* ======== Grid ======== */

  .grid {
    height: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    grid-template-rows: repeat(2, 1fr);
  }

  /* ============ header ============== */
  header {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    background: var(--body-color);
  }
  /* navbar */

  .navBar {
    border-bottom: 1px solid #999;
    text-align: center;
  }

  .logo {
    width: 100%;
    height: 100%;
    padding-top: 5px;
    border-bottom: 5px;
  }

  .social-media img {
    width: 30px;
    height: 30px;
  }

  /* =============== body ==================== */

  .hero-area {
    margin: 180px 10px 50px 10px;
    text-align: center;
  }

  .single-item {
    width: 100%;
    height: 500px;
    border-radius: 10px;
    border: 1px solid red;
    box-shadow: 3px 5px 8px gray;
    background-color: #fff;
  }

  .img {
    width: 100%;
    height: 250px;
    border-radius: 10px 10px 0px 0px;
  }

  .class-group {
    color: var(--text-color);
    font-size: x-large;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-align: center;
    border-bottom: 1px solid #beca0d;
    margin-bottom: 10px;
  }

  .course-name {
    border-bottom: 1px solid var(--btn-color);
    margin-bottom: 10px;
  }

  .course-name h2 {
    color: var(--navbar-color);
    font-size: 30px;
    font-style: inherit;
    font-weight: 700;
    line-height: normal;
  }

  .video-item {
    display: flex;
    gap: 30px;
    padding: 10px;
  }

  .video-item h3 {
    display: inline-flex;
    color: var(--text-color);
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-align: center;
    gap: 5px;
    max-lines: 1;
  }

  .Start-a {
    padding: 20px;
  }

  .Start-btn {
    color: var(--text-color);
    padding: 10px 130px;
    font-size: 24px;
    font-style: inherit;
    font-weight: 500;
    line-height: normal;
    text-align: center;
    align-items: center;
    transform: none;
    border-radius: 5px;
    border: 1px solid var(--hero-text-color);
  }

  .Start-btn:hover {
    background: #155e96;
    color: #fff;
    border: 1px solid red;
  }

  /* ============== accord ======================= */

  #checkbox {
    width: 20px;
    height: 20px;
    margin-right: 10px;
  }

  .section p {
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;

    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1; /* number of lines to show */
    line-clamp: 1;
    -webkit-box-orient: vertical;
  }

  .section span {
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;

    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1; /* number of lines to show */
    line-clamp: 1;
    -webkit-box-orient: vertical;
  }

  /* =============== about contact ============= */
  .about-contact h2 {
    text-align: justify;
  }
  .about-contact {
    font-size: 11px;
    text-align: left;
  }

  /* =============== max 600  ============== */
}
