body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #111827;
    color: #ffffff;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
}
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 15px;
}
.video-card {
    background-color: #1f2937;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: transform 0.3s ease;
    opacity: 0.5;
}
.video-card{
    opacity: 1;
}
.video-card:hover {
    transform: scale(1.05);
}
.video-image {
    width: 100%;
    height: 180px;
    object-fit: fill;
}
.video-content {
    padding: 1rem;
}
.video-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}
.video-rating {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}
.star {
    color: #fbbf24;
    margin-right: 0.25rem;
}
.video-category {
    font-size: 0.875rem;
    color: #9ca3af;
}
.video-description {
    font-size: 0.875rem;
    color: #9ca3af;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.banner {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: #ffffff;
}
.banner img {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 20em;
}
.header {
    background-color: #ffffff;
    padding: 20px 0;
    margin-bottom: 30px;
}
.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 0 16px;
}
.header-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #000;
    margin-right: 20px;
}
.logo{
    width: 82px;
}
.header-info {
    flex-grow: 1;
}
.header-title {
    font-size: 24px;
    font-weight: bold;
    color: #111827;
    margin: 0;
}
.header-stats {
    font-size: 14px;
    color: #6b7280;
    margin: 5px 0;
}
.header-description {
    font-size: 14px;
    color: #374151;
    margin: 0;
}
.read-more {
    cursor: pointer;
    color: #3F71EA;
    text-decoration: underline;
}
.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
}
.popup-content {
    max-width: 300px;
    color: #000;
}
.close-btn {
    float: right;
    cursor: pointer;
}
.video-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.search-container {
    margin-bottom: 20px;
}

/* Suggestions container placed just below the input */
#search-suggestions {
    position: absolute;
    width: 20em;
    max-height: 200px;
    overflow-y: auto;
    background: linear-gradient(180deg, #1c2452, #05071b, #2a3875); ;
    color: #333;
    border-radius: 4px;
    z-index: 10;
    transition: all .3s;
}

.suggestion {
    padding: 10px;
    cursor: pointer;
    color: #fff;
    font-weight: bolder;
}
.suggestion:hover {
    background: linear-gradient(90deg, #0d5977, #047794,#1c3a52 ); ;
}
/* WebKit Browsers (Chrome, Safari, etc.) */
#search-suggestions::-webkit-scrollbar {
width: 1px; /* Set the scrollbar width */
}

#search-suggestions::-webkit-scrollbar-track {
background: #f1f1f1; /* Optional: Customize the scrollbar track color */
}

#search-suggestions::-webkit-scrollbar-thumb {
background: #888; /* Optional: Customize the scrollbar thumb color */
border-radius: 10px; /* Optional: Add rounded corners */
}

#search-suggestions::-webkit-scrollbar-thumb:hover {
background: #555; /* Optional: Change the color on hover */
}

/* Firefox */
#search-suggestions {
scrollbar-width: thin; /* Make scrollbar thin */
scrollbar-color: #888 #f1f1f1; /* Thumb color and track color */
}



#no-results {
    color: #ff0000;
    font-weight: bolder;
    text-align: center;
    font-size: 25px;

}
#no-results img{
    display: block;
    margin: 0 auto;
    width: 30%;
  
}
.box {
max-width: 400px;
width: 100%;
position: relative;
}
.box .search-box {
position: relative;
height: 50px;
max-width: 50px;
margin-top: 10px;
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25);
border-radius: 25px;
transition: all 0.5s ease;
}
#check:checked ~ .search-box {
max-width: 380px;
}
.search-box input {
position: absolute;
height: 96%;
width: 85%;
border-radius: 25px;
background: #fff;
outline: none;
border: none;
padding-left: 9px;
font-size: 18px;
}
.search-box .icon {
position: absolute;
right: -2px;
top: 0;
width: 50px;
background: #FFF;
height: 100%;
text-align: center;
line-height: 50px;
color: #FF676D;
font-size: 20px;
border-radius: 25px;
}
#check:checked ~ .search-box .icon {
background: #FF676D;
color: #FFF;
width: 60px;
border-radius: 0 25px 25px 0;
}
#check {
display: none;
}
.suggestion.highlight {
background-color: #e2e8f0; /* Highlight color */
color: #111827; /* Text color for highlighted suggestion */
}
/**/
.title-sort-container {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 1rem;
}

.sort-container {
color: #374151;
}

.sort-label {
font-size: 14px;
color: #fff;
margin-right: 8px;
}

.sort-select {
padding: 5px;
border-radius: 5px;
border: 1px solid #ccc;
background-color: #fff;
color: #111827;
font-size: 14px;
}
/*nav*/
/* Navbar styles */
nav {
    height: 4rem;
    width: 100%;
    top: 0%;
    display: flex;
    z-index: 10;
    margin-bottom: 10px;
    background: var(--header-bg-color);;
  }
  
  /* Styling logo */
  .logo img {
    height: 4.3rem;
    width: 5rem;
  }
  
  /* Styling Links */
  .nav-links {
    display: flex;
    list-style: none;
    width: 88vw;
    padding: 0 0.7vw;
    justify-content: space-evenly;
    align-items: center;
    text-transform: uppercase;
  }
  
  .nav-links li a {
    text-decoration: none;
    margin: 0 0.7vw;
    color: white;
    font-weight: bolder;
  }
  
  .nav-links li a:hover {
    color: #61dafb;
  }
  
  .nav-links li {
    position: relative;
  }
  
  .nav-links li a::before {
    content: "";
    display: block;
    height: 3px;
    width: 0%;
    background-color: #61dafb;
    position: absolute;
    transition: all ease-in-out 250ms;
    margin: 0 0 0 10%;
  }
  
  .nav-links li a:hover::before {
    width: 80%;
  }
  
  /* Styling Buttons */
  .login-button {
    background-color: transparent;
    border: 1.5px solid #f2f5f7;
    border-radius: 2em;
    padding: 0.6rem 0.8rem;
    margin-left: 2vw;
    font-size: 1rem;
    cursor: pointer;
    color: rgb(9, 153, 250);
  }
  
  .login-button:hover {
    color: #131418;
    background-color: #f2f5f7;
    border: 1.5px solid #f2f5f7;
    transition: all ease-in-out 350ms;
  }
  
  
  /* Styling Hamburger Icon */
  .hamburger div {
    width: 30px;
    height: 3px;
    background: #48dbfb;
    margin: 5px;
    transition: all 0.3s ease;
  }
  
  .hamburger {
    display: none;
  }
  
  /* Styling for small screens */
  @media screen and (max-width: 800px) {
    nav {
      position: fixed;
      z-index: 300;
      background: #121127;
    }
    .video-container{
      margin-top: 15%;
    }
    .hamburger {
      display: block;
      position: absolute;
      cursor: pointer;
      right: 5%;
      top: 10px; /* Adjusted to be at the top */
      transform: translateY(0);
      z-index: 2;
      transition: all 0.7s ease;
    }
  
    .nav-links {
      position: fixed;
      background: #121127;
      height: 100vh;
      width: 100%;
      flex-direction: column;
      clip-path: circle(50px at 90% -20%);
      -webkit-clip-path: circle(50px at 90% -10%);
      transition: all 1s ease-out;
      pointer-events: none;
    }
  
    .nav-links.open {
      clip-path: circle(1000px at 90% -10%);
      -webkit-clip-path: circle(1000px at 90% -10%);
      pointer-events: all;
      margin: 0;
    }
  
    .nav-links li {
      opacity: 0;
    }
  
    .nav-links li:nth-child(1) {
      transition: all 0.5s ease 0.2s;
    }
  
    .nav-links li:nth-child(2) {
      transition: all 0.5s ease 0.4s;
    }
  
    .nav-links li:nth-child(3) {
      transition: all 0.5s ease 0.6s;
    }
  
    .nav-links li:nth-child(4) {
      transition: all 0.5s ease 0.7s;
    }
  
    .nav-links li:nth-child(5) {
      transition: all 0.5s ease 0.8s;
    }
  
    .nav-links li:nth-child(6) {
      transition: all 0.5s ease 0.9s;
      margin: 0;
    }
  
    .nav-links li:nth-child(7) {
      transition: all 0.5s ease 1s;
      margin: 0;
    }
  
    li.fade {
      opacity: 1;
    }
    .hamburger div {
      background: #fff;
    }
    .nav-links li a {
      color: #fff;
    }
  }
  @media screen and (max-width: 434px) {
    .video-container{
      margin-top: 25%;
    }
  }
  /* Animating Hamburger Icon on Click */
  .toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
  }
  
  .toggle .line2 {
    transition: all 0.7s ease;
    width: 0;
  }
  
  .toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
  }
  /*footer*/
       /*foter animation*/
       #animation {
        background: #080a3c;
        height: auto;
        color: #fff;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        z-index: 1;
        border-radius: 75px 75px 0px 0px;
        margin-top: 10%;
      }
      #animation::after {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        background-image: url(/img/tt.png);
        animation: imgChange 1s linear 1s infinite;
      }
      #animation::before {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        background-image: url(/img/tt.2.png);
        animation: imgChangeTwo 1s linear 1s infinite;
      }
      @keyframes imgChange {
        0% {
          opacity: 0;
        }
        50% {
          opacity: 1;
        }
        100% {
          opacity: 0;
        }
      }
      @keyframes imgChangeTwo {
        0% {
          opacity: 1;
        }
        50% {
          opacity: 0;
        }
        100% {
          opacity: 1;
        }
      }
      /* The footer is fixed to the bottom of the page */
      
      footer {
        position: fixed;
        bottom: 0;
      }
      
      @media (max-height:800px) {
        footer {
            position: static;
        }
        header {
            padding-top: 40px;
        }
      }
      
      .footer-distributed {
        box-sizing: border-box;
        width: 100%;
        text-align: left;
        font: bold 16px sans-serif;
        margin-top: 80px;
        padding: 20px;
        position: relative;
        z-index: 2;
      }
      
      .footer-distributed .footer-left, .footer-distributed .footer-center, .footer-distributed .footer-right {
        display: inline-block;
        vertical-align: top;
      }
      
      /* Footer left */
      .footer-distributed .footer-left {
      width: 35%;
      padding: 10px;
      }
      
      .footer-distributed .footer-left i {
      background-color: #33383b;
      color: #ffffff;
      font-size: 25px;
      width: 38px;
      height: 38px;
      border-radius: 50%;
      text-align: center;
      line-height: 42px;
      margin: 10px 15px;
      vertical-align: middle;
      }
      
      .footer-distributed .footer-left i.fa-envelope {
      font-size: 17px;
      line-height: 38px;
      }
      
      .footer-distributed .footer-left p {
      display: inline-block;
      color: #ffffff;
      vertical-align: middle;
      margin: 0;
      }
      
      .footer-distributed .footer-left p span {
      display: block;
      font-weight: normal;
      font-size: 14px;
      line-height: 2;
      }
      
      .footer-distributed .footer-left p a {
      color: #e0ac1c;
      text-decoration: none;
      ;
      }
      
      
      /* Footer links */
      
      .footer-distributed .footer-links {
        color: #ffffff;
        margin: 20px 0 12px;
      }
      
      .footer-distributed .footer-links a {
        display: inline-block;
        line-height: 1.8;
        text-decoration: none;
        color: inherit;
      }
      
      .footer-distributed .footer-company-name {
        color: #8f9296;
        font-size: 14px;
        font-weight: normal;
        margin: 0;
      }
      
      /* Footer Center */
      
      
      .footer-distributed .footer-center {
      width: 30%;
      }
      
      .footer-distributed h3 {
      color: #ffffff;
      font: normal 36px 'Cookie', cursive;
      margin: 0;
      }
      
      
      .footer-distributed h3 span {
      color: #e0ac1c;
      }
      
      
      /* Footer Right */
      
      .footer-distributed .footer-right {
        width: 30%;
      }
      
      .footer-distributed .footer-company-about {
        line-height: 20px;
        color: #92999f;
        font-size: 13px;
        font-weight: normal;
        margin: 0;
      }
      
      .footer-distributed .footer-company-about span {
        display: block;
        color: #ffffff;
        font-size: 18px;
        font-weight: bold;
        margin-bottom: 20px;
      }
      
      .footer-distributed .footer-icons {
        margin-top: 25px;
      }
      
      .footer-distributed .footer-icons a {
        display: inline-block;
        width: 35px;
        height: 35px;
        cursor: pointer;
        background-color: #33383b;
        border-radius: 2px;
        font-size: 20px;
        color: #ffffff;
        text-align: center;
        line-height: 35px;
        margin-right: 3px;
        margin-bottom: 5px;
      }
      
      .footer-distributed .footer-icons a:hover {
        background-color: #3F71EA;
        transition: .5s;
        transform: scale(1.2);
      }
      
      .footer-links a:hover {
        color: #3F71EA;
        transition: .5s;
      }
      
      @media (max-width: 880px) {
        .footer-distributed .footer-left, .footer-distributed .footer-center, .footer-distributed .footer-right {
            display: block;
            width: 100%;
            margin-bottom: 40px;
            text-align: center;
        }
        .footer-distributed .footer-center i {
            margin-left: 0;
        }
      }       
          /*logo*/
    .mr{
        border: 2px solid #fafafa;
        border-radius:50% ;
        width: 5.5em;
        height: 5.5em;
        margin-left: 20px;
        }        
        .mr img{
        width: 5em;
        height: 5em;
        padding: 7px;
        }
        .tainor{
          display: flex;
          align-items: center;
          justify-content: center;
        }
        
        
        span{
          color: #fff724;
        }