html{
  height: auto;
}

body{
    background-color: #d5ead8;
    height: auto;
    display: flex;
    flex-direction: column;
  }

#header {
    background-color: #bce2e8;
    height: 100px;
    width: 100%;
    max-width: 100%;
    position: fixed;
    display: flex;
    top: 0;
    left: 0;
    z-index: 1;
}
#header h1{
  font-size: 1.5rem;
  font-family: "Hannari";
  letter-spacing: 0.1em;
  position: absolute;
  max-width: 100%;
  height: auto;
  top: 25px;
  left:50%;
  transform: translateX(-50%);
  color:#0f0f10;
  z-index: 1;
}

#header img:hover{
  opacity: 0.6;
}


ul{
  font-family: "Hannari";
  margin: 0px;
  padding: 0;
  list-style-type: none;
}

li a{
  font-family: "Hannari";
  margin: 0;
  padding: 0;
  text-decoration: none;
}

li a:hover{
	background-color: #ecece9;
  height: 70%;
}

.nav {
  font-family: "Hannari";
  display: flex;
  padding-left: 80px;
  padding-top: 25px;
  justify-content: space-evenly;
}

li {
  position: relative;
  width: 170px;
  font-family: "Hannari";
}

details > ul > li > a {
  background-color:#bce2e8;
}

.nav a {
  font-family: "Hannari";
  display: block;
  line-height: 1;
  z-index: 1;
}
.nav {
  flex-flow: row wrap;
}
.nav a {
  font-family: "Hannari";
  padding: 0.5em 0;
  font-size: 25px;
  color: #0071b9;
  text-align: center;
}

details{
  font-family: "Hannari";
  padding: 0.2em 0;
  font-size: 25px;
  color: #0071b9;
  text-align: center;
}

details summary::-webkit-details-marker {
  font-family: "Hannari";
  display: none;
}
details:hover{
	background-color: #ecece9;
  height: 87%;
}

details[open] .open {
  display: none ;
}
details:not([open]) .close {
  display: none ;
}

#mainbox {
  height: auto;
  max-width: 100%; 
  margin-top: 20px;
  font-family: "Hannari";
  text-align: center;
  background-color: #ecece9;
  background-size: cover;
  padding-top: 100px;
  margin-left: 10%;
  margin-right: 10%;
  z-index: 0;
}

.hannnari{
  font-family: "Hannari";
}

footer {
  width: 80%;
  height: 20px; 
  text-align: center;
  display: flex;
  justify-content: center;
  padding: 50px 0;
  background-color: #e3e3dc;
  margin: auto;
  bottom: 0;
}
.footer-text {
  color: #fff;
}