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

.exitpopup {
  position: relative;
  text-align: center;
  width: 80%;
  max-width: 720px;
  padding: 20px;
  margin: 10% auto;
  background-color: white;
  border-radius: 15px;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  -ms-border-radius: 15px;
  -o-border-radius: 15px;
}

.exitpopup > h1 {
  font-size: 40px;
}

.exitpopup > h2 {
  font-size: 35px;
}

.exitpopup-close {
  position: absolute;
  top: 5px;
  right: 15px;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
  display: block;
}

.exitpopup-title {
  text-align: center;
  background-color: #ef4242;
  display: inline-block;
  padding: 10px 20px;
  border-radius: 10px;
}

.exitpopup-subtitle {
  margin: 10px 0;
  text-align: center;
  font-size: 25px;
}

.exitpopup-subtitle2 {
  margin: 20px 0;
  text-align: center;
  font-size: 18px;
}

.font-color-red{
color: red; 
}

.font-color-white{
color: white; 
}

.font-color-blue{
color: #034d67; 
}

.font-color-blue2{
color: #149dca; 
}

.exitpopup-yes{
  font-weight: bold;
  font-size: 20px;
  padding: 20px;
  border-radius: 20px;
  background: linear-gradient(to right, #FFEB3B, #FFC107);
  color: #034d67;
}

.exitpopup-yes:hover {
  background: linear-gradient(to right, #ffeb3ba3, #ffc107a6);
  cursor: pointer;
}

.mobile-only-break{
  display: none;
}

/* X Button */
.close-btn {
  width: 26px;
  height: 26px;
  background-color: #034d67;
  color: white;
  border: 2px solid #034d67;
  border-radius: 6px;
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease; /* Smooth transition for all changes */
}

.close-btn::before, .close-btn::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 2px;
  background-color: white;
}

.close-btn::before {
  transform: rotate(45deg);
}

.close-btn::after {
  transform: rotate(-45deg);
}

/* Hover effect */
.close-btn:hover {
  background-color: white;
  color: #034d67;
  border: 2px solid #034d67;
}

.close-btn:hover::before, .close-btn:hover::after {
  background-color: #034d67;
}

@media screen and (max-width: 768px) {
  .exitpopup {
    padding: 6.5vw;
  }

  .exitpopup > h1 {
    font-size: 13vw;
    margin-bottom: 3.2vw;
  }

  .exitpopup > h2 {
    font-size: 4.5vw;
  }

  .exitpopup-subtitle {
    font-size: 3.2vw;
    margin: 3.9vw 0;
  }

  .exitpopup-yes{
    font-size: 3.9vw;
    padding: 2.6vw;
  }
}