.page-container {
  flex-direction: column;
}

.login-header {
  text-align: center;
  font-size: 36px;
  margin-top: 11vh;
  margin-bottom: 20px;
}

.login-desc {
  text-align: center;
  font-size: 20px;
  margin-bottom: 60px;
}
@media screen and (max-width: 950px) {
  .login-desc {
    margin-bottom: 45px;
  }
}
@media screen and (max-width: 600px), (max-height: 950px) {
  .login-desc {
    margin-bottom: 35px;
  }
}

@media screen and (max-height: 1100px) {
  .login-header {
    margin-top: 5vh;
    font-size: 26px;
  }
}
@media screen and (max-height: 950px) {
  .login-header {
    margin-top: 0;
  }
}
.login-boxes {
  display: flex;
  justify-content: center;
  gap: 50px;
}

.login-box-container {
  display: flex;
  flex-direction: column;
  width: 220px;
  max-width: 220px;
  min-width: 220px;
}
.login-box-container .login-button {
  margin-top: 10px;
  white-space: nowrap;
  border: none;
}
.login-box-container .login-button span {
  font-size: 16px !important;
  font-family: "Red Hat Display", sans-serif;
}

.login-box {
  padding: 20px;
  background-color: rgba(45, 55, 71, 0.65);
  border-color: transparent;
  border-top-color: rgba(200, 200, 200, 0.1);
  border-left-color: rgba(200, 200, 200, 0.05);
  border-width: 1px;
  border-style: solid;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}
.login-box h1 {
  margin-top: 0;
  margin-bottom: 0;
}
.login-box .avatar {
  flex-shrink: 1;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.25);
  margin: 2vh 1.5vh;
  margin-bottom: 15px;
  width: 140px;
  height: 140px;
}
.login-box .username {
  font-size: 20px;
  max-height: 30px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  text-align: center;
}
.login-box .link {
  color: #2a7edd;
}
.login-box::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 0.12;
  background-size: 200% !important;
  background-position-y: 75% !important;
  background-position-x: 50% !important;
  background-repeat: no-repeat !important;
  z-index: -9999;
}
.login-box.steam::before {
  opacity: 0.08;
  background: url("/img/steam_logo.png");
}
.login-box.discord::before {
  background: url("/img/discord_logo.jpg");
  background-position-x: 30% !important;
}
.login-box.teamspeak::before {
  background: url("/img/teamspeak_logo.png");
  background-position-x: 30% !important;
}

.hint-box {
  align-items: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
  margin-top: 40px;
}
.hint-box div {
  padding: 4px 24px;
  border-radius: 6px;
  min-height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hint-box img {
  height: 20px;
}
.hint-box span {
  font-size: 20px;
  font-weight: 400;
}
.hint-box img {
  margin-right: 8px;
}

.relogin {
  align-items: center;
  justify-content: center;
  display: flex;
  margin-top: 15px;
}

@media screen and (max-width: 600px) {
  .login-box {
    padding: 15px;
  }
  .login-boxes {
    gap: 30px;
  }
  .login-box .avatar {
    width: 100px;
  }
  .login-desc {
    font-size: 16px;
  }
  .login-box-container {
    width: 180px;
    max-width: 180px;
    min-width: 180px;
  }
  .login-box-container .login-button span {
    font-size: 12px !important;
  }
  .hint-box span {
    font-size: 16px;
  }
}
@media screen and (max-width: 400px) {
  h1 {
    font-size: 20px;
  }
  .login-desc {
    font-size: 12px;
  }
  .login-box-container {
    width: 120px;
    max-width: 120px;
    min-width: 120px;
  }
  .login-box .avatar {
    width: 70px;
  }
  .login-box-container .login-button span {
    font-size: 10px !important;
  }
}
