@import url("https://fonts.googleapis.com/css?family=Fira+Sans");
/*Variables */
.left-section .inner-content {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
@media (max-height: 770px) {
  .left-section .inner-content {
    top: 35%;
  }
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}
@media (max-width: 770px) {
  html, body {
    overflow-y: hidden;
  }
}

body {
  font-family: "Fira Sans", sans-serif;
  color: #f5f6fa;
}
@media (max-width: 770px) {
  body {
    position: relative;
  }
}

.background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #70c4c6;
  animation-name: daylight;
  animation-duration: 60s;
  animation-iteration-count: infinite;
  overflow: hidden;
  animation-timing-function: linear;
  z-index: -10;
}
.background .ground {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 25vh;
  background: #0C0E10;
}
@media (max-width: 770px) {
  .background .ground {
    height: 5rem;
  }
}

/* The ribbons */

.corner-ribbon{
  width: 200px;
  background: #e43;
  position: absolute;
  top: 25px;
  left: -50px;
  text-align: center;
  line-height: 50px;
  letter-spacing: 1px;
  color: #f0f0f0;
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}

/* Custom styles */

.corner-ribbon.sticky{
  position: fixed;
}

.corner-ribbon.shadow{
  box-shadow: 0 0 3px rgba(0,0,0,.3);
}

.corner-ribbon.mobile {
  visibility: hidden;
}
@media (max-width: 770px) and (min-height: 650px) {
  .corner-ribbon.mobile.left {
    visibility: visible;
  }
}
@media (max-height: 650px) {
  .corner-ribbon.mobile.right {
    visibility: visible;
  }
}

.fade {
  position: relative;
  width: 100%;
  min-height: 60vh;
  top: -25px;
  background-image: linear-gradient(0deg, transparent, black 75%);
  z-index: 1;
}

.star-wars {
  display: flex;
  justify-content: center;
  position: relative;
  height: 800px;
  color: #feda4a;
  font-family: 'Pathway Gothic One', sans-serif;
  font-size: 500%;
  font-weight: 600;
  letter-spacing: 6px;
  line-height: 150%;
  perspective: 400px;
  text-align: justify;
}

.crawl {
  position: relative;
  top: 9999px;
  transform-origin: 50% 100%;
  animation: crawl 60s linear;
}

.crawl > .title {
  font-size: 90%;
  text-align: center;
}

.crawl > .title h1 {
  margin: 0 0 100px;
  text-transform: uppercase;
}

@keyframes crawl {
  0% {
    top: 0;
    transform: rotateX(20deg)  translateZ(0);
  }
  100% { 
    top: -6000px;
    transform: rotateX(25deg) translateZ(-2500px);
  }
}

/* Different positions */

.corner-ribbon.top-left{
  top: 25px;
  left: -50px;
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}

.corner-ribbon.top-right{
  top: 25px;
  right: -50px;
  left: auto;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

.corner-ribbon.bottom-left{
  top: auto;
  bottom: 25px;
  left: -50px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

.corner-ribbon.bottom-right{
  top: auto;
  right: -50px;
  bottom: 25px;
  left: auto;
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}

/* Colors */

.corner-ribbon.white{background: #f0f0f0; color: #555;}
.corner-ribbon.black{background: #333;}
.corner-ribbon.grey{background: #999;}
.corner-ribbon.blue{background: #39d;}
.corner-ribbon.green{background: #2c7;}
.corner-ribbon.turquoise{background: #1b9;}
.corner-ribbon.purple{background: #95b;}
.corner-ribbon.red{background: #e43;}
.corner-ribbon.orange{background: #e82;}
.corner-ribbon.yellow{background: #ec0;}

.audio {
  bottom: 0%;
  left: 0%;
  position: absolute;
  visibility: hidden;
}

.social {
  margin: auto;
  width: 15%;
  bottom: -50%;
  position: relative;
  opacity: 0;
}
.social.show {
  opacity: 0.9;
  animation: fadein 30s;
}

.eclipse {
  width: 60%;
  height: 50%;
  /* border: 1px solid #000; */
  position: relative;
  left:25%;
  top: 0px;
  animation-name: time;
  animation-duration: 60s;
  animation-iteration-count: infinite;
  z-index: -1;
  animation-timing-function: linear;
}
@media (max-width: 770px) {
  .eclipse {
    width: 102vw;
    left: 1vw;
    height: 1vw;
    top: -1vw;
  }
}

.sun {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background-color: #fff569;
  position: absolute;
  top: -55px;
  left: -55px;
}
.sun.a {
  bottom: -55px;
  right: -55px;
  left: auto;
  top:auto;
}
.moon {
  width:70px;
  height:70px;
  border-radius: 50%;
  background-color: #ffffff;
  position: absolute;
  bottom: -55px;
  right: -55px;
}
.moon.a {
  bottom: -55px;
  left: -55px;
  top:auto;
  right: auto;
}

.container {
  position: relative;
  margin: 0 auto;
  width: 85%;
  height: 100vh;
  padding-bottom: 25vh;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}
@media (max-width: 1024px) {
  .container {
    width: 100%;
  }
}
@media (max-width: 770px) {
  .container {
    flex-direction: column;
    padding-bottom: 0vh;
  }
}

.left-section, .right-section {
  position: relative;
}

.left-section {
  width: 40%;
}
@media (max-width: 770px) {
  .left-section {
    width: 100%;
    height: 40%;
    position: absolute;
    top: 0;
  }
}
@media (max-width: 770px) {
  .left-section .inner-content {
    position: relative;
    padding: 1rem 0;
  }
}

.heading {
  text-align: center;
  font-size: 9em;
  line-height: 1.3em;
  margin: 2rem 0 0.5rem 0;
  padding: 0;
  text-shadow: 0 0 1rem #fefefe;
}
@media (max-height: 770px) {
  .heading {
    font-size: 5em;
    line-height: 1.15;
    margin: 0;
  }
}
@media (max-width: 770px) {
  .heading {
    font-size: 4em;
    line-height: 1.15;
    margin: 0;
  }
}

.subheading {
  text-align: center;
  max-width: 480px;
  font-size: 1.5em;
  line-height: 1.15em;
  padding: 0 1rem;
  margin: 0 auto;
}
@media (max-height: 770px) {
  .subheading {
    font-size: 1.2em;
    line-height: 1.15;
    max-width: 100%;
  }
}
@media (max-width: 770px) {
  .subheading {
    font-size: 1.2em;
    line-height: 1.15;
    max-width: 100%;
  }
}

.right-section {
  width: 50%;
}
@media (max-width: 1024px) {
  .right-section {
    width: 55%;
  }
}
@media (max-width: 770px) {
  .right-section {
    width: 100%;
    height: 60%;
    position: absolute;
    bottom: 0;
  }
}

.svgimg {
  position: absolute;
  bottom: 0;
  padding-top: 10vh;
  padding-left: 1vh;
  max-width: 100%;
  max-height: 100%;
}
@media (max-width: 770px) {
  .svgimg {
    padding: 0;
    bottom: 5rem;
  }
}
.svgimg .bench-legs {
  fill: #0C0E10;
}
.svgimg .top-bench, .svgimg .bottom-bench {
  stroke: #0C0E10;
  stroke-width: 1px;
  fill: #5B3E2B;
}
.svgimg .bottom-bench path:nth-child(1) {
  fill: #432d20;
}
.svgimg .lamp-details {
  fill: #202425;
}
.svgimg .lamp-accent {
  fill: #2c3133;
}
.svgimg .lamp-bottom {
  fill: linear-gradient(#202425, #0C0E10);
}
.svgimg .lamp-light {
  fill: #EFEFEF;
}

#dancingnose {
  position: relative;
  z-index: 100;
  top: 63%;
  left: 35%;
  max-width: 45%;
}
@-moz-document url-prefix() {
  #dancingnose {
    left: 15%;
  }
}
@supports (-ms-ime-align:auto) {
  #dancingnose {
    left: 15%;
  }
}
@media (max-width: 770px) {
  #dancingnose {
    top: 42%;
    left: 30%;
    max-width: 65%;
  }
}
@media (max-height: 650px) {
  #dancingnose {
    left: 40%;
    max-width: 33%;
  }
}

#dancingnoseimg {
  display: block;
  cursor: move;
  z-index: 101;
  max-width: 100%;
  height: auto;
}

#snot {
  position: absolute;
  display: block;
  top: 80%;
  left: 10%;
  max-width: 60%;
  max-height: 100%;
  padding-left: 25%;
}

@keyframes glow {
  0% {
    text-shadow: 0 0 1rem #fefefe;
  }
  50% {
    text-shadow: 0 0 1.85rem #ededed;
  }
  100% {
    text-shadow: 0 0 1rem #fefefe;
  }
}

@keyframes day {
  0% {
    background: linear-gradient(#0C0E10, #446182);
  }
  25% {
    background: linear-gradient(#333c45, #446182);
  }
  50% {
    background: linear-gradient(#536475, #446182);
  }
  75% {
    background: linear-gradient(#68839e, #446182);
  }
  100% {
    background: linear-gradient(#8db3d9, #446182);
  }
}

@keyframes daylight {
  0% {  background-color: #70c4c6; }
  30% {  background-color: #70c4c6; }
  35% {  background-color: #d67447; }
  43% {  background-color: #524b64; }
  50% { background-color: #354a4a; }
  80% { background-color: #354a4a; }
  90% {  background-color: #e2b553; }
  100% {  background-color: #70c4c6;}
}
@keyframes time {
  0% { transform: rotate(45deg); }
  100% { transform: rotate(405deg); }
}
@keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 0.9; }
}
