#mod-window {
  z-index: 90;
  position: relative;
}

.mod-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #0f090fe7;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.mod-container {
  background-color: #353535;
  max-width: 500px;
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-sizing: border-box;
  z-index: 20;
  padding: 50px 50px;
  color: #fff;
  margin: 5%;
  padding: 10px 10px;
  padding-top: 20px;
  border-radius: 2px;
}

.mod-content {
  width: 100%;
  height: 100%;
  padding: 10px 0 0 0;
}

.mod-content p {
  padding: 12px 10px 10px 10px;
  color: #e9e9e9;
  margin: 0 !important;
  line-height: 1.7;
  font-size: 16px;
  line-height: 24px;
  opacity: 0.7;
}

.mod-content h4 {
  color: #d5d5d5;
  letter-spacing: -0.035em;
  font-weight: 600;
  margin: 0;
  font-size: 35px;
  padding: 0px 10px 0px 10px;
  font-size: 24px;
}

.mod-content h4,
.mod-content p {
  text-align: center;
}

.mod-content #mod-link {
  color: #e9e9e9;
}

.buttons-block {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
}

.buttons-block button {
  margin: 20px;
  padding-left: 50px;
  padding-right: 50px;
  padding: 7px 70px;
  width: 100%;
  border: none;
  background: #4310c6;
  margin: 10px 0;
}

.mod-button {
  background-color: transparent;
  color: #fff;
  border-radius: 6px;
  border: 4px solid #fff;
  padding: 12px 20px 10px 20px;
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
  outline: none;
  cursor: pointer;
}

#reject-button {
  position: absolute;
  top: -30px;
  right: -30px;
  border-radius: 500px;
  padding: 10px 20px;
  background-color: #06497b;
  border: none;
  display: none;
}

#reject-button:hover {
  opacity: 1;
}

@media only screen and (max-width: 600px) {
  .buttons-block {
    flex-flow: column-reverse wrap;
  }

  .mod-container {
    padding: 20px 20px;
  }
}
@media only screen and (max-width: 390px) {
  .mod-content p {
    padding: 10px 0;
    font-size: 15px;
    line-height: 21px;
  }
  .mod-content h4 {
    font-size: 19px;
  }
  .mod-content button {
    font-size: 18px;
  }

  .mod-container {
    padding: 20px 15px;
  }
}
.mod-location {
  text-align: center;
  font-size: 15px;
  padding-top: 10px;
}

@keyframes mmfadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes mmfadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes mmslideIn {
  from {
    transform: translateY(15%);
  }
  to {
    transform: translateY(0);
  }
}
@keyframes mmslideOut {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-10%);
  }
}
#mod-window {
  display: block;
}

#mod-window[aria-hidden=false] .mod-overlay {
  animation: mmfadeIn 0.2s cubic-bezier(0, 0, 0.2, 1);
}

#mod-window[aria-hidden=false] .mod-container {
  animation: mmslideIn 0.2s cubic-bezier(0, 0, 0.2, 1);
}

#mod-window .mod-container,
#mod-window .mod-overlay {
  will-change: transform;
}

.hidden {
  display: none !important;
}