
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@500&display=swap');


#wrapper {

  margin: 0;
  width: 100vw;
  height: 100vh;
  animation: bugfix infinite 1s;
  -webkit-animation: bugfix infinite 1s;
  overflow:hidden;
}

@keyframes bugfix {
  from {
    padding: 0;
  }
  to {
    padding: 0;
  }
}
@-webkit-keyframes bugfix {
  from {
    padding: 0;
  }
  to {
    padding: 0;
  }
}
#overlayy-button {
  position: fixed;
  right: 3em;
  top: 3em;
  padding: 26px 11px;
  z-index: 5;
  cursor: pointer;
  user-select: none;
  background-color: transparent !important;
  width:50px;
}
#overlayy-button span {
  height: 2px;
  width: 33px;
  border-radius: 0px;
  background-color: silver;
  position: fixed;
  display: block;
  transition: all .2s ease-in-out;
}
#overlayy-button span:before {
  top: -10px;
  visibility: visible;
}
#overlayy-button span:after {
  top: 10px;
}
#overlayy-button span:before, #overlayy-button span:after {
  height: 2px;
  width: 33px;
  border-radius: 0px;
  background-color: silver;
  position: absolute;
  content: "";
  transition: all .2s ease-in-out;
}
#overlayy-button:hover span, #overlayy-button:hover span:before, #overlayy-button:hover span:after {
  background: #ff0000;
}

input[type=checkbox] {
  display: none;
}

input[type=checkbox]:checked ~ #overlayy {
  visibility: visible;
}

input[type=checkbox]:checked ~ #overlayy-button:hover span, input[type=checkbox]:checked ~ #overlayy-button span {
  background: transparent;
}
input[type=checkbox]:checked ~ #overlayy-button span:before {
  transform: rotate(45deg) translate(7px, 7px);
  opacity: 1;
}
input[type=checkbox]:checked ~ #overlayy-button span:after {
  transform: rotate(-45deg) translate(7px, -7px);
}

#overlayy {  
position: fixed;
top:0px;
left:0px;
font-size: 9px;
line-height:15px;
font-family: "Noto Serif JP", ヒラギノ明朝 ProN W3, serif;
 height: 100vh;
  width: 100vw;
  font-weight:500;
  background: #fff;
  z-index: 2;
  visibility: hidden;
  overflow:hidden;
 
}
#overlayy.active {
  visibility: visible;
}
#overlayy ul {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  height: 100vh;
  padding-left: 0;
  list-style-type: none;
}
#overlayy ul li {
  padding: 1em;
}
#overlayy ul li a {
  color: #293377;
  text-decoration: none;
  font-size: 2em;
}
#overlayy ul li a:hover {
  color: #ff0000;
}

@media only screen and (max-width: 768px) {
#overlayy-button {
  right: 1.5em;
  top: 1.5em;
}
}