/* GALLERY */
/* 
  These are classes that are used on gallery screens
  during gameplay. They are for text selections 
  with avatars.
*/
.gallery__responses {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  width: 85%;
  margin: 0 auto;
  max-width: 1000px;
}

.gallery__response {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  width: 45%;
  max-width: 380px;
  margin: 0 auto 50px;
}

.gallery__avatar {
  width: 50px; 
  height: auto;
  margin-right: 23px;
}

.gallery__text {
  background-color: var(--white);
  width: 100%;
  color: var(--navy);
  padding: 15px 20px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 3px;
}

@media only screen and (max-width: 700px) {
  .gallery__responses {
    flex-wrap: nowrap;
    width: 80%;
    margin: 0 auto;
    max-height: 100%;
  }

  .gallery__response {
    width: 100%;
    max-width: 380px;
    margin: 0 auto 22px;
  }

  .gallery__avatar {
    width: 34px; 
    height: auto;
    margin-right: 13px;
  }

  .gallery__text { 
    padding: 15px;
  }
}


/* JUDGE */ 
/* 
  These are the styles used on the judge and
  the game instruction/status
*/
.judge {
  width: 320px;
  height: 90px;
  background-color: var(--white);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  border-radius: 10px;
  margin: 30px 30px 100px auto;
}

.judge__avatar {
  padding: 0 20px;
}

.judge img {
  width: auto;
  height: 55px;
}

.judge__status {
  height: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 20px;
  line-height: 26px;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  padding: 0 20px;
}

.judge__status.judge-waits {
  background-color: var(--navy);
}

.judge__status.judge-ready {
  background-color: var(--forest);
}

.judge__status.player-choice {
  background-color: var(--pink);
}

.judge__status.no-time {
  background-color: var(--red);
}

@media only screen and (max-width: 700px) {
  .judge {
    width: 180px;
    height: 46px;
    margin: 20px 15px 30px auto;
  }

  .judge img {
    height: 28px;
  }

  .judge__avatar {
    padding: 0 10px;
  }

  .judge__status {
    font-size: 12px;
    line-height: 15px;
    padding: 0 10px;
  }
}

/* POLL */
#poll {
  background-color: var(--light-green);
}

#poll__values {
  width: 33%;
  max-width: 380px;
  margin: 0 auto;
}

#poll .play__response button {
  background-color: var(--dark-green);
}

/* GIF CHOICE */


/* GALLERY */

/* JUDGEMENT */
#judgement {
  padding-bottom: 50px;
}

#judgement .gallery__response {
  text-align: center;
}

#judgement .play__response div {
  background-color: rgba(255, 255, 255, 0.6);
}

#judgement .play__response button {
  background-color: var(--white);
  color: var(--navy);
}

#judgement .play__response button:hover {
  background-color: var(--pink);
  color: var(--white);
}

/* GIF JUDGEMENT */
#gif-judgement .gif-gallery__gif {
  cursor: pointer;
}

#gif-judgement .gif-gallery__placeholder {
  background-color: rgba(255, 255, 255, 0.6);
}

#gif-judgement .gif-gallery__not-ready {
  position: relative;
}

#gif-judgement .gif-gallery__not-ready .gif-gallery__gif {
  cursor: none;
}

#gif-judgement .gif-gallery__not-ready div {
  background-color: rgba(255, 255, 255, 0.4);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

/* FINAL GALLERY */
#final-gallery {
  padding-bottom: 50px;
  min-height: 100vh;
}

/* #final-gallery.pink-bg .final-gallery__card-top {
  background-color: var(--light-pink);
} */

/* #final-gallery.forest-bg .final-gallery__card-top {
  background-color: var(--light-forest);
} */

#final-gallery__banner {
  justify-content: center;
  animation: slideUp ease-in-out 3s;
  transform: translateY(-100%);
}

/* .final-gallery__card {
  width: 70%;
  max-width: 800px;
  margin: 160px auto 0;
  position: relative;
} */

.final-gallery__winner-sticker {
  position: absolute;
  top: -70px;
  left: -90px;
}

.final-gallery__sticker-won {
  position: absolute;
  right: -50px;
  bottom: -30px;
  width: 132px;
  height: auto;
}

/* .final-gallery__card-top {
  color: var(--navy);
  font-size: 25px;
  font-weight: 500;
  text-align: center;
  padding: 55px 50px;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.final-gallery__card-bottom {
  background-color: var(--white);
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
} */

.final-gallery__winner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 40px 30px;
}

.final-gallery__avatar {
  height: 42px;
  width: auto;
  margin-right: 30px;
}

/* .final-gallery__card-bottom p {
  color: var(--red);
  font-size: 35px;
  font-weight: 800;
} */

.final-gallery__gif {
  border-radius: 6px;
}

@media only screen and (max-width: 700px) {
  /* .final-gallery__card {
    width: 80%;
  } */

  .final-gallery__winner-sticker {
    width: 191px;
    height: auto;
    top: -50px;
    left: -35px;
  }

  .final-gallery__sticker-won {
    position: absolute;
    right: -25px;
    bottom: -15px;
    width: 72px;
    height: auto;
  }

  /* .final-gallery__card-top {
    font-size: 15px;
    padding: 36px;
  }

  .final-gallery__card-bottom {
    position: relative;
  } */

  .final-gallery__winner {
    padding: 30px;
  }

  .final-gallery__avatar {
    height: 60px;
    width: auto;
    position: absolute;
    left: -20px;
    top: -20px;
  }

  /* .final-gallery__card-bottom p {
    font-size: 20px;
  } */
}

/* LEADERBOARD */
#leaderboard.pink-bg .leaderboard__score-card {
  background-color: var(--light-pink);
}

#leaderboard.forest-bg .leaderboard__score-card {
  background-color: var(--light-forest);
}

.leaderboard__lead {
  position: absolute;
  top: -40px;
  left: -80px;
}

.leaderboard__score p {
  font-size: 18px;
  font-weight: 400;
  margin-top: 5px;
}

@media only screen and (max-width: 700px) {
  .leaderboard__lead {
    top: -20px;
    left: -30px;
    width: 125px;
  }

  .leaderboard__score p {
    font-size: 10px;
    margin-top: 5px;
  }
}
