@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

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

:root {
  --primary: #092741;
}
a {
  text-decoration: none;
}
.header-container {
  position: relative;
  width: 100%;
  height: 221px;
  padding: 0;
  margin: 0;
  background-color: var(--primary);
  background-image: url("/svg/Group 427321102.svg");
  background-size: cover;
  border-radius: 0px 0px 30px 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.header-content {
  width: 100%;
  padding: 0 20px;
}

.header-title {
  font-weight: 700;
  font-size: 18px;
  line-height: 27px;
  text-align: center;
  font-feature-settings: "pnum" on, "lnum" on, "ss06" on, "case" on, "liga" off;
  color: #ffffff;
}

.header-subtitle {
  margin-top: 16px;
  font-weight: 400;
  font-size: 14px;
  line-height: 21px;
  text-align: center;
  font-feature-settings: "pnum" on, "lnum" on, "ss06" on, "case" on, "liga" off;
  color: #ffffff;
}

.searchbar-container {
  width: 100%;
  position: absolute;
  bottom: -28px;
  padding: 0 20px;
}

.searchbar {
  height: 56px;
  background: #ffffff;
  box-shadow: 4px 6px 20px rgba(25, 41, 64, 0.06);
  border-radius: 30px;
  display: flex;
  align-items: center;
  padding: 0 7px 0 21px;
  justify-content: space-between;
}

.search-icon {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

input {
  border: none;
  width: 100%;
  padding-right: 20px;
  font-weight: 400;
  font-size: 14px;
  line-height: 21px;
  color: #8e8e8e;
  outline: none;
}

.content-container {
  margin-top: 57px;
  padding: 0 20px;
}

.categories-title {
  font-weight: 700;
  font-size: 14px;
  line-height: 21px;
  font-feature-settings: "pnum" on, "lnum" on, "ss06" on, "case" on, "liga" off;
  color: #8e8e8e;
}

.categories {
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
}

.categories-button {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1.5px solid #092741;
  border-radius: 50px;
  padding: 10px 8px;
  gap: 8px;
  height: 38px;
  margin-right: 5px;
  text-decoration: none;
}

.categories-button:last-child {
  margin-right: 0px;
}

.categories-icon {
  height: 16px;
}

.categories--button-title {
  font-weight: 600;
  font-size: 12px;
  line-height: 18px;
  color: #092741;
}

.categories-button-active {
  background: #e3f5ff;
}

.list-content {
  margin-top: 32px;
}

.card {
  height: 145px;
  background: #ffffff;
  box-shadow: 4px 6px 20px rgba(25, 41, 64, 0.06);
  border-radius: 5px;
  padding: 16px;
  margin-bottom: 12px;
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.card--video-container {
  position: relative;
  height: 100%;
  background-color: beige;
  flex: 0.4;
  border-radius: 10px;
  overflow: hidden;
}

.card--video-playbtn {
  z-index: 10;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card--video-thumnail {
  width: 100%;
  height: 100%;
}
.card--content-container {
  flex: 0.6;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.card--content-title {
  font-weight: 600;
  font-size: 14px;
  line-height: 21px;
  font-feature-settings: "pnum" on, "lnum" on, "ss06" on, "case" on, "liga" off;
  color: #092741;
}
.card--content-subtitle {
  font-weight: 400;
  font-size: 12px;
  line-height: 18px;
  font-feature-settings: "pnum" on, "lnum" on, "ss06" on, "case" on, "liga" off;

  color: #8e8e8e;
}
.card--content-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  font-size: 10px;
  line-height: 15px;
  font-feature-settings: "pnum" on, "lnum" on, "ss06" on, "case" on, "liga" off;
  color: #092741;
}

.singleTempalate{
  padding: 0 16px 0 16px
}


@media screen and (min-width: 760px) {
    
    .header-container {
        border-radius: 0px 0px 50px 50px;
    }
    .content-container {
        padding: 0 80px;

    }
    .card--content-container {
        padding: 10px 0;
    }
    .header-content {
        padding: 0 80px;
      }
      .searchbar-container {
        padding: 0 80px;
      }
    .header-title {
      font-size: 24px;
    }
  
    .header-subtitle {
      margin-top: 14px;
      font-size: 22px;
    }
  
    .categories-title {
      font-size: 13px;
    }
  
    .categories-icon {
      height: 14px;
    }
  
    .categories--button-title {
      font-size: 10px;
    }
    .card {
        height: 195px;
        border-radius: 10px;
    }
  
    .card--content-title {
      font-size: 22px;
    }
    .card--content-subtitle {
      font-size: 20px;
    }
    .card--content-footer {
      font-size: 16px;
    }
    
  }

@media screen and (max-width: 380px) {
  .header-title {
    font-size: 16px;
  }

  .header-subtitle {
    margin-top: 14px;
    font-size: 13px;
  }

  .categories-title {
    font-size: 13px;
  }

  .categories-icon {
    height: 14px;
  }

  .categories--button-title {
    font-size: 10px;
  }

  .card--content-title {
    font-size: 13px;
  }
  .card--content-subtitle {
    font-size: 11px;
  }
  .card--content-footer {
    font-size: 9px;
  }
  
}


@media screen and (max-width: 340px) {
    .header-title {
      font-size: 15px;
    }
  
    .header-subtitle {
      margin-top: 13px;
      font-size: 11px;
    }
  
    .categories-title {
      font-size: 11px;
    }
  
    .categories-icon {
      height: 12px;
    }
  
    .categories--button-title {
      font-size: 8px;
    }
  
    .card--content-title {
      font-size: 11px;
    }
    .card--content-subtitle {
      font-size: 9px;
    }
    .card--content-footer {
      font-size: 7px;
    }
    input {
        font-size: 10px;
        
      }
    .card {
        height: 120px;
       
      }
      
  }
