:root{

/* ## Colors

### Primary */

--Blue-200: hsl(193, 38%, 86%);
--Green-300: hsl(150, 100%, 66%);

/* ### Neutral */

--Blue-600: hsl(217, 19%, 38%);
--Blue-900: hsl(217, 19%, 24%);
--Blue-950: hsl(218, 23%, 16%);

}


/* 1. Reset base */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
}

/* 2. Imposta font base e altezza riga */
body {
  line-height: 1.5;
  min-height: 100vh;
  font-family: system-ui, sans-serif;
  background-color: var(--bg-color, white);
  color: var(--text-color, black);
}

/* 3. Rimuove decorazioni inutili */
a {
  text-decoration: none;
  color: inherit;
}

/* 4. Rende immagini e video reattivi */
img,
picture,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 5. Disabilita il default degli input */
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

/* 6. Disabilita lista marker */
ul,
ol {
  list-style: none;
}



/* MIO INIZIO */

body{
      min-height: 100vh;

      background-color: var(--Blue-950);

      display: flex;
      align-items: center;
      justify-content: center;

      
}

.advice{
      position: relative;

      padding: 4.5rem 3rem 6rem 3rem !important;

      min-height: 25rem;
      width: 50rem;

      display: flex;
      flex-direction: column;

      justify-content: space-between;
      align-items: center;

      background-color: var(--Blue-900);
      border-radius: 20px;
}

.advice__header{
      color: var(--Green-300);
      letter-spacing: 0.4rem;
}

.advice__main{
      width: 100%;
      
      text-align: center;

      font-size: 28px;
      color: white;

}

#spinner {
  border: 4px solid #f3f3f3; /* Light grey */
  border-top: 4px solid #3498db; /* Blue */
  border-radius: 50%;
  width: 70px;
  height: 70px;
  animation: spin 1s linear infinite;
  margin: auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}



.advice__roll{
      position: absolute;
      bottom: -2.5rem;

      height: 5rem;
      width: 5rem;


      display: flex;
      justify-content: center;
      align-items: center;
      

      background-color: var(--Green-300);

      border-radius: 50%;
}

.advice__roll:hover{
      cursor: pointer;
      box-shadow: 0 0 50px 2px var(--Green-300);
}


@media(max-width: 900px){

      body{
            padding-left: 2rem;
            padding-right: 2rem;
      }
      
}