@import url(https://fonts.googleapis.com/css?family=Slabo+13px);
@import url(https://fonts.googleapis.com/css?family=Open+Sans);
html {
  margin: 0;
  padding: 0;
}

body {
  padding: 0;
  margin: 0;
  height: 100vh;
}

.splash, .window {
  background-repeat: no-repeat;
  background-position: 10% 50%;
  background-size: cover;
}

.splash {
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
          flex-direction: column;
  -webkit-box-align: center;
          align-items: center;
  -webkit-box-pack: center;
          justify-content: center;
  position: relative;
  height: 100vh;
  z-index: 1;
}
.splash:first-of-type {
  background-image: url(bg.jpg);
}
@media screen and (max-width: 767px) {
  .splash, .window {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
  }
  .splash:first-of-type {
    background-image: url(mbg.jpg);
  }
}
.splash.fixed {
  background-attachment: fixed;
}

.ghost-white {
  font-family: 'Open Sans', sans-serif;
  text-transform: uppercase;
  background: none;
  font-size: 1.2rem;
  padding: 10px 30px;
  -webkit-transition: background-color .3s, border .3s, color .3s;
  transition: background-color .3s, border .3s, color .3s;
  color: white;
  border: 2px solid white;
}
.ghost-white:hover {
  background-color: white;
  color: #222;
  cursor: pointer;
}

h1 {
  font-family: 'Slabo 13px', serif;
  font-size: 3rem;
  letter-spacing: 1px;
  color: white;
  margin-bottom: 2.5rem;
  text-shadow: 1px 1px 3px #555;
}

section {
  font-family: 'Open Sans', sans-serif;
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: center;
          justify-content: center;
  -webkit-box-align: center;
          align-items: center;
  height: 100vh;
  color: white;
}
section.flex-col {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
          flex-direction: column;
}
section h2 {
  font-size: 1.5rem;
  max-width: 75vw;
}
section:nth-of-type(2) {
  background-color: #333;
}
section:nth-of-type(3) {
  background-color: #00897b;
}
section:nth-of-type(5) {
  background-color: #00A1CB;
}
section:nth-of-type(8) {
  background-color: #00838f;
}

.doge {
  color: white;
  font-family: 'Comic Sans MS';
}
.doge h2 {
  align-self: flex-start;
  margin-left: 25vw;
  -webkit-transform: rotate(-4deg);
          transform: rotate(-4deg);
}
.doge-right {
  color: white;
  font-family: 'Comic Sans MS';
}
.doge-right h2 {
  align-self: flex-end;
  margin-right: 25vw;
  -webkit-transform: rotate(4deg);
          transform: rotate(4deg);
}

.underline {
  text-decoration: underline;
}

.window-section {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
          flex-direction: row;
  background-color: #F5D68F;
}
.window-section > h2 {
  margin: 0 0 0 50px;
  align-self: auto;
}

.window {
  width: 400px;
  height: 300px;
  border-radius: 40px;
  background-color: white;
  background-image: url(https://i.imgur.com/2cfERwZ.jpg);
  background-attachment: fixed;
}

.the-doge {
  position: fixed;
  bottom: -350px;
  right: 100px;
  z-index: 5;
  -webkit-transition: -webkit-transform .5s ease;
  transition: -webkit-transform .5s ease;
  transition: transform .5s ease;
  transition: transform .5s ease, -webkit-transform .5s ease;
}
.the-doge.active {
  -webkit-transform: translateY(-270px);
          transform: translateY(-270px);
}

code {
  white-space: pre;
  font-family: monospace;
  background-color: #2f2f2f;
  font-size: 1.5rem;
  padding: 20px;
  border-radius: 2px;
}