.modal__backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  z-index: -1;
  pointer-events: none;
  transition: opacity0 .2s ease-in;
}

.modal__content {
  position: relative;
  width: auto;
  margin: 10px;
  font-family: Montserrat;
  font-style: normal;
  font-weight:400;
  
  transition: opacity 0.3s ease-in;
  display: flex;
  flex-direction: column;
  background: rgba(234, 215, 107, 0.548);
  box-shadow: 0px 0px 30px rgba(234, 214, 107, 0.2);
  backdrop-filter: blur(17px);
 
  border-radius: 67px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0.3rem;
  box-shadow: 0 0 7px 0 rgba(0, 0, 0, 0.3);
}

@media (min-width: 576px) {
  .modal__content {
    max-width: 600px;
    height: 350px;
    margin: 250px auto;
  }
}

.modal__show .modal__backdrop,
.modal__show .modal__content {
  opacity: 1;
  z-index: 1050;
  pointer-events: auto;
  overflow-y: auto;
}

.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
  border-bottom: 2px solid rgba(234, 215, 107);
}

.modal__title {
  margin-top: 0;
  margin-bottom: 0;
  line-height: 1.5;
  text-align: center;
  font-family: Montserrat;
  font-style: normal;
  font-weight: bold;
  font-size: 29px;
  color: #fff;
  padding-left: 240px;
}

.modal__btn-close {
  float: right;
  font-family: sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  color: rgb(255, 255, 255);
  text-shadow: 0 1px 0 #fff;
  opacity: 0.5;
  text-decoration: none;
}

.modal__btn-close:focus,
.modal__btn-close:hover {
  color: rgb(255, 255, 255);
  text-decoration: none;
  cursor: pointer;
  opacity: 0.75;
}

.modal__body {
  position: relative;
  flex: 1 1 auto;
  padding: 15px;
  overflow: auto;
}

.modal__footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 1rem;
  border-top: 2px solid rgba(234, 215, 107);
  border-bottom-right-radius: 0.3rem;
  border-bottom-left-radius: 0.3rem;
}