.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  padding: 20px;
  justify-content: center;
  align-items: center;
}

.modal-open {
  overflow: hidden;
}

.modal__content {
  margin: auto;
  background-color: #fff;
  margin: 5% auto;
  padding: 60px 20px;
  width: 100%;
  max-width: 590px;
  border-radius: 20px;
  color: var(--background-color);
  position: relative;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.modal__close {
  position: absolute;
  right: 20px;
  top: 20px;

  svg path {
    transition: stroke ease .3s;
  }

  &:hover {
    svg path {
      stroke: var(--red-hover);
    }
  }
}

.modal__close:hover,
.modal__close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.modal__title {
  text-align: center;
  color: var(--background-color);
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.modal__file-select {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 8px;
  background: var(--text-red);
  padding: 13px 24px;
  margin-top: 16px;
  font-size: 16px;
  line-height: 1;
  transition: background-color ease .3s;

  &:hover {
    background-color: var(--red-hover);
  }
}

.modal__file-select.disabled {
  background: #9f9f9f;
  cursor: default;
}

.modal__input {
  display: none;
}

.modal.age {
  position: fixed;
  top:0;
  left:0;
  right:0;
  bottom:0;
  z-index: 9999;
  min-height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #000000;
}

