html {
  scroll-behavior: smooth;
}

body {
  background: #662d91;
  margin: 0;
  padding: 0;
  background-image: url("https://www.transparenttextures.com/patterns/concrete-wall.png");
}

.content-wrapper {
  position: relative;
  height: 100vh;
}

#Jellyfish {
  width: 400px;
  position: absolute;
  left: 50%;
  transform: translate(-50%, 50%);
  -webkit-animation: slide-in-blurred-bottom 1s cubic-bezier(0.23, 1, 0.32, 1) both, pulsate-fwd 2.5s ease-in-out 0.2s infinite both;
          animation: slide-in-blurred-bottom 1s cubic-bezier(0.23, 1, 0.32, 1) both, pulsate-fwd 2.5s ease-in-out 0.2s infinite both;
}

#Glow {
  opacity: 0.4;
}

#Ring1 {
  -webkit-animation: pulse 2s ease-in-out 0.2s infinite both;
          animation: pulse 2s ease-in-out 0.2s infinite both;
  transform-origin: center center;
}

.hero {
  position: absolute;
  left: 50%;
  top: 50%;
  font-size: 8em;
  color: white;
  font-family: verdana;
  transform: translate(-50%, -100%);
  -webkit-animation: color 10s ease-in-out 0.2s infinite both;
          animation: color 10s ease-in-out 0.2s infinite both;
}

.fas {
  color: white;
  font-size: 2em;
  position: absolute;
}

.cta {
  right: 50px;
  position: absolute;
  top: 45px;
  font-family: Verdana;
  font-size: 1em;
  border: solid white 2px;
  border-radius: 2px;
  color: white;
  padding: 8px 16px;
  text-decoration: none;
  transition: all 0.3s ease-out;
}
.cta:hover {
  background: white;
  color: #662d91;
}

.fa-bars {
  left: 50px;
  top: 50px;
  transition: all 0.3s ease-in;
}

.fa-bars, .cta {
  opacity: 0.8;
}
.fa-bars:hover, .cta:hover {
  opacity: 1;
}

.fa-sort-down {
  bottom: 0;
  left: calc(50% - 16px);
  transform: translate(0%, -100px);
}

.section-2 {
  height: 100%;
  font-family: "Comfortaa", sans-serif;
  color: white;
  padding-bottom: 4em;
  background: #541c7d;
  position: relative;
}

.container {
  max-width: 800px;
  margin: auto;
  position: relative;
}

.intro {
  padding-top: 6em;
  text-align: center;
}

h2 {
  font-size: 3.4em;
}

#bigHalfCircle {
  position: absolute;
  top: -100px;
}

#bigHalfCircle path {
  fill: #541c7d;
  stroke: #541c7d;
}

.gallery {
  padding-top: 3em;
  max-width: 800px;
  margin: auto;
  position: relative;
}
.gallery img {
  width: 250px;
  margin: 10px 0px;
  border-radius: 6px;
  border: solid 2px #dd4792;
  transition: all 0.5s ease-in-out;
  box-shadow: 3px 3px 0px #dd4792;
}
.gallery img:hover {
  transform: perspective(500px) rotateY(25deg) scale(0.95);
}

.grid-item--width2 {
  width: 400px;
}

#leg-1 {
  -webkit-animation: stretch 4s ease-out infinite both;
          animation: stretch 4s ease-out infinite both;
  -webkit-animation-delay: 0.5s;
          animation-delay: 0.5s;
}

#leg-2 {
  -webkit-animation: stretch 4s ease-out infinite both;
          animation: stretch 4s ease-out infinite both;
  -webkit-animation-delay: 1s;
          animation-delay: 1s;
}

#leg-3 {
  -webkit-animation: stretch2 4s ease-out infinite both;
          animation: stretch2 4s ease-out infinite both;
  -webkit-animation-delay: 1s;
          animation-delay: 1s;
}

#leg-4 {
  -webkit-animation: stretch 4s ease-out infinite both;
          animation: stretch 4s ease-out infinite both;
  -webkit-animation-delay: 3s;
          animation-delay: 3s;
}

#leg-5 {
  -webkit-animation: stretch2 4s ease-out infinite both;
          animation: stretch2 4s ease-out infinite both;
  -webkit-animation-delay: 4s;
          animation-delay: 4s;
}

@-webkit-keyframes stretch {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(100px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes stretch {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(100px);
  }
  100% {
    transform: translateY(0);
  }
}
@-webkit-keyframes stretch2 {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(50px);
  }
  100% {
    transform: translateY(0);
  }
}
@keyframes stretch2 {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(50px);
  }
  100% {
    transform: translateY(0);
  }
}
@-webkit-keyframes slide-in-blurred-bottom {
  0% {
    transform: translateY(1000px) scaleY(2.5) scaleX(0.2);
    transform-origin: 50% 100%;
    filter: blur(40px);
    opacity: 0;
  }
  100% {
    transform: translateY(0px) scaleY(1) scaleX(1);
    transform-origin: 50% 50%;
    filter: blur(0);
    opacity: 1;
  }
}
@keyframes slide-in-blurred-bottom {
  0% {
    transform: translateY(1000px) scaleY(2.5) scaleX(0.2);
    transform-origin: 50% 100%;
    filter: blur(40px);
    opacity: 0;
  }
  100% {
    transform: translateY(0px) scaleY(1) scaleX(1);
    transform-origin: 50% 50%;
    filter: blur(0);
    opacity: 1;
  }
}
@-webkit-keyframes pulsate-fwd {
  0% {
    transform: translate(-50%, 50%) scale(1);
    left: 50%;
  }
  50% {
    transform: translate(-50%, 45%) scale(1.05);
    left: 50%;
  }
  100% {
    transform: translate(-50%, 50%) scale(1);
    left: 50%;
  }
}
@keyframes pulsate-fwd {
  0% {
    transform: translate(-50%, 50%) scale(1);
    left: 50%;
  }
  50% {
    transform: translate(-50%, 45%) scale(1.05);
    left: 50%;
  }
  100% {
    transform: translate(-50%, 50%) scale(1);
    left: 50%;
  }
}
@-webkit-keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}
@-webkit-keyframes color {
  0% {
    color: #ffffff;
  }
  25% {
    color: #7f47dd;
  }
  50% {
    color: #dd4792;
  }
  75% {
    color: #b34fff;
  }
  100% {
    color: #ffffff;
  }
}
@keyframes color {
  0% {
    color: #ffffff;
  }
  25% {
    color: #7f47dd;
  }
  50% {
    color: #dd4792;
  }
  75% {
    color: #b34fff;
  }
  100% {
    color: #ffffff;
  }
}
@media only screen and (max-width: 760px) {
  #Jellyfish {
    width: 300px;
    transform: translate(-50%, 100%);
  }

  .hero {
    font-size: 4em;
  }

  .gallery {
    max-width: 600px;
  }

  @-webkit-keyframes pulsate-fwd {
    0% {
      transform: translate(-50%, 85%) scale(1);
    }
    50% {
      transform: translate(-50%, 80%) scale(1.05);
    }
    100% {
      transform: translate(-50%, 85%) scale(1);
    }
  }

  @keyframes pulsate-fwd {
    0% {
      transform: translate(-50%, 85%) scale(1);
    }
    50% {
      transform: translate(-50%, 80%) scale(1.05);
    }
    100% {
      transform: translate(-50%, 85%) scale(1);
    }
  }
}