@import url(https://fonts.googleapis.com/css?family=Open+Sans:700,300);
@import url('https://fonts.googleapis.com/css2?family=Raleway&display=swap');

.frame {
  position: fixed;
  top: -100px;
  right: 0px;
  width: 600px;
  height: 400px;
  margin-top: -200px;
  background: transparent;
  margin-left: -200px;
  border-radius: 2px;
  overflow: hidden;
  color: #333;
  mix-blend-mode: difference;
  font-family: "Open Sans", Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  z-index: 9998;
  transition: all 500ms ease;
}

@media (max-width: 1100px) {
  .frame {
    left: 190px;
    width: 400px;
  }

  .frame .center .nav-container {
    font-size: 13px;
  }


}

.frame .note {
  color: #fff;
  height: 20px;
  margin-top: 30px;
  margin-bottom: 0;
  text-align: center;
}
.frame .center {
  position: absolute;
  top: calc(50% - 20px);
  left: 50%;
  position: relative;
  transform: translate(-50%, calc(-50% - 20px));
}
.frame .center .menu-container {
  width: 40px;
  height: 25px;
  left: 50%;
  top: 50%;
  position: absolute;
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  transform: translate(-50%, -50%);
  border-top: 4px solid #fff;
  border-bottom: 4px solid #fff;
  transition: all 1s;
  -webkit-animation: collapseMenu 1s ease-out 0s 1 normal forwards;
          animation: collapseMenu 1s ease-out 0s 1 normal forwards;
}
.frame .center .menu-container:focus {
  cursor: default;
  -webkit-animation: expandMenu 1s ease-out 0s 1 normal forwards;
          animation: expandMenu 1s ease-out 0s 1 normal forwards;
}
.frame .center .menu-container:focus + .nav-container {
  -webkit-animation: showContent 1s ease 0.4s 1 normal forwards;
          animation: showContent 1s ease 0.4s 1 normal forwards;
}
.frame .center .nav-container {
  opacity: 0;
  visibility: hidden;
  list-style: none;
  margin: 0;
  color: #fff;
  padding: 0;
  height: 62px;
  overflow: hidden;
  display: flex;
  font-weight: 600;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  transition: 1s;
  -webkit-animation: hideContent 1s ease 0s 1 normal forwards;
          animation: hideContent 1s ease 0s 1 normal forwards;
  margin-top: 200px;
}
.frame .center .nav-container .nav-item {
  float: left;
  cursor: pointer;
  margin: 0 15px;
  transition: 0.3s;
}
.frame .center .nav-container .nav-item:hover {
  opacity: 0.6;
}

@-webkit-keyframes expandMenu {
  0% {
    height: 25px;
  }
  20% {
    height: 17.5px;
    width: 40px;
  }
  40% {
    height: 60px;
    width: 40px;
    border-top-width: 2px;
    border-bottom-width: 2px;
  }
  100% {
    height: 60px;
    width: 70%;
    border-top-width: 2px;
    border-bottom-width: 2px;
  }
}

@keyframes expandMenu {
  0% {
    height: 25px;
  }
  20% {
    height: 17.5px;
    width: 40px;
  }
  40% {
    height: 60px;
    width: 40px;
    border-top-width: 2px;
    border-bottom-width: 2px;
  }
  100% {
    height: 60px;
    width: 70%;
    border-top-width: 2px;
    border-bottom-width: 2px;
  }
}
@-webkit-keyframes collapseMenu {
  0% {
    height: 60px;
    width: 70%;
    border-top-width: 2px;
    border-bottom-width: 2px;
  }
  50% {
    height: 60px;
    width: 40px;
    border-top-width: 2px;
    border-bottom-width: 2px;
  }
  60% {
    height: 60px;
    width: 40px;
    border-top-width: 2px;
    border-bottom-width: 2px;
  }
  100% {
    width: 40px;
    height: 25px;
    border-top-width: 4px;
    border-bottom-width: 4px;
  }
}
@keyframes collapseMenu {
  0% {
    height: 60px;
    width: 70%;
    border-top-width: 2px;
    border-bottom-width: 2px;
  }
  50% {
    height: 60px;
    width: 40px;
    border-top-width: 2px;
    border-bottom-width: 2px;
  }
  60% {
    height: 60px;
    width: 40px;
    border-top-width: 2px;
    border-bottom-width: 2px;
  }
  100% {
    width: 40px;
    height: 25px;
    border-top-width: 4px;
    border-bottom-width: 4px;
  }
}
@-webkit-keyframes showContent {
  0% {
    opacity: 0;
    visibility: hidden;
  }
  100% {
    opacity: 1;
    visibility: visible;
  }
}
@keyframes showContent {
  0% {
    opacity: 0;
    visibility: hidden;
  }
  100% {
    opacity: 1;
    visibility: visible;
  }
}
@-webkit-keyframes hideContent {
  0% {
    opacity: 1;
    visibility: visible;
  }
  70% {
    opacity: 0;
    visibility: hidden;
  }
}
@keyframes hideContent {
  0% {
    opacity: 1;
    visibility: visible;
  }
  70% {
    opacity: 0;
    visibility: hidden;
  }
}


@keyframes expandMenu-m {
  0% {
    height: 25px;
  }
  20% {
    height: 17.5px;
    width: 40px;
  }
  40% {
    height: 60px;
    width: 40px;
    border-top-width: 2px;
    border-bottom-width: 2px;
  }
  100% {
    height: 60px;
    width: 20%;
    border-top-width: 2px;
    border-bottom-width: 2px;
  }
}

@-webkit-keyframes expandMenu-m {
  0% {
    height: 25px;
  }
  20% {
    height: 17.5px;
    width: 40px;
  }
  40% {
    height: 60px;
    width: 40px;
    border-top-width: 2px;
    border-bottom-width: 2px;
  }
  100% {
    height: 60px;
    width: 20%;
    border-top-width: 2px;
    border-bottom-width: 2px;
  }
}



/* --------------------------------- Mobile --------------------------------- */
.bar {
  width: 30px;
  height: 2px;
  border-radius: 100rem;
  margin-bottom: 8px;
  background-color: black;
  margin-right: 30px;
  transform: rotate(0deg);
  transition: all 500ms ease;
  opacity: 1;
}

.buttonwrapper {
  display: flex;
  align-items:flex-end;
  justify-content: center;
  flex-direction: column;
  height: 80px;
  width: 70px;
  float: right;
  margin-top: 2px;
  cursor: pointer;
}

.menu-wrapper {
  background-color: white;
  transition: all 500ms ease;
  height: 80px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.16);
  position: fixed;
  top: 0;
  z-index: 10000;
}

.open {
  height: 100vh;
  transition: all 500ms ease;
}

.activeb1 {
  transition: all 500ms ease;
  transform: rotate(135deg);
  margin-bottom: -2px;

}

.activeb2 {
  transition: all 500ms ease;
  transform: rotate(45deg);
  margin-bottom: 0;
  
}

.activeb3 {
  transition: all 500ms ease;
  opacity: 0;
  visibility: hidden;
}

.navmb-twrap {
  margin-top: 120px;
  margin-left: 50px;
  opacity: 0;
  visibility: hidden;
  transition: all 500ms ease;
}

.navmb-text {
  font-family:'raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-size: 29px;
  text-transform: uppercase;
  margin-bottom: 50px;
}

.navmb-twrapop {
  opacity: 1;
  visibility: visible;
  transition: all 600ms ease;
}


.toggleimg-wrap {
  height: 75px;
  background: white;
  width: 100vw;
}

.mbnav-logo {
  margin-left: 50%;
  transform: translateX(-50%);
  margin-top: 8px;
  height: 60px;
}