:root {
  --col-primary: hsl(150, 100%, 66%);
  --col-secondary: hsl(193, 38%, 86%);
  --col-blue-grayish: hsl(217, 19%, 38%);
  --col-blue-grayish-dark: hsl(217, 19%, 24%);
  --col-blue-dark: hsl(218, 23%, 16%);

  --font-primary: "Manrope", sans-serif;
}

*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
  font-size: 100%;
}

body {
  min-height: 100vh;
  font-family: var(--font-primary);
  background-color: var(--col-blue-dark);
  overflow-x: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0 5rem;
}

/*  */
.advice {
  position: relative;
  width: 90vw;
  max-width: 350px;
  min-height: 120px;
  margin: 0 auto;
  border-radius: 8px;
  padding: 1.7rem 1.5rem;
  padding-bottom: 2.5rem;
  text-align: center;
  background-color: var(--col-blue-grayish-dark);
}

.advice__number {
  color: var(--col-primary);
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 2px;
}

.advice__text {
  color: var(--col-secondary);
  font-weight: 800;
  margin-top: 15px;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.advice__text::before {
  content: "\201C";
}

.advice__text::after {
  content: "\201D";
}

.advice__divider {
  width: 100%;
}

.advice__btn {
  position: absolute;
  height: 40px;
  width: 40px;
  left: 50%;
  bottom: 0;
  border: none;
  outline: none;
  transform: translate(-50%, 50%);
  background-color: var(--col-primary);
  padding: 10px;
  border-radius: 50%;
  transition: box-shadow 0.3s ease-in;
}

.advice__btn img {
  width: 15px;
}

.advice__btn:hover {
  cursor: pointer;
  box-shadow: 0 0 10px 3px hsla(150, 100%, 66%, 0.5);
}

.advice__btn:active {
  filter: brightness(0.9);
}

/* footer */

footer {
  color: var(--col-secondary);
  font-size: 0.7rem;
  margin-top: 60px;
}

footer a {
  color: var(--col-primary);
}
