#popup {
  display: none;
  position: fixed;
  font-size: 18px;
  line-height: 1.625rem;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-color: rgb(255, 255, 255);
  padding: 7px 20px 20px 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  color: #000000;
  flex-direction: column;
  font-family: Verdana, sans-serif;
}

#popup p {
  font-size: 18px;
  text-align: center;
  color: #000;
}

#popup-overlay {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(24, 24, 24, 0.7);
  z-index: 999;
}

.popup-buttons {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 20px;
}

.popup-close {
  align-self: end;
  font-family: Helvetica, sans-serif;
  font-stretch: ultra-expanded;
  cursor: pointer;
}

.subscribe-btn {
  display: inline-flex;
  text-decoration: none;
  color: #fff;
  background-color: #29a9ea;
  font-weight: 800;
  padding: 0 5px;
  height: 50px;
  border: 2px solid #29a9ea;
  letter-spacing: 1.1px;
  border-radius: 5px;
  text-transform: uppercase;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.close-btn {
  display: inline-flex;
  text-decoration: none;
  width: 120px;
  border: 0;
  background-color: transparent;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #999;
}

.popup-close-btns {
  display: flex;
  justify-content: space-evenly;
  font-size: 12px;
}

@media screen and (max-width: 768px) {
  #popup {
    width: 90%;
    max-width: 500px;
    font-size: 12px;
  }

  .popup-close-btns {
    font-size: 10px;
    width: 50%;
  }
}

@media screen and (max-width: 480px) {
  #popup {
    width: 98%;
    max-width: 480px;
    font-size: 10px;
  }
}
