/* source: https://codepen.io/maheshambure21/pen/QwXaRw */

body {
  height: 100%;
  width: 100%;
  margin: 0;
  opacity: 0;
  transition: opacity 1.5s;
}

.navcontainer {
  min-width: 840px;
  height: 100%;
  font-family: 'Palatino Linotype', Palatino, serif;
  background-color: white;
  opacity: 90%;
  position: relative;
    z-index: 3000;
}

nav .home li {
  float: left;
  padding: 0px;
  padding-right: 5px;
  z-index: 6000;
}

nav ul {
  list-style: none;
}

nav .pages li {
  margin: 0;
  padding: 0 30px;
  float: right;
}


.menu-checkbox {
  display: none;
}

.hamburger {
  display: none;
  font-size: 30px;
  cursor: pointer;
  padding: 10px 30px;
  z-index: 3500;
  user-select: none;
  color: black;
  position: absolute;
  top: 5px;
  right: 15px;
}

@media only screen and (max-width: 1000px) {
  .navcontainer {
    min-width: 100%;
  }

  .hamburger {
    display: block;
  }

  nav.stroke {
    display: none;
    width: 100%;
    position: absolute;
    top: 65px;
    left: 0;
    background-color: white;
    z-index: 3000;
  }

  nav ul {
    padding-left: 0;
    padding-top: 0;
  }

  nav li,
  nav .pages li {
    float: none;
    display: block;
    text-align: center;
    padding: 15px 0;
  }

  .menu-checkbox:checked~nav.stroke {
    display: block;
  }
}


/* NAVIGATION */
nav ul li a {
  text-decoration: none;
  color: gray;
}

nav ul li a,
nav ul li a:after,
nav ul li a:before {
  transition: all .5s;
}

nav ul li a:hover {
  color: black;
  text-decoration: none;
}

/* STROKE */
nav.stroke ul li a {
  position: relative;
}

nav.stroke ul li a:after {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 0%;
  content: '.';
  color: transparent;
  background: black;
  height: 2px;
}

nav.stroke ul li a:hover:after {
  width: 100%;
}

nav ul {
  list-style: none;
  background-color: rgba(255, 255, 255, 0.7);
  padding-left: 40px;
  padding-top: 15px;
  width: 100%;
  top: 0;
  z-index: 1000;
}

nav li {
  margin: 0;
  padding: 0 30px;
  float: right;
}

nav a {
  text-decoration: none;
  color: black;
}

nav a:hover {
  text-decoration: none;
  color: darkred;
}


#rnb {
  height: 65px;
  position: relative;
  /* z-index: 3000; */
}

#header_logo {
  float: left;
  padding-left: 30px;
  padding-top: auto;
  padding-bottom: auto;
}