.body-modal {
  position: fixed;
  width: 100%;
}
body .modal {
  align-items: center;
  background-color: rgba(0, 0, 0, .7);
  display: none;
  height: 100%;
  justify-content: center;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100000000;
}
body .modal-visible {
  display: flex;
}
.modal-window {
  background-color: #ffffff;
  border-radius: 4px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  max-height: 100%;
  max-width: 100%;
  overflow: auto;
  padding: 20px;
}
.modal-window-full-screen {
  border-radius: 0;
  height: 100%;
  width: 100%;
}
.fa-modal-close {
  cursor: pointer;
  height: 14px;
  margin-left: 10px;
  width: 14px;
}
.fa-modal-close:hover {
  background-color: var(--color-main);
}
.modal-header {
  display: flex;
}
.modal-header-title {
  flex: 1;
  font-size: 18px;
  font-weight: 900;
  margin-left: 28px;
  text-align: center;
}
body .modal-content {
  height: 100%;
  margin: 0 auto;
  overflow-y: auto;
  scrollbar-width: thin;
  width: 100%;
}
.modal-content h3 {
  text-align: center;
}
.modal-window-full-screen .modal-content {
  width: 100%;
}
.modal-buttons {
  margin-top: 10px;
  text-align: center;
}
.modal-button {
  background-color: var(--color-main);
  border-radius: 4px;
  color: var(--color-btn);
  cursor: pointer;
  display: inline-block;
  font-size: 14px;
  margin: 0 5px;
  padding: 5px 10px;
  text-transform: uppercase;
}
/*@media (max-width: 720px) {
  .modal-window {
    border-radius: 0;
    height: 100%;
    width: 100%;
  }
}*/
@media (max-width: 430px) {
  .modal-window {
    width: 100%;
  }
}