/*--------------OVERRIDES--------------*/

body {
  background-color:#D9D9D9;
  background-image: url(../images/latitude/bg.jpg);
  background-size: 360px 351px;
  background-repeat:  repeat;
  background-position: center;
  color: #1D1D1D;
}

article {
  background: #D9D9D9;
  background-image: url(../images/latitude/bg.jpg);
  background-size: 360px 351px;
  background-repeat:  repeat;
  background-position: center;
  position: relative;
}

article img {
  -webkit-filter: grayscale(1);
  filter: grayscale(1);
}

a, a:visited{
  color: #1D1D1D;
}

  a:hover {
    color: #0804A9;
  }

h2 {
  text-align: center;
  margin: 50px 0 20px 0;
}

p {
  margin-top: 30px;
}

.menuiconbg {
  left: -6px;
  top: -8px;
  width:51px;
}

@media only screen and (max-width: 480px) {
  .menuiconbg {
    width: 46px;
    left: 1px;
    top: -5px;
  }
}

.nav {
  background-color: #1D1D1D;
}

  .nav a, .selected {
    color: #D9D9D9!important;
  }

.scrollTop {
  background-color: #D9D9D9;
}

.text {
  padding 0;
}

/*--------------IMAGES--------------*/

.rightleft {
  position: relative;
  max-width: 1000px;
  margin: auto;
}

  .rightleft img {
    position: absolute;
    -webkit-filter: grayscale(1);
     filter: grayscale(1);
  }

.overlay {
  z-index: 1000;
  mix-blend-mode: soft-light;
  background: #ADD2AF;
  -webkit-transition: opacity 0.2s linear;
  transition: opacity 0.2s linear;
  -webkit-backface-visibility: hidden;
  -webkit-transform:translate3d(0,0,0);
}

  .overlay:hover, .overlay:active {
    opacity: 0;
  }

.overlay + img {
  -webkit-transition: -webkit-filter 0.2s linear;
  transition: filter 0.2s linear, -webkit-filter 0.2s linear;
  -webkit-backface-visibility: hidden;
  -webkit-transform:translate3d(0,0,0);
}

  .overlay:hover + img, .overlay:active + img {
    -webkit-filter: grayscale(0);
    filter: grayscale(0);
  }

.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

.contentleft {
  float: left;
  clear: both:
  padding: 20px 0;
}

.contentright {
  float: right;
  clear: both;
  padding: 20px 0;
}

  .contentleft .overlay, .contentright .overlay {
    position: absolute;
    width: 100%;
    height: 100%;
  }

@media only screen and (max-width: 480px) {
  .contentleft, .contentright {
    padding: 25px 0;
  }
}

/*--------------TEXT--------------*/

figcaption {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
  /* background-color: yellow; */
}

.bold {
  font-family: 'Rakkas', serif;
}

@media only screen and (max-width: 480px) {
  figcaption {
    margin-top: 10px;
    margin-bottom: 10px;
  }
}

/*--------------HEADER--------------*/

header {
  width: 100%;
  height: 500px;
}

#titlearea {
  position: relative;
  width: 768px;
  max-width: 100%;
  height: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

  #titlearea h1 {
    width: 280px;
    font-size: 54px;
    text-align: left;
    padding: 0 20px;
    max-width: 100%;
  }

  #latleft {
    -webkit-transform:translateZ(0.00001px) rotateY(180deg);
    -moz-transform:translateZ(0.00001px) rotateY(180deg);
    -o-transform:translateZ(0.00001px) rotateY(180deg);
    -ms-transform:translateZ(0.00001px) rotateY(180deg);
  }

  #hexlogo {
    width: 180px;
    height: auto;
  }

@media only screen and (max-width: 768px) {
  #titlearea h1 {
    font-size: 6vw;
    padding: 10px 10px;
  }
  #hexlogo {
    width: 25%;
  }
}

@media only screen and (max-width: 480px) {
  header {
    height: 100vh;
  }
  #titlearea {
    flex-wrap: wrap!important;
  }
  #hexlogo {
    width: 60%;
    padding: 0 0px;
  }
  #titlearea h1 {
    width: 50%;
    font-size: 6vh;
    line-height: 100%;
    text-align: center;
    padding: 10px 0;
  }

  #latleft{
    position: absolute;
    top: 17vh;
  }
  #latright {
    position: absolute;
    top: 68vh;
  }
}

/*--------------INTRO--------------*/

#handoffdiv {
  max-width: 900px;
  position: relative;
}

#handoffdiv .overlay {
  position: absolute;
  width: 100%;
  height: 100%;
}

  .handoff {
    width: 100%;
    height: auto;
    display: block;
  }

/*--------------LOBBY--------------*/

#lobbyimages {
  width: 80%;
  max-width: 1000px;
  height: 600px;
  position: relative;
  margin: 30px auto 0 auto;
}

  #lobbyimages .overlay {
    position: absolute;
    width: 100%;
    height: 100%;
  }

  .lobby, .slide, .doors{
    width: 100%;
    height: auto;
    display: block;
  }

#lobbydiv {
  width: 40%;
  max-width: 342px;
  position: relative;
  left: -5%;
  top: 0;
  z-index: 1000;
}

#slidediv {
  width: 40%;
  max-width: 330px;
  position: relative;
  left: -35%;
  top: 20%;
  z-index: 1;
}

#doorsdiv {
  width: 50%;
  max-width: 480px;
  position: relative;
  left: 25%;
  top: 35%;
  z-index: 1;

}

#symbol1 {
  max-width: 150px;
  width: 20%;
  top: 55%;
  left: 70%;
}

@media only screen and (max-width: 834px) {
  #lobbyimages {
    height: 480px;
  }
  #lobbydiv {
    width: 45%;
  }
  #slidediv {
    width: 40%;
    left: -40%;
  }
  #doorsdiv {
    width: 60%;
    top: 50%;
    left: 40%;
  }
  #symbol1 {
    top: 70%;
  }
}

@media only screen and (max-width: 480px) {
  #lobbyimages {
    height: 600px;
  }
  #lobbydiv {
    width: 70%;
  }
  #slidediv {
    width: 70%;
    top: 35%;
    left: -40%;
  }
  #doorsdiv {
    width: 90%;
    top: 70%;
    left: 45%;
  }
  #symbol1 {
    width: 40%;
    top: 20%;
    left: 60%;
  }
}

/*--------------FABLE--------------*/

#fableimages {
  width: 90%;
  max-width: 1000px;
  height: 550px;
  position: relative;
  margin: 30px auto 0 auto;
}

  #fableimages .overlay {
    position: absolute;
    width: 100%;
    height: 100%;
  }

  .library, .fable {
    width: 100%;
    height: auto;
    display: block;
  }

#librarydiv {
  width: 75%;
  max-width: 630px;
  position: relative;
  left: -25%;
  top: 0;
  z-index: 1000;
}

#fablediv {
  width: 80%;
  max-width: 590px;
  position: relative;
  left: 25%;
  top: 20%;
}

#symbol2 {
  max-width: 200px;
  width: 20%;
  top: 50%;
  left:-60%;
  z-index: 1000;
}

@media only screen and (max-width: 834px) {
  #fableimages {
    height: 480px;
  }
  #librarydiv {
    width: 65%;
    left: -30%;
  }
  #fablediv {
    width: 70%;
    left: 30%;
    top: 20%;
  }
  #symbol2 {
    top: 15%;
  }
}

@media only screen and (max-width: 480px) {
  #fableimages {
    height: 500px;
  }
  #librarydiv {
    top: 5%;
    width: 100%;
    left: -10%;
  }
  #fablediv {
    width: 100%;
    left: 10%;
    top: 45%;
  }
  #symbol2 {
    width: 40%;
    left: -70%;
    top: 10%;
  }
}

/*--------------MONOLYTH--------------*/

.monolyth {
  max-width: 500px;
  width: 100%;
  margin-top: 50px;
}

@media only screen and (max-width: 480px) {
  .monolyth {
    width: 80%
  }
}

/*--------------LOUNGE--------------*/

#loungeimages {
  width: 90%;
  max-width: 1000px;
  height: 450px;
  position: relative;
  margin: 30px auto 0 auto;
}

  #loungeimages .overlay {
    position: absolute;
    width: 100%;
    height: 100%;
  }

  .lounge, .ghost {
    width: 100%;
    height: auto;
    display: block;
  }

#loungediv {
  width: 80%;
  max-width: 560px;
  position: relative;
  left: -20%;
  top: 0;
  z-index: 1;
}

#ghostdiv {
  width: 80%;
  max-width: 560px;
  position: relative;
  left: 20%;
  top: 25%;
  z-index: 1;
}

#symbol3 {
  max-width: 120px;
  width: 20%;
  top: -60%;
  left:70%;
  z-index: 1000;
}

@media only screen and (max-width: 834px) {
  #loungeimages {
    height: 450px;
  }
  #loungediv {
    width: 65%;
    left: -30%;
    top: 0;
  }
  #ghostdiv {
    width: 65%;
    left: 30%;
    top: 40%;
  }
  #symbol3 {
    width: 12%;
    top: -20%;
    left:70%;
  }
}

@media only screen and (max-width: 480px) {
  #loungeimages {
    height: 410px;
  }
  #loungediv {
    width: 90%;
    left: -20%;
    top: 5%;
  }
  #ghostdiv {
    width: 90%;
    left: 20%;
    top: 50%;
  }
  #symbol3 {
    width: 25%;
    top: -20%;
    left:60%;
  }
}

/*--------------QUAS--------------*/

#quasimages {
  height: 780px;
  position: relative;
  margin-bottom: 80px;
}

  #quasroom {
    max-width: 450px;
    width: 70%;
    z-index: 10;
    -webkit-filter: grayscale(0) !important;
    filter: grayscale(0) !important;
  }

  #quasface {
    max-width: 600px;
    width: 100%;
    mix-blend-mode: darken;
  }

  #quasimages figcaption {
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    margin: 0;
  }

@media only screen and (max-width: 555px) {
  #quasimages {
    height: 650px;
  }
}

@media only screen and (max-width: 480px) {
  #quasimages {
    height: 550px;
  }
}

/*--------------ARTIFACTS--------------*/

#artifactimages {
  width: 80%;
  max-width: 750px;
  position: relative;
}

  .hexmark, .kith, .denarcadia, .praxis, .kwan  {
    width: 100%;
    height: auto;
    display: block;
  }

#hexmarkdiv {
  clear: both;
  width: 100%;
  max-width: 420px;
  position: relative;
}
  #hexmarkdiv + figcaption {
    float: left;
  }

#kithdiv {
  clear: both;
  width: 100%;
  max-width: 380px;
  position: relative;
}

  #kithdiv + figcaption {
    clear: both;
    float: right;
  }

#dendiv {
  clear: both;
  width: 100%;
  max-width: 420px;
  position: relative;
}

  #dendiv + figcaption {
    clear: both;
    float: left;
  }

#symbol4 {
  clear: both;
  position: absolute;
  top: 70%;
  left: 50%;
  max-width: 200px;
  width: 100%;
  z-index: 10;
}

#kwandiv {
  clear: both;
  width: 100%;
  max-width: 330px;
  position: relative;
}

  #kwandiv + figcaption {
    float: right;
  }

#praxisdiv {
  clear: both;
  width: 100%;
  max-width: 500px;
  position: relative;
}

  #praxisdiv + figcaption {
    float: left;
  }

@media only screen and (max-width: 480px) {
  #symbol4 {
    top: 80%;
    left: 60%;
    width: 30%;
  }

  #artifactimages figcaption {
    float:none;
  }
}

/*--------------HOUSES--------------*/

#houseimages {
  width: 90%;
  max-width: 900px;
  position: relative;
}

  .house1, .house2, .house3, .house4 {
    width: 100%;
    height: auto;
    display: block;
  }

#house1div {
  clear: both;
  width: 100%;
  max-width: 600px;
  position: relative;
}

  #house1div + figcaption {
    clear: both;
    float: left;
  }

#house2div {
  clear: both;
  width: 100%;
  max-width: 600px;
  position: relative;
}

  #house2div + figcaption {
    clear: both;
    float: right;
  }

#house3div {
  clear: both;
  width: 100%;
  max-width: 600px;
  position: relative;
}

  #house3div + figcaption {
    clear: both;
    float: left;
  }

#house4div {
  clear: both;
  width: 100%;
  max-width: 400px;
  position: relative;
}

  #house4div + figcaption {
    clear: both;
    float: right;
    margin-right: 50px;
  }

@media only screen and (max-width: 480px) {
  #houseimages figcaption {
    float:none;
    margin-right: 0;
  }
}

/*--------------MOVIE--------------*/

#trailerdiv {
  width: 90%;
  max-width: 1500px;
  position: relative;
  margin: 100px auto;
}

  #trailer {
    position: relative;
    max-width: 600px;
    min-height: 360px;
    z-index: 10;
    margin: auto;
  }

  #trailerdiv h1 {
    position: relative;
    margin-bottom: 10px;
    z-index: 10;
  }

  #trailerdiv h4 {
    position: relative;
    max-width: 600px;
    text-align: center;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5em;
    z-index: 10;
  }

  #oliveL {
    position: absolute;
    margin-left:auto;
    margin-right:auto;
    width: 300px;
    left: -800px;
    right: 0;
    top: -10px;
    z-index: 0;
  }

  #oliveR {
    position: absolute;
    margin-left:auto;
    margin-right:auto;
    width: 300px;
    right: -800px;
    left: 0;
    top: -10px;
    z-index: 0;
  }

@media only screen and (max-width: 480px) {
  #trailer {
    height: 260px;
    min-height: 260px;
  }
  #trailerdiv {
    margin: 50px auto;
  }
  #oliveL {
    left: -350px;
    top: -40px;
  }
  #oliveR {
    right: -350px;
    top: -40px;
  }
}

/*--------------FOOTER--------------*/

#footerimg {
  width: 80px;
  height: auto;
  margin: 20px 0 30px 0;
}
