@import url("https://fonts.googleapis.com/css2?family=Italianno&family=League+Script&family=Major+Mono+Display&display=swap");

:root {
  --color: #f5ce45;
  --color-2: rgba(255, 255, 255, 0.097);
  --line-width: 5px;
  --line-colour-1: #352870;
  --line-colour-2: #f5ce45;
}

#tournament-wrappper div,
#tournament-wrappper span {
  font-family: "Major Mono Display";
}

.registered-players{
    font-family: "Major Mono Display";
}

#register-btn-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}
#tournament-info {
  padding: 20px;
  border-radius: 20px;
  background-color: #13132a;
  box-shadow: 0 0 20px #373774;
  border: solid 2px #eb5497;
}
#mobile-break {
  display: none;
}

.mobile-break {
  display: none;
}

.registration-timer-container {
  font-size: 150%;
}

.round-remaining-container {
  font-size: 200%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  padding: 10px;
}

.group-table-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.group-table {
  width: fit-content;
  background-color: #13132a;
  border-radius: 15px;
  border-collapse: separate;
  padding: 0;
  margin-top: 20px;
  border-spacing: 0;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.214);
}

.group-table td {
  border-right: solid 1px green;
}

.group-table th {
  border: solid 1px green;
  border-left: 0px;
  border-right: 0px;
}

.group-table th:last-child {
  border-top-right-radius: 15px;
  border-right: solid 1px green;
}

.group-table th:first-child {
  border-left: solid 1px green;
  border-top-left-radius: 15px;
}

.group-table tr td:last-child {
  border-right: solid 0px transparent;
}

.group-table tr:last-child {
  padding-bottom: 10px;
}

.group-table th {
  padding: 10px 15px 10px;
}

.dot {
  display: inline-block;
  height: 15px;
  width: 15px;
  border-radius: 50%;
}
.qualifier {
  background-color: rgba(51, 193, 91, 0.2);
}

.B-qualifier {
  background-color: rgba(245, 206, 69, 0.2);
}

.C-qualifier {
  background-color: rgba(235, 84, 151, 0.2);
}

td {
  padding: 2px 10px;
  height: 100%;
}

.one-shot-time,
.best-word {
  font-size: 80%;
  display: inline-flex;
  justify-content: center;
  height: 100%;
  align-items: center;
}

td span {
  display: inline-block;
  height: 100%;
}
.th-small {
  font-size: 80%;
}
.match-container {
  display: flex;
  justify-content: center;
  width: 400px;
  margin-top: 0px;
}
.match {
  border-radius: 30px;
  margin: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  width: 100%;
  flex-direction: column;
  border: 1px solid #eb539e;
  box-shadow: 0 0 3px #eb539e;
  position: relative;
  background-color: #13132a;
}

.result-in {
  border: 1px solid #f5ce45;
  box-shadow: 0 0 6px #f5ce45;
}

.results-in {
  border: 1px solid #33c15b;
  box-shadow: 0 0 10px #33c15b;
}

.match table tr td:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: left;
}

.hide-group {
  display: none;
}

.match-container.hidden {
  display: none;
}

.active-group {
    border-radius: 10px;
border: solid 1px;
  border-color:#71bbe9;
}

.active {
  color: #33c15b;
}

.player-score {
  display: flex;
  align-items: center;
}

.small {
  font-size: 60%;
}

h3 {
  text-align: center;
}

.tournament-description,
.registration-time-remaining {
  justify-content: space-around;
  padding: 10px 20px;
  padding: 20px;
}

ul {
  width: fit-content;
}

.registration-closed span,
.registration-time-remaining span {
  text-align: left;
  width: fit-content;
}

.tournament-description {
  display: flex;
  justify-content: center;
  text-align: center;
  flex-direction: column;
  align-items: center;
  font-family: "Major Mono Display";
}

.tournament-description div {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 800px;
  text-align: left;
}

.tournament-description h4 {
  margin-bottom: 5px;
  margin-top: 10px;
  display: flex;
  justify-content: center;
}

li {
  text-align: left;
}

.registration-closed {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-content: center;
  justify-content: center;
}

form {
  display: flex;
  justify-content: center;
}

.match-details {
  margin-top: 10px;
  padding: 8px;
  border-radius: 10px;
  width: fit-content;
  font-weight: bold;
  background-color: #352870;
}

.play-now,
.tournament-register-button {
  width: fit-content;
  font-weight: bold;
  font-size: 100%;
  border-radius: 10px;
  padding: 1px 2px;
  border-width: 4px;
}

.tournament-register-button {
  border-radius: 30px;
  font-size: 130%;
  padding: 5px 10px 5px;
  background: none;
  border-color: #eb539e;
  box-shadow: 0 0 10px #eb539e;
  margin: 20px;
}

.tournament-register-button:hover {
  box-shadow: 0 0 20px #eb539e;
}

.button-registered {
  border-color: #33c15b;
  box-shadow: 0 0 10px #33c15b;
}

.button-registered:hover {
  box-shadow: 0 0 20px #33c15b;
}

.round-header {
  padding: 5px 3px;
  flex-shrink: 0 !important;
  width: 350px;
  text-align: center;
  margin: 20px;
  margin-top: 0;
  color: #1b1835;
  border-radius: 30px;
  background: none;
  box-shadow: 0 0 20px #373774;
  border: solid 1px #71bbe9;
}

.round {
  text-align: center;
}

.time-remaining {
  padding: 10px;
  font-size: 130%;
}

.tournament-title {
  font-family: monoton;
  text-align: center;
}

.match-player {
  font-size: 120%;
  padding-right: 20px;
  text-align: left;
}

.match-result {
  font-size: 120%;
}

.image-container {
  position: relative;
  display: inline-block; /* Make sure the container wraps around the image */
}

.centered-text {
  border-radius: 15px;
  background-color: rgba(19, 19, 42, 0.3);
  position: absolute;
  top: 50%; /* Move the text to the middle vertically */
  left: 50%; /* Move the text to the middle horizontally */
  transform: translate(
    -50%,
    -50%
  ); /* Adjust the position to perfectly center */
  color: white; /* You can change the text color */
  font-size: 24px; /* Adjust the font size */
  font-weight: bold; /* Make the text stand out */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 1); /* Optional: Add some shadow for better visibility */
}

.winner {
  padding-top: 20px;
  font-weight: bold;
  font-size: 110%;
  font-style: italic;
  text-shadow: 0px 0px 5px var(--color-2), -0px -0px 5px var(--color-2),
    0px -0px 5px var(--color-2), -0px 0px 5px var(--color-2);
}

.blue {
  text-shadow: 2px 2px 6px rgb(38, 76, 146), -2px -2px 6px rgb(38, 76, 146),
    2px -2px 6px rgb(38, 76, 146), -2px 2px 6px rgb(38, 76, 146);
  color: rgb(113, 187, 233);
}
.no-tournament {
  font-size: 150%;
}

.registered-players {
  padding-top: 15px;
  font-size: 80%;
}

#register-msg {
  text-align: center;
}

.registered-player {
  display: flex;
  justify-content: left;
  align-items: center;
  padding: 10px;
  font-family: "Major Mono Display";
}

#registered-players-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

#registered-players-box {
  padding: 20px 120px;
  margin-top: 10px;
  border-radius: 10px;
  background-color: rgba(0, 0, 0, 0.2);
}

.group-link {
  padding-right: 10px;
  padding-left: 10px;
}

@media screen and (max-width: 578px) {
  .group-table {
    font-size: 70%;
    margin:10px;
  }
  .registered-players h3{
    font-size:150%;
    font-weight: bold;
  }
  .match{
    font-size:70%;
  }
  #mobile-break {
    display: initial;
  }
  .round-remaining-container {
    flex-direction: column;
  }
  .mobile-break {
    display: initial;
  }
  #fireworks {
    width: 80vw;
  }
  .group-link {
    padding-right: 5px;
    padding-left: 5px;
  }

  .tournament-description {
    font-size: 80%;
  }

  .tournament-description h4 {
    font-size: 130%;
  }
}
