nav {
  width: 100%;
  background-color: #ffffff;
  position: fixed;
  z-index: 10;
  border-bottom: 1px solid #cbdec3;
}

.inner-nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  list-style: none;
  margin: 10px auto;
  max-width: var(--max-width);
}

.social-media-nav {
  display: none;
}

.logo {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: 0px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  font-size: calc(16rem / 16);
}

.logo img {
  height: 40px;
  padding-right: 5px;
}

.nav-links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  list-style: none;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  font-family: "Raleway Light";
}

.nav-links li a {
  display: block;
  text-decoration: none;
  margin: 0 0.7vw;
  width: 100%;
}

.nav-links li:last-child a {
  text-decoration: none;
  margin: 0;
}

.nav-links li a:hover {
  color: #116441;
}

.nav-links li {
  position: relative;
}

.nav-links li a::before {
  font-family: "Raleway Bold";
}

.nav-links li a:hover::before {
  font-family: "Raleway Bold";
}

.nav-links-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.contact-button {
  color: #ffffff;
  background-color: #116441;
  border: 1.5px solid #116441;
  border-radius: 2em;
  padding: 0.4rem 0.8rem;
  font-size: 1rem;
  cursor: pointer;
  margin-left: 20px;
}

.contact-button > a {
  color: white;
}

.contact-button:hover {
  color: #116441;
  background-color: transparent;
  border: 1.5px solid #116441;
  -webkit-transition: all ease-in-out 0.3s;
  -o-transition: all ease-in-out 0.3s;
  transition: all ease-in-out 0.3s;
}

/* Hamburger Icon */
.hamburger div {
  width: 30px;
  height: 2px;
  background: #333333;
  margin: 4px;
  -webkit-transition: all 0.1s ease;
  -o-transition: all 0.1s ease;
  transition: all 0.1s ease;
}

.hamburger {
  display: none;
}

.toggle .line1 {
  -webkit-transform: rotate(-45deg) translate(-4px, 5px);
  -ms-transform: rotate(-45deg) translate(-4px, 5px);
  transform: rotate(-45deg) translate(-4px, 5px);
}

.toggle .line2 {
  -webkit-transition: all 0.1s ease;
  -o-transition: all 0.1s ease;
  transition: all 0.1s ease;
  width: 0;
}

.toggle .line3 {
  -webkit-transform: rotate(45deg) translate(-4px, -5px);
  -ms-transform: rotate(45deg) translate(-4px, -5px);
  transform: rotate(45deg) translate(-4px, -5px);
}

@media screen and (max-width: 1250px) {
  .nav-links {
    padding-right: 16px;
  }

  .logo {
    padding-left: 12px;
  }
}

@media screen and (max-width: 800px) {
  nav {
    position: fixed;
    z-index: 3;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }

  .social-media-nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 24px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: calc(100% - 48px);
  }

  .nav-links-container {
    padding: 70px 24px 24px;
    width: calc(100% - 48px);
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: normal;
    -ms-flex-align: normal;
    align-items: normal;
  }

  .hamburger {
    display: block;
    position: absolute;
    cursor: pointer;
    right: 12px;
    top: 50%;
    -webkit-transform: translate(-12px, -50%);
    -ms-transform: translate(-12px, -50%);
    transform: translate(-12px, -50%);
    z-index: 2;
    -webkit-transition: all 0.1s ease;
    -o-transition: all 0.1s ease;
    transition: all 0.1s ease;
  }

  .nav-links {
    position: fixed;
    margin-top: -10px;
    background: #bed4cc;
    height: 100%;
    width: 100%;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: start;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: start;
    pointer-events: none;
    padding-right: 16px;
    display: none;
  }

  .inner-nav {
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    width: 100%;
  }

  .nav-links.open {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    pointer-events: all;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }

  .nav-links li {
    padding: 20px 0;
    opacity: 0;
    border-bottom: 1px solid gray;
  }

  li.fade {
    opacity: 1;
  }

  .contact-button {
    color: inherit;
    background-color: transparent;
    border: none;
    border-radius: 0;
    margin-left: 0;
    padding: 0;
  }

  .contact-button:hover {
    color: inherit;
    background-color: transparent;
    border: none;
  }
}
