@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@800&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: hsl(218, 23%, 16%);
  font-family: "Manrope", sans-serif;
  font-weight: 800;
}

.container {
  max-width: 34.3rem;
  padding: 4rem 1.8rem 5rem 1.8rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  border-radius: 1.4rem;
  background-color: hsl(217, 19%, 24%);
  position: relative;
}

.advice-id {
  font-size: 1.1rem;
  letter-spacing: 3.75px;
  text-transform: uppercase;
  color: hsl(150, 100%, 66%);
}

.advice-text {
  font-size: 2.4rem;
  color: hsl(193, 38%, 86%);
}

.devider-desktop {
  display: none;
}

.btn-dice {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
  width: 6.4rem;
  height: 6.4rem;
  border-radius: 50%;
  border: none;
  background-color: hsl(150, 100%, 66%);
  transition: box-shadow 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-dice:hover {
  box-shadow: 0 0 1.5rem 1rem rgba(82, 255, 168, 0.7);
}

.btn-dice:active {
  box-shadow: 0 0 1rem 0.5rem rgba(82, 255, 168, 0.7);
}

@media screen and (min-width: 48em) {
  .container {
    max-width: 54rem;
    padding: 4.6rem 4rem 6rem 4.6rem;
  }

  .devider-mobile {
    display: none;
  }

  .devider-desktop {
    display: block;
  }
}
