body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  height: 100vh;
}

.centre-content {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  gap: 5vh;
}

.title {
  color: #f3f3f3;
  font-family: "Jersey 15", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: min(clamp(20px, 15vh, 100px),
                clamp(20px, 20vw, 100px));
  margin: 0;
}

.menu {
  background-color: #231641;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: clamp(150px, 80vw, 320px);
  padding: 20px;
  border-radius: 12px;
  gap: clamp(5px, 2vh, 12px);
}

#start-btn {
  width: 100%;
  padding: 10px;
  font-size: 22px;
}

#join-btn {
  width: 40%;
  padding: 10px;
  font-size: 22px;
}

#back-btn {
  padding: 7px;
  padding-inline: 20px;
  font-size: 18px;
  margin-bottom: 15px
}

#submit-btn {
  width: 100%;
  padding: 10px;
  font-size: 22px;
}

#text-separator {
  font-weight: 700;
  margin: 3px 0;
}

#name-input-menu-title {
  font-size: 22px;
  margin-top: 0px;
  margin-bottom: 15px;
}

#game-code-error {
  margin-bottom: 0px;
}

#name-error {
  margin-bottom: 0px;
}

.join-container {
  display: flex;
  justify-content: space-between;
  gap: 5px;
}

.title-container {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

#player-name-input {
  margin-bottom: 10px;
  height: 50px;
}

.carousel {
  margin: 0;
  width: 100vw;
  padding: 20px 0;
  overflow: hidden;
  display: flex;

  >* {
    flex: 0 0 100%;
  }
}

.card {
  opacity: 0.6;
}

.card_img {
  height: clamp(50px, 20vh, 150px);
}

@media (max-height: 470px) {
  .card_img {
    display: none;
  }
}

.card:nth-child(odd) {
  transform: rotate(-1deg);
}

.card:nth-child(even) {
  transform: rotate(1deg);
}

.card-group {
  display: flex;
  gap: 12px;
  padding-right: 12px;
  will-change: transform;
  animation: scrolling 20s linear infinite;
}

@keyframes scrolling {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

#top-group {
  animation-direction: reverse;
}