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

body {
  font-family: 'Alegreya Sans',helvetica, arial, sans-serif;
  background-color: #2e2e31;
  margin:0;
  height: 100vh;
}

h1 {
  font-family: 'Alegreya Sans', sans-serif;
  font-weight:300;
  letter-spacing: 2px;
  font-size:48px;
}
p {
  font-family: 'Alegreya Sans', sans-serif;
  letter-spacing: 1px;
  font-size: 2.5em;
  font-weight: 700;
  color: #333333;
  cursor: default;
  margin-right:5px;
}

.header {
  position:relative;
  text-align:center;
  height:90vh;
  background: linear-gradient(60deg, rgba(84,58,183,1) 0%, rgba(0,172,193,1) 100%);
  color:white;
}

.inner-header {
  width:100%;
  margin: 0;
  padding: 0;
}

.flex { /*Flexbox for containers*/
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.waves_div {
  position:absolute;
  width: 100%;
  height:15vh;
  bottom:0;
  min-height:100px;
  max-height:150px;
}

.waves {
  position:relative;
  width: 100%;
  height:100%;
  margin-bottom:-7px; /*Fix for safari gap*/
  emin-height:100px;
  emax-height:150px;
}

.content {
  position:relative;
  height:10vh;
  text-align:center;
  background-color: white;
}

/* 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);
  }
}
/*Shrinking for mobile*/
@media (max-width: 768px) {
  .waves {
    height:40px;
    min-height:40px;
  }
  .content {
    height:10%;
  }
  h1 {
    font-size:24px;
  }
}


@-webkit-keyframes tipsy {
  0 {
    transform: translateX(-50%) translateY(-50%) rotate(0deg);
  }
  100% {
    transform: translateX(-50%) translateY(-50%) rotate(360deg);
  }
}
@keyframes tipsy {
  0 {
    transform: translateX(-50%) translateY(-50%) rotate(0deg);
  }
  100% {
    transform: translateX(-50%) translateY(-50%) rotate(360deg);
  }
}

#logo_div {
  color: #fffbf1;
  text-shadow: 0 20px 25px #2e2e31, 0 40px 60px #2e2e31;
  font-size: 80px;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: -2px;
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
}

#logo_div:before,
#logo_div:after {
  content: '';
  padding: 1.3em .1em;
  position: absolute;
  left: 50%;
  width: 100%;
  top: 50%;
  display: block;
  border: 15px solid;
  border-radius: 10px 40px 10px;
  transform: translateX(-50%) translateY(-50%) rotate(0deg);
  -webkit-animation: 10s infinite alternate ease-in-out tipsy;
          animation: 10s infinite alternate ease-in-out tipsy;
}

#logo_div:before {
  border-color: #d9524a #d9524a rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);
  z-index: -1;
}

#logo_div:after {
  border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) #d9524a #d9524a;
  box-shadow: 5px 5px 5px rgba(46, 46, 49, .5);
}
