.container {
  padding: 0;
}
.thumb-menu {
  top: 0;
  left: 0;
  height: 0;
  border-width: 0px;
  border-style: solid;
  border-color: #333;
  background-color: rgba(0, 0, 0, 0);
  -webkit-backface-visibility: hidden;
  -webkit-transition: border-width 0.3s, background-color 0.3s, height 0s 0.3s;
  transition: border-width 0.3s, background-color 0.3s, height 0s 0.3s
}

.thumb-menu-open img {
  width: 100%;
  height: 100%;
  padding: 5%;
}

.thumb-menu-trigger {
  z-index: 2;
  position: fixed;
  top: 10px;
  left: 10px;
  display: block;
}
.thumb-menu.thumb-menu-close {
  font-size: 50px;
}
.thumb-menu.thumb-menu-open {
  position: fixed;
  height: 100%;
  z-index: 2;
  -webkit-transition: border-width 0.3s, background-color 0.3s;
  transition: border-width 0.3s, background-color 0.3s
}
.thumb-overlay {
  position: fixed;
  width: 100%
}
.thumb-menu-open .thumb-overlay {
  height: 100%
}

.thumb-menu ul {
  top: -50px;
  left: 0;
  position: fixed;
  list-style: none;
  max-width: 15%;
  max-height: none;
  border-bottom: 2rem solid grey

}

.thumb-menu-open ul {
  height: 100%;
  top: -16px;
  background-color: grey;
  overflow-x: hidden;
}
.thumb-menu ul:first-of-type {
  padding: 0;
  width: 15%;
}
.thumb-menu ul li, .thumb-menu ul li a {
  display: block;
}
.thumb-menu ul li {
  visibility: hidden;
  opacity: 0;
  -webkit-transition: -webkit-transform 0.3s, opacity 0.2s, visibility 0s 0.3s;
  transition: transform 0.3s, opacity 0.2s, visibility 0s 0.3s
}
.thumb-menu.thumb-menu-open ul:first-of-type li {
  visibility: visible;
  opacity: 1;
  -webkit-transition: -webkit-transform 0.3s, opacity 0.3s 0.1s;
  transition: transform 0.3s, opacity 0.3s
}
.thumb-menu ul:first-of-type li {
  -webkit-transform: translate3d(-100%, 50%, 0);
  transform: translate3d(-100%, 50%, 0)
}
.thumb-menu.thumb-menu-open ul:first-of-type li {
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0)
}
.thumb-menu ul li a {
  display: block;
  outline: none;
  text-decoration: none;
  cursor: pointer;
}
.thumb-menu.thumb-menu-close a {
  display: block;
  outline: none;
  text-decoration: none;
  color: rgba(40, 40, 40, 0.5);
}
.thumb-menu.thumb-menu-close a:hover {
  display: block;
  outline: none;
  text-decoration: none;
  color: #2980b9;
  cursor: pointer
}
.thumb-menu ul:first-of-type li a {
  box-shadow: inset 0 1px rgba(0, 0, 0, 0.2);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1em;
  -webkit-transition: color 0.2s;
  transition: color 0.2s
}
.thumb-menu ul:first-of-type li:last-child a {
  box-shadow: inset 0 1px rgba(0, 0, 0, 0.2), inset 0 -1px rgba(0, 0, 0, 0.2)
}
.thumb-menu a:before {
  color: #fff;
  font-size: 24px;
  -webkit-transition: color 0.2s;
  transition: color 0.2s
}

.thumb-menu-open a:hover, .thumb-menu-open a:focus, .thumb-menu-open a:hover:before, .thumb-menu-open a:focus:before {
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer
}

@media all and (orientation:portrait) {
  .thumb-menu ul:first-of-type li {
   max-width: 100%;
  }
  .thumb-menu img {
     max-width: 100%
  }
}

@media all and (orientation:portrait) and (min-width:1000px) {

  .thumb-menu.thumb-menu-close {
    font-size: 100px;
  }
}
@media all and (orientation:landscape) {
  .thumb-menu img {
    width: 50%;
  }
  .thumb-menu.thumb-menu-open {
    height: 100%;
  }
}

@media all and (orientation:landscape) and (min-width:1000px) {
    .thumb-menu.thumb-menu-close {
    font-size: 80px
  }
}

@media all and (orientation:landscape) and (min-width:1000px) and (max-height: 700px) {
    .thumb-menu.thumb-menu-close {
    font-size: 40px
  }
}