
/* Lesson Three */

#splash {
  background-image: url(../images/intro-background.jpg);
}

#stage-slider {
  background-image: url(../images/background.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  padding: 80px 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  transition: all .8s;
  opacity: 1;
  visibility: visible;
  height: 100%;
  overflow-y: scroll;
}

#stage-slider[aria-hidden = "true"] {
  top: 100%;
  visibility: hidden;
  opacity: 0;
  padding: 0;
  transition: all .6s;
}

#stage-slider .lock {
  max-width: 800px;
  margin: 0 auto;
}

.controller {
  text-align: center;
}

.controller > div, .button-wrapper-bottom > div {
  overflow: hidden;
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.controller > div > div {
  display: inline-block;
}

.controller h1 {
  font-size: 24px;
  width: 410px;
}

.controller p {
  text-align: center;
  align-self: center;
}

@media (min-width: 768px) {
  .controller h1 {
    width: 470px;
  }
}

.controller p {
  font-size: 22px;
  color: #848484;
  padding-top: 10px;
}

.controller > p {
  font-size: 16px;
  padding: 0 10px;
}

.controller-buttons button {
  width: 42px;
  height: 42px;
  border: none;
  background-color: transparent;
  position: relative;
  cursor: pointer;
}

.controller-buttons button:first-of-type {
  margin-right: 15px;
}

.controller-buttons button:last-of-type {
  margin-left: 15px;
}

.controller-buttons button:disabled {
  opacity: .2;
  cursor: default;
}

.controller-buttons button:before,
.controller-buttons button:after  {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 40px;
  width: 40px;
  background-size: 40px 40px;
}



.slider {
  position: relative;
  min-height: 900px;
  overflow: hidden;
}

.wrapper {
  position: absolute;
  width: 500%;
  transition: transform 1s;
}

.slide {
  float: left
}

.entry {
  padding: 40px 60px;
  position: relative;
  background-image: url(../images/border-mountain.png);
  background-size: 51px 15px;
  background-position: bottom center;
  background-repeat: no-repeat;
}

@media (min-width: 768px) {
  .entry {
    padding: 40px 100px;
  }
}

.entry:before,
.entry:after {
  content: '';
  position: absolute;
  height: 2px;
  bottom: 3px;
  width: calc(50% - 45px);
  background-color: #d5cec4;
}

.entry:before {
  right: 0;
}

.entry:after {
  left: 0;
}

.entry:last-of-type {
  background-image: none;
}

.entry:last-of-type:before,
.entry:last-of-type:after  {
  display: none;
}

.entry > div {
  display: table;
}

.entry .text, .entry .image {
  display: table-cell;
  vertical-align: middle;
}

.entry .text {
  padding-left: 45px;
}

.entry .image {
  border-radius: 5px;
  background-color: #dddddd;
  padding: 10px;
  box-shadow: 1px 1px 12px 1px #999;
  position: relative;
}

.entry div[data-correct="true"]:after {
  content:"";
  background-image: url(../images/correct.svg);
  background-repeat: no-repeat;
  height: 57px;
  width: 56px;
  position: absolute;
  right: -20px;
  top: -20px;
}

.entry div[data-correct="false" ]:after {
  content:"";
  background-image: url(../images/wrong.svg);
  background-repeat: no-repeat;
  height: 57px;
  width: 56px;
  position: absolute;
  right: -20px;
  top: -20px;
}

.entry p {
  font-size: 16px;
  margin-bottom: 20px;
}

.entry select {
  background-color: #00c900;
  background: linear-gradient(180deg, #00ca00, #009f00);
  color: white;
  height: 48px;
  width: 90%;
  padding: 0 10px;
  font-size: 17px;
  border: none;
  display: block;
  box-shadow: 0 0 6px 1px #000;
}

.entry select:focus {
  border: 3px solid #007700;
  box-shadow: 0 0 15px #007700;
}

.entry select option {
  color: #000;
}

.button-wrapper-bottom {
  border-top: 1px solid #d5cec4;
  padding-top: 40px;
  width: 100%;
}

.button-wrapper-bottom button:first-of-type {
  margin-right: 485px;
}
