
.button_container, .button_container.active {
  position: absolute;
  margin: 0;
  width: 200px;
  height: 60px;
  cursor: pointer;
  z-index: 100;
  font-weight: 600;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  transition: opacity .35s ease;
  background: #BF0B0B;
  color: #ECECEC;
}
.button_container p { 
  padding: 10px;
  font-weight: 600;
}
.button_container.active {
  background: #BF0B0B;
  position: fixed;
}
.button_container:hover {
  background: #D90D0D;
}
.button_container.active .top {
  -webkit-transform: translateY(9px) translateX(0) rotate(45deg);
          transform: translateY(9px) translateX(0) rotate(45deg);
  background: #ECECEC;
}
.button_container.active .middle {
  opacity: 0;
  background: #ECECEC;
}
.button_container.active .bottom {
  -webkit-transform: translateY(-9px) translateX(0) rotate(-45deg);
          transform: translateY(-9px) translateX(0) rotate(-45deg);
  background: #ECECEC;
}
.button_container span {
  background: #36383D;
  border: none;
  height: 3px;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: all .35s ease;
  cursor: pointer;
}
.button_container span:nth-of-type(2) {
  top: 9px;
}
.button_container span:nth-of-type(3) {
  top: 18px;
}

.overlay {
  position: fixed;
  background: rgba(45,44,58,.95); 
  background-size: 413px auto;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s, visibility .35s, height .35s;
  overflow: hidden;
  display: flex; 
  flex-wrap: wrap;
  align-items: start;
  justify-content: start;
}
.overlay.open {
  opacity: 1;
  visibility: visible;
  height: 100%;
}
.overlay.open li {
  -webkit-animation: fadeInRight .5s ease forwards;
          animation: fadeInRight .5s ease forwards;
  -webkit-animation-delay: .35s;
          animation-delay: .35s;
}
.overlay.open li:nth-of-type(2) {
  -webkit-animation-delay: .4s;
          animation-delay: .4s;
}
.overlay.open li:nth-of-type(3) {
  -webkit-animation-delay: .45s;
          animation-delay: .45s;
}
.overlay.open li:nth-of-type(4) {
  -webkit-animation-delay: .50s;
          animation-delay: .50s;
}

/* Rozhraní pro smartphone max width 300px */
@media screen and (max-width: 767px) {
  .overlay { background: #D90D0D; z-index: 100; display: flex; flex-wrap: wrap; justify-content: center; align-content: center; background: #F3F3F3 url('../themes/wall_shadow.jpg') top no-repeat; background-size: 800px auto;}
  /* Vlastní nastavení obsahu */
  .navigace-face { width: 100%; height: auto; display: flex; flex-wrap: wrap; justify-content: center; align-content: center;}
  .navigace-box { width: 200px; margin: 20px; display: flex; flex-wrap: wrap; justify-content: center;}
  .navigace-box p { font-size: 19px; font-weight: 800;}
  }

  @-webkit-keyframes fadeInRight {
  0% {
    opacity: 0;
    left: 20%;
  }
  100% {
    opacity: 1;
    left: 0;
  }
  }

  @keyframes fadeInRight {
  0% {
    opacity: 0;
    left: 20%;
  }
  100% {
    opacity: 1;
    left: 0;
  }
}