body {
  /*text-align: center;*/
  color: white;
  font-family: 'Montserrat', sans-serif;
  background-color: black;
  font-size: 2rem;
}

a {
  border-bottom: 1px solid #ffffff;
  color: #ffffff;
  padding-bottom: .25em;
  text-decoration: none;
}

a:hover {
  background-image: url("wave.svg");
  background-position: bottom;
  background-repeat: repeat-x;
  background-size: 50%;
  border-bottom: 0;
  padding-bottom: .3em;
  text-decoration: none;
}

.container {
  position: relative;
}

p {
  padding-left: 20px;
}

h1{
  font-size: 6rem;
  font-weight: 700;
  line-height: 1.1;
  position: relative;
  margin-top: 15%;
  margin-bottom: 0px;
}

h3{
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
  position: relative;
  margin-top: 15%;
  margin-bottom: 0px;
}

/*
An element with position: absolute; is positioned relative to the nearest positioned ancestor (instead of positioned relative to the viewport, like fixed).
The .container did not originally have a position property, so I needed to add that to make it behave "better"
*/

#quote-box {
  position: absolute;
  /*top: 20%;*/
  margin-top: 100px;
  left: 20%;
  right: 30%;
  /* create a media query for smaller screens to set this width  ??? */
  width: 70%;
  line-height: .5;
}


#button-box {
  position: relative;
  display: block;
}

.quote {
  font-size: 3rem;
  font-weight: 400;
  line-height: 1.1;
  position: relative;
  margin: 0;
  } 
.quote:before, .quote:after {
  font-size: 5rem;
  line-height: 2.5rem;
  position: absolute;
}
.quote:before {
  content: "“";
  top: .25em;
  left: -.5em;
}
.quote:after {
  content: "”";
  bottom: -.1em;
  margin-left: .1em;
  position: absolute;
}
.source {
  font-size: 1.25rem;;
  letter-spacing: 0.05em;
  line-height: 1.1;
  text-align: right;
  margin-right: 4em;
}
.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.80rem;
  text-transform: uppercase;
}

#loadQuote {
  position: fixed;
  width: 12em;
  display: inline-block;
  left: 50%;
  margin-left: -6em;
  bottom: 150px;
  border-radius: 4px;
  border: 2px solid #fff;
  color: #fff;
  background-color: rgba(255, 255, 255, 0);
  padding: 15px 0;
  transition: .5s ;
}
#loadQuote:hover {
  background-color: rgba(255,255,255,.25);
}
#loadQuote:focus {
  outline: none;
}

@media (max-width: 300px) {
  .quote {
    font-size: 0.5rem;
  }

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

  .source {
    font-size: 0.325rem;
  }

}

@media (max-width: 442px) {
  .quote {
    font-size: 1rem;
  }
  .quote:before {
    font-size: 1.5rem;
    top: -0.75em;
    left: -0.1em;
    display: none;
  }

  .quote:after {
    font-size: 1.5rem;
    bottom: -1.1em;
    margin-left: 0.4em;
    display: none;
  }
  .source {
    font-size: 1rem;
  }

  #quote-box {
    margin-top: 50px;
  }

  #loadQuote {
    bottom: 5%;
  }
  h1{
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
  position: relative;
  margin-top: 50%;
  margin-bottom: 0px;
  }

  .tags {
  font-weight: bold;
  font-size: 0.75rem;
  text-transform: uppercase;
}
}

