.modal-window {
  position: fixed;
  background-color: rgba(255, 255, 255, 0.25);
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 999;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
  display:none;
}
.modal-window:target {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  display:block;
}
@media screen and (min-width: 1024px) {.modal-window > div {
  width: 400px;
  position: absolute;
  top: 40%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  padding: 2em;
  background: #ececec;
}}
@media screen and (max-width: 1024px) {.modal-window > div {
  width: 95%; margin:0px auto;
  position: absolute;
  top: 40%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  padding: 2em;
  background: #ececec;
}}

.modal-window header {
  font-weight: bold;
}
.modal-window h1 {
  font-size: 150%;
  margin: 0 0 15px;
}

.modal-close {
  color: #aaa;
  line-height: 50px;
  font-size: 80%;
  position: absolute;
  right: 0;
  text-align: center;
  top: 0;
  width: 70px;
  text-decoration: none;
}
.modal-close:hover {
  color: black;
}


.container {
  display: grid;
  justify-content: center;
  align-items: center;
}

.modal-window div:not(:last-of-type) {
  margin-bottom: 15px;
}

small {
  color: #aaa;
}

.btn {
  background-color: #fff;
  padding: 1em 1.5em;
  border-radius:10px;
  text-decoration: none;
}
.btn i {
  padding-right: 0.3em;
}

.form-group{ color:#000; font-size:16px; padding:4px; }
.form01{ width:75%; height:34px; line-height:34px; border:1px solid  #666;margin-left:10px;}
.form02{ width:100%; height:44px; line-height:44px; border:1px solid  #666; background:#333; color:#fff; margin-top:14px;}