@import url('https://fonts.googleapis.com/css2?family=League+Gothic&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DotGothic16&family=League+Gothic&display=swap');

body {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  font-family: sans-serif;
}

div#top,
div#bottom {
  position: fixed;
  left: 0;
  right: 0;
}

div#top {
  top: 0;
  height: 55%;
  background-color: white;
  z-index: 1;
}

div#bottom {
  bottom: 0;
  height: 45%;
  background: linear-gradient(180deg, rgb(5, 24, 72) 0%, rgb(2, 9, 26) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#shark {
  position: absolute;
  height: 300px;
  width: auto;
  opacity: 0.2;
  right: -450px;
  bottom: -235px;
  transform: rotate(2deg);
  z-index: 99;
}

div#header-info {
  position: absolute;
  bottom: 20%;
  left: 20%;
  color: rgb(3, 16, 50);
  font-size: 2.5em;
}

div#header-info h1 {
  font-family: "League Gothic", sans-serif;
  letter-spacing: 2px;
  margin-bottom: 30px;
}

div#header-info p {
  font-family: "DotGothic16", sans-serif;
  letter-spacing: 1px;
  font-size: 0.5em;
}

.inner-header {
  height: 100%;
}

#gfx {
  pointer-events: none;
}

.waves {
  position: relative;
  width: 100%;
  height: 70px;
  /* little less than height, so we don't get any weird 1px rendering
  white line when resizing browser window */
  bottom: 68px;
}

#social {
  position: relative;
  left: 20%;
  top: 10%;
}

#social a {
  position: relative;
  margin-right: 20px;
  opacity: 0.85;
  text-decoration: none;
  height: auto;
}

#social a:last-child {
  margin-right: 0;
}

#social svg {
  height: 28px;
}

#footer {
  position: relative;
  bottom: 0;
  left: 20%;
  display: flex;
  justify-content: flex-start;
  padding: 14px 0 14px 0;
  font-size: 0.85em;
}

#footer>div {
  margin-left: 20px;
}

#footer>div:first-child {
  margin-left: 0;
}

#footer a {
  color: white;
  opacity: 0.2;
  text-decoration: none;
}

#footer>div:first-child {
  text-align: left;
}

#footer>div:last-child {
  text-align: right;
}


/* Responsive behavior */
@media (max-height: 768px) {
  #shark {
    height: 280px;
    bottom: -215px;
    right: -420px;
  }

  div#header-info {
    bottom: 25%;
    font-size: 2.25em;
  }

  div#header-info h1 {
    margin-bottom: 25px;
  }

  .waves {
    height: 60px;
    bottom: 58px;
  }

  #social {
    top: 15%;
  }

  #social svg {
    height: 24px;
  }
}

@media (max-height: 576px) {
  #shark {
    height: 260px;
    bottom: -205px;
    right: -400px;
  }

  div#header-info {
    bottom: 25%;
    font-size: 1.5em;
  }

  div#header-info h1 {
    margin-bottom: 25px;
  }

  div#header-info p {
    font-size: 0.7em;
  }

  .waves {
    height: 50px;
    bottom: 48px;
  }

  #social {
    top: 20%;
  }

  #social svg {
    height: 24px;
  }
}

@media (max-height: 400px) {
  #shark {
    height: 200px;
    bottom: -145px;
    right: -300px;
  }

  div#header-info {
    bottom: 20%;
    font-size: 1em;
  }

  div#header-info h1 {
    margin-bottom: 16px;
  }

  div#header-info p {
    font-size: 0.85em;
    margin: 5px 0 5px 0;
  }

  .waves {
    height: 40px;
    bottom: 38px;
  }

  #social {
    top: 20%;
  }

  #social svg {
    height: 18px;
  }
}

@media (max-width: 1152px) {
  #shark {
    height: 280px;
    bottom: -215px;
    right: -420px;
  }
  
  div#header-info {
    left: 15%;
  }
  
  .waves {
    height: 60px;
    bottom: 58px;
  }
  
  #social {
    left: 15%;
  }
  
  #footer {
    left: 15%;
  }
}

@media (max-width: 1024px) {
  #shark {
    height: 260px;
    bottom: -205px;
    right: -400px;
  }
  
  div#header-info {
    left: 10%;
  }
  

  .waves {
    height: 50px;
    bottom: 48px;
  }
  
  #social {
    left: 10%;
  }
  
  #footer {
    left: 10%;
  }
}

@media (max-width: 890px) {
  #shark {
    height: 200px;
    bottom: -155px;
    right: -300px;
  }
  
  div#header-info {
    left: 10%;
  }
  

  .waves {
    height: 50px;
    bottom: 48px;
  }
  
  #social {
    left: 10%;
  }
  
  #footer {
    left: 10%;
  }
}

@media (max-width: 540px) {
  #shark {
    height: 150px;
    bottom: -115px;
    right: -260px;
  }
  
  div#header-info {
    left: auto;
    width: 100%;
    text-align: center;
    bottom: 25%;
    font-size: 1.6em !important;
  }

  div#header-info p {
    font-size: 0.7em;
  }

  .waves {
    height: 40px;
    bottom: 38px;
  }
  
  #social {
    left: auto;
    width: 100%;
    top: 65%;
    text-align: center;
  }
  
  #footer {
    left: auto;
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}


/* Animation */
.parallax>use {
  animation: move-forever 25s cubic-bezier(.55, .5, .45, .5) infinite;
}

.parallax>use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}

.parallax>use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}

.parallax>use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}

.parallax>use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}

@keyframes move-forever {
  0% {
    transform: translate3d(-90px, 0, 0);
  }

  100% {
    transform: translate3d(85px, 0, 0);
  }
}