*,
*::before,
*::after {
  -webkit-box-sizing: inherit;
          box-sizing: inherit; }

html {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  height: 100%;
  touch-action: manipulation;
  -webkit-text-size-adjust: 100%;}

body {
  font-family: Courier, monospace;
  height: 100%;
  font-size: 16px;
  text-align: center;
  overflow: hidden;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  height: 100vh;
  display: flex;


}
body.vertical {
  flex-direction: column;
  text-align: center;
  justify-content: center;
  padding-bottom: 50px;
}
body.vertical iframe {
  margin: 0 auto;
}
body.page-anders {
  background: url('img/crew.jpg') no-repeat 50% 100%;
  background-size: cover;
}
@media (min-width: 1024px) {
  body.page-anders {
    background-position: 10% 50%;
  }
}
.anders-container {
  background-color: rgba(255,255,255,.5);
  padding: 1%;
  margin-left: 5%;
  margin-top: 60px;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
    justify-content: space-evenly;
}

@media (min-width: 1024px) {
  .anders-container  {
    max-width: 90%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-evenly;
  }
}


.button {
  margin: 10% auto;
  background-color: rgba(255,255,255,.8);
  padding: 5px 20px;
  font-size: 30px;
  display: inline-block;
  border-radius: 10px;
}

@media (min-width: 500px) {
 .button {
    margin: 4% auto;
    padding: 5px 20px;
    font-size: 40px;
  }
}

.split {
  flex-basis: 50%;
}
.split-allan {
  background: url('img/half-allan.jpg') no-repeat top right;
  background-size: cover;
}
.split-anders {
  background: url('img/half-anders.jpg') no-repeat bottom right;
  background-size: cover;
}
@media (min-width: 1024px) {
  .split-anders {
    background-position: top right;
  }
}

h1 {font-size: 18px; margin: 0; }
@media (min-width: 768px) {
  h1 {
    font-size: 20px;
  }
}
@media (min-width: 1024px) {
  h1 {
    font-size: 26px;
  }
}

li {
  margin-bottom: 0.5em; }

a {
  color: #1572b6;
  text-decoration: none;
  -webkit-transition: -webkit-transform 300ms;
  transition: -webkit-transform 300ms;
  -o-transition: transform 300ms;
  transition: transform 300ms;
  transition: transform 300ms, -webkit-transform 300ms;
  word-wrap: break-word; }
  a:hover {
    text-decoration: underline;
    -webkit-transform: scale(1.2);
        -ms-transform: scale(1.2);
            transform: scale(1.2); }


section[id^=slide]:target ~ #start {
  display: none; }

.credit {
  position: absolute;
  bottom: 15px;
  right: 15px;
}
.credit h5 {
  font-size: .5em;
  margin: 0;text-align: right;
  text-transform: uppercase;
}
.credit p {
  font-size: .5em;
  margin: 0;
  text-align: right;
}
.credit p a {
  color: #191919;
  text-decoration: underline;
}
.credit p a:hover {
  color: #000;
  text-decoration: none;
}

#start {
  background-color: #000;
  color: #fff;
  height: 100vh;
  background: url("img/allan02.jpg") no-repeat center;
  background-size: cover;
  position: relative;
}

[id^=slide] {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  height: 100%;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 20px;
  position: absolute;
  -webkit-transform: rotate(90deg);
      -ms-transform: rotate(90deg);
          transform: rotate(90deg);
  -webkit-transform-origin: 0 0;
      -ms-transform-origin: 0 0;
          transform-origin: 0 0;
  -webkit-transition: opacity 0.8s, -webkit-transform 1s;
  transition: opacity 0.8s, -webkit-transform 1s;
  -o-transition: transform 1s, opacity 0.8s;
  transition: transform 1s, opacity 0.8s;
  transition: transform 1s, opacity 0.8s, -webkit-transform 1s;
  width: 100%;
  z-index: 0; }

[id^=slide]:target {
  -webkit-transform: rotate(0deg);
      -ms-transform: rotate(0deg);
          transform: rotate(0deg);
  z-index: 1; }

[id^=slide]:target ~ [id^=slide] {
  opacity: 0;
  -webkit-transform: rotate(-90deg);
      -ms-transform: rotate(-90deg);
          transform: rotate(-90deg); }

.o-wrapper {
  width: 100%; }

.o-controls {
  font-size: 1rem;
  margin: 0 10px; }

.l-flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center; }

.l-title {
  -webkit-box-flex: 1;
      -ms-flex: 1 0 100%;
          flex: 1 0 100%; }



#slide1 {
  background: #000;
  padding: 0;

}
#slide1 iframe {
  max-width: 960px;
  max-height: 540px;
  height: 174px;
  width: 310px;
}
@media (min-width: 410px) {
  #slide1 iframe {
    height: 220px;
    width: 390px;
  }
}
@media (min-width: 600px) {
  #slide1 iframe {
    height: 310px;
    width: 550px;
  }
}
@media (min-width: 768px) {
  #slide1 iframe {
    height: 422px;
    width: 750px;
  }
}
@media (min-width: 1024px) {
  #slide1 iframe {
    height: 540px;
    width: 960px;
  }
}

#slide2 {
  background: url("img/allan.jpg") no-repeat center;
  background-size: cover;
}

#slide2 .recordspage h1 {
  position: absolute;
  top: 0;
  left: 15px;

  margin: 0;
}
.controls-absolute {
  position: absolute;
  top: 15px;
  right: 15px;
  text-align: right;
}
.records-absolute {
  position: absolute;
  left: 15px;
  top: 50px;
  text-align: left;
}
.records-absolute h2 {
  margin: 0;
  font-size: 18px;
}
.records-absolute ul{
  list-style: none;
  margin: 0;
  padding: 0;
}
.records-absolute ul li{
  font-size: 14px;
}
.records-absolute ul li span{
  color: red;
}
.records-absolute p{
  margin: 0;
  padding: 0;
  font-size: 12px;
}
.records-absolute p span {
  color: red;
}

.box {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
}
.box li {
  font-size: 14px;
}



