* {
  scroll-behavior: smooth;
}
:root {
  --bg-alt: #261a39;
  --pink: #fb49ff;
  --green: #00e5bc;
}
body {
  background-color: #111;
  position: relative;
}
.footer-bottom p {
  margin-bottom: 0 !important;
  padding-bottom: 10px;
}
.in_mobile{
  display: none;
}
#main {
  margin-top: -5svh;
}
.main-container {
  width: 80%;
  margin: auto;
}
.trophy-img {
  height: 30px;
  width: 30px;
  object-fit: contain;
}
.main-h1 {
  font-size: 34px;
  /* text-align: center; */
  z-index: 3;
  position: relative;
  background: linear-gradient(90.01deg, #6d4fc2 8.01%, #741f76 28.24%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: "Poppins", sans-serif;
  font-style: normal;
  font-weight: 600;
}

.pin-hackathond-card-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}
.pin-hackathond-card a {
  height: 180px;
  width: 355px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  transition: all 0.5s ease;
}
.pin-hackathond-card a:hover {
  scale: 1.01;
}
.pin-hackathond-card img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 5px;
  border: 2px solid rgb(185, 86, 255);
}

.hackathon-search input {
  color: #ffffff;
  font-weight: 500;
  font-size: 12px;
  line-height: 15px;
  width: 240px;
  background: #261a39;
  border-top-left-radius: 50px;
  border-bottom-left-radius: 50px;
  border: 1px transparent;
}

.hackathon-search-btn {
  /* color: #ffffff; */
  border-top-right-radius: 50px;
  border-bottom-right-radius: 50px;
  font-weight: 500;
  font-size: 12px;
  /* line-height: 15px; */
  background: linear-gradient(92.97deg, #6d4fc2 10.8%, #741f76 94.39%);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.hackathon-search-btn .search-text {
  color: #ffffff;
  border-top-right-radius: 50px;
  border-bottom-right-radius: 50px;
  font-weight: 500;
  font-size: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.hackathon-search-btn::before {
  content: "";
  position: absolute;
  left: 0em;
  width: 2em;
  height: 100%;
  top: 0;
  transition: transform 0.4s ease-in-out;
  background: linear-gradient(
    to right,
    transparent 1%,
    rgba(121, 133, 160, 0.592) 40%,
    rgba(121, 133, 160, 0.579) 60%,
    transparent 100%
  );
  transform: rotate(30deg);
  animation-duration: 0.6s;
  animation-name: leaderboardBtnANimation;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}
@keyframes leaderboardBtnANimation {
  0% {
    transform: translateX(0em);
  }
  100% {
    transform: translateX(4.2em);
  }
}
.hackathon-search-btn:hover::before {
  z-index: -1;
}
.hackathon-search-btn i {
  height: 25px;
  width: 25px;
  color: #fff;
  margin-top: 8px;
}
.hackathon-dropDown-btn {
  background: linear-gradient(117.78deg, #6d4fc2 -41.14%, #741f76 121.49%);
  border: 1px solid #451f4e;
  transform: scale(1);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
}
.hackathon-dropDown-btn i {
  font-weight: 700;
}
.hackathon-dropdown {
  background: #280032;
  border: 1px solid #451f4e;
  border-radius: 5px;
  padding: 8px 20px;
  font-weight: 500;
  font-size: 12px;
  line-height: 14px;
  color: #ffffff;
  position: absolute;
  z-index: 1;
  /* width: 110px; */
  display: none;
  z-index: 999;
}
.true {
  display: block;
}
.hackathon-dropdown-item {
  cursor: pointer;
}
.hackathonTable {
  border-collapse: collapse;
  font-family: "Inter", sans-serif;
  width: 100%;
  margin-bottom: 1rem;
  color: #212529;
}
.thead-tr {
  border-radius: 50px;
}
.hackathonTable thead tr th {
  color: #ffffff;
  font-weight: 600;
  font-size: 13px;
  line-height: 11px;
  /* border-top-left-radius: 5px;
  border-top-right-radius: 5px; */
  /* text-shadow: 0 1px 15px #00ffd1; */
}
.hackathonTable thead tr {
  /* background: #472a63; */
  background: linear-gradient(117.78deg, #6d4fc2 -41.14%, #741f76 121.49%);
}
.hackathonTable thead tr th:first-child {
  border-top-left-radius: 5px !important;
}
.hackathonTable thead tr th:last-child {
  border-top-right-radius: 5px !important;
}
.hackathonTable tbody tr:nth-of-type(odd) {
  background: #1e122a;
}
.hackathonTable tbody tr:nth-of-type(even) {
  background: #472a63;
}

tbody tr {
  transition: all 0.5s ease-in-out;
  cursor: pointer;
}
tbody tr:hover {
  transform: scale(1.02);
  transition: all 0.5s ease-in-out;
}
.hackathonTable tbody tr:hover {
  background: #fff !important;
}
.hackathonTable tbody tr:hover .hackathon-desc .hackathon-title,
.hackathonTable tbody tr:hover .participationText,
.hackathonTable tbody tr:hover .activeTimeLineBtn h1,
.hackathonTable tbody tr:hover .activeTimeLineBtn p {
  color: #1e122a;
}
.hackathonTable tbody tr:hover .activeTimeLineBtndiv {
  background: #fff;
}
.hackathonTable tbody tr:hover .round-img-logo img {
  border: 1px solid #1e122a;
}
.hackathonTable tbody tr:hover .hackathon-desc .hackathon-tags span p {
  color: #ffffff;
  background: #1e122a;
}

.round-img-icon img {
  height: 35px;
  width: 35px;
  border-radius: 50%;
  object-fit: contain;
}
.round-img-logo img {
  height: 50px;
  width: 50px;
  border-radius: 50%;
  object-fit: contain;
}
.hackathon-desc {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hackathon-desc .hackathon-title {
  font-weight: 500;
  font-size: 14px;
  line-height: 24px;
  text-align: left;
  color: #ffffff;
  transition: all 0.5s ease-in-out;
}
.hackathon-desc .hackathon-tags {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* glow effect css  */
.glow {
  position: relative;
  z-index: 3;
}
.glow::before {
  content: "";
  position: absolute;
  left: -1.5px;
  top: -1.5px;
  background: linear-gradient(
    -45deg,
    #00ff66,
    #00ffff,
    #ff00ff,
    #ff0099,
    #099fff
  );
  background-size: 400%;
  height: calc(100% + 3px);
  width: calc(100% + 3px);
  border-radius: 8px;
  z-index: -1;
  animation: change 40s linear infinite;
}

.gradient-button {
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(var(--bg-alt), var(--bg-alt)) padding-box,
    linear-gradient(to right, var(--green), var(--pink)) border-box;
  border-radius: 0.5rem;
  border: 0.15rem solid transparent;
}

.gradient-button:hover {
  background: linear-gradient(to right, var(--green), var(--pink)) border-box;
  color: var(--bg-alt);
  animation: gradientMove 2s infinite;
}

@keyframes change {
  0% {
    background-position: 0 0;
  }

  50% {
    background-position: 400% 0;
  }

  100% {
    background-position: 0 0;
  }
}
/* .glow::after {
  filter: blur(30px);
  opacity: 0.5;
} */
/* glow effect css end*/

.hackathon-desc .hackathon-tags span p {
  color: #fff;
  padding: 4px 8px;
  border-radius: 8px;
  background: #0a060e;
  font-size: 12px;
  z-index: 3;
  transition: all 0.5s ease-in-out;
}

.participationText {
  color: #868e96;
  font-size: 17px;
  font-weight: 700;
  line-height: 22px;
  width: 103px;
  transition: all 0.5s ease-in-out;
}
.rating-span {
  display: block;
}
/* .ratting-td{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
} */

.activeTimeLineBtndiv {
  background: #1e122a;
  padding: 0 5px;
  border-radius: 8px;
}
/* .activeTimeLineBtn span{
  font-weight: 500;
    font-size: 15px;
    line-height: 14px;
} */
.activeTimeLineBtn img {
  height: 35px;
  width: 35px;
  object-fit: contain;
}
.activeTimeLineBtn h1 {
  font-size: 36px;
  color: #fff;
  transition: all 0.5s ease-in-out;
}
.activeTimeLineBtn p {
  font-size: 17px;
  color: #fff;
  line-height: 15px;
  transition: all 0.5s ease-in-out;
}
.close-text p {
  font-size: 12px;
  line-height: 14px;
  width: 98px;
  transition: all 0.5s ease-in-out;
}
.v-a {
  vertical-align: middle !important;
}
/* .Rating-td{
  width: 15%;
}
.activeTimeLineBtn-td{
  width: 19%;
} */
.gradient-hackathon-leader-board-text {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  /* justify-content: center; */
}
/* .gradient-hackathon-leader-board-text img{
  height: 27px;
  width: 27px;
  object-fit: contain;
} */
.gradient-hackathon-leader-board-text h3 {
  background: linear-gradient(90.01deg, #6d4fc2 0.01%, #741f76 99.24%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: "Poppins", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 28px;
  /* line-height: 41px; */
}
.hackathon-leaderBoard-table .table tr {
  border-bottom: 0.5px solid #263559;
}
.hackathon-leaderBoard-table .table thead tr th {
  text-align: left;
  border-radius: 0px;
  font-size: 13px;
  font-weight: 700;
  line-height: 24px;
}
.hackathon-leaderBoard-table .table thead tr th:first-child {
  border-top-left-radius: 5px;
}
.hackathon-leaderBoard-table .table thead tr th:last-child {
  border-top-right-radius: 5px;
}
.hackathon-leaderBoard-table .table thead tr th .techies {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hackathon-leaderBoard-table thead tr th {
  color: #b5c0d3;
}
.hackathon-leaderBoard-table thead tr th span img {
  height: 25px;
  width: 25px;
  object-fit: contain;
}
.hackathon-leaderBoard-table .table thead tr th,
.rank-list-tr {
  background: #261a39;
}
/* .rankAndName p img{
  width: 26.66px;
    height: 28px;
    vertical-align: middle!important;
    margin-top: -6px;
} */
.rankAndNameCont {
  width: 110px;
}
.rankHolderImg img {
  height: 34px;
  width: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #4b096b;
}
.student-name p {
  font-size: 14px;
  font-weight: 700;
  line-height: 18px;
  color: #fff;
}
.student-name .user-name {
  font-size: 10px;
  font-weight: 500;
  line-height: 15px;
  color: #fff;
}
.Tech_Skill_td {
  vertical-align: middle !important;
}
.Tech_Skill_p {
  color: #b5c0d3;
  font-size: 16px;
  font-weight: 700;
}
.Proficiency_bar_td {
  vertical-align: middle !important;
}
.Proficiency_bar {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100px;
  margin: auto;
  position: relative;
}
.Proficiency_bar_pointer {
  position: absolute;
  bottom: -80%;
  left: var(--i);
  z-index: 99;
  color: #be89ff;
}
.Proficiency_bar p {
  font-size: 6px;
  color: #fff;
}
.Proficiency_bar .Proficiency_bar_red {
  height: 13px;
  width: 33.33%;
  background-color: yellow;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
}
.tooltip-content {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  background: #000;
  color: #fff;
  white-space: nowrap;
  padding: 4px 9px;
  border-radius: 7px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.5s ease;
  font-size: 12px !important;
}

.tooltip-content::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  border: 7px solid;
  border-color: #000 #0000 #0000 #0000;
}

.Proficiency_bar_red:hover #tooltip-content1 {
  top: -200%;
  visibility: visible;
  opacity: 1;
}

.Proficiency_bar .Proficiency_bar_yellow {
  height: 13px;
  width: 33.33%;
  background-color: rgb(255, 109, 12);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
}
.Proficiency_bar_yellow:hover #tooltip-content2 {
  top: -200%;
  visibility: visible;
  opacity: 1;
}
.Proficiency_bar .Proficiency_bar_green {
  height: 13px;
  width: 33.33%;
  background-color: #0cff50;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
}
.Proficiency_bar_green:hover #tooltip-content3 {
  top: -200%;
  visibility: visible;
  opacity: 1;
}

.table td,
.table th {
  border: none !important;
}

footer {
  padding-top: 4rem;
}

/* responsive code  */
@media screen and (max-width: 1362px) {
  .main-container {
    width: 96%;
  }
}
@media screen and (max-width: 1132px) {
  .main-container {
    width: 98%;
  }
}
@media screen and (max-width: 1103px) {
  .pin-hackathond-card a {
    height: 181px;
    width: 318px;
  }
  .hackathon-search input {
    width: 203px;
  }
  .round-img-icon img {
    height: 24px;
    width: 24px;
  }
  .round-img-logo {
    margin-left: 0.5rem !important;
  }
  .round-img-logo img {
    height: 40px;
    width: 40px;
  }
  .hackathon-desc {
    margin-left: 0.5rem !important;
  }
  .hackathon-desc .hackathon-tags span p {
    font-size: 10px;
  }
  .hack-name-tags-dets {
    width: 65% !important;
  }
  .participationText {
    width: 90px;
  }
  .close-text p {
    width: 87px;
  }
  .rankHolderImg img {
    height: 30px;
    width: 30px;
  }
  .Tech_Skill_p {
    font-size: 12px;
  }
  .leaderboard-col {
    max-width: 30% !important;
  }
  .hackathon-dropDown-btn {
    font-size: 12px;
  }
  .hackathon-search-btn::before {
    width: 1.4em;
  }
  .filter-search-cont {
    width: 98%;
  }
}
@media screen and (max-width: 993px) {
  .leaderboard-col {
    max-width: 100% !important;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hackathon-leaderBoard-table {
    width: 80%;
  }
  .Tech_Skill_p {
    font-size: 15px;
  }
  .main-h1 {
    text-align: center;
  }
}
@media screen and (max-width: 656px) {
  .pin-hackathond-card a {
    height: 161px;
    width: 260px;
  }
}
@media screen and (max-width: 624px) {
  .hackathon-desc .hackathon-tags {
    flex-wrap: wrap;
  }
}
@media screen and (max-width: 587px) {
  .filter-search-cont {
    width: 100% !important;
    flex-direction: column;
    gap: 20px;
  }
  .pin-hackathond-card a {
    height: 135px;
    width: 208px;
  }
  .hack-name-tags-dets {
    width: auto !important;
  }
}
@media screen and (max-width: 500px) {
  .not_in_mobile {
    display: none;
  }
  .in_mobile{
    display: block;
  }
  .hackathon-desc .hackathon-tags {
    display: none;
  }
  .activeTimeLineBtn {
    width: 135px;
  }
  .hackathonTable thead tr th {
    font-weight: 800;
    font-size: 14px;
    line-height: 11px;
    text-shadow: -1px 0px 20px #000000;
}
}
@media screen and (max-width: 472px) {
  .pin-hackathond-card-wrapper {
    flex-wrap: wrap;
  }
  .pin-hackathond-card a {
    height: 139px;
    width: 267px;
  }
  .hackathon-search {
    margin-left: -9px;
  }
}
