/* CORE STYLES */
:root {
  --primary-color: #33332f;
  --overlay-color: #20201d95;
  --menu-speed: 0.75s;
}

.nav_back_link:hover .font-hell {
  color: #a6465f;
  transition: ease-in-out 0.3s;
}
.nav_back_link:hover .font-mittel {
  color: #8c3545;
  transition: ease-in-out 0.2s;
}
.nav_back_link:hover .font-dunkel {
  color: #591b26;
  transition: ease-in-out 0.1s;
}

/* 00 MAIN NAVIGATION STYLES */
.navigtion {
  position: fixed;
  display: flex;
  justify-content: space-around;
  width: 100vw;
  height: 50px;
  top: 0;
  background-color: #33332f;
  z-index: 99;
}

/* 01 LOGO MENU STYLES */
.nav_logo {
  top: 0;
  left: 0;
  width: 255px;
  display: flex;
  align-items: baseline;
  height: 100%;
}

.nav_portfolio {
  margin-top: 3px;
  margin-right: 4px;
  font-family: "Bebas Neue", cursive;
  font-weight: normal;
  font-size: 2.3em;
  color: #fff;
  text-decoration: none;
}

.nav_portfolio:hover {
  color: #8c3545;
}

.nav_timon {
  font-weight: 400;
  font-size: 1em;
  color: #fff;
}

/* 02 MAIN MENU STYLES */

.nav_wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  top: 0;
  right: 0;
  z-index: 99;
  height: 50px;
}

.nav_wrap .nav_toggler {
  pointer-events: none;
  opacity: 0;
}

.nav_wrap .nav_hamburger {
  pointer-events: none;
  opacity: 0;
}

.nav_link {
  padding: 13px 10px 7px 10px;
  color: #fff;
}

.nav_back_link {
  padding: 10px 10px 7px 10px;
  letter-spacing: -8px;
  color: #fff;
}

ul {
  height: 50px;
  display: flex;
}

li {
  list-style: none;
  margin-left: 20px;
}

.nav_menu a {
  font-family: "Bebas Neue", cursive;
  font-weight: normal;
  display: inline-block;
  line-height: 30px;
  text-decoration: none;
  font-size: 2.3rem;
}

.nav_link:hover {
  color: #33332f;
  background: #fff;
}

@media (max-width: 862px) {
  .navigtion {
    justify-content: space-between;
  }

  .nav_logo {
    margin-left: 25px;
  }
  .nav_wrap {
    margin-right: 30px;
  }
}

@media (max-width: 799px) {
  /* 03 MOBIL MENU STYLES */
  .nav_wrap {
    display: flex;
    top: 0;
    margin-right: 0;
    right: 0;
    position: fixed;
    z-index: 99;
  }

  .nav_wrap .nav_toggler {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    cursor: pointer;
    width: 50px;
    height: 50px;
    opacity: 0;
    pointer-events: visible;
  }

  .nav_wrap .nav_hamburger {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    width: 50px;
    height: 50px;
    padding: 1rem;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: visible;
    opacity: 1;
  }

  /* Hamburger Line */
  .nav_wrap .nav_hamburger > div {
    position: relative;
    flex: none;
    width: 100%;
    height: 2px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
  }

  /* Hamburger Lines - Top & Bottom */
  .nav_wrap .nav_hamburger > div::before,
  .nav_wrap .nav_hamburger > div::after {
    content: "";
    position: absolute;
    z-index: 1;
    top: -8px;
    width: 100%;
    height: 2px;
    background: inherit;
  }

  /* Moves Line Down */
  .nav_wrap .nav_hamburger > div::after {
    top: 8px;
  }

  /* Toggler Animation */
  .nav_wrap .nav_toggler:checked + .nav_hamburger > div {
    transform: rotate(135deg);
  }

  /* Turns Lines Into X */
  .nav_wrap .nav_toggler:checked + .nav_hamburger > div:before,
  .nav_wrap .nav_toggler:checked + .nav_hamburger > div:after {
    top: 0;
    transform: rotate(90deg);
  }

  /* Rotate On Hover When Checked */
  .nav_wrap .nav_toggler:checked:hover + .nav_hamburger > div {
    transform: rotate(225deg);
  }

  /* Show Menu */
  .nav_wrap .nav_toggler:checked ~ .nav_menu {
    visibility: visible;
  }

  .nav_wrap .nav_toggler:checked ~ .nav_menu > div {
    transform: scale(1);
    transition-duration: var(--menu-speed);
  }

  .nav_wrap .nav_toggler:checked ~ .nav_menu > div > div {
    opacity: 1;
    transition: opacity 0.4s ease 0.4s;
  }

  .nav_wrap .nav_menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    visibility: hidden;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav_wrap .nav_menu > div {
    background: var(--overlay-color);
    border-radius: 50%;
    width: 250vw;
    height: 250vw;
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    transform: scale(0);
    transition: all 0.4s ease;
  }

  .nav_wrap .nav_menu > div > div {
    text-align: center;
    max-width: 90vw;
    max-height: 100vh;
    opacity: 0;
    transition: opacity 0.4s ease;
  }

  .nav_wrap .nav_menu > div > div > ul {
    all: unset;
  }

  .nav_wrap .nav_menu > div > div > ul > li {
    list-style: none;
    color: #fff;
    padding: 1rem;
  }

  .nav_wrap .nav_menu > div > div > ul > li > a {
    font-size: 1.5rem;
    color: inherit;
    text-decoration: none;
    transition: color 0.4s ease;
    text-transform: uppercase;
    font-size: 2.3rem;
  }

  .nav_menu a:hover {
    background: none;
  }
  .nav_portfolio:hover {
    color: #fff;
    pointer-events: none;
  }
}
