body {
  color: white;
  background-color: darkgray;
  font-family: "Times New Roman", Times, serif;
}

p {
  margin-bottom: 1rem;
}

.container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  justify-content: space-between;
  min-height: 100vh;
}

#title-box {
  align-self: flex-start;
  margin: 20px;
}

.head {
  font-size: 1rem;
  text-align: center;
}

.title {
  font-weight: bold;
  text-transform: uppercase;
}

.title:after {
  content: " ";
}

.subtitle {}


#quote-box {
  margin: 0 20px 20px;
}

.origin {
  font-size: 1rem;
//  text-align: center;
}

.quote {
  font-size: 2rem;
  font-weight: 400;
  text-align: center;
}

.quote:before,
.quote:after {
  font-size: 4rem;
  position: relative;
  line-height: .5;
}

.quote:before {
  content: "“";
  top: .25em;
}

.quote:after {
  content: "”";
  bottom: -.25em;
}

.source {
  font-variant: small-caps;
}

.source:before {
  content: "—";
}

.citation {
  font-style: italic;
}

.citation:before {
  content: ", ";
  font-style: normal;
}

.year:before {
  content: ", ";
  font-style: normal;
}

.tags {
  font-weight: bold;
  font-size: 0.5rem;
  text-transform: uppercase;
  text-align: center;

}

#button-box {
  margin-bottom: 10px;
}

#button-box li {
  display: inline;
}

.button {
  border-radius: 5px;
  border: 0;
  background-color: rgba(255, 255, 255, 0);
  margin: 10px;
  padding: 8px 10px;
  transition: .5s;
}

.button:hover {
  background-color: rgba(255, 255, 255, .25);
}

.button:focus {
  outline: none;
}

@media (min-width: 769px) {

  body {
    background: darkgray url('../quotes/qlogo.png') top right no-repeat;
  }

  .head,
  .origin {
    font-size: 1.25rem;
  }

  .origin {
    text-align: right;
  }

  .quote {
    font-size: 2.5rem;
  }

  .quote:before,
  .quote:after {
    font-size: 4.5rem;
  }

  .tags {
    text-align: left;
    font-size: 0.75rem;
  }

}

@media (min-width: 1025px) {

  #quote-box {
    max-width: 67%;
  }

  .head,
  .origin {
    font-size: 1.5rem;
  }

  .quote {
    font-size: 3rem;
  }

  .quote:before,
  .quote:after {
    font-size: 5rem;
  }

  .tags {
    font-size: 1rem;
  }

}

.quote-effect {
  -webkit-animation: c-effect 0.7s linear;
  animation: c-effect 0.7s linear;
}

@keyframes c-effect {
  0% {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
  }
  100% {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

.title-effect, .button-effect {
  -webkit-animation: b-effect 1.5s linear;
  animation: b-effect 1.5s linear;
}

@keyframes b-effect {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
