* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  background-color: #231313;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

html,
body,
.container {
  padding: 0;
  /* Font styles */
  font-family: 'Roboto', serif;
  font-size: 16px;
  line-height: 1.5em;
  color: #607D8B;
  letter-spacing: .01em;
}
.main {
  color: #ffffff;
  padding: 0px 40px;
  flex: 1;
}
.main p.next {
  margin-top: 2em;
}
.main ol {
  margin-top: 0;
  padding: 0px 0px 0px 0px;
  list-style: inside;
}

.container {
  position: relative;
  height: calc(100% - 80px);
  max-height: calc(100% - 80px);
  margin: 0;
}

.logo {
  height: 60px;
  margin: 0 1em;
}
/* Panels */
.swipe {
  position: relative;
  width: 100%;
  height: 100%; /* "min-height" doesn't work on Firefox. */
  overflow-x: hidden;
}

.panel {
  position: absolute;
  width: 100%;
  min-height: calc(100% - 50px);;
  top: 0;
  left: 0;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: xx-large;
  color: #ffff;
  font-family: 'Roboto';
}
.copy {
  width: auto;
  padding: 1em;
  background: #00000033;
  margin: auto;
}
.copy h1 {
  font-size: 1.3rem;
}
.copy p {
  font-size: 1rem;
  line-height: 1.7rem;
}
.left {
  left: -100%;
}

.right {
  left: 100%;
}

/* Info */
.info {
  position: absolute;
  width: 80%;
  max-width: 500px;
  bottom: 20%;
  right: 5%;
  pointer-events: none;
}

.inner {
  position: relative;
  padding: 1.66em 3em;
  background: #FFFFFF;
  box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}

.info:before {
  content: "";
  position: absolute;
  width: 65%;
  height: 80%;
  top: 0;
  left: 0;
  -webkit-transform: translate(-10px, -10px);
  -ms-transform: translate(-10px, -10px);
  -o-transform: translate(-10px, -10px);
  transform: translate(-10px, -10px);
  background: #E91E63;
  background: #3F51B5;
}
.buttons {
  position: absolute;
  bottom: -50px;
  right: 5%;
  pointer-events: all;
}

.buttons button {
  transition: ease .4s;
}

.btn-prev,
.btn-next {
  width: 60px;
  height: 60px;
  margin-left: 10px;
  border: none;
  outline: none;
  border-radius: 60px;
  color: #FFFFFF;
  background: -webkit-linear-gradient(top, greenyellow, yellowgreen);
  background: linear-gradient(to bottom, greenyellow, yellowgreen);
  box-shadow: 0px 3px 15px 2px yellowgreen;
  cursor: pointer;
}

.buttons button:hover {
  box-shadow: 0px 3px 30px 3px yellowgreen;
}

.buttons button:disabled {
  box-shadow: 0px 1px 5px 0px rgba(245,81,95,.8);
  background: -webkit-linear-gradient(top, greenyellow, yellowgreen);
  background: linear-gradient(to bottom, greenyellow, yellowgreen);
  cursor: default;
}

/* Optional content */
.optional {
  /* position: absolute; */
  width: 100%;
  /* bottom: 0; */
}
.optional div {
  text-align: center;
  background-color: #231313;
  color: #feeeee;
  display: flex;
  align-items: center;
  height: 50px;
  justify-content: center;
}

a {
  color: #ffffff;
  text-decoration: none;
}
.optional a {
  margin: 0 2em;
}
a:hover {
  text-decoration: underline;
}

/* Optional content */
.top {
  width: 100%;
  height: 80px;
  background-color: #231313;
  color: #feeeee;
  display: flex;
  align-items: center;
  font-size: 2.0em;
}

@media (width >= 500px) {
  .top {
    font-size: 1.5em;
  }
}

.subline {
  font-size: 0.7em;
  color: #fddddd;
}

@media (max-width: 620px) {
  body {
    font-size: 13px;
    line-height: 1.5em;
  }
  .info {
    position: absolute;
    width: 100%;
    max-width: 100%;
    bottom: 0;
    right: 0;
  }

  .inner {
    padding: .5em 1.5em;
    box-shadow: none;
  }

  .buttons {
    display: none;
  }
}
