* {
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
  width: 100%;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to top left, #753682 0%, #bf2e34 100%);
}
main {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  background-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(200px);
  filter: blur();
  box-shadow: 0 3rem 5rem rgba(0, 0, 0, 0.25);
  overflow: hidden;
  border-radius: 20px;
}

main .player {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 400px;
  height: 500px;
  border-radius: 20px;
  text-transform: uppercase;
}

.player .player--name {
  font-family: Arial, Helvetica, sans-serif;
  margin-top: 70px;
}

.active--player {
  background-color: rgba(255, 255, 255, 0.4);
  transition: all 0.75s;
}

.player .total--score {
  font-size: 100px;
  margin-top: 60px;
  color: #c7365f;
}

.player .current--score {
  width: 120px;
  height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-style: none;
  border-radius: 6px;
  padding: 4px 8px 4px 8px;
  margin-top: 60px;
}

main .player--1 {
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
}

main .player--2 {
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
}

.current--score {
  background-color: #c7365f;
  opacity: 0.8;
  color: #fff;
  text-transform: uppercase;
  padding: 4px 8px 4px 8px;
}

.current--score h4 {
  font-family: Arial, Helvetica, sans-serif;
  margin-bottom: 10px;
  margin-top: 6px;
}

.current--score .score {
  font-size: 22px;
  margin-bottom: 15px;
}

main .dice {
  width: 80px;
  position: absolute;
  top: 20%;
  background-color: white;
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.2);
}

main button {
  width: 120px;
  height: 40px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  position: absolute;
  background-color: white;
  background-color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: none;
  box-shadow: 0 1.75rem 3.5rem rgba(0, 0, 0, 0.1);
  transition: all 0.15s;
  text-transform: uppercase;
  cursor: pointer;
}

main .hold-button {
  bottom: 28%;
}

main .roll-dice {
  bottom: 40%;
}

main .new-game {
  top: 5%;
  width: 160px;
  padding: 4px 8px 4px 8px;
}

main button:active {
  box-shadow: none;
}

.hidden {
  display: none;
}

.winner {
  background-color: gold;
  transition: all 0.75s;
}
