<style>


/* Likely something for hero

.hero {
  background-color: #fdfffc;
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.cube {
  position: absolute;
  display: block;
  top: 80vh;
  left: 45vw;
  width: 10px;
  height: 10px;
  border: solid 1px #0000d6;
  background: rgba(255, 255, 255, 0.2);
  transform-origin: top left;
  transform: scale(0) rotate(0deg) translate(-50%, -50%);
  -webkit-animation: cube 12s ease-in forwards infinite;
          animation: cube 12s ease-in forwards infinite;
}
.cube:nth-child(2n) {
  border-color: #ff2975;
}
.cube:nth-child(2) {
  -webkit-animation-delay: 2s;
          animation-delay: 2s;
  border-radius: 20px;
  left: 25vw;
  top: 40vh;
}
.cube:nth-child(3) {
  -webkit-animation-delay: 4s;
          animation-delay: 4s;
  left: 75vw;
  top: 50vh;
}
.cube:nth-child(4) {
  -webkit-animation-delay: 6s;
          animation-delay: 6s;
  background: #f50057;
  left: 90vw;
  top: 10vh;
}
.cube:nth-child(5) {
  -webkit-animation-delay: 8s;
          animation-delay: 8s;
  left: 10vw;
  top: 85vh;
}
.cube:nth-child(6) {
  -webkit-animation-delay: 10s;
          animation-delay: 10s;
  border-radius: 15px;
  background: #0000ff;
  left: 50vw;
  top: 10vh;
}

@-webkit-keyframes cube {
  from {
    transform: scale(0) rotate(0deg) translate(-50%, -50%);
    opacity: 1;
  }
  to {
    transform: scale(20) rotate(960deg) translate(-50%, -50%);
    opacity: 0;
  }
}

@keyframes cube {
  from {
    transform: scale(0) rotate(0deg) translate(-50%, -50%);
    opacity: 1;
  }
  to {
    transform: scale(20) rotate(960deg) translate(-50%, -50%);
    opacity: 0;
  }
}*/

/*Below code is for box with hover effect*/

*       .buttons {
    margin: 5%;
    text-align: center;
}

#main {
        width: 90%;
        height: 120%;
      }

      .center {
        display: flex;
        justify-content: center;
        align-self: inherit;
      }

      #box {
        width: 100%;
        height: 60%;
        flex-direction: column;
        background-color: rgb(77,77,77,0.01);
        border-radius: 1.3rem;
        font-size: 1rem;
        /* margin: 1rem; */
        position: relative;
        transition: all 0.7s;
        overflow: hidden;
      }

      #box::before {
        content: "";
        position: absolute;
        top: 5rem;
        left: 2rem;
        width: 0.5rem;
        height: 10rem;
        transition: all 0.7s;
        border-radius: 1rem;
        /* margin:auto */
        background: linear-gradient(147deg,  
            rgb(0, 0, 255,0.75) 40%,
    		rgb(245, 0, 87,0.75) 75%
        );
      }

      #box:hover {
        color: white;
      }

    #box:hover::before{
        top:0;
        left:0;
        width: 100%;
        height: 100%;
        border-radius: 0rem;
    }
      #box p,
      h1 {
        margin: 1rem 5rem;
        z-index: 1000;
      }

</style>