img {
  display: block;
  max-width: 100%;
  height: auto;
}

body {
  background: #02031e url("../static/bg_gradient.png") center / cover no-repeat fixed;
  color: white;
  padding-top: 70px;
  padding-bottom: 70px;
}

a {
  text-decoration: none;
}

ol,
ul {
  padding: 0;
  margin: 0;
}

li {
  padding: 0;
  margin: 0;
  list-style: none;
}

footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 1000;
}

footer p {
  font-size: 14px;
  font-weight: normal;
  opacity: 0.8;
}

.hero-img {
  height: 170px;
  width: 170px;
}

.btn-group .nav-link {
  color: #828282;
}

.form-input:invalid {
  background-color: ivory;
  border: none;
  outline: 2px solid #ed1438;
}

.error-message {
  color: #ed1438;
  font-size: 14px;
  margin-bottom: 5px;
}

/* Previously available styles */

main.form-signin .container div.row {
  margin-bottom: 3em;
}

.signin-container {
  height: 100%;
  display: flex;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 40px;
  background-color: #ffffff;
}

.form-signin {
  width: 100%;
  max-width: 990px;
  padding: 15px;
  margin: auto;
  color: #828282;
}

.form-signin form {
  max-width: 330px;
  margin: 0 auto;
}

.form-signin form label span {
  font-size: 0.9em;
}

.form-signin .container {
  padding: 0;
}

.form-signin .checkbox {
  font-weight: 400;
}

.form-signin .form-floating:focus-within {
  z-index: 2;
}

.form-signin input[type='text'],
.form-signin input[type='password'],
.form-signin input[type='email'],
.form-signin input[type='tel'] {
  margin-bottom: -1px;
  border-radius: 0;
  border-color: #828282;
  height: 40px;
  /*font-size: 0.9em;*/
}

.expo-red {
  background: linear-gradient(312.71deg, #ed1438 1.23%, #ef3e5b 45.68%, #ff6a82 87.46%);
  color: #ffffff;
  border-color: #ed174b;
}

.expo-red:hover {
  color: #ffffff;
  background: linear-gradient(312.71deg, #ed1438 1.23%, #ef3e5b 45.68%, #ff6a82 87.46%);
  border-color: #ce0d3bff;
}

.guest-btn {
  color: #ff6a82;
  border-color: #ff6a82;
  border-width: 2px;
}

.guest-btn:hover {
  color: #ff6a82;
}

.c-red {
  color: #ed174b;
}

.sign-in-submit {
  border-radius: 1.5rem;
}

.active-link {
  color: #ed174b !important;
}

.forgot-link {
  color: #828282;
  display: block;
  padding: 0;
  text-decoration: none;
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
}

.forgot-link:hover {
  color: #ffffff;
}

.header-langs a.nav-link {
  color: #828282;
}

.logo-container {
  margin-top: 3em;
}

.main-logo {
  width: 330px;
  display: flex;
  margin: 0 auto;
}

.main-logo-font {
  font-family: Montserrat-Bold, serif;
  font-weight: bold;
  color: #252c64;
}

.upper-logo-text {
  font-size: 1.1em;
}

.upper-logo-text,
.lower-logo-text {
  text-align: left;
  margin: 0 auto;
  width: 330px;
}

.header-font {
  font-family: Montserrat-Regular, serif;
  font-weight: bold;
  color: #252c64;
}

.btn-logout {
  padding: 0.375rem 0.75rem;
  display: inline-block;
  color: #ffffff;
  background-color: #252c64;
  border: 1px solid #252c64;
  border-radius: 20px;
}

.btn-logout:hover {
  color: #ffffff;
  background-color: #31397aff;
}

.alert-wrapper {
  position: relative;
  margin: 0 auto;
}

.content {
  position: relative;
  padding: 25px;
}

.content-wrapper {
  max-width: 805px;
  margin: 0 auto;
}

.game-wrapper {
  height: 290px;
  width: 352px;
  position: relative;
  margin: 0 auto;
}

.game-wrapper img {
  width: 352px;
  height: 290px;
  border-radius: 10px;
}

.game-wrapper:hover div.launch-game {
  visibility: visible;
}

div.img-wrapper a:hover {
  opacity: 0.8;
}

.launch-game {
  position: absolute;
  top: 0;
  left: 0;
  width: 352px;
  height: 290px;
}

.launch-game .game-title {
  margin-top: 9%;
}

.launch-game .game-title span {
  color: white;
}

.launch-game .game-run {
  margin-top: 24%;
}

.launch-game .game-run .btn-game-run {
  border-radius: 20px;
  background-image: linear-gradient(120deg, #ffaf0c 0, #fff756 100%);
  cursor: pointer;
  width: 8em;
  border: none;
}

.launch-game .game-run-demo {
  margin-top: 18%;
}

.launch-game .game-run-demo .btn-game-run-demo {
  cursor: pointer;
  color: #7f7c83;
}

.game-tile {
  margin: 20px 0;
}

.game-wrapper:hover div.launch-game {
  visibility: visible;
}

.game-run-demo .btn-game-run-demo:hover {
  color: white;
}

.game-run-link {
  margin: 8px 0;
  text-align: center;
}

.game-run-link a {
  text-decoration: none;
}

.game-run-link span.main-logo-font:hover {
  color: #ed174b;
}

.pass-icon {
  top: 13px;
  right: 10px;
  position: absolute;
  cursor: pointer;
}

.pass-input {
  position: relative;
}

.iframe-container iframe {
  border: 0;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.btn-back {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  z-index: 1;
  position: absolute;
  top: 0;
  left: 0;
}

.icon-home {
  margin-top: 0.1em;
  font-size: 20px;
}

#inputAgreement {
  margin-right: 5px;
  vertical-align: -1px;
}

@media (max-width: 767px) {
  .bd-placeholder-img-lg {
    font-size: 3.5rem;
  }

  .logo-container,
  .main-logo,
  .upper-logo-text,
  .lower-logo-text {
    display: none;
  }

  .leaderboard-title {
    margin-left: 0;
  }
}

@media (max-height: 675px) {
  .signin-container {
    height: 100%;
    display: flex;
    align-items: center;
    padding-top: 60px;
    padding-bottom: 0;
    background-color: #ffffff;
  }

  main.form-signin .container div.row {
    margin-bottom: 0;
  }
}

@media (max-width: 432px) {
  .form-signin {
    padding-bottom: 60px;
  }
  .game-wrapper {
    height: 230px;
    width: 280px;
    position: relative;
    margin: 0 auto;
  }

  .game-wrapper img {
    height: 230px;
    width: 280px;
    border-radius: 10px;
  }

  .launch-game {
    visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    height: 230px;
    width: 280px;
  }
}
