ul1 {
  list-style: none;
  margin: 0;
  padding: 0;
}
ul1 li1 {
  cursor: pointer;
  padding: 6px 20px;
  font-size: 5vw;
}

button1 {
  opacity: 0.6;
  /*background-color: transparent;*/
  position: fixed;
  z-index: 2;
  top: 24px;
  left: 24px;
  border: none;
  width: 36px;
  height: 30px;
  outline: none;
  -webkit-transition: opacity 0.2s ease-out;
  transition: opacity 0.2s ease-out;
}
button1:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  right: auto;
  width: 100%;
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(196, 196, 196, 1)), color-stop(20%, rgba(196, 196, 196, 1)), color-stop(20%, transparent), color-stop(40%, transparent), color-stop(40%, rgba(196, 196, 196, 1)), color-stop(60%, rgba(196, 196, 196, 1)), color-stop(60%, transparent), color-stop(80%, transparent), color-stop(80%, rgba(196, 196, 196, 1)), to(rgba(196, 196, 196, 1)));
  background: linear-gradient(to bottom, rgba(196, 196, 196, 1), rgba(196, 196, 196, 1) 20%, transparent 20%, transparent 40%, rgba(196, 196, 196, 1) 40%, rgba(196, 196, 196, 1) 60%, transparent 60%, transparent 80%, rgba(196, 196, 196, 1) 80%, rgba(196, 196, 196, 1) 100%);
  -webkit-transition: opacity 0.2s ease-out, width 0.2s 0.2s ease-out;
  transition: opacity 0.2s ease-out, width 0.2s 0.2s ease-out;
}
button1:after {
  opacity: 0;
  content: '×';
  color: white;
  position: absolute;
  top: 16px;
  left: -4px;
  font-family: Arial, sans-serif;
  font-size: 76px;
  line-height: 0;
  -webkit-transition: opacity 0.4s ease-out;
  transition: opacity 0.4s ease-out;
}
button1:active {
  -webkit-transform: translateY(2px);
          transform: translateY(2px);
}
button1:hover {
  opacity: 1;
}
.open button1 {
  opacity: 1;
}
.open button1:before {
  opacity: 0;
  width: 0;
}
.open button1:after {
  opacity: 1;
  -webkit-transform: translate3d(0, 0, 0) rotate(360deg);
          transform: translate3d(0, 0, 0) rotate(360deg);
  -webkit-transition: opacity 0.4s 1s ease-out, -webkit-transform 0.4s 1s ease-out;
  transition: opacity 0.4s 1s ease-out, -webkit-transform 0.4s 1s ease-out;
  transition: transform 0.4s 1s ease-out, opacity 0.4s 1s ease-out;
  transition: transform 0.4s 1s ease-out, opacity 0.4s 1s ease-out, -webkit-transform 0.4s 1s ease-out;
}

nav1 {
  z-index: 1;
  position: fixed;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-transform: translate3d(0, 0, 0);
          transform: translate3d(0, 0, 0);
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  overflow: hidden;
}
nav1:before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  background: rgba(43, 146, 255, 0.9);
  width: 100%;
  height: 0;
  padding-bottom: 100%;
  border-radius: 100%;
  -webkit-transform: scale(0.04), translateY(9999px);
          transform: scale(0.04), translateY(9999px);
  overflow: hidden;
}
.open nav1 {
  top: 0;
}
.open nav1:before {
  -webkit-animation: menu-animation 0.8s ease-out forwards;
          animation: menu-animation 0.8s ease-out forwards;
}

ul1.menu {
  position: fixed;
  top: 50%;
  left: 50%;
  -webkit-transform: translate3d(-50%, -50%, 0);
          transform: translate3d(-50%, -50%, 0);
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  -webkit-perspective: 1000;
          perspective: 1000;
  color: white;
  border-radius: 20%;
}
ul1.menu li1 {
  opacity: 0;
  /*-webkit-text-stroke: 0.05em rgba(43, 146, 255, 1);*/

  text-align: center;
  -webkit-transform: translate3d(0, 36px, 0);
          transform: translate3d(0, 36px, 0);
}
ul1.menu li1:before {
  content: '';
  /*position: absolute;*/
  /*top: 0;*/
  /*right: 0;*/
  /*bottom: 0;*/
  /*left: 0;*/
  margin: auto;
  left: auto;
  background-color: black;

  height: 100%;
  width: 0;
  overflow: hidden;
  -webkit-transition: width 0.14s ease-out;
  transition: width 0.14s ease-out;
}
/*ul1.menu li1:after {*/
/*  opacity: 0;*/
/*  content: attr(data-text);*/
/*  !*position: absolute;*!*/
/*  !*top: 0;*!*/
/*  !*right: 0;*!*/
/*  !*bottom: 0;*!*/
/*  !*left: 0;*!*/
/*  !*margin: auto;*!*/
/*  color: #000000;*/
/*  overflow: hidden;*/
/*  -webkit-transform: translate(-24px, 6px);*/
/*          transform: translate(-24px, 6px);*/
/*  -webkit-transition: opacity 0.1s ease-out, -webkit-transform 0.1s ease-out;*/
/*  transition: opacity 0.1s ease-out, -webkit-transform 0.1s ease-out;*/
/*  transition: transform 0.1s ease-out, opacity 0.1s ease-out;*/
/*  transition: transform 0.1s ease-out, opacity 0.1s ease-out, -webkit-transform 0.1s ease-out;*/
/*}*/
/*ul1.menu li1:hover:before {*/
/*  left: 0;*/
/*  right: auto;*/
/*  width: 100%;*/

/*}*/
/*ul1.menu li1:hover:after {*/
/*  opacity: 1;*/
/*  padding: 0 20px;*/
/*  -webkit-transform: translate(0px, 6px);*/
/*          transform: translate(0px, 6px);*/
/*  -webkit-transition: opacity 0.2s 0.14s ease-out, -webkit-transform 0.2s 0.14s ease-out;*/
/*  transition: opacity 0.2s 0.14s ease-out, -webkit-transform 0.2s 0.14s ease-out;*/
/*  transition: transform 0.2s 0.14s ease-out, opacity 0.2s 0.14s ease-out;*/
/*  transition: transform 0.2s 0.14s ease-out, opacity 0.2s 0.14s ease-out, -webkit-transform 0.2s 0.14s ease-out;*/
/*  color: rgba(0, 0, 0, 1);*/
/*}*/
.open ul1.menu li1 {
  opacity: 1;
  -webkit-transform: translate3d(0, 0, 0);
          transform: translate3d(0, 0, 0);
  -webkit-transition: opacity 0.2s ease-out, -webkit-transform 0.2s ease-out;
  transition: opacity 0.2s ease-out, -webkit-transform 0.2s ease-out;
  transition: transform 0.2s ease-out, opacity 0.2s ease-out;
  transition: transform 0.2s ease-out, opacity 0.2s ease-out, -webkit-transform 0.2s ease-out;
}
.open ul1.menu li1:nth-child(1) {
  -webkit-transition-delay: 0.75s;
          transition-delay: 0.75s;
}
.open ul1.menu li1:nth-child(2) {
  -webkit-transition-delay: 0.85s;
          transition-delay: 0.85s;
}
.open ul1.menu li1:nth-child(3) {
  -webkit-transition-delay: 0.95s;
          transition-delay: 0.95s;
}
.open ul1.menu li1:nth-child(4) {
  -webkit-transition-delay: 1.05s;
          transition-delay: 1.05s;
}

@-webkit-keyframes menu-animation {
  0% {
    opacity: 0;
    -webkit-transform: scale(0.04) translateY(300%);
            transform: scale(0.04) translateY(300%);
  }
  40% {
    -webkit-transform: scale(0.04) translateY(0);
            transform: scale(0.04) translateY(0);
    -webkit-transition: ease-out;
    transition: ease-out;
  }
  40% {
    -webkit-transform: scale(0.04) translateY(0);
            transform: scale(0.04) translateY(0);
  }
  60% {
    opacity: 1;
    -webkit-transform: scale(0.02) translateY(0px);
            transform: scale(0.02) translateY(0px);
  }
  61% {
    -webkit-transform: scale(0.04);
            transform: scale(0.04);
  }
  99.9% {
    height: 0;
    padding-bottom: 100%;
    border-radius: 100%;
  }
  100% {
    -webkit-transform: scale(2);
            transform: scale(2);
    height: 100%;
    padding-bottom: 0;
    border-radius: 0;
  }
}

@keyframes menu-animation {
  0% {
    opacity: 0;
    -webkit-transform: scale(0.04) translateY(300%);
            transform: scale(0.04) translateY(300%);
  }
  40% {
    -webkit-transform: scale(0.04) translateY(0);
            transform: scale(0.04) translateY(0);
    -webkit-transition: ease-out;
    transition: ease-out;
  }
  40% {
    -webkit-transform: scale(0.04) translateY(0);
            transform: scale(0.04) translateY(0);
  }
  60% {
    opacity: 1;
    -webkit-transform: scale(0.02) translateY(0px);
            transform: scale(0.02) translateY(0px);
  }
  61% {
    -webkit-transform: scale(0.04);
            transform: scale(0.04);
  }
  99.9% {
    height: 0;
    padding-bottom: 100%;
    border-radius: 100%;
  }
  100% {
    -webkit-transform: scale(2);
            transform: scale(2);
    height: 100%;
    padding-bottom: 0;
    border-radius: 0;
  }
}
