html, body {
  height: 100%;
}
@font-face {
  font-family: 'VT323';
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/vt323/v18/pxiKyp0ihIEF2isfFJA.ttf) format('truetype');
}

body {
  background: linear-gradient(#040506, #1c332d);
  background-size: cover;
  background-position: center;
  font-family: 'VT323';
}

h1-home {
    font-size: 3em;
    margin: .67em 0;
    margin-top: 0%;
    margin-left: 30%;
    color: #27F5B4;
}

.gfx-menu {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0.8;
  position: absolute;
}

.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
}

.nav {
  margin: 0;
  padding: 0;
  width: 100%;
  text-align: center;
  display: block;
}
.nav li {
  list-style: none;
  transition: opacity 0.4s, transform 0.4s;
}
.nav li:not(:last-child) {
  padding-bottom: 1rem;
}
.nav li:nth-child(1) {
  transition-delay: 0.25s;
}
.nav li:nth-child(2) {
  transition-delay: 0.375s;
}
.nav li:nth-child(3) {
  transition-delay: 0.5s;
}
.nav li:nth-child(4) {
  transition-delay: 0.625s;
}
.nav a {
  text-decoration: none;
  color: #27F5B4;
  font-size: 2rem;
  font-weight: lighter;
  font-family: 'VT323';
}
.nav:not(.active) li {
  opacity: 0;
  transform: scale(0.9);
  transition-duration: 0.2s;
}
.nav:not(.active) li:nth-child(1) {
  transition-delay: 0s;
}
.nav:not(.active) li:nth-child(2) {
  transition-delay: 0.05s;
}
.nav:not(.active) li:nth-child(3) {
  transition-delay: 0.1s;
}
.nav:not(.active) li:nth-child(4) {
  transition-delay: 0.15s;
}

.hambagah {
  position: fixed;
  top: 2rem;
  right: 2rem;
  cursor: pointer;
}
.hambagah .bar {
  display: flex;
  width: 2rem;
  height: 0.25rem;
  margin-bottom: 0.25rem;
}
.hambagah .bar:before, .hambagah .bar:after {
  content: "";
  width: 50%;
  height: 100%;
  background: #27F5B4;
  transition: 0.3s;
}
.hambagah .bar:nth-child(1):before {
  transform-origin: 100% 100%;
}
.hambagah .bar:nth-child(1):after {
  transform-origin: 0% 100%;
}
.hambagah .bar:nth-child(2):before {
  transform-origin: 0% 50%;
}
.hambagah .bar:nth-child(2):after {
  transform-origin: 100% 50%;
}
.hambagah .bar:nth-child(3):before {
  transform-origin: 100% 0%;
}
.hambagah .bar:nth-child(3):after {
  transform-origin: 0% 0%;
}
.hambagah.active .bar:nth-child(2):before {
  transform: translateX(-100%) scale(0, 1);
}
.hambagah.active .bar:nth-child(2):after {
  transform: translateX(100%) scale(0, 1);
}
.hambagah.active .bar:nth-child(1):before {
  transform: translateY(220.71%) rotate(45deg) scale(1.41, 1);
}
.hambagah.active .bar:nth-child(1):after {
  transform: translateY(220.71%) rotate(-45deg) scale(1.41, 1);
}
.hambagah.active .bar:nth-child(3):before {
  transform: translateY(-220.71%) rotate(-45deg) scale(1.41, 1);
}
.hambagah.active .bar:nth-child(3):after {
  transform: translateY(-220.71%) rotate(45deg) scale(1.41, 1);
}