/* CUSTOM CSS FILE */

/* PROGRESS BAR */

.progressBar {
  position: fixed;
  bottom: 0;
  left: 0;
  height: 8px;
  /*
  background: linear-gradient(to right, #ff5f6d, #ffc371);
  */
  background: #202b3d;
  width: 0%;
  z-index: 100;
  transition: width 0.2s ease-out;
}

/* MOBILE MENU */

#menu {
  z-index: 2;
  min-width: 150px;
}

#menu-bar {
  width: 35px;
  height: 40px;
  cursor: pointer;
}

.bar {
  height: 4px;
  width: 100%;
  background-color: #202b3d;
  display: block;
  border-radius: 5px;
  transition: 0.3s ease;
}

#bar1 {
  transform: translateY(-4px);
}

#bar3 {
  transform: translateY(4px);
}

.nav {
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s, opacity 0.5s linear;
}

.nav ul {
  padding: 0 50px 0 0 !important;
}

.nav li {
  list-style: none;
  padding: 12px 0;
}

.nav li a {
  color: white;
  font-size: 20px;
  text-decoration: none;
}

.nav li a:hover {
  font-weight: bold;
}

.menu-bg,
#menu {
  top: 0;
  left: 0;
  position: absolute;
}

.menu-bg {
  z-index: 1;
  width: 0;
  height: 0;
  margin: -45px 0 20px -40px;
  background: radial-gradient(circle, #202b3d, #202b3d);
  border-radius: 50%;
  transition: 0.3s ease;
}

.change {
  transition: visibility 0s, opacity 0.8s linear;
  visibility: visible;
  opacity: 1;
}

.change .bar {
  background-color: white;
}

.change #bar1 {
  transform: translateY(2px) rotateZ(-45deg);
}

.change #bar2 {
  opacity: 0;
}

.change #bar3 {
  transform: translateY(-6px) rotateZ(45deg);
}

.change-bg {
  width: 520px;
  height: 460px;
  transform: translate(-55%, -20%);
}
