.popup-block {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.popup-container {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  max-width: 600px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.popup-close-button {
  position: absolute;
  top: 5px;
  right: 5px;
  background: white;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 5px 10px;

}
.popup-close-button:hover {
  color: #000;
  background-color: #f7941d;
  border-radius: 5%;
}

.popup-content-wrapper {
  overflow: hidden;
}

.popup-image {
  width: 100%;
  /* height: 500px; */
  background: #fffef6;
}

.popup-img {
  width: 100%;
  /* height: 100%; */
  object-fit: cover;
}

.popup-content {
  padding: 20px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.popup-button-container {
  text-align: center;
  margin-right: 10px;
}

.popup-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #1f4f7d;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.popup-button:hover {
  background-color: #f7941d;
  color: #fff;
}

@media screen and (max-width: 768px) {
  .popup-container {
    max-width: 100%;
  }
  /* .popup-image {
    height: 300px;
  } */
  .popup-img {
    height: 100%;
  }
}