* {
  margin: 0;
  padding: 0;
}

.bars {
  background-image: url(../images/favicon-32x32.png);
  background-repeat: no-repeat;
  position: fixed;
  width: 27px;
  height: 27px;
  top: 30px;
  right: 30px;
  cursor: pointer;
  z-index: 101;
  padding-top: 9px;
}

.bar {
  width: 100%;
  height: 4px;
  background-color: #fff;
  position: absolute;
}

.bar::before {
  transform: translateY(-9px);
}

.bar::after {
  transform: translateY(9px);
}

.bars.active .bar {
  background-color: white;
}

.bars.active span::before {
  animation: top-bar 1s;
  animation-fill-mode: forwards;
}

.bars.active span::after {
  animation: bottom-bar 1s;
  animation-fill-mode: forwards;
}

/* Navbar Links CSS */

#nav {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  transition: all 1s;
  z-index: -1;
  overflow: hidden;
  opacity: 0;
}

#nav a {
  color: #000;
  text-decoration: none;
  line-height: 70vw;
  position: absolute;
  top: 0;
  /* bottom: 15px; */
  left: 0;
  right: 0;
  text-indent: 50vw;
  border-radius: 50%;

  transition: all 0.5s;
}

#nav a:hover {
  background: #357ffd;
}

ul {
  list-style: none;
}

.visible {
  z-index: 100 !important;
  opacity: 1 !important;
}

.shape-circle {
  border-radius: 50%;
  width: 20vw;
  height: 20vw;
  top: -10vw;
  right: -10vw;
  position: absolute;
  transition: all 1s ease-in-out;
  background: #2979ff;
  box-shadow: 0 0px 0px rgba(4, 26, 62, 0.5);
}

nav.visible li:first-child {
  width: 200vw;
  height: 200vw;
  top: -100vw;
  right: -100vw;
  z-index: 5;
  transition: all 0.5s ease-in-out;
  background: #29f8ff;
  box-shadow: 0 0px 80px rgba(4, 26, 62, 0.5);
}

nav.visible li:nth-child(2) {
  width: 160vw;
  height: 160vw;
  top: -80vw;
  right: -80vw;
  z-index: 6;
  transition: all 0.6s ease-in-out;
  background: #29ff4d;
  box-shadow: 0 0px 80px rgba(4, 26, 62, 0.5);
}

nav.visible li:nth-child(3) {
  width: 120vw;
  height: 120vw;
  top: -60vw;
  right: -60vw;
  z-index: 7;
  transition: all 0.7s ease-in-out;
  background: #ffdf29;
  box-shadow: 0 0px 80px rgba(4, 26, 62, 0.5);
}

nav.visible li:nth-child(4) {
  width: 80vw;
  height: 80vw;
  top: -40vw;
  right: -40vw;
  z-index: 8;
  transition: all 0.7s ease-in-out;
  background: #ff8929;
  box-shadow: 0 0px 80px rgba(4, 26, 62, 0.5);
}

nav.visible li:last-child {
  width: 45vw;
  height: 45vw;
  top: -20vw;
  right: -20vw;
  z-index: 9;
  transition: all 0.8s ease-in-out;
  background: #de0724;
  box-shadow: 0 0px 80px rgba(4, 26, 62, 0.5);
}

nav.visible li:first-child a {
  line-height: 270vw !important;
  text-indent: 18vw !important;
  -ms-transform: rotate(-15deg); /* IE 9 */
  transform: rotate(-15deg);
}

nav.visible li:nth-child(2) a {
  line-height: 220vw !important;
  text-indent: 16vw !important;
  -ms-transform: rotate(-15deg); /* IE 9 */
  transform: rotate(-15deg);
}

nav.visible li:nth-child(3) a {
  line-height: 170vw !important;
  text-indent: 19vw !important;
  -ms-transform: rotate(-15deg); /* IE 9 */
  transform: rotate(-15deg);
}

nav.visible li:nth-child(4) a {
  line-height: 116vw !important;
  text-indent: 12vw !important;
  -ms-transform: rotate(-15deg); /* IE 9 */
  transform: rotate(-15deg);
}

nav.visible li:last-child a {
  line-height: 68vw !important;
  text-indent: 10vw !important;
  -ms-transform: rotate(-15deg); /* IE 9 */
  transform: rotate(-15deg);
}
