@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;800&display=swap");
header {
  width: 100vw;
  position: relative;
  top: 0;
  left: 0;
  z-index: 1000;
}

.nav-container {
  width: 100vw;
  max-width: 117em;
  margin: 0 auto;
  margin-right: 1rem;
}

.menu-icons {
  color: #000;
  font-size: 1em;
  position: absolute;
  top: 50%;
  right: 1em;
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 1500;
  font-weight: 500;
  font-size: 40px;
  display: none;
}

nav {
  display: flex;
  align-items: center;
  width: 100vw;
  height: 4.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: 2rem;
  background-color: rgb(252, 252, 252);
  box-shadow: 0 4px 7px rgba(0, 0, 0, 0.5);
}

.logo {
  margin-right: 2rem;
  display: inline-block;
}

.logo img {
  width: 30rem;
}

.nav-list {
  display: inline-flex;
  width: 100vw;
  align-items: center;
}

.nav-list li {
  line-height: 5rem;
  position: relative;
}

.sub-menu > li {
  line-height: 2.5rem;
}

.nav-list a {
  display: block;
  color: #414141;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  color: #da902f;
  padding: 0 1.5rem;
  font-size: 1.1rem;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 650ms;
}

.nav-list a:hover {
  color: #7e4c0b;
  cursor: pointer;
}

.sub-menu {
  width: 1360px;
  margin-left: -30.7rem;
  display: block;
  position: absolute;
  border-top: 3px solid #da902f;
  background-color: #f3efe5;
  z-index: 100;
  top: 15rem;
  opacity: 0;
  visibility: hidden;
  transition: all 650ms ease;
}

@media screen and (max-width: 1150px) {
  .sub-menu {
    width: 1024px;
    margin-left: -30.5rem;
  }

  .down-1150 {
    display: block;
  }

  .up-1150 {
    display: none;
  }
}

@media screen and (min-width: 1200px) {
  .down-1150 {
    display: none;
  }

  .up-1150 {
    display: block;
  }
}
/* .sub-menu::before {
  content: "";
  position: absolute;
  top: -2.5rem;
  left: 36rem;
  border: 1.2rem transparent solid;
  border-bottom-color: #da902f;
} */

.sub-menu .sub-menu::before {
  content: "";
  top: 0.9rem;
  left: -2.5rem;
  border: 1.2rem solid transparent;
  border-right-color: #da902f;
}

.sub-menu .sub-menu {
  border: none;
  border-left: 3px solid #da902f;
  top: 0;
  left: 160%;
}

.nav-list li:hover > .sub-menu {
  top: 5rem;
  opacity: 1;
  visibility: visible;
}

.sub-menu li:hover > .sub-menu {
  top: 0;
  left: 100%;
}

.socials {
  margin-left: 4rem;
}

.s {
  display: none;
}
@media screen and (max-width: 1150px) {
  .nav-list {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    display: none;
    flex-direction: column;
    align-items: initial;
    background-color: #f3efe5;
    z-index: 1000;
  }

  .nav-list > li {
    line-height: 3rem;
  }

  .sub-menu {
    position: initial;
    border: 3px solid transparent;
    border-left-color: #da902f;
    margin-left: 1rem;
    max-height: 0;
  }

  .sub-menu::before {
    display: none;
  }

  .nav-list li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    max-height: initial;
  }

  .menu-icons {
    display: block;
  }

  .ion-md-close {
    display: none;
  }

  nav.active .ion-md-close {
    display: block;
  }

  nav.active .ion-md-menu {
    display: none;
  }

  nav.active .nav-list {
    display: flex;
  }

  .socials {
    margin-left: 0;
    margin-top: 20rem;
  }

  .s {
    display: block;
    color: #da902f;
    font-family: "Montserrat", sans-serif;
  }
}

@media screen and (max-width: 600px) {
  .logo img {
    width: 18rem;
  }
}

@media screen and (max-width: 375px) {
  .logo img {
    width: 15rem;
  }
}

