* {
  padding: 0;
  margin: 0;
}

body {
  color: #fff;
  font-size: 1em;
  font-weight: 400;
  background: #0a0a13;
  font-family: system-ui;
}
a {
  color: #fff;
  cursor: pointer;
  text-decoration: none;
}

a:hover {
  color: #00d2ff;
}

.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
}

#goToTopBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99;
  background: 0;
  cursor: pointer;
  border: 0;
}
#goToTopBtn svg {
  font-size: 16px;
  padding: 10px;
  border: 0;
  background: linear-gradient(45deg, #00d2ff, #3a7bd5);
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
}
#goToTopBtn svg:hover {
  background: linear-gradient(45deg, #3a7bd5, #00d2ff);
}

.social-share {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.social {
  display: flex;
  align-items: center;
  gap: 1em;
}

.social_link {
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 5px;
}

.social_link:hover {
  color: #fff;
  transform: scale(1.1);
}

.twitter {
  background-color: #505050;
}

.facebook {
  background-color: #1877f2;
}

.youtube {
  background-color: #ff0000;
}

.instagram {
  background-color: #e1306c;
}

.m {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 10px;
}

.rate {
  float: left;
  height: 46px;
  text-align: left;
}

.rate:not(:checked) > input {
  position: absolute;
  display: none;
}

.rate:not(:checked) > label {
  float: right;
  width: 1em;
  overflow: hidden;
  white-space: nowrap;
  cursor: pointer;
  font-size: 40px;
  color: #ccc;
}

.rate:not(:checked) > label:before {
  content: "\2605";
}

.rate > input:checked ~ label,
.rate input[checked="checked"] ~ label {
  color: #ffc700;
}

.rate:not(:checked) > label:hover,
.rate:not(:checked) > label:hover ~ label {
  color: #deb217;
}

.rate > input:checked + label:hover,
.rate > input:checked + label:hover ~ label,
.rate > input:checked ~ label:hover,
.rate > input:checked ~ label:hover ~ label,
.rate > label:hover ~ input:checked ~ label {
  color: #c59b08;
}

.overall-rating {
  width: 100%;
  text-align: center;
  font-size: 14px;
  margin-top: 5px;
  color: #afacac;
}

.isflex {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.isflex h1 {
  margin: 0;

  padding: 0;
}

.outlinkbox {
  max-width: 500px;
  margin: 2em auto;
}

.outlink {
  background: linear-gradient(45deg, #00d2ff, #3a7bd5);
  padding: 15px 5px;
  border-radius: 10px;
  text-align: center;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 600;
}

.outlink:hover {
  background: linear-gradient(45deg, #3a7bd5, #00d2ff);
  color: #000;
}

.favorites_btn,
.fullscreenBtn,
.alert-danger,
.alert-success {
  border: 0px;
  padding: 10px;
  margin: 0px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px !important;
  min-width: 140px;
  border-radius: 5px;
}

.fullscreenBtn {
  background-color: #5700b3;
  cursor: pointer;
  display: none;
}

.favorites_btn {
  background-color: #0056b3;
  cursor: pointer;
}

.favorites_btn:hover {
  background-color: #000;
  cursor: pointer;
}

.alert-danger {
  background-color: #e1306c;
}

.alert-success {
  background-color: #00bf6f;
}

.share-btn {
  padding: 8px 0px;
  text-decoration: none;
  color: #fff;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 120px;
  text-align: center;
}

.share-btn:hover {
  background-color: #000;
  color: #fff;
}

.share-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.facebook {
  background-color: #3b5998;
}

.whatsapp {
  background-color: #25d366;
}

.twitter {
  background-color: #1da1f2;
}

.copy-btn {
  min-width: 120px;
  background-color: #ff5722;
  cursor: pointer;
  border: none;
  outline: none;
}

.socialfav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 5px;
}

.mainlist {
  display: grid;
  gap: 1em;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  margin: 0.6em;
}

.mainlist img {
  width: 100%;
  border-radius: 5px 5px 0px 0px;
  display: block;
  margin: 0px;
  padding: 0px;
}

.mainlist a {
  border: 1px solid rgba(0, 0, 0, 0.8);
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 5px;
  border: 2px solid #000;
}

.name {
  text-align: center;
  padding: 5px;
  font-weight: 600;

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

.mainlist a:hover {
  border: 2px solid #00d2ff;
  color: #00d2ff;
  border-radius: 5px;
}

.homehero {
  text-align: center;
  padding: 2.5em 1em;
  background-color: rgba(0, 0, 0, 0.1);
  margin-block: 1em;
  border-radius: 5px;
}

.footer_main {
  background-color: rgba(0, 0, 0, 0.4);
  padding: 2em 5px;
  color: #fff;
  padding: 1em;
}

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

.footer_links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 1em;
}

.copyrights {
  background-color: rgba(0, 0, 0, 0.8);
  padding: 1em;
  text-align: center;
  color: #fff;
}

.pagination {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.pagination a {
  padding: 10px 15px;
  margin: 0 5px;
  text-decoration: none;
  background-color: #000;
  color: #fff;
  border: 1px solid #333333;
  border-radius: 5px;
  transition: background-color 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pagination a:hover {
  background: linear-gradient(45deg, #00d2ff, #3a7bd5);
}

.pagination .disabled {
  pointer-events: none;
  background-color: #222;
  color: #999;
}

.pagination-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px 1em;
}

.mainView .description,
.mainView .instructions,
.mainView .tags {
  margin-block: 1em;
}

.mainView .description span,
.mainView .instructions span {
  margin-right: 1em;
  display: flex;
  align-items: end;
  gap: 5px;
  font-weight: bold;
}

.tags {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.tags a {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 5px 10px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.istype {
  background-color: #00bf6f;
  border-radius: 5px;
  padding: 5px 1em;
  max-width: fit-content;
  margin-bottom: 1em;
}

.information svg {
  width: 20px;
  height: 20px;
}
.is7030 {
  display: grid;
  grid-template-columns: 70% 30%;
  gap: 10px;
  margin-block: 1em;
}
.is3070 {
  display: grid;
  grid-template-columns: 30% 70%;
  gap: 10px;
  place-items: center;
}

@media (max-width: 992px) {
  .mainlist {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .mainlist {
    grid-template-columns: repeat(3, 1fr);
  }
}
.wrapper {
  display: flex;
  max-width: 1500px;
  margin: auto;
}

aside {
  min-width: 250px;
  position: -webkit-sticky; /* For Safari */
  position: sticky;
  top: 0;
  height: 100%; /* Full viewport height */
  background-color: rgba(0, 0, 0, 0.3);
  padding: 1em;
  margin-block: 1em;
  border-radius: 10px;
}

main {
  flex-grow: 1;
  padding: 20px; /* Optional: for spacing */
}

.navcontainer {
  max-width: 1500px;
  margin: auto;
}

aside a {
  display: block;
  margin-bottom: 1em;
  background-color: rgba(0, 0, 0, 0.2);
  padding: 10px;
  border-radius: 5px;
  text-align: center;
  border: 1px solid #000;
}

header {
  background-color: rgba(0, 0, 0, 0.3);
  color: white;
}

.nav_btn_search {
  padding: 0px;
  margin: 0px;
  border: none;
  box-shadow: none;
  outline: none;
  background: none;
  color: #fff;
  cursor: pointer;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
}

nav .logo {
  font-size: 1.5rem;
}

nav ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

nav ul li {
  margin-right: 30px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #00d2ff;
}

nav .checkbtn {
  font-size: 30px;
  color: white;
  cursor: pointer;
  display: none;
}

nav #check {
  display: none;
}

.menu-link {
  display: flex;
  align-items: center;
  gap: 5px;
}

.sticky-top {
  margin: 0px 10px;
}

.category {
  background-color: #002663;
  padding: 5px 15px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #fff;
  max-width: fit-content;
  border-radius: 5px;
  justify-content: center;
  margin-block: 1em;
}

.category:hover {
  color: #fff;
  background-color: #000;
}

artical {
  padding: 1em;
  display: block;
}

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

.blog_list {
  margin-bottom: 1.5rem;
  display: flex;
  gap: 1em;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.3);
  padding: 1em;
  border-radius: 10px;
}

.blog_list img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  min-width: 300px;
  max-width: 300px;
}

.blog_list h2 {
  margin: 0px;
  padding: 0px;
}

.flex_list2 {
  display: flex;
  gap: 1em;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.3);

  padding: 10px;
  border-radius: 10px;
  margin-bottom: 0.5rem;
}

.row {
  display: grid;
  grid-template-columns: 50% 50%;
  gap: 10px;
}

.h5 {
  font-size: 1.5em;
  font-weight: bold;
  margin-top: 1em;
  text-align: center;
  padding: 5px;
}

.rounded {
  border-radius: 5px;
}

.information {
  margin-block: 2em;
}
.information table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}
.information table,
.information th,
.information td {
  border: 1px solid #222;
  padding: 8px;
  text-align: left;
}
.information th {
  background-color: rgba(0, 0, 0, 0.3);
}
.information ul,
.information ol {
  margin-left: 20px;
}
.information h1,
.information h2,
.information h3,
.information h4,
.information h5,
.information h6 {
  margin-top: 20px;
  margin-bottom: 10px;
}
.imflex {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.beflex {
  display: flex;
  align-items: center;
  gap: 10px;

  margin: 10px;
}

.nofavimg {
  max-width: 800px;
  margin: auto;
}

.nofav {
  display: flex;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  gap: 1em;
}

.type {
  text-align: left;
}

.oktags {
  text-align: left;
  font-size: 13px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pad img {
  display: block;
  max-width: 100%;
  margin: auto;
}

.flex2 {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.h2 {
  padding: 10px;
}

.sidebox {
  display: grid;
  grid-row: span;
}

.fav2 {
  display: flex;
  justify-content: center;
}

/* Tablet (601px to 1024px) */
@media only screen and (min-width: 601px) and (max-width: 1024px) {
  aside {
    min-width: auto;
    max-width: 200px;
  }
}

/* Laptop (1025px to 1440px) */
@media only screen and (min-width: 1025px) and (max-width: 1440px) {
  /* Styles for laptops */
}

/* Large screens (1441px and above) */
@media only screen and (min-width: 1441px) {
  /* Styles for large desktops */
}

@media (max-width: 768px) {
  .pad img {
    display: block;
    max-width: 95%;
    margin: auto;
  }

  .blog_list img {
    width: 100%;

    aspect-ratio: 16/9;
    object-fit: cover;
    min-width: 100%;
    max-width: 100%;
  }

  .flex_list2 {
    margin: 5px;
    font-size: 14px;
  }

  .blog_list {
    flex-wrap: wrap;
    margin: 5px;
  }

  .information,
  .flex2 {
    padding: 10px;
  }

  .share-btn {
    min-width: 50px;
  }
  .hm {
    display: none;
  }

  .is7030,
  .is3070 {
    grid-template-columns: 100%;
  }

  aside {
    display: none;
  }

  main {
    padding: 0px;
  }

  .hb {
    width: 50px;
    margin: 2px auto 0;
    display: block;
    padding: 0;
  }

  nav .checkbtn {
    display: block;
  }

  nav ul {
    position: fixed;
    top: 80px;
    right: -100%;
    background-color: #000;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.3s;
    z-index: 9999;
  }

  nav ul li {
    margin: 20px 0;
  }

  nav ul li a {
    font-size: 20px;
  }

  nav #check:checked ~ ul {
    right: 0;
  }
}

@media (max-width: 480px) {
  .h2 {
    font-size: 20px;
  }

  .mainlist {
    grid-template-columns: 1fr;
  }

  .row {
    place-content: center;
    gap: 5px;
  }

  .socialfav,
  .social-share {
    justify-content: center;
  }
}

.favbox {
  position: relative;
  text-align: center;
  color: white;
}

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

.favdelete {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  color: red;
  cursor: pointer;
  padding: 5px;
  border-radius: 5px;
}

.iam60 {
  max-width: 400px;
  margin: auto;
}

.four_zero_four_bg {
  font-size: 30px;
}
.button-5 {
  align-items: center;
  background-color: #fa6400;
  border: 1px solid transparent;
  border-radius: 0.25rem;
  box-shadow: rgba(0, 0, 0, 0.02) 0 1px 3px 0;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  margin: 10px auto;
  display: block;
  padding: 10px;
  min-width: 280px;
}
.isflexBtn {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 10px;
}
.button-5:hover,
.button-5:focus {
  background-color: #fb8332;
  box-shadow: rgba(0, 0, 0, 0.1) 0 4px 12px;
  color: #000;
}

.contant_box_404 {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.searchbox {
  display: none;
}

.search-container {
  display: flex;
  width: 95%;
  max-width: 500px;
  margin: auto;
}

.search-input {
  flex-grow: 1;
  padding: 10px 15px;
  font-size: 16px;
  border: none;
  border-radius: 4px 0 0 4px;
  background-color: rgba(2, 4, 92, 0.2);
  color: #ccc;
  outline: none;
  box-shadow: inset 0 0 0 2px #0084ff;
}

.search-input::placeholder {
  color: #888;
}

.search-button {
  padding: 10px 20px;
  font-size: 16px;
  border: none;
  border-radius: 0 4px 4px 0;
  background-color: #0084ff;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s ease;
  outline: none;
}

.search-button:hover {
  background-color: #0066cc;
}

.search-button:focus-visible {
  box-shadow: 0 0 0 2px #1a1a1a, 0 0 0 4px #0084ff;
}

.search-button:active {
  background-color: #0052a3;
}

.thumb {
  aspect-ratio: 16/9;
}

.favicon img {
  width: 50px;
  border-radius: 50%;
  aspect-ratio: 1/1;
  object-fit: cover;
  background-color: rgba(0, 0, 0, 0.5);
}

.catlist {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.catlist a {
  display: block;
  min-width: 250px;
  background-color: rgba(0, 0, 0, 0.8);
  border-radius: 5px;
  border: 1px solid #000;
  padding: 5px;
  text-align: center;
}



.codehap_container{
    display:flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap:5px;
    background: rgba(0,0,0,0.5);
    padding: 1em;
    border:1px solid #222;
     border-radius: 5px;
}

.codehap_container button{
     background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    padding: 5px 1em;
    min-width: 100px;
}

.codehap_pre{
    font-weight: 600;
    font-size: 18px;
}
