body {
  margin: 0;
  font-family: Helvetica, sans-serif;
}

.brand-image {
  padding-top: 0.6rem;
  height: 2.7rem;
  transition: 0.7s ease-in-out;
}

.text-black{
  color: var(--menu-text);
  margin-left: 2rem;
  margin-right: 2rem;
  border-bottom: #ece8e1 solid 1px;
  font-family: Open Sans,Arial,sans-serif;
  font-weight: bold;
  font-size: medium;
}

.nav-container {
  top: 0;
  display: flex;
  flex-direction: column;
  position: fixed;
  width: 100%;
  background-color: var(--navbar);
  flex-wrap: wrap;
  align-items: center;
  height: 3.5rem;
  z-index: 2;
  border-bottom: #dcd7cd 1px solid;
}

/* header */

.header {
  /*background-color: var(--navbar);*/
  /*position: fixed;*/
  width: 80%;
  height: 3rem;
  /*box-shadow: 1px 1px 4px 0 rgba(0,0,0,.1);*/
  max-width: 1066px;
  z-index: 3;
}

.header ul {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  background-color: var(--navbar);

}

.header li a {
  display: block;
  padding: 1rem 1rem;
  text-decoration: none;
}

.header li a:hover,
.header .menu-btn:hover {
  color: var(--menu-hover-text);
}

.header .logo {
  display: block;
  float: left;
  height: 3rem;
}

/* menu */

.header .menu {
  clear: both;
  max-height: 0;
  transition: max-height 0.6s ease-out;
}

/* menu icon */

.header .menu-icon {
  cursor: pointer;
  float: right;
  padding: 1.6rem 0 1.4rem 1rem;
  position: relative;
  user-select: none;
}

.header .menu-icon .nav-icon {
  background: var(--menu-hover-text);
  display: block;
  height: 2px;
  position: relative;
  transition: background .3s ease-out;
  width: 18px;
}

.header .menu-icon .nav-icon:before,
.header .menu-icon .nav-icon:after {
  background: var(--menu-hover-text);
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  transition: all .3s ease-out;
  width: 100%;
}

.header .menu-icon .nav-icon:before {
  top: 5px;
}

.header .menu-icon .nav-icon:after {
  top: -5px;
}

/* menu btn */

.header .menu-btn {
  display: none;
}

.header .menu-btn:checked ~ .menu {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.19);
  border-top: var(--menu-hover-text) 3px solid;
  max-height: 240px;
}

.header .menu-btn:checked ~ .menu-icon .nav-icon {
  background: transparent;
}

.header .menu-btn:checked ~ .menu-icon .nav-icon:before {
  transform: rotate(-45deg);
  top:0;
}

.header .menu-btn:checked ~ .menu-icon .nav-icon:after {
  transform: rotate(45deg);
  top:0;
}


/* 48em = 768px @ 16pt font */

@media (min-width: 48em) {

  .header ul ,
  .header .menu-btn:checked ~ .menu {
    margin: 0;
    padding: 0;
    box-shadow: none;
    border: none;
    list-style: none;
    overflow: hidden;
    background-color: transparent;
  }
  .header li {
    float: left;
  }
  .header li a {
    padding: 1rem 0 1rem 1rem;
  }
  .header .menu {
    clear: none;
    float: right;
    max-height: none;
  }
  .header .menu-icon {
    display: none;
  }
  .text-black{
    margin: 0 0 0 1rem;
    padding: 0;
    box-shadow: none;
    border: none;
  }
  .brand-image {
    padding: 0;
    height: 3rem;
    transition: 0.7s ease-in-out;
  }
}
