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

/* Root Colors */
:root {
  --bg-main: hsl(218, 23%, 16%);
  --adivce-text: hsl(193, 38%, 86%);
  --adivce-id: hsl(150, 100%, 66%);
  --box-shadow: 0px 0px 10px 2px #18ff90;
  --card-bg: hsl(217, 19%, 24%);
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
body {
  background-color: var(--bg-main);
  overflow: hidden;
}

.attribution {
  font-size: 16px;
  text-align: center;
  color: white;
}
.attribution a {
  color: hsl(228, 45%, 44%);
}
.container {
  width: 100vw;
  height: 95vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 40%;
  padding: 1.5rem 2rem;
  border-radius: 15px;
  background-color: var(--card-bg);
}

p {
  text-align: center;
  font-family: "Manrope", sans-serif;
}

#advice {
  color: var(--adivce-id);
  text-transform: uppercase;
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 1.5rem;
  letter-spacing: 0.2rem;
}

#advice--text {
  color: var(--adivce-text);
  font-family: "Manrope", sans-serif;
  font-size: 28px;
  font-weight: 800;
  margin-top: 3rem;
  margin-bottom: 2rem;
}

#divider {
  display: flex;
  justify-content: center;
  width: 100%;
}

#divider img {
  width: 400px;
  height: 20px;
  object-fit: cover;
  margin-bottom: -2.5rem;
}

button {
  position: relative;
  background-color: var(--adivce-id);
  border: none;
  padding: 1.2rem;
  border-radius: 100%;
  cursor: pointer;
  bottom: -50px;
  left: 0;
  right: 0;
}

button:hover {
  box-shadow: var(--box-shadow);
  transition: 0.5s ease;
}

@media screen and (max-width: 599px) {
  .card {
    width: 90%;
    padding: 1.5rem 1rem;
  }

  #divider img {
    width: 305px;
    height: 20px;
    object-fit: cover;
    margin-bottom: -2.5rem;
  }
  .attribution {
    margin-top: -2rem;
  }
}
