@import url("https://fonts.googleapis.com/css2?family=Oxanium:wght@200..800&family=Silkscreen:wght@400;700&display=swap");

/* Root */
:root {
  --blue-dark: #0a1627;
  --blue-light: #5aa5d9;
  --grey: #272d2d;
  --red: #fe0039;
  --yellow: #ffc700;
  --green: #6fcf97;
}

/* Base styles */
body {
  margin-top: 0;
  padding: 0;
  font-family: "Oxanium", sans-serif;
  color: var(--yellow);
  background-color: var(--grey);
}

main {
  margin-top: 100px;
  margin-bottom: 100px;
  padding-bottom: 150px;
}

ul {
  margin: 0px;
  padding: 0px;
}

li {
  list-style: none;
}

input {
  caret-color: var(--red);
}

/* Fonts */
.heading {
  font-family: "Silkscreen", sans-serif;
  color: var(--red);
  margin: 0;
  text-transform: uppercase;
}

.text-center {
  margin-bottom: 0;
}

.btn {
  font-family: "Silkscreen", sans-serif;
  text-transform: uppercase;
}

a,
.nav-link,
.navbar-nav {
  font-family: "Silkscreen", sans-serif;
  color: var(--red);
  text-decoration: none;
}

a:hover,
.nav-link:hover {
  color: var(--yellow);
}

/*  Navbar */
#navbar {
  background-color: var(--blue-dark) !important;
}

.navbar-toggler {
  background-color: var(--red);
}

.navbar-toggler:hover {
  background-color: var(--yellow);
}

/* Sections */
.area-overlay {
  background-color: rgba(0, 0, 0, 0.25);
  padding: 2rem;
}

.section-img {
  width: 100%;
  max-width: 400px;
  height: auto;
}

/* Game */
.game-board {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}

.card-display {
  display: flex;
  gap: 1.5rem;
}

.card {
  width: 150px;
  height: 250px;
  background-color: #ffffff;
  border: 5px solid var(--blue-dark);
  border-radius: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 40px;
}

.card-hidden {
  background-color: var(--red);
}

.arrow {
  width: 50px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  border-radius: 0.5rem;
  color: var(--blue-dark);
}

.arrow-up {
  background-color: var(--green);
}

.arrow-down {
  background-color: var(--blue-light);
}

/* Leaderboard */
.table {
  --bs-table-bg: var(--blue-dark);
  --bs-table-color: #fff;
  opacity: 0.5;
}

th,
td,
tbody,
thead {
  border: 1px solid #fff;
}

.leader-header {
  color: #fff;
}

.leaderboard {
  text-align: center;
  text-transform: uppercase;
  z-index: 2;
}
/* Contact */
.usercard {
  color: var(--yellow);
  background-color: var(--blue-dark);
  width: 250px;
}

.card-img-top {
  padding: 1.5rem;
}

.card-title {
  margin-top: -1.5rem;
}

.team {
  margin: 0 auto;
}

/* Buttons */
.btn-red {
  background-color: var(--red);
  color: var(--blue-dark);
}

.btn-social {
  background-color: var(--red);
  color: var(--blue-dark);
  width: 125px;
  margin: 0 0.5rem;
  margin-bottom: 16px;
}

.btn-contact {
  background-color: var(--red);
  color: var(--blue-dark);
  width: 75px;
  margin: 0.5rem 0.5rem;
}

.btn:hover {
  background-color: var(--yellow);
  color: var(--blue-dark);
}

/* Footer */
footer {
  background-color: var(--blue-dark);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 2;
}

/* Animation */
.context {
  width: 100%;
  top: 25vh;
  z-index: 10;
}

.area {
  width: 100%;
  height: 100%;
  z-index: 1;
}

.circles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.circles li {
  position: absolute;
  display: block;
  list-style: none;
  width: 20px;
  height: 20px;
  animation: animate 15s linear infinite;
  bottom: -150px;
}

.circles li:nth-child(1) {
  left: 25%;
  width: 10px;
  height: 10px;
  animation-delay: 0s;
}

.circles li:nth-child(2) {
  left: 10%;
  width: 20px;
  height: 20px;
  animation-delay: 2s;
  animation-duration: 12s;
}

.circles li:nth-child(3) {
  left: 70%;
  width: 20px;
  height: 20px;
  animation-delay: 4s;
}

.circles li:nth-child(4) {
  left: 40%;
  width: 60px;
  height: 60px;
  animation-delay: 0s;
  animation-duration: 18s;
}

.circles li:nth-child(5) {
  left: 65%;
  width: 20px;
  height: 20px;
  animation-delay: 0s;
}

.circles li:nth-child(6) {
  left: 75%;
  width: 110px;
  height: 110px;
  animation-delay: 3s;
}

.circles li:nth-child(7) {
  left: 35%;
  width: 150px;
  height: 150px;
  animation-delay: 7s;
}

.circles li:nth-child(8) {
  left: 50%;
  width: 25px;
  height: 25px;
  animation-delay: 15s;
  animation-duration: 40s;
}

.circles li:nth-child(9) {
  left: 20%;
  width: 15px;
  height: 15px;
  animation-delay: 2s;
  animation-duration: 30s;
}

.circles li:nth-child(10) {
  left: 85%;
  width: 150px;
  height: 150px;
  animation-delay: 0s;
  animation-duration: 11s;
}

@keyframes animate {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(-1000px) rotate(720deg);
    opacity: 0;
  }
}

@media screen and (max-width: 576px) {
  .card-hidden {
    display: none;
  }
}
