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

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

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

.main-container {
  background-color: hsl(217, 19%, 24%);
  border-radius: 10px;
  padding: 2rem;
  max-width: 500px;
  text-align: center;
  position: relative;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
}

#advice-num {
  color: hsl(150, 100%, 66%);
  font-size: 0.8rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

#advice {
  color: hsl(193, 38%, 86%);
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.divider {
  width: 100%;
  margin-bottom: 2rem;
}

.dice-container {
  background-color: hsl(150, 100%, 66%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: box-shadow 0.3s;
}

.dice-container:hover {
  box-shadow: 0 0 20px hsl(150, 100%, 66%);
}

.dice {
  width: 30px;
  height: 30px;
}

.title {
  color: white;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  text-align: center;
}

.instruction {
  color: hsl(150, 100%, 66%);
  font-size: 15px;
  text-align: center;
  margin-bottom: 20px;
}



/* MOBILE VIEW */
@media (max-width: 768px) {
  .main-container {
    max-width: 350px;
  }

  #advice {
    font-size: 18px;
  }
}
