/* ------------------------------------------HEADER---------------------------------------- */

body {
  height: 100%;
  margin: 0 auto;
  font-family: "Noto Serif JP", serif;
}

header {
  width: 100vw;
}

.header-logo img {
  width: 75vw;
  margin-left: 4vw;
}

.header-logo {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navigation-bar {
  display: none;
  width: 100vw;
}

/* ------------------------NAV--------------- */

nav {
  width: 100vw;
  margin: 0 auto;
  margin-top: 1vw;
  display: none;
  position: relative;
  overflow: hidden;
}

.open-nav-btn {
  display: block;
  height: 10vw;
  width: 10vw;
  position: absolute;
  right: 5%;
  top: 0;
}

.mobile-nav {
  width: 8vw;
  height: 0px;
  border: 2px solid #231f20;
  position: absolute;
  border-radius: 5px;
}

.nav-1 {
  top: 32%;
}

.nav-2 {
  top: 64%;
}

.nav-3 {
  top: 96%;
}

/* MOBILE NAV */

.nav-close-container {
  height: 20vw;
  width: 20vw;
  position: absolute;
  top: 1%;
  right: 3%;
}

.close-1,
.close-2 {
  width: 12vw;
  /* height: 15vw; */
  border-top: 3px solid white;
  position: absolute;
  z-index: 10;
}

.close-1 {
  top: 38%;
  right: 10%;
  transform: rotate(45deg);
  margin-top: 2%;
}

.close-2 {
  top: 36%;
  right: 11%;
  transform: rotate(-45deg);
  margin-top: 2%;
}

.mobile-nav-bar {
  display: none;
  height: max-content;
  width: 100vw;
  background-color: black;
  position: absolute;
  top: 0;
  z-index: 4;
  opacity: 1;
}

.mobile-nav-bar nav {
  display: block;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

/* 
.mobile-nav-bar ul {
} */

.mobile-nav-bar ul li {
  height: 20vw;
  border-bottom: 1px dashed gray;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-left: 10%;
  position: relative;
}

.mobile-nav-bar ul li:last-child {
  border-bottom: none;
}

.mobile-nav-bar nav ul li a {
  display: block;
  color: white;
  font-size: 5vw;
  text-decoration: none;
  margin-left: 70px;
}

.mobile-nav-bar svg {
  display: inline-block;
  width: 8vw;
  height: auto;
  margin-right: 40px;
  position: absolute;
  top: 34%;
  left: 7%;
}

/* ----------------------------MEDIA QUERIES----------------------------- */

@media screen and (min-width: 768px) and (max-width: 1024px) {
  /* -------------------------------------HEADER--------------------------------------  */
  header {
    width: 100vw;
  }
  .header-logo img {
    width: 80vw;
    margin: 0 auto;
  }
  .header-logo {
    align-items: center;
    justify-content: center;
  }
  /* ------------------------NAV--------------- */
  .mobile-nav {
    display: none;
  }
  .mobile-nav-bar {
    display: none;
  }
  .navigation-bar {
    display: block;
  }
  nav {
    /* max-width: 80vw; */
    width: 100vw;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-direction: row;
  }
  nav ul {
    /* min-width: 80vw;
    max-width: 80vw; */
    width: 80vw;
    margin: 0 auto;
    margin-top: 2%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  nav ul li {
    list-style: none;
    margin: 0;
    border: 1px solid black;
    /* padding: 1% 1.5%; */
    padding: 0% 1.5%;
    text-align: center;
    border-radius: 50px;
    display: inline-block;
    /* width: max-content; */
    margin-left: 2px;
    margin-right: 2px;
    width: 100px;
    white-space: nowrap;
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 28px;
    height: 28px;
  }
  nav ul li a {
    text-decoration: none;
    display: inline-block;
    color: black;
    font-size: 1vw;
  }
}

@media screen and (min-width: 1025px) {
  .mobile-nav-bar {
    display: none;
  }
  header {
    width: 100vw;
  }
  .header-logo {
    margin: 0 auto;
    justify-content: center;
  }
  .header-logo img {
    width: 850px;
    margin: 0 auto;
  }
  .mobile-nav {
    display: none;
  }
  .navigation-bar {
    display: block;
    /* width: 1000px; */
    width: 100vw;
    margin: 0 auto;
  }
  nav {
    max-width: 1000px;
    width: 100vw;
    display: flex;
    justify-content: center;
    flex-direction: row;
    margin: 0 auto;
  }
  nav ul {
    width: 1000px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    margin-top: 25px;
  }
  nav ul li {
    list-style: none;
    margin: 0;
    border: 1px solid black;
    /* padding: 8px 15px; */
    padding: 0 15px;
    text-align: center;
    border-radius: 50px;
    display: inline-block;
    /* width: max-content; */
    margin-left: 2px;
    margin-right: 2px;
    font-size: 12px;
    width: 100px;
    white-space: nowrap;
    max-height: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  nav ul li a {
    text-decoration: none;
    display: inline-block;
    color: black;
  }
}
