/*========= nav ==========*/

.nav_container {
    display: flex;
    /*== flex-wrap: wrap; vil wrappe items- flex items til at passe i boksen */
    /* flex-wrap: nowrap; vil aldrig wrap items - bliver smalle bokse */ 
    justify-content: space-between;
    height: 100px;
    align-items: center;
}


.logo {
    display: inline-block;
    margin-top: 40px;
    max-width: 100%;
}

.sidepanel  {
  width: 0;
  position: fixed;
  z-index: 10;
  height: 100vh;
  top: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.85);
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
}

.sidepanel a {
  padding: 14px 10px 6px 32px;
  text-decoration: none;
  font-size: 1.1em;
  color: #ffffff;
  letter-spacing: 1px;
  display: block;
  transition: 0.3s;
  font-weight: 300;
}

.sidepanel a:hover {
  color: #f1f1f1;
}

.sidepanel .closebtn {
  position: absolute;
  top: 25px;
  right: 25px;
  font-size: 36px;
}

.openbtn {
  position: absolute;
  top: 25px;
  right: 25px;
  font-size: 20px;
  cursor: pointer;
  background-color: #000000;
  color: white;
  padding: 10px 15px;
  border: none;
}

.openbtn:hover {
  background-color:#444;
}

/*========= tablet and mobile ==========*/


@media only screen and (max-width: 500px) {

    .logo {
    margin-top: 0;
    }

    .logo img {
        max-width: 90%;
    }

    a {
        font-size: 1em;
    }
  
  	.openbtn {
      top: 15px;
      right: 10px;
    }
  
  	.sidepanel .closebtn {
      top: 15px;
      right: 10px;
    }
}