/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  background-color: #000;
  color: #fff;
}

a {
  color: #fff;
}
a:hover {
  text-decoration: none;
  color: #5a46ff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: inherit;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.5em;
}

/* Desktop */
h1 {
  font-size: 1.55rem;
}
h2 {
  font-size: 1.35rem;
}
h3 {
  font-size: 1.2rem;
}
h4 {
  font-size: 1.05rem;
}
h5 {
  font-size: 0.95rem;
}
h6 {
  font-size: 0.85rem;
}

/* Tablet */
@media (max-width: 992px) {
  h1 {
    font-size: 1.45rem;
  }
  h2 {
    font-size: 1.25rem;
  }
  h3 {
    font-size: 1.1rem;
  }
  h4 {
    font-size: 1rem;
  }
  h5 {
    font-size: 0.9rem;
  }
  h6 {
    font-size: 0.82rem;
  }
}

/* Mobile */
@media (max-width: 576px) {
  h1 {
    font-size: 1.3rem;
  }
  h2 {
    font-size: 1.15rem;
  }
  h3 {
    font-size: 1.05rem;
  }
  h4 {
    font-size: 0.95rem;
  }
  h5 {
    font-size: 0.88rem;
  }
  h6 {
    font-size: 0.8rem;
  }
}

.item_title {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.image_container {
  position: relative;
  text-align: center;
}

.bottom-left {
  position: absolute;
  bottom: 8px;
  left: 16px;
}

.top-left {
  position: absolute;
  top: 8px;
  left: 16px;
}

.top-right {
  position: absolute;
  top: 8px;
  right: 16px;
}

.bottom-right {
  position: absolute;
  bottom: 10px;
  right: 5px;
}

.centered {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.duration {
  font-size: 13px;
  background-color: rgba(0, 0, 0, 0.61);
  padding: 1px 3px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.isflex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #959595;
}

.isflex_item {
  display: flex;
  gap: 2px;
  align-items: center;
}

.items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 10px 10px;
}

.item a {
  display: block;
  background-color: #1b1210;
  border: 1px solid #212121;
  padding: 10px;
  border-radius: 10px;
  text-decoration: none;
  color: #fff;
}

.item a:hover {
  background-color: #000000;
}

.image {
  width: 100%;
  border-radius: 8px;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  list-style-type: none;
  padding: 0;
}

.pagination a,
.pagination button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  margin: 0 5px;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  color: #ffffff;
  background-color: #424242;
  border: 1px solid #2d2d2d;
  border-radius: 4px;
  cursor: pointer;
}

.pagination button:disabled {
  color: #999999;
  background-color: #1b1818;
  border-color: #262020;
  cursor: not-allowed;
  height: 40px;
}

.pagination a.prev,
.pagination a.next {
  color: #ffffff;
  background-color: #424242;
  border: 1px solid #2d2d2d;
  font-size: 16px;
  font-weight: bold;
  width: 50px;
}

.pagination a.prev:hover,
.pagination a.next:hover,
.pagination a:hover,
.pagination a:focus {
  background-color: #0f0f0f;
}

.pagination a svg,
.pagination button svg {
  vertical-align: middle;
}

.footer {
  background-color: #1b121078;
  border-top: 1px solid #212121;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: center;
  margin-top: 1em;
  text-align: center;
  width: 100%;
  padding: 1em;
}

.links {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  align-content: center;
  gap: 10px;
}

.links a {
  text-decoration: none;
  color: var(--text-color);
}

.db_description {
  margin-block: 1em;
  font-size: 14px;
  color: #c0c0c0;
}

.responsive-iframe {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.responsive-iframe iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.view_list {
  display: flex;
  align-items: center;
  gap: 1em;
  flex-wrap: wrap;
}
.view_list .flex {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background-color: #1b1210ac;
  border: 1px solid #222;
  padding: 3px 10px;
  border-radius: 10px;
  min-width: 120px;
}
.view_list .list_title {
  font-size: 13px;
  color: #6c6c6c;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  max-width: 120px;
}

.header {
  background-color: #100d0cc7;
  border-bottom: 1px solid #212121;
  padding: 2px 2%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1em;
  height: 60px;
}

.search {
  display: flex;
}

.search input {
  padding: 6px 30px 6px 10px;
  border-radius: 10px;
  border: 1px solid #444;
  background-color: #222;
  color: #fff;
  width: 200px;
  transition: width 0.3s ease;
}

.search button {
  background-color: #5a46ff;

  padding: 6px 12px;
  margin-left: 5px;
  border-radius: 10px;
  border: none;
  color: #fff;
  cursor: pointer;
}

.content {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  padding: 10px 1%;
  position: relative;
}
.sidebar {
  width: 200px;
  background-color: #30303080;
  border-radius: 10px;
  height: fit-content;
  position: sticky;
  top: 10px;

  padding-bottom: 10px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 5px;
  flex-direction: column;
  padding: 10px;
  font-size: 15px;
}

.nav-links li a {
  text-decoration: none;
  color: #fff;
  display: block;
  border-radius: 5px;
  background-color: #000;
  padding: 5px 12px;
}

.sidebar_heading {
  font-size: 18px;
  font-weight: bold;

  color: #5a46ff;
  text-align: center;
  border-top: 1px solid #2b2b2b;
  padding-top: 10px;
}

.categories {
  display: flex;
  gap: 5px;
  flex-direction: column;
  padding: 10px;
  font-size: 14px;
}

.category-item {
  text-decoration: none;
  color: #fff;
  display: block;
  border-radius: 5px;
  background-color: #000;
  padding: 2px 12px;
}
.category-item:hover {
  background-color: #000000;
}

.video_view_box {
  display: grid;
  gap: 10px;
  padding: 10px;
  grid-template-columns: 1fr 300px;
}

.video_details {
  max-width: 300px;
}

.page_content ul,
.page_content ol {
  margin: 0.5em 0 0.75em 1.1em;
  padding: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* List items */
.page_content ul li,
.page_content ol li {
  margin-bottom: 0.35em;
  margin-left: 1.1em;
}

/* Unordered list bullets */
.page_content ul {
  list-style-type: disc;
}

/* Ordered list numbers */
.page_content ol {
  list-style-type: decimal;
}

/* Nested lists */
.page_content ul ul,
.page_content ul ol,
.page_content ol ul,
.page_content ol ol {
  margin-top: 0.3em;
  margin-bottom: 0.3em;
  margin-left: 1.1em;
  font-size: 0.92rem;
}

.menu,
.search_btn {
  display: none;
}

.navFlex {
  display: flex;
  align-items: center;
  gap: 15px;
}

@media only screen and (max-width: 768px) {
  .search input {
    width: 160px;
  }
  .menu,
  .search_btn {
    width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: none;
    padding: 0px;
    border: none;
    color: #fff;
    cursor: pointer;
  }
  .sidebar {
    width: 100%;
    min-width: 300px;
    display: none;
  }

  .search {
    display: none;
  }

  .content {
    display: block;
    gap: 0px;
    padding: 0px;
    position: relative;
    margin-inline: 10px;
  }

  .video_view_box {
    display: block;
    padding: 0px;
  }

  .video_details {
    width: 100% !important;
    margin-top: 1em;
  }

  .view_list .flex {
    min-width: auto;
  }
}

.flex{
    display: flex;
    align-items: center;
flex-wrap:wrap;
gap:10px;
margin-top:1em;
}


.list_item{
border-radius: 5px;
    text-decoration: none;
 
 display: block;

 background:#050f2c;
padding:2px 5px;
 white-space: nowrap;
}
.abcd a {
    min-width:150px;
    max-width:150px;
    text-align:center;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
color:var(--text-color);
background:var(--nav);
text-decoration:none;
border-radius:5px;
}

.abcd a:hover{
background:red;
color:#fff;
}


.abcd {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-block: 1em;
}