/***********************************************/
/* | Navigation */
/***********************************************/
/* | Navigation */

nav {
  height: 4.5rem;
  width: 100vw;
  transition: background-color 0.5s ease;
  display: flex;
  position: fixed;
  z-index: 10;
  /* font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; */
}

li a {
  color: #fff;
}

li:hover,
li:focus-within {
  cursor: pointer;
}

li:focus-within a {
  outline: none;
}

ul li ul {
  font-size: 15px;
  text-align: center;
  background: #131418;
  visibility: hidden;
  opacity: 0;
  min-width: 11rem;
  position: absolute;
  transition: all 0.5s ease;
  padding-top: 10px;
  padding-bottom: 10px;
  left: 0;
  display: none;
  border-radius: 0 0 8px 8px;
}
ul li ul li {
  padding-top: 10px;
}

ul li:hover > ul,
ul li:focus-within > ul,
ul li ul:hover,
ul li ul:focus {
  visibility: visible;
  opacity: 1;
  display: block;
}

ul li ul li {
  clear: both;
  width: 100%;
}

.first-section p {
  color: #ffffff;
}
/*Styling Links*/
.nav-links {
  display: flex;
  list-style: none;
  width: 95vw;
  padding: 0 0.7vw;
  justify-content: space-evenly;
  align-items: center;
  text-transform: uppercase;
}
.desktop-link li a {
  list-style: none;
}
.nav-links li a {
  color: white;
  text-decoration: none;
  margin: 0 0.7vw;
}

.nav-links li {
  position: relative;
}

.nav-links li a:hover::before {
  width: 80%;
}

.nav-link {
  margin: 0 0.7rem;
  position: relative;
  text-align: center;
}

.nav-link::after {
  content: '';
  width: 100%;
  height: 2px;
  background: white;
  position: absolute;
  left: 0;
  bottom: -3px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.5s ease;
}

.nav-link:hover::after {
  transform: scaleX(1);
}
.standard {
  width: 100px;
  padding: 10px 10px;
  text-align: center;
  margin: 0 10px;
  border-radius: 25px;
  background: red;
  color: #fff;
  cursor: pointer;
  transition: background 0.5s;
}
/*Styling Hamburger Icon*/
.hamburger div {
  width: 30px;
  height: 3px;
  background: #f2f5f7;
  margin: 5px;
  transition: all 0.3s ease;
}
.hamburger {
  display: none;
}

.scrolling-active {
  background-color: #131418;
  box-shadow: 0 3px 20px rgba(0, 0, 0, 0.2);
}

/*Animating Hamburger Icon on Click*/
.toggle .line1 {
  transform: rotate(-45deg) translate(-5px, 6px);
}
.toggle .line2 {
  transition: all 0.7s ease;
  width: 0;
}
.toggle .line3 {
  transform: rotate(45deg) translate(-5px, -6px);
}

li a.desktop-link {
  display: none;
}
li a.desktop-link:hover {
  background-color: rgba(0, 0, 0, 0.726);
}

input[type='checkbox'] {
  display: none;
}
.nav-links label {
  color: white;
}
.nav-links label ul li {
  color: white;
}

/* | Navigation End*/

@media (max-width: 750px) {
  nav {
    position: fixed;
    z-index: 3;
  }
  .hamburger {
    display: block;
    position: absolute;
    cursor: pointer;
    right: 5%;
    top: 50%;
    transform: translate(-5%, -50%);
    z-index: 2;
    transition: all 0.7s ease;
  }
  .form-container {
    width: 100%;
    padding: 20px;
  }
  .map {
    width: 100%;
    padding: 10px;
  }
  .nav-links {
    position: fixed;
    background: #131418;
    height: 100vh;
    width: 100%;
    flex-direction: column;
    clip-path: circle(50px at 90% -20%);
    -webkit-clip-path: circle(50px at 90% -10%);
    transition: all 1s ease-out;
    pointer-events: none;
  }
  .nav-links.open {
    clip-path: circle(1000px at 90% -10%);
    -webkit-clip-path: circle(1000px at 90% -10%);
    pointer-events: all;
  }
  .nav-links li {
    opacity: 0;
  }
  .nav-links li:nth-child(1) {
    transition: all 0.5s ease 0.2s;
  }
  .nav-links li:nth-child(2) {
    transition: all 0.5s ease 0.4s;
  }
  .nav-links li:nth-child(3) {
    transition: all 0.5s ease 0.6s;
  }
  .nav-links li:nth-child(4) {
    transition: all 0.5s ease 0.7s;
  }
  .nav-links li:nth-child(5) {
    transition: all 0.5s ease 0.8s;
  }
  .nav-links li:nth-child(6) {
    transition: all 0.5s ease 0.9s;
    margin: 0;
  }
  .nav-links li:nth-child(7) {
    transition: all 0.5s ease 1s;
    margin: 0;
  }
  li.fade {
    opacity: 1;
  }
  .content {
    width: 95%;
  }

  li a.desktop-link {
    display: none;
    list-style: none;
  }

  nav ul ul {
    position: static;
    opacity: 1;
    visibility: visible;
    background: none;
    max-height: 0px;
    overflow: hidden;
  }

  nav #show-features:checked ~ ul,
  nav #show-services:checked ~ ul,
  nav #show-items:checked ~ ul {
    max-height: 100vh;
    /*   list-style: none; */
  }

  nav input[type='checkbox'] {
    display: none;
  }

  wrapper #show-menu:checked ~ .menu-icon i::before {
    content: '';
  }

  .nav-links label {
    color: white;
  }

  .vma-item {
    width: 90%;
  }
  /* ! Navigation End */
}
/***********************************************/
