@import url("https://fonts.googleapis.com/css?family=Roboto:400,400i,700");

@font-face {
  font-family: "neontubes";
  src: url("https://bitbucket.org/kennethjensen/webfonts/raw/fc13c1cb430a0e9462da56fe3f421ff7af72db71/neontubes/neontubes-webfont.eot");
  src: url("https://bitbucket.org/kennethjensen/webfonts/raw/fc13c1cb430a0e9462da56fe3f421ff7af72db71/neontubes/neontubes-webfont.eot?#iefix")
      format("embedded-opentype"),
    url("https://bitbucket.org/kennethjensen/webfonts/raw/fc13c1cb430a0e9462da56fe3f421ff7af72db71/neontubes/neontubes-webfont.woff2")
      format("woff2"),
    url("https://bitbucket.org/kennethjensen/webfonts/raw/fc13c1cb430a0e9462da56fe3f421ff7af72db71/neontubes/neontubes-webfont.woff")
      format("woff"),
    url("https://bitbucket.org/kennethjensen/webfonts/raw/fc13c1cb430a0e9462da56fe3f421ff7af72db71/neontubes/neontubes-webfont.ttf")
      format("truetype");
  font-weight: normal;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100vw;
  height: 100vh;
  background: url("https://images.unsplash.com/photo-1563863251222-11d3e3bd3b62?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1170&q=80");
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: start;
  overflow: hidden;
}

nav {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: end;
  width: 100%;
  height: 80px;
  padding: 10px;
}

.nav-div {
  width: 70%;
  height: 80%;
  display: flex;
  align-items: center;
  backdrop-filter: blur(10px);
  color: white;
  border-radius: 40px;
  box-shadow: 5px 8px 40px black;
  border: 1.5px solid white;
}

.nav-div div {
  width: 25%;
  height: 100%;
  border-radius: 40px;
  font-size: 1.2rem;
  font-family: cursive;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all 0.5s;
}

.div-2::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 50%;
  border-left: 2px solid white;
}

.div-3::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 50%;
  border-left: 2px solid white;
}

.div-4::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 50%;
  border-left: 2px solid white;
}

.nav-div div:hover {
  background: whitesmoke;
  color: black;
}

.div-1:hover + .div-2::before {
  border-left: none;
}

.div-2:hover + .div-3::before {
  border-left: none;
}

.div-2:hover::before {
  border-left: none;
}

.div-3:hover + .div-4::before {
  border-left: none;
}

.div-3:hover::before {
  border-left: none;
}

.div-4:hover::before {
  border-left: none;
}

.main {
  width: 60%;
  height: 50%;
  margin: 10px;
  font-family: "neontubes";
  font-size: 6rem;
  white-space: nowrap;
}

.main span {
  display: block;
  position: relative;
  transform: translateZ(0) translate3D(0, 0, 0);
  backface-visibility: hidden;
  will-change: opacity;
}

.main .first-span {
  font-size: 6rem;
  color: #ffd9e2;
  text-shadow: 0 0 0 transparent, 0 0 10px #ff003c,
    0 0 20px rgba(255, 0, 60, 0.5), 0 0 40px #ff003c, 0 0 100px #ff003c,
    0 0 200px #ff003c, 0 0 300px #ff003c, 0 0 500px #ff003c, 0 0 1000px #ff003c;
  animation: blink 4s infinite alternate;
}

.main .second-span {
  font-size: 6rem;
  color: #d4eaff;
  text-shadow: 0 0 0 transparent, 0 0 10px #2695ff,
    0 0 20px rgba(38, 149, 255, 0.5), 0 0 40px #2695ff, 0 0 100px #2695ff,
    0 0 200px #2695ff, 0 0 300px #2695ff, 0 0 500px #2695ff;
}

@-webkit-keyframes buzz {
  70% {
    opacity: 0.8;
  }
}

@keyframes buzz {
  70% {
    opacity: 0.8;
  }
}
@-webkit-keyframes blink {
  40% {
    opacity: 1;
  }
  42% {
    opacity: 0.8;
  }
  43% {
    opacity: 1;
  }
  45% {
    opacity: 0.2;
  }
  46% {
    opacity: 1;
  }
}
@keyframes blink {
  40% {
    opacity: 1;
  }
  42% {
    opacity: 0.8;
  }
  43% {
    opacity: 1;
  }
  45% {
    opacity: 0.2;
  }
  46% {
    opacity: 1;
  }
}

@media screen and (max-width: 992px) {
  .main .first-span {
    font-size: 4rem;
  }
  .main .second-span {
    font-size: 4rem;
  }
}

@media screen and (max-width: 600px) {
  .nav-div {
    width: 100%;
  }
  .main .first-span {
    font-size: 3rem;
  }
  .main .second-span {
    font-size: 3rem;
  }
}