
/*
:root {
  --white: white;
}
*/
body{
  color: #151B54;
  min-height: 400px;
}
h1{
  text-align: center;
  font-family: monospace;
  padding: 1rem 1rem 8rem 1rem;
  background-image: linear-gradient(rgba(255,255,255,1), rgba(255,255,255,1), rgba(255,255,255,0));
}
#loading{
  display: flex;
  justify-content: center;
}
#wrapper{
  height: 100vh;
  background-color: white;
  transition-property: background-color;
  transition-duration: 1s;
}

#main-content{
  position: absolute;
  top: 0;
  height: 100vh;
  width: 100%;
}
#quote-box{
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
	border-radius: .4em;
  padding: 1.5rem;
  width: 600px;
}
#quote-box:after {
  position: absolute;
	content: '';
	bottom: 0;
	left: 10%;
	width: 0;
	height: 0;
	border: 30px solid transparent;
	border-top-color: white;
	border-bottom: 0;
	border-left: 0;
	margin-left: -12.5px;
	margin-bottom: -25px;
}
#text:before{
  font-family: 'FontAwesome';
  content: "\f10d";
  font-size: 0.6em;
  padding-right: 0.5em;
  vertical-align: top;
}
#text:after{
  font-family: 'FontAwesome';
  content: "\f10e";
  font-size: 0.6em;
  padding-left: 0.5em;
  vertical-align: top;
}
#text{
  display: block;
  padding-bottom: 0.5rem;
  font-size: 1.4rem;
}

#author:before{
  content: "—";
  padding-right: 0.5em;
}
#author{
font-size: 1.2rem;
float: right;
}

#new-quote{

}
#tweet-quote{

}

#footer {
  position: fixed;
  left: 0;
  bottom: 0;
  display: flex;
  width: 100%;
  justify-content: space-around;
  color: white;
  text-align: center;
  padding: 5rem 1rem 1rem 1rem;
  background-image: linear-gradient(rgba(255,255,255,0), rgba(255,255,255,1), rgba(255,255,255,1), rgba(255,255,255,1));
}

/* React CSS Transition Classes */

.fade{

}

.fade-appear {
  opacity: 0;
  z-index: 1;
}
.fade-appear.fade-appear-active {
  opacity: 1;
  transition: opacity 1s ease-in;
}

.fade-enter {
  opacity: 0;
  z-index: 1;
}
.fade-enter.fade-enter-active {
  opacity: 1;
  transition: opacity 300ms ease-in;
}

.fade-exit {
  opacity: 1;
}
.fade-exit.fade-exit-active {
  opacity: 0;
  transition: opacity 300ms ease-in;
}
.fade-exit-done {
  opacity: 0;
}

@media only screen and (min-width: 600px)  and (max-width: 900px) {
  #text{
    font-size: 1.2rem;
  }
  #author{
    font-size: 1rem;
  }
}
@media only screen and (max-width: 599px) {
#quote-box{
  width: 90%;
}
  #text{
    font-size: 1rem;
  }
  #author{
    font-size: 0.8rem;
  }
}
