/* Contact section */
#nav-contact,
#nav-contact p {
  position: relative;
  z-index: 50;
  background-color: var(--black);
  color: var(--white);
}

#nav-contact p {
  color: var(--white);
  font-size: 1rem;
  margin-left: 10px;
}

#nav-contact .container {
  display: flex;
  padding: 5px 0;
}

.nav-contact-flex {
  display: flex;
}

.nav-contact-address {
  margin-right: 50px;
}

/* Navbar */
header {
  height: 80px;
  background-color: var(--white);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

header img {
  position: relative;
  z-index: 20;
  height: 130px;
  background: var(--white);
  border-radius: 50%;
  margin-top: -15px;
}

nav ul {
  list-style: none;
  display: flex;
  margin-top: -42px;
}

nav a {
  position: relative;
  color: var(--light-gray);
  font-weight: 500;
  font-size: 1.3rem;
  margin-right: 1.5rem;
  letter-spacing: 1px;
  transition: color 200ms ease-in;
}

.active {
  color: var(--primary-color);
}

nav a:hover,
nav a:active {
  color: var(--primary-color);
}

.burger-container {
  display: none;
  position: relative;
  width: 30px;
  height: 25px;
  justify-content: center;
  align-items: center;
  z-index: 200;
  margin-top: -40px;
}

.burger-container:hover {
  cursor: pointer;
}

.burger {
  width: 100%;
  height: 2px;
  background-color: var(--black);
  transition: all 250ms ease;
}

.burger:before {
  position: absolute;
  content: "";
  top: 0;
  right: 0;
  width: 100%;
  height: 2px;
  background-color: var(--black);
}

.burger:after {
  position: absolute;
  content: "";
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--black);
}

/* Media queries */

@media (max-width: 942px) {
  #nav-contact {
    display: none;
  }
  header img {
  }
  .burger-container {
    display: flex;
  }

  .burger.open {
    transform: rotate(45deg);
  }

  .burger.open:before {
    transform: rotate(-90deg);
  }

  nav {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: calc(100vh + 100px);
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    margin-top: -100px;
    transform: translateY(-100vh);
    transition: all 250ms ease-in;
    z-index: 21;
  }

  nav.open {
    transform: translateY(0);
  }

  nav li {
    max-height: 40px;
    text-align: center;
    margin-bottom: 2rem;
  }

  header ul {
    margin-top: 2rem;
    flex-direction: column;
    width: 100%;
  }

  header a {
    text-align: center;
    font-size: 2.5rem;
  }

  header {
    padding: 0 2rem;
  }

  header img {
    height: 100px;
    margin-top: -5px;
  }
}
