body {
  background-color: #1e3e69;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
}

.circle-container {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  transform-style: preserve-3d;
  position: absolute;
  transition: 0.1s ease;
}

svg {
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: rotateStep 5s ease-in-out;
}

@keyframes rotateStep {
  0% {
    transform: rotateX(0deg);
  }

  20% {
    transform: rotateX(179deg);
  }

  21% {
    transform: rotateX(180deg);
  }

  100% {
    transform: rotateX(180deg);
  }
}

.video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: 0;
}

.video-background video {
  width: calc(100% + 80px);
  height: calc(100% + 80px);
  margin: -40px;
  object-fit: cover;
}

.circle-container,
.circle-container * {
  position: relative;
  z-index: 1;
}

.page-title {
  max-width: 60vw;
  position: fixed;
  top: 6%;
  left: 8%;
  font-size: 32px;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: bold;
  color: #dce0e5;
  z-index: 2;
  -webkit-user-select: none;
  user-select: none;
  pointer-events: auto;
  text-align: start;
  line-height: 20px;
}

.page-title:hover::after {
  position: relative;
  top: 0;
  left: 0px;
  margin-left: 0;
  font-size: 20px;
  color: rgb(255, 255, 255);
  font-weight: 100;
}

.page-title:hover .hover-text {
  display: inline;
  font-size: 20px;
  color: rgb(255, 255, 255);
  font-weight: 100;
  position: relative;
  top: 0;
  left: 0;
  margin-left: 0;
}

.page-title:hover ~ .circle-container {
  filter: blur(5px);
  transition: 1s linear;
}

.page-title:hover ~ .video-background video {
  opacity: 0.7;
  filter: blur(10px);
  transition: 1s linear;
}

.page-title ~ .circle-container,
.page-title ~ .video-background video {
  opacity: 1;
  filter: blur(0px);
  transition: 1s linear;
}

.page-email {
  position: fixed;
  bottom: 6%;
  left: 8%;
  font-size: 20px;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: normal;
  color: #dce0e5;
  z-index: 2;
  -webkit-user-select: none;
  user-select: none;
  pointer-events: auto;
  text-decoration: none;
}

@media (max-width: 768px) {
  .page-title {
    font-size: 48px;
    max-width: 84vw;
  }

  .page-title:hover::after {
    font-size: 24px;
  }

  .page-email {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .page-title {
    font-size: 36px;
    max-width: 90vw;
    top: 4%;
    left: 5%;
  }

  .page-email {
    font-size: 18px;
    bottom: 4%;
    left: 5%;
  }

  .circle-container {
    max-width: 300px;
  }

  .video-background video {
    width: 100%;
    height: 100%;
    margin: 0;
  }
}
