.popup-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.75);
  z-index: 9990;
}

.popup-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 18px;
  position: absolute;
  top: 50%;
  left: 50%;
  box-sizing: border-box;
  z-index: 1;
  font-family: Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
  color: #2C2E34;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 2em 3em;
  min-width: 250px;
  max-width: 600px;
  min-height: 300px;
  border-radius: 8px;
  box-shadow: 0 10px 50px black;
  width: 90%;
}
.popup-content strong {
  font-weight: 900;
  color: #004A81;
}
@media screen and (max-width: 400px) {
  .popup-content {
    font-size: 14px;
    padding: 4em 2em;
    min-height: auto;
  }
}
.popup-content h1 {
  font-size: 1.5em;
  margin: 0;
}
.popup-content h2 {
  font-size: 1.25em;
  margin: 0;
}
.popup-content p {
  margin: 0;
}
.popup-content hr {
  width: 100%;
  height: 1px;
  background-color: #ccc;
  box-shadow: none;
  border: none;
  line-height: 1;
  margin: 0;
}
.popup-content .btn-popup {
  background-color: #004A81;
  color: white;
  font-weight: bold;
  text-decoration: none;
  padding: 0.8em 2.5em;
  border-radius: 8px;
  margin: 0.5em 0;
  transition: all 0.3s ease;
}
.popup-content .btn-popup:hover {
  background-color: #0061aa;
  transition: all 0.3s ease;
}

#close-popup {
  position: absolute;
  aspect-ratio: 1;
  top: 0.5em;
  right: 0.5em;
  cursor: pointer;
  width: 1em;
  height: 1em;
  padding: 0.5em;
  border-radius: 4px;
  opacity: 0.5;
  transition: all 0.3s ease;
}
@media screen and (max-width: 400px) {
  #close-popup {
    top: 1em;
    right: 1em;
    width: 18px;
    height: 18px;
    outline: 1px solid #ccc;
    outline-offset: 2px;
    opacity: 0.8;
  }
}
#close-popup path {
  fill: #2C2E34;
}
#close-popup:hover {
  background-color: #004A81;
  opacity: 1;
  transition: all 0.3s ease;
}
#close-popup:hover path {
  fill: white;
  transition: all 0.3s ease;
}