* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  display: flex;
  flex-direction: column;
  height: 100vh;
}
header {
    position: relative;
    text-align: center;
    padding: 20px;
    background: #1e293b;
    color: #ffffff;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.video-card p {
    font-size: 16px !important;
    padding-top: 10px;
    font-weight: 600;
    padding-bottom: 10px;
}

header h2 {
    font-size: 18px;
}

header img {
  height: 50px;
  margin-bottom: 10px;
}
footer {
  text-align: center;
  padding: 20px 0;
  background: #1e293b;
  color: white;
  position: fixed;
  bottom: 0;
  width: 100%;
}
.container {
  flex: 1;
  display: flex;
  overflow: hidden;
}
.sidebar {
  width: 250px;
  background: #111827;
  color: white;
  padding-top: 20px;
}
.sidebar ul {
  list-style: none;
}
.sidebar li {
  padding: 15px;
  cursor: pointer;
  transition: background 0.3s;
}
.sidebar li:hover, .sidebar li.active {
  background: #374151;
}
.video-section {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-bottom: 90px !important; 
}


.video-card {
  background: #f3f4f6;
  padding: 10px;
  border-radius: 6px;
  cursor: pointer;
}

.video-card video {
  width: 100%;
  border-radius: 6px;
}
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.lightbox video {
  max-width: 90vw;
  max-height: 90vh;
}
.lightbox .close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 30px;
  color: white;
  cursor: pointer;
}


@media (max-width: 1199px) {
.video-section {
    grid-template-columns: 1fr 1fr;
}
}




@media (max-width: 1024px) {
  .container {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    background: #111827;
    border-bottom: 2px solid #374151;
    padding-bottom: 20px;
  }

  .sidebar ul {
    display: flex;
    flex-direction: row;
    padding: 0;
    margin: 0;
    width: 100%;
    gap: 8px;
  }

  .sidebar li {
    flex: 1;
    text-align: center;
    padding: 12px;
    font-size: 14px;
    white-space: nowrap;
    border-right: 1px solid #1f2937;
  }

  .video-section {
    padding: 16px;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {

      .video-section {
        grid-template-columns: 1fr;
        padding: 80px 20px;
        padding-top: 40px;
    }
}

div#videoSection p {
    font-weight: 600;
    margin-top: 50px;
}
 
.video-card {
    height: fit-content;
}










.video-card {

  background: #f3f3f3 !important;
    padding: 10px !important;
    display: flex !important;
    flex-direction: row !important;
    width: 100% !important;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1), 0 3px 8px 0 rgba(0, 0, 0, 0.1) !important;

}


.video-section {
    padding: 20px !important;
    overflow-y: auto;
    display: flex;
    gap: 10px !important;
    padding-bottom: 90px !important;
    flex-direction: column !important;

}


.video-card p {
    font-size: 16px !important;
    width: 70% !important;
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    margin-left: 50px !important;
}

.video-card video {
  width: 9% !important;
}


@media (max-width: 1799px) {

.video-card video {
  width: 10% !important;
}

}

@media (max-width: 1599px) {

    .video-card video {
        width: 12% !important;
    }

}


@media (max-width: 1399px) {

    .video-card video {
        width: 14% !important;
    }

}

@media (max-width: 1199px) {
    .video-card video {
        width: 18% !important;
    }

}


@media (max-width: 699px) {

    .video-card video {
        width: 25% !important;
    }
}


@media (max-width: 499px) {

    .video-card video {
        width: 30% !important;
    }

}

@media (max-width: 499px) {

.video-card p {
    margin-left: 20px !important;
    text-align: left !important;
}

}
 
