  body {
      font-family: 'Open Sans', sans-serif;
      margin: 4%;
      padding: 1rem;
      /* background: linear-gradient(135deg, #5815e9, #e8d9ff); */
      /* background: linear-gradient(135deg, #997bd9, #e8d9ff); */
      background: linear-gradient(135deg, #111112, #070110);
      color: #fff;
    }
    

    h1, h2 {
      font-family: 'Orbitron', sans-serif;
      text-align: center;
      color: #ffcc00;
      /* color:rgb(66, 13, 240); */
    }
    h1 {
        font-size: 3rem;
    }
    .caption {
      text-align: center;
      margin-bottom: 2rem;
      color: #ddd;
    }

    .leaderboard {
      margin-bottom: 2rem;
    
    }

    .top-subjects {
      display: flex;
      justify-content: center;
      gap: 2rem;
      flex-wrap: wrap;
    }

.subject-card {
      border-radius: 15px;
      padding: 1.5rem 1rem;
      width: 200px;
      text-align: center;
      box-shadow: 0 4px 15px rgba(0,0,0,0.3);
      transition: transform 0.3s ease;
      position: relative;
      font-family: 'Open Sans', sans-serif;
    }

.subject-card:hover {
  transform: scale(1.05);
}

       .top-subjects-name {
        /* text-shadow: 0 0 5px #e9ecdd, 0 0 10px #8e2de2, 0 0 15px #4a00e0;  */
        letter-spacing: 1px;
        font-family: sans-serif;
        font-size: 1.7rem;
        font-weight: bold;
        color:white;
       }

.rank-1 {
      background: linear-gradient(145deg, #ec0c66, #5416dc);
      color: #000;
      
    }

    .rank-2 {
      background: linear-gradient(145deg, #ec0c66, #5416dc);
      color: #000;
    }

    .rank-3 {
      background: linear-gradient(145deg, #ec0c66, #5416dc);
      color: #000;
    }

    .badge {
      font-size: 5rem;
      display: block;
      margin-bottom: 0.5rem;
    }
    .votes {
      font-weight: bold;
      font-size: rem;
      color: #ffcc00;
    }

    table {
      width: 100%;
      background: #1a0033;
      border-collapse: collapse;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    }

    th, td {
      padding: 1rem;
      text-align: left;
      color: #fff;
      font-size:18px;
    }

    th {
      background: #a26fdc;
      font-family: 'Orbitron', sans-serif;
    }

    td img {
      width: 20px;
      vertical-align: middle;
      margin-right: 0.5rem;
    }

.bar {
  height: 20px;
  border-radius: 5px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 0 2px #9c6eff; /* border-style effect */
}

.bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #500fe7, #e540b6);
  border-radius: 5px;
  transition: width 0.6s ease-in-out;
  text-align: center;
  color: #fffff;
  font-weight: bold;
  line-height: 20px;
}


    .vote {
      background: #f80998;
      color: white;
      border: none;
      border-radius: 8px;
      padding: 0.5rem 1rem;
      cursor: pointer;
      transition: background 0.3s ease;
      width:6rem;
      font-size:18px;
    }

    .vote:hover {
      background:#5416dc;
    }

    /* Mobile media queries */
   /* Small phones (320px–375px) */
@media only screen and (max-width: 375px) {
  body {
    padding: 1rem 0.5rem;
    overflow-x: hidden;
  }

  header,
  .leaderboard,
  .rankings {
    width: 100%;
    margin: 0 auto;
  }

  .top-subjects {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
  }

  .subject-card {
    width: 95%;
    padding: 1rem;
  }

  table {
    font-size: 0.85rem;
    width: 100%;
  }

  .bar {
    font-size: 0.7rem;
  }

  .vote {
    padding: 0.4rem 0.8rem;
    /* font-size: 0.8rem; */
  }
  
@media (max-width: 430px) {
  .footer {
    font-size: 0.85rem;
    padding: 1.2rem 0.75rem;
  }

  .footer .disclaimer {
    padding: 0;
    text-align: left;
  }
}
}
.share-button {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgb(66, 13, 240);
  width: 200px;
  height: 50px;
  border-radius: 10px;
  font-size: 18px;
  outline: 3px solid #270092;
  cursor: pointer;
  transition: ease-out .5s;
  
}

.share-button:hover {
  width: 180px;
  height: 60px;
  outline-offset: 4px;
  transform: scale(1.3) rotate(2deg);
  background-color: blue;
  box-shadow: 5px 20px #cdcbd4
}

.icon {
  color: #270092;
  margin-right: 5px;
}

.share {
  margin-left: 5px;
  color: #fff;
}




.link {
 color:#f80998;
}
.logo {
  max-height: 80px;
  height: auto;
  width: auto;
  object-fit: contain;
  max-width: 150px;
  margin:6px;
}
.site-header {
  padding: 1rem;
  margin:auto;

}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-left a {
  text-decoration: underline;
}
.header-left {
  display: flex;
  align-items: center;
  /* background: rgba(155, 148, 198, 0.916); */
  background: linear-gradient(90deg, #8c65e7, #e87ac9);
  padding: 0.2rem 1rem;
  border-radius: 6px;
  gap: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
@media (max-width: 480px) {
  .header-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-right {
    align-self: flex-end;
    margin-top: 10px;
  }

  .logo {
    height: 30px;
    max-width: 80px;
  }

  .header-left {
    justify-content: center;
  }
}
/* newww */
footer {
  text-align: center;
  padding: 1.5rem 1rem;
  color: #eee;
  font-size: 0.9rem;
  line-height: 1.4;
}

.footer .heart {
  color: red;
}

.footer .linkedin-link {
  text-decoration: none;
  font-weight: bold;
  color:#ec0c66;

}

.footer .disclaimer {
  margin-top: 0.75rem;
  margin-bottom: 0;
  padding: 0 1rem;
  color:#ffffff;
}
/* From Uiverse.io by vinodjangid07 */ 
.card {
  width: fit-content;
  height: fit-content;
  /* background-color: rgb(238, 238, 238); */
  background: linear-gradient(90deg, #8c65e7, #e87ac9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px 25px;
  gap: 20px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.055);
  margin-top:50px;
  margin-right:10px;
  margin-left:10px;
}

/* for all social containers*/
.socialContainer {
  width: 52px;
  height: 52px;
  background-color: rgb(44, 44, 44);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition-duration: .3s;
}
/* instagram*/
.containerOne:hover {
  background-color: #d62976;
  transition-duration: .3s;
}
/* twitter*/
.containerTwo:hover {
  background-color: #00acee;
  transition-duration: .3s;
}
/* linkdin*/
.containerThree:hover {
  background-color: #0072b1;
  transition-duration: .3s;
}
/* Whatsapp*/
.containerFour:hover {
  background-color: #128C7E;
  transition-duration: .3s;
}

.socialContainer:active {
  transform: scale(0.9);
  transition-duration: .3s;
}

.socialSvg {
  width: 17px;
}

.socialSvg path {
  fill: rgb(255, 255, 255);
}

.socialContainer:hover .socialSvg {
  animation: slide-in-top 0.3s both;
}

/* @keyframes slide-in-top {
  0% {
    transform: translateY(-50px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }

body {
  overflow-x: hidden;
}
} */
 @keyframes slide-in-top {
  0% {
    transform: translateY(-50px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}


@media (max-width: 430px) {
  .footer {
    font-size: 0.85rem;
    padding: 1.2rem 0.75rem;
  }
.body {
  overflow-x: hidden;
}
  .footer .disclaimer {
    padding: 0;
    text-align: left;
  }
}
.top-subjects {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
@media only screen and (max-width: 768px) {
  .top-subjects {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
  }

}