html, body{
  padding: 0;
  margin: 0;
  width: 100%;
  text-rendering: optimizeLegibility;
}

.dark-night{
  -webkit-filter: invert(1);
  filter: invert(1);
}

h1{
  font-family: 'Pirata One', 'Lucida Blackletter', cursive;
  color: #b51616;
  font-size: 48px;
  letter-spacing: 0.045em;
  margin-top: 1em;
  margin-bottom: 1em;
  line-height: 1;
}

a{
  text-decoration: none;
  color: #b51616;
}

.secret-button{
  width: 40px;
  height: 40px;
  background-image:url("Images/SVG/fangs.svg");
  top: 10px;
  right: 10px;
  position: absolute;
  background-size: cover;
  cursor: pointer;
  z-index: 9999;
}

.dark-night .secret-button{
  -webkit-filter: invert(1);
  filter: invert(1);
}

a.subduded{
  color: black;
  text-decoration: underline;
}

footer{
  text-align: center;
  padding: 1rem 0;
}

p{
  font-family: 'Rosarivo', 'Palatino Linotype', Palatino, Palladio, 'URW Palladio L', 'Book Antiqua', Baskerville, 'Bookman Old Style', 'Bitstream Charter', 'Nimbus Roman No9 L', Garamond, 'Apple Garamond', 'ITC Garamond Narrow', 'New Century Schoolbook', 'Century Schoolbook', 'Century Schoolbook L', Georgia, serif;
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 1em;
}

@media screen and (min-width: 800px){
  h1{
    font-size: 48px;
  }
  p{
    font-size: 24px;
  }
}

img{
  max-width: 100%;
}

.outer-wrapper{
  background-color: #ede6d0;
}

.wrapper{
  max-width: 1200px;
  margin: 0 auto;
}


@media screen and (min-width: 1200px){
  .wrapper{
    border-radius: 5px;
    padding-top: 20px;
  }
}


.container{
  width: 100%;
  background-color: rgba(255,255,255,0.6);
  position: relative;
}

.environment{
  position: relative;
  top: -17vw;
  -webkit-filter: hue-rotate(-30deg);
  filter: hue-rotate(-30deg);
}

@media screen and (min-width: 1200px){
  .environment{
    top: -300px;
  }
}

.layer{
  position: absolute;
  top: 0;
  left: 0;
  height: 66.666667vw;
  width: 100%;
  background-size: cover;
}

.parallax-layer{
  transform: translateZ(0px);
  will-change: transform;
}

.text-bg{
  padding: 25px 50px;
  box-sizing: border-box;
  max-width: 1000px;
  margin: 0 auto;
  z-index: 2;
  position: relative;
}

@media screen and (min-width: 1200px){
  .text-bg{ padding: 50px 100px; }
}

.interaction-points{
  position: relative;
  width: 100%;
  height: 66.666667vw;
  top: 0;
  left: 0;
  z-index: 15;
}

 .interaction-points .point{
  z-index: 18;
  position: relative;
  cursor: pointer;
}

 .interaction-points .interaction-wrapper{
  position: absolute;
  z-index: 15;
}

.interaction-wrapper{
  position: absolute;
  width: 100%;
  height: 100%;
  transform: translateY(100vh);
}

.interaction-1 .interaction-wrapper{ width: 10%; top: 50%; left: 10.8333333%;}
.interaction-1 .point{ padding-bottom: 74.6153846%; }

.interaction-2 .interaction-wrapper{ width: 8.0833333%; top: 57.75%; left: 18.5833333%;}
.interaction-2 .point{ padding-bottom: 63.9175258%; }

.interaction-3 .interaction-wrapper{ width: 2.5833333%; top: 66.625%; left: 36.75%;}
.interaction-3 .point{ padding-bottom: 206.6666667%; }

.interaction-4 .interaction-wrapper{ width: 4.3333333%; top: 61.625%; left: 67.6666667%;}
.interaction-4 .point{ padding-bottom: 292.3076923%; }

.interaction-5 .interaction-wrapper{ width: 6.6666667%; top: 70.25%; left: 75.4166667%;}
.interaction-5 .point{ padding-bottom: 95.2380952%; }

.interaction-6 .interaction-wrapper{ width: 13.5%; top: 69.25%; left: 82.5%;}
.interaction-6 .point{ padding-bottom: 51.8518519%; }

.interaction-points .point-inner{
  position: absolute;
  background-color: white;
  box-shadow: 0 0 10px black;
  border-radius: 10px;
  width: 10px;
  height: 10px;
  top: calc(50% - 5px);
  left: calc(50% - 5px);
  animation-timing-function: ease-out;
  animation-duration: 1s;
  animation-name: pulsate;
  animation-iteration-count: infinite;
  opacity: 0;
}

.point:hover .point-inner{
  opacity: 1;
  transition: all 0.3s;
  transform: scale(1.2);
  animation-name: none;
}

.interaction-item .point{
  pointer-events: none;
  opacity: 0;
}

@media screen and (min-width: 1200px){
  .layer, .interaction-points { height: 800px; }
}

.interaction-wrapper {
  transform: translateY(0);
  transition-delay: 0.4s;
}

.interaction-item .point{
  pointer-events: all;
  opacity: 1;
}

.layer,
.interaction-wrapper{
  opacity: 1;
}

.new-layer{
  position: absolute;
}

.bg-layer .layer{
  background-attachment: fixed;
  background-repeat: no-repeat;
}

.layer-8{ z-index: 3; }
.layer-8{ z-index: 4; }
.layer-7{ z-index: 5; }
.layer-6{ z-index: 6; }
.layer-5{ z-index: 7; }
.layer-4{ z-index: 8; }
.layer-3{ z-index: 9; }
.layer-2{ z-index: 10; }
.layer-1{ z-index: 11; }

.layer-1-bg{
  background-color: white;
  height: 400px;
  position: absolute;
  top: 100%;
  width: 100%;
  z-index: 7;
 }

.overview{
  position: relative;
  background-color: white;
  z-index: 100;
}

.overview-wrapper{
  max-width: 800px;
  padding: 0 20px 200px 20px;
  box-sizing:border-box;
  margin: 0 auto;
  margin-top: -17vw;
  background-color: white;
}

@media screen and (min-width: 1200px){
  .overview-wrapper{
    margin-top: -300px;
  }
}

.interaction-1 .point-inner{ animation-delay: 1.1s; }
.interaction-2 .point-inner{ animation-delay: 0.5s; }
.interaction-3 .point-inner{ animation-delay: 1s; }
.interaction-4 .point-inner{ animation-delay: 0.6s; }
.interaction-5 .point-inner{ animation-delay: 0.9s; }
.interaction-6 .point-inner{ animation-delay: 0.4s; }

@keyframes pulsate {
  0% {-webkit-transform: scale(0.1, 0.1); opacity: 0.0;}
  50% {opacity: 1.0;}
  100% {-webkit-transform: scale(1.2, 1.2); opacity: 0.0;}
}

.overview-wrapper p:first-letter {
  font-family: 'Pirata One', 'Lucida Blackletter', cursive;
  font-size: 3rem;
  position: absolute;
  float: left;
  padding: 0.2em 0.25em;
  line-height: 1;
  margin-right: .25em;
  background: black;
  color: #ede6d0;
  text-shadow: 2px 2px black, 3px 2px rgba(255,255,255,0.4);
  text-transform: uppercase;
}

.environment {
  z-index: 1;
}

.overview-wrapper img{
  -webkit-filter: grayscale();
  filter: grayscale();
  mix-blend-mode: multiply;
  transition: all 0.3s;
}

.image-container:hover img{
  -webkit-filter: grayscale(0);
  filter: grayscale(0);
}

.image-container{
  background-color: #ede6d0;
  margin-top: 2em;
  transition: all 0.2s;
}

.image-container:hover{
  background-color: white;
}
