* {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
}

body {
  background: linear-gradient(to top left, #753682 0%, #bf2e34 100%);
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

p {
  margin: 0;
}

#folder {
  border-radius: 5px;
  height: 35rem;
  width: 60rem;

  background-color: rgba(255, 255, 255, 0.35);
  display: grid;
  grid-template-columns: 1fr 1fr;

  position: relative;
}

.container {
  border: none;

  display: flex;
  justify-content: center;
  align-items: center;
}

.folder {
  margin-top: 2rem;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
}

.text-align {
  text-align: center;
}

.font {
  font-weight: 500;
  text-transform: uppercase;
}

.player {
  margin-bottom: 10rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.player-text {
  font-size: 40px;
  letter-spacing: 1px;
  line-height: 1.4;
}

.player-number {
  font-size: 80px;
}

.current {
  background-color: rgb(128, 10, 30);
  padding: 1rem 3rem;
  color: white;
  border-radius: 5px;
}

.current-number {
  margin-top: 20px;
  font-size: 30px;
}

#middle {
  position: absolute;
  height: 35rem;
  width: 12rem;
}

.circle {
  background-color: rgba(231, 227, 227, 0.4);
  padding: 0.3rem 0rem;
  border-radius: 10rem;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: 1;

  display: flex;
  justify-content: center;
  cursor: pointer;
  transition: all linear 0.15s;
}

.circle:hover {
  background-color: rgba(173, 168, 168, 0.4);
}

.image img {
  width: 4rem;
  height: 4rem;
}

.game {
  position: absolute;
  top: 60px;
  left: 20px;
  width: 10rem;
}

.hidden {
  display: none;
}

.player-active {
  background-color: rgb(255, 184, 196);
}

.image {
  position: absolute;
  top: 150px;
  left: 60px;
}

.dice {
  position: absolute;
  top: 385px;
  left: 20px;
  width: 10rem;
}

.hold {
  position: absolute;
  top: 450px;
  left: 35px;
  width: 8rem;
}

.player-winner {
  background-color: rgb(24, 25, 24);
}

.color {
  color: #bf2e34;
}

/* RESPONSIVENESS */

@media only screen and (max-width: 820px) and (min-width: 490px) {
  #folder {
    height: 35rem;
    width: 45rem;
  }

  .player-text {
    font-size: 33px;
  }

  .current {
    padding: 1rem 2.5rem;
  }

  .current-text {
    font-size: 15px;
  }

  .circle {
    font-size: 17px;
  }

  .game,
  .dice {
    width: 9rem;
  }
}

@media only screen and (max-width: 489px) and (min-width: 330px) {
  #folder {
    height: 35rem;
    width: 20rem;
  }

  .player-text {
    font-size: 17px;
  }

  .player-number {
    font-size: 60px;
  }

  .current {
    padding: 0.7rem 1.5rem;
  }

  .current-text {
    font-size: 15px;
  }

  .circle {
    font-size: 15px;
  }

  .game,
  .dice {
    width: 9rem;
  }

  .image {
    position: absolute;
    top: 200px;
  }

  .dice {
    position: absolute;
    top: 320px;
  }

  .hold {
    position: absolute;
    top: 470px;
  }
}

@media only screen and (max-width: 339px) {
  #folder {
    height: 35rem;
    width: 17rem;
  }

  .player-text {
    font-size: 17px;
  }

  .player-number {
    font-size: 60px;
  }

  .current {
    padding: 0.7rem 1.5rem;
  }

  .current-text {
    font-size: 15px;
  }

  .circle {
    font-size: 15px;
  }

  .game,
  .dice {
    width: 9rem;
  }

  .image {
    position: absolute;
    top: 200px;
  }

  .dice {
    position: absolute;
    top: 320px;
  }

  .hold {
    position: absolute;
    top: 470px;
  }
}
