.v-row {
  display: flex;
  flex-wrap: wrap;
}
.v-item {
  position: relative;
  width: 14rem;
  height: 14rem;
  padding: 1rem;
  order: 4;
}
.v-item.v-best-code {
  order: 3;
  background-color: #7fffd4;
}
.v-item.v-best-code::before {
  content: "Best Code";
  position: absolute;
  top: -1rem;
  left: 0;
  right: auto;
  bottom: auto;
  background: linear-gradient(#65d1ad, #7fffd4);
  color: #315b5d;
  line-height: 1;
  font-size: 1rem;
  padding: 0.2rem 0.4rem;
  border-radius: 0.4rem 0.4rem 0 0;
}
.count-winner .v-item:nth-child(1) {
  background-color: rgb(252, 237, 155);
  order: 0;
}
.count-winner .v-item:nth-child(1)::before {
  content: "Winner";
  position: absolute;
  top: -1rem;
  left: 0;
  right: auto;
  bottom: auto;
  background: linear-gradient(#d1c374, #fced9b);
  color: #000000;
  line-height: 1;
  font-size: 1rem;
  padding: 0.2rem 0.4rem;
  border-radius: 0.4rem 0.4rem 0 0;
}
.count-winner .v-item:nth-child(2) {
  background-color: rgb(228, 228, 228);
  order: 1;
}
.count-winner .v-item:nth-child(2)::before {
  content: "Runner-up";
  position: absolute;
  top: -1rem;
  left: 0;
  right: auto;
  bottom: auto;
  background: linear-gradient(#c1bfbf, #e4e4e4);
  color: #4f4f4f;
  line-height: 1;
  font-size: 1rem;
  padding: 0.2rem 0.4rem;
  border-radius: 0.4rem 0.4rem 0 0;
}
.count-winner .v-item:nth-child(3) {
  background-color: rgb(238, 202, 154);
  order: 2;
}
.count-winner .v-item:nth-child(3)::before {
  content: "3rd Winner";
  position: absolute;
  top: -1rem;
  left: 0;
  right: auto;
  bottom: auto;
  background: linear-gradient(#cdad82, #eeca9a);
  color: #6f5e48;
  line-height: 1;
  font-size: 1rem;
  padding: 0.2rem 0.4rem;
  border-radius: 0.4rem 0.4rem 0 0;
}
.v-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: white;
  border-radius: 100%;
  height: 100%;
  width: 100%;
}
.v-image-wrapper {
  overflow: hidden;
  border-radius: 100%;
  max-width: 100%;
}
.v-image {
  height: 100%;
  width: auto;
}
.v-name,
.v-play {
  display: flex;
  position: absolute;
  line-height: 1;
  border-radius: 0.5rem;
}
.v-name {
  font-size: 1.5rem;
  padding: 0.25rem 0.75rem;
  bottom: auto;
  right: auto;
  top: 1rem;
  left: auto;
  margin-left: 1rem;
  background-color: antiquewhite;
  background: rgba(0, 0, 0, 0.15); /* Must be semi-transparent */
  backdrop-filter: blur(10px); /* Blurs what's behind it */
  -webkit-backdrop-filter: blur(10px); /* For Safari support */
  color: white;
}
.v-play {
  font-size: 1rem;
  padding: 0.5rem 0.75rem;
  top: auto;
  right: auto;
  bottom: -0.5rem;
  left: auto;
  transition: all 0.3s ease-in-out;
  color: rgb(0, 255, 145);
  background-color: black;
}
.v-play:hover {
  background-color: rgb(0, 255, 145);
  color: black;
}
.v-avatar {
  height: 8rem;
}
.v-like {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  position: absolute;
  top: auto;
  bottom: auto;
  right: -1rem;
  left: auto;
  background-color: paleturquoise;
  border-radius: 100%;
  box-shadow: 0 0.1rem 0.5rem 0.1rem rgba(0, 0, 0, 0.1);
}
.v-like-btn {
  border: unset;
  background-color: unset;
  padding: 12px;
  filter: grayscale(1);
  transition: filter 0.3s ease-in-out;
}
.v-like-btn.active,
.v-like-btn:hover {
  filter: grayscale(0);
}
.v-like-img {
  height: 40px;
}
.v-count {
  position: absolute;
  top: 0;
  left: 0;
  right: auto;
  bottom: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 4rem;
  width: 4rem;
  font-size: 2rem;
  font-weight: bold;
  color: cadetblue;
  background-color: aquamarine;
  border-radius: 100%;
}
.v-avatar-btn {
  background: unset;
  border: unset;
}
.v-leaders {
  position: fixed;
  top: -300px;
  right: 0;
  left: 0;
  bottom: auto;
  height: auto;
  width: 100%;
  z-index: 99;
  opacity: 0;
  transition: all 1s ease-in-out;
  background: rgba(0, 0, 0, 0.15); /* Must be semi-transparent */
  backdrop-filter: blur(10px); /* Blurs what's behind it */
  -webkit-backdrop-filter: blur(10px); /* For Safari support */
  padding: 0.5rem 1rem;
}
.v-leaders.visible {
  top: 0;
  opacity: 1;
}
.v-leaders__outer-wrapper {
  display: flex;
  align-items: center;
}
.v-leaders__inner-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: 0.5rem;
}
.v-leaders__title {
  color: white;
  font-size: 2rem;
  font-weight: 900;
  text-transform: uppercase;
  font-style: italic;
  text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.7);
  display: block;
  line-height: 1;
}
.v-leaders__wrapper {
  display: flex;
  align-items: center;
  /* justify-content: space-around; */
  overflow-x: auto;
  overflow-y: hidden;
  /* 2. Hide for Firefox */
  scrollbar-width: none;
  /* 3. Hide for IE and old Edge */
  -ms-overflow-style: none;
}
.v-leaders__wrapper::-webkit-scrollbar {
  display: none;
}
.v-leaders__item {
  display: flex;
  align-items: center;
  margin: 0 1rem;
}
.v-leaders__item-img-wrap {
  position: relative;
  border-radius: 100%;
  overflow: hidden;
  min-height: 4rem;
  height: 4rem;
  min-width: 4rem;
  width: 4rem;
  background: #000000;
  color: #6bd7b3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.v-leaders__item-img-wrap::before {
  content: "Play\ANow";
  position: absolute;
  font-size: 0.9rem;
  margin-left: 0.4rem;
  width: 50%;
  line-height: 1;
}
.v-leaders__item-img-wrap:hover {
  color: #6bd7b3;
}
.v-leaders__item-img-wrap:hover .v-leaders__item-img {
  opacity: 0;
}
.v-leaders__item-img {
  height: 100%;
  width: 100%;
  z-index: 1;
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}
.v-leaders__item-score {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: aquamarine;
  z-index: 9;
  padding: 0.5rem;
  border-radius: 100%;
  height: 2rem;
  width: 2rem;
  margin-right: -0.75rem;
}
.v-leaders__item-participant {
  display: inline-flex;
  /* margin-left: 0.5rem; */
  color: white;
  background-color: black;
  color: aquamarine;
  padding: 0.1rem 0.4rem;
  border-radius: 0.4rem;
}
.v-leaders__item-place {
  /* width: 100%; */
  line-height: 1;
  color: white;
  text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.7);
}
@media (max-width: 767px) {
  .v-leaders {
    padding: 0.5rem 0;
  }
  .v-leaders__outer-wrapper {
    align-items: flex-start;
    flex-direction: column;
    padding-right: 0 !important;
  }
  .v-leaders__title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
  .v-leaders__item {
    margin: 0;
    margin-right: 0.75rem;
  }
  .v-leaders__item-img-wrap {
    min-height: 3rem;
    height: 3rem;
    min-width: 3rem;
    width: 3rem;
  }
  .v-leaders__item-participant {
    font-size: 0.75rem;
  }
  .v-leaders__item-score {
    height: 1.75rem;
    width: 1.75rem;
    /* font-size: 0.75rem; */
  }
  .v-item {
    width: 11.5rem;
    height: 11.5rem;
  }
}
.loading-text {
  font-size: 1.2rem;
}
.loading-text::after {
  position: absolute;
  top: auto;
  bottom: auto;
  left: auto;
  right: auto;
  content: "";
  animation: dots 2s steps(4, end) infinite;
}

@keyframes dots {
  0%,
  20% {
    content: "";
  }
  40% {
    content: ".";
  }
  60% {
    content: "..";
  }
  80%,
  100% {
    content: "...";
  }
}
#infoModal .modal-content {
  background: unset;
}
#infoModal .modal-header {
  border: unset;
  background: rgba(255, 255, 255, 0.6); /* Must be semi-transparent */
  backdrop-filter: blur(10px); /* Blurs what's behind it */
  -webkit-backdrop-filter: blur(10px); /* For Safari support */
}
#infoModal .modal-body {
  background: rgba(255, 255, 255, 0.5); /* Must be semi-transparent */
  backdrop-filter: blur(10px); /* Blurs what's behind it */
  -webkit-backdrop-filter: blur(10px); /* For Safari support */
}
#infoModal .v-leaders {
  position: relative;
  padding: 0;
  background: unset;
  backdrop-filter: unset;
}
#infoModal .v-leaders__item {
  flex: 0 0 calc(50% - 0.4rem);
  max-width: calc(50% - 0.4rem);
  background: rgba(255, 255, 255, 0.4);
  border-radius: 0.4rem;
  padding: 0.4rem;
  margin: 0.2rem;
}
#infoModal .v-leaders__item-score {
  height: 2rem;
  width: 2rem;
  margin-right: 0.4rem;
  position: relative;
}
#infoModal .v-leaders__item-score:after {
  content: "Votes";
  font-size: 0.6rem;
  position: absolute;
  top: auto;
  bottom: -0.1rem;
  left: 0.8rem;
  color: black;
  background: #7fffd4;
  line-height: 1;
  padding: 0.005rem 0.1rem;
  border-radius: 0.2rem;
}
#infoModal .v-leaders__item-img-wrap {
  height: 2rem;
  width: 2rem;
  min-width: 2rem;
  min-height: 2rem;
}
#infoModal .v-leaders__outer-wrapper {
  padding: 0;
}
#infoModal .v-leaders__inner-wrapper {
  flex-direction: row;
  align-items: center;
}
#infoModal .v-leaders__item-place {
  margin-right: 0.5rem;
  min-width: 2rem;
  color: black;
  text-shadow: unset;
}
