
@charset "UTF-8";


@keyframes fadein {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes fadeout {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes zoomin {
  0% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes zoomout {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0.9);
  }
}
@keyframes hide {
  0% {
    visibility: visible;
  }
  100% {
    visibility: hidden;
  }
}





#modal-nav{

}

#modal-nav .modal .modal-check {
  display: none;
}
#modal-nav .modal .modal-body {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.2);
  z-index: 100000;
}
#modal-nav .modal .modal-window {
  position: relative;
  z-index: 100001;
  animation: fadein 0.3s 1, zoomin 0.3s 1;
}
#modal-nav .modal .modal-label {
  position: absolute;
  top: -20px;
  right: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  background: #099;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  transition: all 0.2s ease;
}
#modal-nav .modal .modal-label:hover {
  background: #00cccc;
}
#modal-nav .modal .modal-label:active {
  background: aqua;
}
#modal-nav .modal .modal-label svg {
  display: flex;
  align-items: center;
  fill: #fff;
}
#modal-nav .modal .modal-inner {
  width: 80vw;
  max-width: 500px;
  background: #fff;
  border-radius: 3px;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.2);
}
#modal-nav .modal .modal-content {
  padding: 20px;
}
#modal-nav .modal .modal-check:checked + .modal-body {
  animation: fadeout 0.2s 1 forwards, hide 0.1s 0.2s 1 forwards;
}
#modal-nav .modal .modal-check:checked + .modal-body .modal-window {
  animation: zoomout 0.2s 1 forwards;
}
