/* Modal styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(95, 93, 93, 0.65);
}

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-dialog {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  padding: 20px 32px 52px;
}

.modal-body {
  display: flex;
  justify-content: center;
}

.modal-content {
  box-sizing: border-box;
  /*width: 90%;*/
  width: 320px;
  max-width: 800px;
  height: 90%;
  background-color: var(--light-color);
  padding: 32px 52px;
  border: none;
  overflow: hidden;

  border: 1.62px solid #eeedf2;
  box-shadow: 1.62px 1.62px 0px 0px #eeedf2;
  border-radius: 12px;

  display: flex;
  flex-direction: column;
  /*gap: 20px;*/
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 2%;
}

.close {
  width: 40px;
  color: #5f6065;
  background-color: transparent;
  font-size: 28px;
  font-weight: bold;
  border: none;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #aaa;
  text-decoration: none;
}

@media (min-width: 1280px) {
  .modal-content {
    width: 100%;
  }
}