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

:root {
  --font-family: "Manrope", sans-serif;
  --blue-200: hsl(193, 38%, 86%);
  --green-300: hsl(150, 100%, 66%);
  --blue-600: hsl(217, 19%, 38%);
  --blue-900: hsl(217, 19%, 24%);
  --blue-950: hsl(218, 23%, 16%);
}

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

body {
  font-family: var(--font-family);
  background-color: var(--blue-950);
  color: var(--blue-200);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

main {
  display: flex;
  justify-content: center;
  align-items: center;
}

.advice-container {
  background-color: var(--blue-900);
  border-radius: 15px;
  padding: 48px 32px 64px 32px;
  text-align: center;
  max-width: 540px;
  width: 90%;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.advice-id {
  color: var(--green-300);
  font-size: 0.6875rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 24px;
}

.advice-text {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 40px;
  color: var(--blue-200);
}

.divider {
  margin-bottom: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.divider img {
  max-width: 100%;
  height: auto;
}

#new-advice-button {
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--green-300);
  border: none;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

#new-advice-button:hover {
  box-shadow: 0 0 20px var(--green-300);
}

#new-advice-button img {
  width: 20px;
  height: 20px;
}

@media (max-width: 768px) {
  .advice-text {
    font-size: 1.5rem;
  }
  
  .advice-container {
    padding: 40px 24px 56px 24px;
    max-width: 343px;
  }
  
  #new-advice-button {
    width: 64px;
    height: 64px;
    bottom: -32px;
  }
}
