@import url('https://fonts.googleapis.com/css2?family=Recursive&display=swap');
html {
  box-sizing: border-box;
}

body {
  color: #000;
  font-family: 'Recursive', sans-serif;
  font-weight: 700;
  margin: 0;
  min-height: 100vh;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='0.11'%3E%3Cpath d='M0 38.59l2.83-2.83 1.41 1.41L1.41 40H0v-1.41zM0 1.4l2.83 2.83 1.41-1.41L1.41 0H0v1.41zM38.59 40l-2.83-2.83 1.41-1.41L40 38.59V40h-1.41zM40 1.41l-2.83 2.83-1.41-1.41L38.59 0H40v1.41zM20 18.6l2.83-2.83 1.41 1.41L21.41 20l2.83 2.83-1.41 1.41L20 21.41l-2.83 2.83-1.41-1.41L18.59 20l-2.83-2.83 1.41-1.41L20 18.59z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.heading-container {
  width: auto;
  max-width: 900px;
  padding: 10px;
  margin-bottom: 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  position: relative;
  background-color: rgba(199, 63, 63, 0.7);
}

.heading {
  font-size: 1.5rem;
  margin: 0;
  color: #fff;
}

.quote-container {
  width: auto;
  max-width: 900px;
  padding: 20px 30px;
  border-radius: 10px;
  background-color: rgba(243, 243, 243, 0.685);
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.486);
  margin-bottom: 20px;
}

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

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

.fa-quote-left, .fa-quote-right {
  font-size: 2.5rem;
}

.quote-author {
  margin-top: 15px;
  font-size: 2rem;
  font-weight: 400;
  font-style: italic;
}

.button-container {
  margin-top: 15px;
  display: flex;
  justify-content: space-between;
}

button {
  cursor: pointer;
  font-size: 1.2rem;
  height: 2.5rem;
  border: none;
  border-radius: 10px;
  color: #fff;
  background: #333;
  outline: none;
  padding: 0.5rem 1.8rem;
  box-shadow: 0 0.3rem rgba(121, 121, 121, 0.65);
}

button:hover {
  filter: brightness(110%);
}

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

.twitter-button:hover {
  color: #38a1f3;
}

fa.twitter {
  font-size: 1.5rem;
}

.loader {
  border: 16px solid #f3f3f3;
  /* light grey */
  border-top: 16px solid #333;
  /* dark grey */
  border-radius: 50%;
  width: 120px;
  height: 120px;
  animation: spin 2s linear infinite;
}

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

/*  Tablet or smaller */

@media screen and (max-width: 1000px) {
  .quote-container {
    margin: auto 10px;
  }
  .quote-text {
    font-size: 2.25rem
  }
  .heading {
    font-size: 1.25rem;
  }
  .heading-container {
    flex-direction: column;
    border-radius: 0px;
    width:100%;
  }
}

@media (min-width:768px) and (max-width:999px) {
  .heading-container {
    flex-direction: row;
  }
}