@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

html {
  box-sizing: border-box; /* prevents padding from adding additional width & height */
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: #222B6B;
  color: #fffffe;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

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

.quote-container {
  width: auto; /* up to 900px, width will be 100% of content */
  max-width: 900px;
  padding: 20px 30px;
  border-radius: 20px;
  padding-bottom: 30px;
  background-color: rgba(29, 92, 90, 0.4);
  box-shadow: 0 10px 10px 10px rgba(0, 0, 0, 0.1);
}

.quote-text {
  font-size: 2.75rem;
}

.long-quote {
  font-size: 2rem;
}

.fa-quote-left {
  font-size: 5rem;
  color: #f9bc60;
  display: block;
  margin-bottom: 20px;
}

.quote-author {
  margin-top: 35px;
  font-size: 1.5rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-style: normal;
  color: #abd1c6;
}

.button-container {
  margin-top: 25px;
  display: flex;
  justify-content: space-between;
  padding: 0px 20px 10px 20px;
}

button {
  cursor: pointer;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 1.5rem;
  border: none;
  border-radius: 10px;
  color: #001e1d;
  background: #f9bc60;
  outline: none;
  padding: 0.5rem 1.8rem;
  /* box-shadow: 0 0.3rem rgba(171, 209, 198, 0.65); */
  box-shadow: 0 0.3rem rgba(232, 228, 230, 0.4);
}

button:hover {
  background: #e0a956;
  color: #fffffe;
}

button:active {
  transform: translate(0, 0.3rem);
  box-shadow: 0 0.1rem rgba(255, 255, 255, 0.65);
}

footer {
  margin-top: auto;
  text-align: center;
  padding: 30px 0;
  font-size: 1.4rem;
}

footer a {
  text-decoration: none;
  color: #abd1c6;
  margin: 0 0.3em;
}

footer a:hover {
  color: #f9bc60;
  cursor: pointer;
}

/* Loader */
.loader {
  width: 84px;
  height: 84px;
  border: 10px solid #fffffe;
  border-bottom-color: #f9bc60;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

/* Padding for spacing */
.inner {
  margin-top: 32px;
  padding: 15px;
}

.inner-footer {
  margin-bottom: 8px;
  padding: 15px;
}

.back-to-home {
    color: #fff;
}

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

/* Media Query: Tablet or Smaller */
@media screen and (max-width: 1000px) {
  .quote-container {
    margin: auto 64px;
  }

  .quote-text {
    font-size: 2rem;
  }

  button {
    font-size: 1.3rem;
  }

  footer {
    padding-bottom: 60px;
  }

  .quote-author {
    font-size: 1rem;
  }

  .long-quote {
    font-size: 1.5rem;
  }
}

/* Media Query: Mobile or Smaller */
@media screen and (max-width: 600px) {
  .quote-container {
    margin: auto 32px;
    padding: 20px 15px;
  }

  .quote-text {
    font-size: 1.3rem;
  }

  .fa-quote-left {
    font-size: 3rem;
  }

  .quote-author {
    font-size: 0.8rem;
  }

  .long-quote {
    font-size: 1rem;
  }

  footer {
    padding-bottom: 80px;
  }

  button {
    font-size: 1rem;
  }
}
