html, body {
  height: 100%;
}

html {
    background-image: url("spellbound2.png"); 

    background-repeat: no-repeat;

    background-color: #ffffff;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
}

.box {
   width: 100%;
  height: 100%;
  border-radius: 5px;
  box-shadow: 0 2px 30px rgba(black, .2);
  background: lighten(#f0f4c3, 10%);
  position: relative;
  overflow: hidden;
  transform: translate3d(0, 0, 0);
}

.wave {
  opacity: .4;
  position: absolute;
  top: 3%;
  left: 50%;
  background: #0af;
   width: 100%;
  height: 100%;
  margin-left: -250px;
  margin-top: -250px;
  transform-origin: 50% 48%;
  border-radius: 43%;
  animation: drift 3000ms infinite linear;
}

.wave.-three {
  animation: drift 5000ms infinite linear;
}

.wave.-two {
  animation: drift 7000ms infinite linear;
  opacity: .1;
  background: purple;
}

.box:after {
  content: '';
  display: block;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(#e8a, 1), rgba(#def, 0) 80%, rgba(white, .5));
  z-index: 11;
  transform: translate3d(0, 0, 0);
}


@keyframes drift {
  from { transform: rotate(0deg); }
  from { transform: rotate(360deg); }
}



.right-triangle {
 top: 50vh;
    left: 25vh;
   width: 0;
   height: 0;
   border-right: 200px solid violet;
   border-top: 100px solid transparent;
   border-bottom: 100px solid transparent;
    position: absolute;
    transform: rotate(90deg);
}

.right-triangle:hover {
    transform: scale(1.5,1.5);

     transform: rotate(60deg);
  
    
}
