.menu-nav{
    display: flex;
    margin: 25px 10% 25px;
    overflow: hidden;
}

.menu-nav h2 {
    font-family: 'Roboto';
    margin: 10px 0;
    font-size: 20px;
    font-weight: 300;
}

summary {
    writing-mode: vertical-lr;
    text-align: center;
    padding: 10px 25px;
    width: auto;
    border-radius: var(--cornerRad);
    color: #0099cc;
    cursor: pointer;
    user-select: none;
    outline: none;
    font-size: 25px;
    transition: transform 200ms ease-in-out 0s;
}
summary::before,
summary::after {
  position: static;
  top: 0;
  left: 0;
}
summary::before {
  content: "";
}
summary::after {
  content: "|||";
  letter-spacing: -1px;
}
summary:hover {
  transform: scale(1.1);
}
summary::marker {
  font-size: 0;
}
summary::-webkit-details-marker {
  display: none;
}
details[open] .menu {
/*  animation-name: menuAnim;*/
}
details[open] .menu-nav {
  display: flex;
}
details[open] summary::before {
  content: "X";
}
details[open] summary::after {
  content: "";
}

.menu {
  height: 0;
    border-radius: var(--cornerRad);
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    animation: closeMenu 300ms ease-in-out forwards;
    margin-left: -180px;
    width: 80vw;
    height: 100%;
}
.menu a {
  padding: 12px 24px;
  margin: 0 16px;
  color: var(--secoColor);
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
  text-decoration: none;
  text-align: center;
  transition: filter 200ms linear 0s;
}
.menu a:nth-of-type(1) {
  padding-top: 24px;
}
.menu a:nth-last-of-type(1) {
  border-bottom: none;
}
.menu a:hover {
/*  filter: brightness(200%);*/
    color: #339933;
}
/*details::before {
  content: "← Click This Button";
  color: var(--secoColor);
  position: absolute;
  margin-left: 80px;
  padding: 10px 10px;
  opacity: 0.4;
}*/
details[open]::before {
  animation: fadeMe 300ms linear forwards;
}
@keyframes menuAnim {
  0% {
    height: 0;
  }
  100% {
    height: 312px;
  }
}
@keyframes fadeMe {
  0% {
    opacity: 0.4;
  }
  100% {
    opacity: 0;
  }
}

.slogan{
  margin: auto;
  font-family: roboto;
  position: absolute;
  top: 35px;
  left: 45%;
}


@media only screen and (max-width: 850px){

    summary {
        position: absolute;
        right: 0;
    }

    .menu {
        margin-top: 30px !important;
        height: auto !important;
        margin-left: 0;
    }
      
}

@media only screen and (max-width: 650px){
  
    .slogan{
      display: none;
    }
      
}