.modal {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  display: none;
  overflow: auto;
  background-color: #000000;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9999;
}

.modal-window {
  position: relative;
  background-color: #FFFFFF;
  width: 50%;
  margin: 10% auto;
  padding: 20px;
  border-radius: 12px;
}

.modal-window > * {
  color: #111111;
}

.modal-window h3 {
  margin-bottom: 20px;
}

.modal-window.small {
  width: 30%;
}

.modal .btn {
  margin: 0 auto;
  margin-top: 32px;
  width: 100px;
  display: block;
}

@media (max-width: 770px) {
  .modal-window.small {
    width: 95%;
    top: 45%;
    transform: translate(0%, -50%);
  }
}

.modal-window.large {
  width: 75%;
}

.close {
  position: absolute;
  top: 0;
  right: 0;
  color: rgba(0, 0, 0, 0.3);
  height: 30px;
  width: 30px;
  font-size: 30px;
  line-height: 30px;
  text-align: center;
}

.close:hover,
.close:focus {
  color: #000000;
  cursor: pointer;
}

.open {
  display: block;
}
