@font-face {
  font-family: marker;
  src: url(/fonts/marker.ttf);
}

@font-face {
  font-family: avenir;
  src: url(/fonts/avenir.otf);
}

* {
  box-sizing: border-box;
}

body {
  padding: 0px;
  margin: 0px;
  font-family: avenir, Verdana;
}
.top-logo {
  /*background-image: url(/icons/login-logo.png);
    background-image: url(/icons/home-page-logo.svg);*/ /*homepage-logo.svg*/
  background-repeat: no-repeat;
  background-position-x: center;
  margin: 0 auto;
  position: flex;
  top: -11.558307533539733vh;
  z-index: 10;
}
@media screen and (min-device-width: 500px) {
  .top-logo {
    width: 25vh;
    height: 0vh;
    background-size: 25vh 20vh;
    background-position-y: -3.0959752321981426vh;
  }
}
@media screen and (max-device-width: 500px) {
  .top-logo {
    width: 100%;
    height: 0%;
    /*background-position-y: -13.415892672858616vh;*/
    background-size: 100% auto;
  }
}

.bottom-left-logo {
  background-image: url(/icons/by-logo.png);
  left: 45vh;
}
.bottom-right-logo {
  background-image: url(/icons/ryerson-logo.png);
  right: 45vh;
}
.bottom-logo {
  width: 15.479876160990711vh;
  height: 15.479876160990711vh;
  background-size: contain;
  /*position: fixed;*/
  bottom: 0px;
  pointer-events: none;
  z-index: -1;
  background-repeat: no-repeat;
  background-position: center;
}
@media screen and (min-device-width: 500px) {
  .bottom-logo {
    width: 10vh;
    height: 10vh;
    z-index: 10000;
  }
}

#container {
  height: 100%;
  /* top: 50%; */
  /* position: fixed; */
  /* margin-top: -300px; */
  text-align: center;
  width: -webkit-fill-available;
  width: -moz-available;
  font-family: avenir, Verdana;
  /* padding: 0px 50px; */
}
a {
  /* margin: 20px auto; */
  flex: 70%;
  position: relative;
  text-decoration: none;
  text-align: center;
  padding: 0vh 10.113519091847266vh;
  top: -36.119711042311664vh;
  color: black;
  font-size: 5.159958720330238vh;
  font-family: avenir, Verdana;
}

input,
button {
  font-size: 5.6759545923632615vh;
  font-family: avenir, Verdana;
}

b {
  font-size: 2.2703818369453046vh;
}
@media screen and (min-device-width: 500px) {
  a {
    flex: 70%;
    top: -15.479876160990711vh;
    position: relative;
    text-decoration: none;
    text-align: center;
    padding: 0vh 10.113519091847266vh;
    color: black;
    font-size: 3.0959752321981426vh;
    margin-bottom: 0.5vh;
  }
  input,
  button {
    font-size: 2vh;
  }
}

input {
  max-width: 100%;
  border: max(0.30959752321981426vh, 2px) solid black;
  border-radius: max(0.6191950464396285vh, 4px);
  padding: 0.20639834881320948vh 1.5479876160990713vh;
  margin: 0 0 0 0;
  text-align: center;
  font-size: max(2vh, 16px);
  min-width: max(30vh, 240px);
  min-height: max(3vh, 30px);
}

@media only screen and (max-width: 480px) {
  input {
    max-width: 100%;
    border: 0.30959752321981426vh solid black;
    border-radius: 0.6191950464396285vh;
    padding: 0.20639834881320948vh 1.5479876160990713vh;
    margin: 0 0 0 0;
    text-align: center;
    z-index: 100000000;
  }
}

.join-btn {
  background: black;
  color: white;
  border: none;
  border-radius: max(2.063983488132095vh, 10px);
  cursor: pointer;
  padding: 1.4447884416924666vh 5.159958720330238vh;
  margin-bottom: 1vh;
  margin-right: auto;
  font-size: max(2vh, 16px);
  min-width: max(24vh, 180px);
  min-height: max(3vh, 40px);
}

.tutorial-imgs {
  height: 55vh;
  width: 55vh;
  margin-left: 30%;
}

.video-tutorial-imgs {
  margin:0000;
}

.join-login-btn {
  background: black;
  color: white;
  border: none;
  border-radius: 2.063983488132095vh;
  cursor: pointer;
  padding: 1.4447884416924666vh 9.391124871001033vh;
  margin-bottom: 1vh;
  margin-left: auto;
  margin-right: auto;
}

.info-button {
  background: gray;
  border: none;
  width: 50%;
  padding: 1.3415892672858618vh 0vh;
  border-radius: max(1.3vh, 8px);
  color: white;
  margin: 0.5vh 0px;
  display: inline-block;
  font-size: max(1.9vh, 14px);
  cursor: pointer;
  min-width: max(15vh, 100px);
  min-height: max(3vh, 30px);
}

.center-ask-player-2 {
  border: none;
  padding: max(1.3415892672858618vh, 10px) 0vh;
  border-radius: 1.3vh;
  margin: 0.5vh 0px;
  display: inline-block;
  font-size: max(1.9vh, 12px);
}

@media only screen and (max-width: 480px) {
  .info-button {
    background: gray;
    border: none;
    padding: 1.3415892672858618vh 0vh;
    color: white;
    margin: 0.5vh 0px;
    display: inline-block;
    font-size: max(1.9vh, 12px);
    width: 70%;
  }
}

@media only screen and (min-width: 0px) and (max-width: 1356px) {
  .info-button {
    background: gray;
    border: none;
    padding: 1.3415892672858618vh 0vh;
    color: white;
    margin: 0.5vh 0px;
    display: inline-block;
    font-size: max(1.9vh, 12px);
    width: 30%;
  }

  .join-btn {
    background: black;
    color: white;
    border: none;
    cursor: pointer;
    padding: 1.4447884416924666vh 5.159958720330238vh;
    margin-bottom: 1vh;
    margin-right: auto;
    font: 2vh;
    /*width: 25vh;*/
  }

  .video-tutorial-imgs {
    margin: 0000;
  }

  .center-ask-player-2 {
    border: none;
    width: 100%;
    padding: max(1.3415892672858618vh, 10px) 0vh;
    border-radius: 1.3vh;
    margin: 0.5vh 0px;
    display: inline-block;
  }
}

@media only screen and (max-width: 300px) {
  .info-button {
    background: gray;
    border: none;
    padding: max(1.3415892672858618vh, 6px) 0vh;
    border-radius: 1.3vh;
    color: white;
    margin: 0.5vh 0px;
    display: inline-block;
    font-size: 1.9vh;
  }
}

@media screen and (min-device-width: 500px) {
  .info-button {
    width: 15vh;
    padding: 0.7223942208462333vh 0vh;
  }
}

.modal {
  position: fixed;
  /* z-index: 10000000; */
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background: #0000007d;
  font-family: avenir, Verdana;
  text-align: center;
  display: none;
}

span {
  position: relative;
  /* left: -200px; This is egregious and should not be done. */
}

.modal h1 {
  font-family: Marker;
  font-size: 3.579979360165119vh;
}

.modal h4 {
  font-family: avenir, Verdana;
  font-size: 1.5479876160990713vh;
  font-weight: 400;
}

.modal input {
  font-size: 2.1671826625387vh;
  margin: 0vh 1.8575851393188854vh;
  width: 100%;
  width: -moz-available; /* WebKit-based browsers will ignore this. */
  width: -webkit-fill-available; /* Mozilla-based browsers will ignore this. */
  width: fill-available;
}

.modal .btn {
  font-size: 2.1671826625387vh;
  margin: 0vh 1.8575851393188854vh;
  width: 100%;
  width: -moz-available; /* WebKit-based browsers will ignore this. */
  width: -webkit-fill-available; /* Mozilla-based browsers will ignore this. */
  width: fill-available;
  color: white;
  background: black;
  border: none;
  border-radius: 1.0319917440660475vh;
  cursor: pointer;
}

.modal .dismiss-btn {
  font-family: marker;
  font-size: 1.8575851393188854vh;
  position: absolute;
  right: 2.063983488132095vh;
  bottom: 2.063983488132095vh;
}

.modal-inner {
  background: white;
  border: 0.9287925696594427vh solid #e91e63;
  position: absolute;
  left: calc(50% - 40.479876160990711vh);
  top: calc(50% - 25.799793601651185vh);
  width: 90.959752321981423vh;
  height: 43.59958720330237vh;
  font-family: "Avenir";
}

@media screen and (max-device-width: 500px) {
  .modal h1 {
    font-family: Marker;
    font-size: 5vw;
  }
  .modal button {
    font-size: 7vw;
  }
  .modal-inner {
    left: calc(50% - 35vw);
    top: calc(50% - 35vw);
    width: 70vw;
    height: 70vw;
  }

  ul {
    height: 414.41px;
    width: 100%;
  }

  .modal button {
    font-size: 5vw;
  }

  .join-login-btn {
    padding: 0.0447884416924666vh 6.391124871001033vh;
  }
}

.bottom-banner {
  /*position: fixed;*/
  width: min(68vw, 82.5593395252838vh);
  height: 7.223942208462332vh;
  bottom: 0px;
  display: flex;
  flex-direction: row;
  margin: auto;
  /*left: calc(50% - min(41.2796697626419vh, 34vw)); */
  background: white;
  justify-content: space-evenly;
}

.mobile-ul-list {
  list-style-type: none;
  line-height: 0%;
  padding: 0 0 0 0;
  margin-top: -1em;
}

.bottom-item {
  flex-grow: 1;
  flex-basis: 0;
  font-size: 3.7151702786377707vh;
}

.bottom-link {
  position: unset;
  top: unset;
  left: unset;
  padding: 0.1vh 0.025vh;
  font-size: 3vh;
  font-weight: bold;
  margin-bottom: 15vh;
}

.hidden {
  display: none !important;
}

/* Research */

#research-modal > .modal-inner {
  width: 80vw;
  left: 0vw;
  max-width: 61.919504643962846vh;
  min-width: 61.919504643962846vh;
  height: auto !important;
  position: relative;
  margin: 0 auto;
  padding-bottom: 5.159958720330238vh;
  top: 1.0319917440660475vh;
}

#research-modal iframe {
  width: 100%;
  border: none;
}

.row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  flex-direction: row;
}

/*home page how to play gif*/
.home-page-tutorial {
  width: 50%;
  min-width: 450px;
  max-width: 450px; /* remove max-width from this and ".side" below, and change "#banner-gif" width to 100% for adaptive scaling */
}

.side {
  min-width: 450px;
  max-width: 450px;
  width: 50%;
  background-size: contain;
  justify-content: center;
  margin: 0 0 0 0;
  display: inline-block;
}

.very-bottom-items {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}

.bottom-new-users-banner {
  margin-left: 15vh;
  margin-right: 15vh;
  font-size: 1.3vh;
  display: none;
  cursor: pointer;
}

.bottom-new-users-banner-2 {
  margin-left: 10vh;
  margin-right: 10vh;
  font-size: 2vh;
}

.bottom-new-users-banner-3 {
  margin-left: 0vh;
  margin-right: 0vh;
  font-size: 1.3vh;
}

/* Previously inline and new CSS */

#back-btn {
  margin-top: 10px;
  margin-left: 79vh;
  margin-top: -9vh;
  margin-bottom: 4vh;
  height: 10%;
  width: 10%;
  cursor: pointer;
}

#new-text-new-player {
  display: none;
}

#username-2,
#password {
  margin-top: 10px;
  margin-right: 15vh;
  margin-left: 15vh;
}

.join-login-btn {
    margin-top: 10px;
}

#banner-gif {
    /*Change to 100% for image to scale w/ window size*/
    width: 450px;
}

#fs-slogan-wrapper {
    margin: 1.5em 0 0 0;
}

#fs-slogan {
    min-width: 300px; 
    height: auto;
}

#roomcode {
    margin-top: 10px;
}

#join-game-btn {
    margin-top: 20px;
}

#private-game-btn {
    cursor: pointer;
}

#create-user-btn {
    color: #0000ffad;
    cursor: pointer;
}

#enter-password-section {
  z-index: 10000;
}

#private-game-button-wrapper {
  display: none;
}

#review-form {
  max-width: 95%;
}