/* Initial styles for the overlay (hidden) */
#overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #333;
  z-index: 1000; /* Ensure it's above other content */
}


.popup {
  display: none;
}

.popup.show {
  display: block;
  overflow: auto;
  position: fixed;
  max-width: 1024px;
  width: auto;
  padding: 50px;
  margin-top:50px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: auto;
  z-index: 1001;
  background-color: rgb(240, 240, 240);
}

.popup .popup-timer {
  min-width: 450px;
  margin-bottom: 50px;
}

.popup .wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  overflow: auto;
}

.popup .close-btn {
  position: absolute;
  right: 20px;
  top: 0%;
  cursor: pointer;
  font-size: 24px;
  line-height: 3rem;
  padding: 20px;
}

.phone-number button {
  font-size: 14px;
  text-transform: uppercase;
  line-height: 2.15rem;
  padding: 16px 60px;
  border-radius: 0.75rem;
}

@media (max-width: 768px) {
  .popup .wrapper {
    flex-direction: column;
    justify-content: center;
  }

  .popup .popup-timer {
    max-width: 500px;
    min-width: none;
  }
}