@import url(https://fonts.googleapis.com/css2?family=Mochiy+Pop+One&display=swap);
body {
  overflow-y: scroll;
  font-family: 'Mochiy Pop One',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    'Roboto',
    'Oxygen',
    'Ubuntu',
    'Cantarell',
    'Fira Sans',
    'Droid Sans',
    'Helvetica Neue',
    sans-serif;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  width: 100%;
  background: url(/12c129e49418126bfa4b.jpg) repeat;
}

#root {
  user-select: none;
  touch-action: none;
}

* {
  padding: 0px;
  margin: 0px;
}
  #pageGame {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: stretch;
  }

  .fieldContainer {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0px;
    min-height: 0px;
  }

  #gameControls {
    position: relative;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 10px;
    margin-left: 10px;
  }

  #scoreBoard {
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
  }

  #launchBar {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    width: 110px;
    height: 90px;
    overflow: hidden;
    font-size: medium;
    overflow-wrap: break-word;
  }

  #topBar {
    display: flex;
    width: 100%;
    align-items: flex-start;
    flex-direction: row;
  }

  #topBarActions {
    display: flex;
    width: 100%;
    align-items: flex-start;
    justify-content: space-between;
    flex-direction: row;
  }

  .launchBarText {
    font-size: small;
  }

  #bannerContainerVertical {
    display: flex;
    box-sizing: border-box;
    flex-grow: 1;
    height: 50px;
    margin: 0 auto;
    overflow: hidden;
  }

  #bannerContainerHorizontal {
    display: none;
  }

  .playerCard {
    display: flex;
    flex-direction: row;
    align-items: center;
    overflow: hidden;
  }

  .playerCardReverse {
    flex-direction: row-reverse;
  }

  .playerName {
    margin-bottom: 5px;
    font-size: small;
    width: 100px;
  }

  .playerNameScoreCard {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #view {
    z-index: 10;
    max-width: 100%;
    max-height: 100%;
    aspect-ratio: 8/6;
    touch-action: none;
  }

  .loading {
    position: absolute;
    z-index: 100;
    width: 100%;
    height: 50%;
  }

  .playerAvatar {
    width: 50px;
    height: 50px;
    margin: 10px;
  }

  @media (min-aspect-ratio: 3/2) {
    #pageGame {
      flex-direction: row;
    }

    #scoreBoard {
      margin-bottom: 10px;
    }

    #topBar {
      flex-direction: column;
      flex-grow: 1;
      max-height: 400px;
    }

    #bannerContainerHorizontal {
      box-sizing: border-box;
      flex-grow: 1;
      display: flex;
      height: 50px;
      width: 320px;
      margin: 0 auto;
      max-height: 300px;
      margin-top: 5px;
      margin-bottom: 5px;
    }

    #bannerContainerVertical {
      display: none;
    }
  }

  @media (min-aspect-ratio: 3/2) or (max-width: 450px) {
    .playerCard {
      flex-direction: column;
    }
  }
.iconButton {
  border: none;
  color: #fff;
  padding: 15px;
  margin: 10px;
  cursor: pointer;
}
body.react-confirm-alert-body-element {
  overflow: hidden;
}

.react-confirm-alert-blur {
  filter: url(#gaussian-blur);
  filter: blur(2px);
  -webkit-filter: blur(2px);
}

.react-confirm-alert-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  background: rgba(255, 255, 255, 0.9);
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: center;
  -ms-align-items: center;
  align-items: center;
  opacity: 0;
  -webkit-animation: react-confirm-alert-fadeIn 0.5s 0.2s forwards;
  -moz-animation: react-confirm-alert-fadeIn 0.5s 0.2s forwards;
  -o-animation: react-confirm-alert-fadeIn 0.5s 0.2s forwards;
  animation: react-confirm-alert-fadeIn 0.5s 0.2s forwards;
}

.react-confirm-alert-body {
  font-family: Arial, Helvetica, sans-serif;
  width: 400px;
  padding: 30px;
  text-align: left;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 20px 75px rgba(0, 0, 0, 0.13);
  color: #666;
}

.react-confirm-alert-svg {
  position: absolute;
  top: 0;
  left: 0;
}

.react-confirm-alert-body > h1 {
  margin-top: 0;
}

.react-confirm-alert-body > h3 {
  margin: 0;
  font-size: 16px;
}

.react-confirm-alert-button-group {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: flex-start;
  margin-top: 20px;
}

.react-confirm-alert-button-group > button {
  outline: none;
  background: #333;
  border: none;
  display: inline-block;
  padding: 6px 18px;
  color: #eee;
  margin-right: 10px;
  border-radius: 5px;
  font-size: 12px;
  cursor: pointer;
}

@-webkit-keyframes react-confirm-alert-fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@-moz-keyframes react-confirm-alert-fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@-o-keyframes react-confirm-alert-fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes react-confirm-alert-fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.scoreContainer {
  background-color: rgb(228, 157, 52);
  display: flex;
}

.scoreBox {
  border: 2px solid rgb(87, 61, 22);
  width: 15px;
  height: 15px;
  margin: 2px
}

.scored {
  background-color: rgb(87, 61, 22);
}
#progressBarContainer {
  background: red 50%;
  border-radius: 5px;
  width: 100%;
  height: 15px;
}

#progressBarContainer #progress {
  display: block;
  background-color: blue;
  border-radius: 5px;
  height: 100%;
  width: 0%;
  animation: progressBar linear;
}

@keyframes progressBar {
  0% {
    width: 100%
  }

  100% {
    width: 0
  }
}
.scaleUpDownContainer {
  animation-name: scaleUpDown;
}

@keyframes scaleUpDown {
  0% {
    transform: scale(1);
  }

  12% {
    transform: scale(1.1);
  }

  37% {
    transform: scale(0.9);
  }

  53% {
    transform: scale(1.1);
  }

  78% {
    transform: scale(0.9);
  }

  100% {
    transform: scale(1);
  }
}
#pageMain {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#logo {
  opacity: 0.5;
  position: absolute;
  z-index: -1;
}

#gameName {
  font-size: xx-large;
  padding: 20px;
}

#playerName {
  font-size: large;
  padding: 2px;
  border-radius: 5px;
  width: 140px;
}


#playerProfile {
  display: flex;
  flex-direction: row;
  padding: 10px;
  align-items: center;
}

#playerProfile>img {
  width: 30px;
  height: 30px;
  padding: 2px;
  border-radius: 10px;
}

#playerProfile>span {
  font-size: large;
  padding: 2px;
  width: 140px;
  text-align: center;
}

.crazyGamesLogo {
  width: 150px;
  height: 50px;
}
#pageLobby {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#gameName {
  font-size: xx-large;
  padding: 20px;
}

#playerName {
  font-size: large;
  padding: 2px;
  border-radius: 5px;
}


#playerProfile {
  display: flex;
  flex-direction: row;
  padding: 10px;
  align-items: center;
}

#playerProfile>img {
  width: 30px;
  height: 30px;
  padding: 2px;
  border-radius: 10px;
}

.roomsContainer {
  border-radius: 20px;
  border: 3px solid rgb(87, 61, 22);
  display: flex;
  width: 20em;
  flex-direction: column;
  align-items: stretch;
  margin: 10px;
  overflow-y: hidden;
  flex-grow: 1;
  height: 70%;
}

.roomTitle {
  font-size: x-large;
  margin: 5px;
}

.roomsText {
  margin: 10px;
}

.roomList {
  flex-grow: 1;
  padding: 10px;
  overflow-y: auto;
}

.roomsLoading {
  width: 50px;
  height: 50px;
  margin: 0 auto;
}

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

.roomsContainerTop {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
}

#roomIdInputError {
  color: red;
  display: none;
}

.leaveButton {
  align-self: flex-start;
}

@media (min-aspect-ratio: 3/2) {
  #pageLobby {
    flex-direction: row;
    justify-content: space-evenly;
  }

  .roomsContainer {
    flex-grow: 0;
  }
}
