*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  perspective: 1000px;
  transform-style: preserve-3d;
} */

.main-wifi {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.first {
  position: absolute;
  border: 20px solid  whitesmoke;
  border-radius: 0% 100% 0% 0%;
  transform: rotate(-45deg);
  z-index: 5;
}
.second {
  position: absolute;
  bottom: -35px;
  border: 30px solid grey;
  border-radius: 100% 0% 0% 10%;
  transform: rotate(45deg);
  opacity: 0;
  z-index: 4;
  animation-name: second;
  animation-duration: 2s;
  animation-iteration-count: infinite;
}
@keyframes second {
  0% {
    opacity: 0;
  }

  25% {
    opacity: 0.7;  
  }
  66% {
      opacity: 1;
    }
  82.5% {
     opacity: 1;
    }
  100% {
      opacity: 1;
    }
} 
 .third {
  position: absolute;
  bottom: -28px;
  border: 40px solid #fff;
  border-radius: 100% 0% 0% 10%;
  transform: rotate(45deg);
  z-index: 2;
  opacity: 0;
  animation-name: third;
  animation-duration: 2s;
  animation-iteration-count: infinite;
}

@keyframes third {
  0% {
    opacity: 0;
  }

  25% {
    opacity: 0;
  }
  66% {
      opacity: 1;
    }
  82.5% {
     opacity: 1;
    }
  100% {
      opacity: 1;
    }
}
.fouth {
  position: absolute;
  bottom: -20px;
  border: 50px solid grey;
  border-radius: 100% 0% 0% 10%;
  transform: rotate(45deg);
  opacity: 0;
  animation-name: fouth;
  animation-duration: 2s;
  animation-iteration-count: infinite;
}
@keyframes fouth {
  0% {
    opacity: 0;
  }

  25% {
    opacity: 0;
  }
  66% {
      opacity: 0;
    }
  82.5% {
     opacity: 1;
    }
  100% {
      opacity: 1;
    }
}


.five {
  position: absolute;
  bottom: -10px;
  border: 60px solid #fff;
  border-radius: 100% 0% 0% 10%;
  transform: rotate(45deg);
  opacity: 0;
  z-index: -1;
  animation-name: five;
  animation-duration: 2s;
  animation-iteration-count: infinite;
}

@keyframes five {
  0% {
    opacity: 0;
  }

  25% {
    opacity: 0;
  }
  66% {
      opacity: 0;
    }
  82.5% {
     opacity: 0;
    }
  100% {
      opacity: 1;
    }
}


.six {
  position: absolute;
  bottom: -5px;
  border: 70px solid grey;
  border-radius: 100% 0% 0% 10%;
  transform: rotate(45deg);
  opacity: 0;
  z-index: -2;
  animation-name: five;
  animation-duration: 2s;
  animation-iteration-count: infinite;
}

@keyframes five {
  0% {
    opacity: 0;
  }

  25% {
    opacity: 0;
  }
  66% {
      opacity: 0;
    }
  82.5% {
     opacity: 0;
    }
  100% {
      opacity: 1;
    }
}


.content {
  margin-top: 1200px;
}

/*  */
body {
  background-color: #fff;
  display: flex;
  flex-direction: column;
  perspective: 1500px;
  transform-style: preserve-3d;
}
.cubis {
  background-color: #000;
  height: 650px;
}
.kub {
  position: relative;
  top: 20px;
  left: 350px; 
  width: 200px;
  height: 200px;
  margin-right: 5px;
  transform-style: preserve-3d;
  transition: transform 2s ease;
}

.kub:hover {
  transform: rotateX(180deg) rotateY(720deg);
}

.side {
  position: absolute;
  width: 200px;
  height: 200px;
  text-align: center;
}

.side.front {
  transform: translate3d(0, 0, 100px);
} 

.side.left {
  transform: translate3d(-100px,0,0px) rotateY(-90deg);
}


.side.back {
  transform: translate3d(0px,0,-100px) rotateX(180deg);
}

.side.right {
  transform: translate3d(100px,0,0px) rotateY(90deg);
}

.side.top {
  transform: translate3d(0px, -100px, 0px) rotateX(90deg);
}

.side.bottom {
  transform: translate3d(0px, 100px, 0px) rotateX(-90deg);
}

.side.red {
  color: #fff;
  background-color: red;
}

.side.blue {
  color: #fff;
  background-color: #0000ff;
}

.side.light {
  color: #fff;
  background-color: #6969f0;
}

.side.grey {
  color: #808080;
  background-color: #fff;
}

.side .bx {
  font-size: 60px;
  line-height: 200px;
}