@import url('https://fonts.googleapis.com/css?family=Work+Sans:300,600');

html {
  overflow-y: scroll;
}

body {
  font-size: 1.25rem;
  font-family: 'Work Sans', sans-serif;
  color: #333;
  font-weight: 300;
  text-align: center;
  background-color: #f4f4f4;
  max-width: 1600px;
  margin: 0;
}

a {
  color: #551A8B;
  text-decoration: none;
}
a:hover, a:focus {
  border-bottom: 1px dotted #558B1A;
}

p {
  margin: 1em 0;
}

h1 {
  font-weight: 300;
  margin: 0;
  padding: .5em;
  font-size: 1.2em;
  background-color: #444;
  color: #fff;
}

h2 {
  font-weight: 300;
  font-size: 1.2em;
  margin: 1em 0;
}

footer {
  padding-top: 23.75%;
  background: url('../learning/images/banner.jpg') top center no-repeat;
  background-size: 100% auto;
}

.question {
  font-size: 1.2em;
  margin-bottom: .5em;
}

.answers {
  margin-bottom: 1em;
  text-align: left;
  display: inline-block;
}

.answers label {
  display: block;
  margin-bottom: .5em;
}

button {
  font-size: 1.1em;
  background-color: #279;
  color: #fff;
  border: 0;
  border-radius: 3px;
  padding: .5em 1em;
  cursor: pointer;
  margin-bottom: 1em;
}
button:hover,
button:focus {
  background-color: #38a;
}

.slide {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.5s;
}

.active-slide {
  opacity: 1;
  z-index: 2;
}

.quiz-container  {
  position: relative;
  height: 11em;
  margin-top: 1.5em;
}

@media only screen and (max-width: 480px) {
  .quiz-container  {
    height: 12em;
  }
}

@media only screen and (max-width: 360px) {
  .quiz-container  {
    height: 13em;
  }
}
