@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800&display=swap');
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}
body{
  background: #00214d;
  width: 100%;
  height: 140%;
  justify-content: center;
  align-items: center;
  margin: auto;
}
.menu{
  float: right;
  list-style-type: none;
  margin-top: 30px;
  margin-right:20px;
}
.menu li{
  display: inline-block;
}
.menu li a{
  text-decoration: none;
  color: #fff;
  padding: 1vh 2vw;
  border: 1px solid transparent;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  backdrop-filter: blur(5px);
  background: rgba(225,225,225,0.1);
  overflow: hidden;
  font-size: 0.9em;
}

.menu li a:hover{
  color: #fff;
  transition: 0.5s ease;
  border-radius: 20px;
  background: #755bea radial-gradient(circle, transparent 1%, #755bea 1%) center/15000%;
  box-shadow: 0 0px 10px rgba(117, 91, 234, 0.4), 0 0px 20px rgba(117, 91, 234, 0.4), 0 0px 40px rgba(117, 91, 234, 0.4);
}

.container{
  max-width: 1500px;
  margin: auto;
}
.menu li.active a{
  background-color: #755bea;
  color: #fff;
}
.menu li a:active {
  background-color: #fff;
  background-size: 100%;
  transition: background 0s;
}
.subheading{
  position: absolute;
  top: 20vw;
  left: 50%;
  transform: translate(-50%,-50%);
}

.subheading h1{
  font-size: 5vw;
  animation: type 1s steps(5);
  overflow: hidden;
  white-space: nowrap;
  color: #fff;
  text-shadow: 0 0 5px #755bea,
  0 0 10px #755bea,
  0 0 20px #755bea,
  0 0 40px #755bea;
  border-right: 4px solid white;
  width: 6ch;
  font-weight: 300;
}

.text{
  position: absolute;
  top: 35vw;
  left: 50%;
  transform: translate(-50%,-50%);
  font-size: 2vw;
  width: 75vw;
  font-family: 'Poppins', sans-serif;
  color: #fff;
}
.logo img{
  margin-top: 20px;
  margin-left: 20px;
  float: left;
  width: 50px;
  height: auto;
  z-index: 1;
}
.circle {
  position: absolute;
  top: 0%;
  left: 0%;
  width: 100%;
  height: 125vw;
  overflow: hidden;
  z-index: -10;
}
.circle li{
  position: absolute;
  display: block;
  list-style: none;
  width: 20px;
  height: 20px;
  border-radius: 70%;
  animation: float 25s linear infinite;
  bottom: -150px;
  z-index: -3;
}
.circle li.purple{
  background: rgba(238,130,238,0.6);
  box-shadow: 0 0 5px rgba(238,130,238, 0.6), 0 0 10px rgba(238, 130, 238, 0.6), 0 0 20px rgba(238, 130, 238, 0.6), 0 0 40px rgba(238, 130, 238, 0.6);
}
.circle li.blue{
  background: rgba(64,224,208,0.3);
  box-shadow: 0 0 5px rgba(64,224,208,0.3), 0 0 10px rgba(64,224,208,0.3), 0 0 20px rgba(64,224,208,0.3), 0 0 40px rgba(64,224,208,0.3);
}
.circle li.red{
  background: rgba(205,92,92,0.5);
  box-shadow: 0 0 5px rgba(205,92,92,0.5), 0 0 10px rgba(205,92,92,0.5), 0 0 20px rgba(205,92,92,0.5), 0 0 40px rgba(205,92,92,0.5);
}
.circle li.pink{
  background: rgba(255,182,193,0.4);
  box-shadow: 0 0 5px rgba(255,182,193,0.4), 0 0 10px rgba(255,182,193,0.4), 0 0 20px rgba(255,182,193,0.4), 0 0 40px rgba(255,182,193,0.4);
}
.circle li:nth-child(1){
  left: 25%;
  width: 80px;
  height: 80px;
}
.circle li:nth-child(2){
  left: 10%;
  width: 20px;
  height: 20px;
  animation-delay: 2s;
  animation-duration: 12s;
}
.circle li:nth-child(3){
  left: 30%;
  width: 20px;
  height: 20px;
  animation-delay: 4s;
  animation-duration: 12s;
}
.circle li:nth-child(4){
  left: 70%;
  width: 60px;
  height: 60px;
  animation-delay: 0s;
  animation-duration: 18s;
}
.circle li:nth-child(5){
  left: 65%;
  width: 20px;
  height: 20px;
  animation-delay: 0s;
  animation-duration: 10s;
}
.circle li:nth-child(6){
  left: 75%;
  width: 80px;
  height: 80px;
  animation-delay: 3s;
  animation-duration: 12s;
}
.circle li:nth-child(7){
  left: 90%;
  width: 110px;
  height: 110px;
  animation-delay: 2s;
  animation-duration: 12s;
}
.circle li:nth-child(8){
  left: 20%;
  width: 50px;
  height: 50px;
  animation-delay: 2s;
  animation-duration: 12s;
}
@keyframes float{
  0%{
    transform: translateY(0) rotate(0deg);
    opacity:1;
  }

  100%{
    transform: translateY(-2000px) rotate(720deg);
    opacity:0;
  }
}

@keyframes type{
  0% {
    text-shadow: none;
    width: 0ch;
    color: #755bea;
  }

  100% {
    width: 6ch;
  }
}

.parts{
  position: absolute;
  margin-top: 45vw;
  max-width: 100%;
}

.sections{
  position: relative;
  float: left;
  justify-content: center;
  align-items: center;
  max-width: 1500px;
  margin: auto;
  width: 100%;
}

.sections .chapter{
  position: relative;
  width: 30.5vw;
  height: 30.5vw;
  background: #00008B;
  padding: 4.5vw 3vw 4.5vw;
  box-shadow: 0 15px 45px rgba(117, 91, 234, 0.3);
  z-index: 1;
  border-radius: 30px;
  margin: 1vw;
  float: left;
  min-height: 100%
}

.sections .chapter:before {
  content:'';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #755bea;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.5s;
  z-index: 2;
  border-radius: 30px;
}

.sections .chapter:hover:before{
  transform: scaleY(1);
  transform-origin: bottom;
  transition: transform 0.5s;
}

.sections .chapter h2{
  position: absolute;
  top: 6vw;
  font-size: 6vw;
  font-weight: 800;
  opacity: 0.3;
  transition: 0.5;
  z-index: 3;
  color: #755bea;
}

.sections .chapter:hover h2{
  opacity: 1;
  color: #fff;
  transform: translateY(-4vw);
}

.sections .chapter h3{
  position: relative;
  font-size: 2.5vw;
  color: #755bea;
  transition: 0.5s;
  z-index: 3;
  top: 5.3vw;
}

.sections .chapter p{
  position: relative;
  color: #755bea;
  transition: 0.5s;
  z-index: 3;
  font-size: 1.3vw;
  top: 6vw;
}

.sections .chapter:hover h3{
  color: #fff;
  z-index: 3;
}

.sections .chapter:hover p{
  color: #fff;
  z-index: 3;
}

.sections .chapter a{
  position: relative;
  display: inline-block;
  padding: 0.25vw 1vw;
  background: #755bea;
  color: #fff;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 400;
  box-shadow: 0 10px 30px rgba(238,130,238,0.4);
  z-index: 3;
  top: 6.5vw;
  font-size: 2vw;
}


.sections2{
  position: absolute;
  left: 17%;
  top: 100%;
  width: 80%;
}

.sections2.chapter{
  min-height: 10%;
}
.sections .chapter:hover a{
  position: relative;
  display: inline-block;
  padding: 0.25vw 1vw;
  background: #fff;
  color: #755bea;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 400;
  box-shadow: 0 10px 30px rgba(238,130,238,0.4);
  z-index: 3;
}
