/*@media screen and (min-width: 320px) and (max-width: 767px) and (orientation: portrait) {
  html {
    transform: rotate(-90deg);
    transform-origin: left top;
    width: 100vh;
    height: 100vw;
    overflow-x: hidden;
    position: absolute;
    top: 100%;
    left: 0;
  }
}*/

html, body {
  margin: 0;
  padding: 0;
}

body, h1, h2, h3, h4 {
  font-family: 'Raleway', 'HelveticaNeue-Light', 'Helvetica Neue Light', 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; 
  font-weight: 200;
  color: white;
  margin: 0;
}

a, a:visited {
  color: white;
}

p, a {
  letter-spacing: 0.02em;
}

h1 {
  font-size: 4rem;
}

h2 {
  font-size: 3rem
}

section {
  position: relative;
  display: flex;
  min-height: 100vh;
  width: 100vw;

  -webkit-background-size: cover;
     -moz-background-size: cover;
       -o-background-size: cover;
          background-size: cover;
  
  background-position: center center;
  background-repeat: no-repeat;
}

section .banner {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: start;

  background: #00000088;

  position: absolute;
  bottom: 80px;
  width: 100%;
}

section .banner h2 {
  flex-shrink: 0;
  align-self: center;

  text-align: right;
  padding: 20px 40px;
}

section .banner .content {
  border-left: 1px solid #ffffff88;

  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  z-index: 1;
  padding: 20px 40px;
}

section .banner .content p:first-child {
  margin-top: 0;
}

section .banner .content p:last {
  margin-bottom: 0;
}


/*
 * Section specific styling
 */


#homescreen {
  background-image: url('../homescreen.jpg');
  background-position: center left 20%;
}

#homescreen h1 {
  position: absolute;
  left: 80px;
  bottom: 80px;
  text-shadow: #000000 0 0 3px;
}

#johnny-parry {
  background-image: url('../DSC_9125.jpg');
  background-position: center right 20%;
}

#airship {
  background-image: url('../DSC_1167-Edit-2.jpg');
  background-position: center center;
}

#moffett {
  background-image: url('../DSC_1536.jpg');
  background-position: center center;
}

#github {
  background-color: #647c5d;
  background-image: url('../octocat.png');
  background-size: 75vw;
  background-position: center right;
}

#info .content,
#info .content h1,
#info .content h2 {
  color: black;
}

#info .content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin:  auto;
}

#info .social {
  margin: 20px;
}

#info .social > *:not(:last-child) {
  margin-right: 20px;
}

#info .copyright {
  text-align: center;
}

#info .copyright div {
  position: relative;
  top: -0.5em;
}
