@import url("https://fonts.googleapis.com/css?family=Luckiest+Guy&display=swap");

body {
  background: radial-gradient(circle, #3d3db0 0%, #5c62ef 100%);
  font-family: "Luckiest Guy", cursive;
  overflow: hidden;
}

svg {
  position: absolute;
  left: -55%;
  top: -8%;
  width: 150%;
}
.content {
  text-align: center;
  width: 50%;
  margin: 4em auto 0 auto;

}
.content h1 {
  width: 50%;
}

.content h1 {
  margin: 0;
  font-size: 4em;
  padding: 0;
  color: white;
  text-shadow: 0 0.1em 20px #1a0077, 0.05em -0.03em 0 #1a0077, 0.05em 0.005em 0 #1a0077, 0em 0.08em 0 #1a0077, 0.05em 0.08em 0 #1a0077, 0px -0.03em 0 #1a0077, -0.03em -0.03em 0 #1a0077, -0.03em 0.08em 0 #1a0077, -0.03em 0 0 #1a0077;
}
.content h1 span {
  -webkit-transform: scale(0.9);
          transform: scale(0.9);
  display: inline-block;
  margin-right: 1rem;
}
.content h1 span:first-child {
  -webkit-animation: bop 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards infinite alternate;
          animation: bop 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards infinite alternate;
}
.content h1 span:last-child {
  -webkit-animation: bopB 1s 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards infinite alternate;
          animation: bopB 1s 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards infinite alternate;
}



@media screen and (min-width: 840px) {
  body {
    overflow-x: hidden;
  }
  .content {
    text-align: center;
    width: 100%;
    margin: 4em auto 0 auto;
  }
  .content h1 {
    width: 100%;
  }

  svg {
    left: unset;
    right: 0%;
    top: 150px;
    width: 900px;
  }


}
@media screen and (min-width: 1024px) {
  .content {
    text-align: center;
    width: 80%;
    margin: 15em auto 0 auto;
  }
  .content h1 {
    margin: 0;
    font-size: 4em;
    width: 50%;
 }
  svg {
    position: absolute;
    z-index: 0;
    left: unset;
    right: -5%;
    top: -20%;
    overflow: hidden;
    width: 1100px;
  }
  .balls {
    width: 50%;
    margin: 3rem auto;
    display: flex;
    position: absolute;
    top: 2rem;
    left: 25%;
    filter: drop-shadow(0px 0px 15px rgba(39, 39, 39, 0.5));
    z-index: 10;
  }
  
  .topbar {
    width: 50%;
    margin: 3rem auto;
    display: flex;
    position: absolute;
    top: 2rem;
    left: 25%;
    filter: drop-shadow(0px 0px 15px rgba(39, 39, 39, 0.5));
    z-index: 10;
  }
  
  .page {
    width: 50%;
    margin: 3rem auto;
    display: flex;
    position: absolute;
    top: 2rem;
    left: 25%;
    filter: drop-shadow(0px 0px 15px rgba(0, 0, 0, 0.5));
    z-index: 1;
  }
  .cerchio {
    width: 50%;
    margin: 3rem auto;
    display: flex;
    position: absolute;
    top: 2rem;
    left: 25%;
    filter: drop-shadow(0px 0px 15px rgba(0, 0, 0, 0.5));
    z-index: 11;
  }
  .user{
    width: 50%;
    margin: 3rem auto;
    display: flex;
    position: absolute;
    top: 2rem;
    left: 25%;
    filter: drop-shadow(0px 0px 15px rgba(0, 0, 0, 0.5));
    z-index: 11;
  }
  .play {
    width: 50%;
    margin: 3rem auto;
    display: flex;
    position: absolute;
    top: 2rem;
    left: 25%;
    filter: drop-shadow(0px 0px 15px rgba(0, 0, 0, 0.5));
    z-index: 11;
  }
  .pianta1 {
    width: 50%;
    margin: 3rem auto;
    display: flex;
    position: absolute;
    top: 2rem;
    left: 25%;
    filter: drop-shadow(0px 0px 15px rgba(0, 0, 0, 0.5));
    z-index: 2;
  }
}
@media screen and (min-width: 1025px) {
  .content {
    text-align: center;
    width: 80%;
    margin: 20em auto 0 auto;
  }
  .content h1 {
    width: 40%;
    font-size: 7em;
  }
  svg {
    position: absolute;
    z-index: 0;
    left: unset;
    right: -5%;
    top: -20%;
    overflow: hidden;
    width: 1100px;
  }

  }
  @-webkit-keyframes bop {
    0% {
      -webkit-transform: scale(0.9);
              transform: scale(0.9);
    }
    50%,
    100% {
      -webkit-transform: scale(1);
              transform: scale(1);
    }
  }
  
  @keyframes bop {
    0% {
      -webkit-transform: scale(0.9);
              transform: scale(0.9);
    }
    50%,
    100% {
      -webkit-transform: scale(1);
              transform: scale(1);
    }
  }
  @-webkit-keyframes bopB {
    0% {
      -webkit-transform: scale(0.9);
              transform: scale(0.9);
    }
    80%,
    100% {
      -webkit-transform: scale(1) rotateZ(-3deg);
              transform: scale(1) rotateZ(-3deg);
    }
  }
  @keyframes bopB {
    0% {
      -webkit-transform: scale(0.9);
              transform: scale(0.9);
    }
    80%,
    100% {
      -webkit-transform: scale(1) rotateZ(-3deg);
              transform: scale(1) rotateZ(-3deg);
    }
  }
