
  /* Popup container - hidden by default */
  .popup {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7); /* Black background with opacity */
  }
  
  /* Popup content */
  .popup-content {
    background-image: url(../image/astrologyspace.jpg);
    margin: 5% auto;
    padding: 20px;
    width: 40%;
    height: 80vh; /* Limit height to 80% of the viewport height */
    overflow-y: hidden; /* Add vertical scroll if content exceeds the height */
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.366);
    text-align: center;
    border-radius: 10px;
    background-repeat: no-repeat;
    background-size: cover
  }
  
  /* Close button */
  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
  }
  
  /* Popup link */
  .popup-link {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #333;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
  }
  
  .popup-link:hover {
    background-color: #555;
  }
/* Matching Popup Specific Styles */
.matching-popup-content {
    background : url(../image/astrologyspace.jpg);
    margin: 5% auto;
    padding: 25px; /* Slightly larger padding */
    width: 75%; /* Slightly wider */
    max-width: 800px;
    height: 80vh;
    overflow-y: auto;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
    text-align: center;
    border-radius: 10px;
}

.matching-close {
    color: #ffffff; /* Different close button color */
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.matching-close:hover,
.matching-close:focus {
    color: #ffffff; /* Darker on hover */
}

.matching-popup-link {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #6c757d; /* Different button color */
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.matching-popup-link:hover {
    background-color: #495057; /* Darker on hover */
}

.matchformCont{
    height: 90vh;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}
.matchContentTxt{
    width: 100%;
    height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    padding: 5px
}
.matchCotentHead{
    font-size: 26px;
    font-weight: bold;
    color: #BA9A63;
}
.matchContentp{
    font-size: 18px;
    padding: 0px 20px;
}
.matchFormCotain{
    width: 100%;
    height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.matchFormCotain2{
    height: 65vh;
    width: 100%;
    background: white;
    border-radius: 5px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}
.matchformContainhead{
    width: 94%;
    height: 7vh;
    display: flex;
    justify-content: center;
    align-items: center
}
.matchformContainp{
    font-weight: bold;
    font-size: 25px
}


/* Consultation Popup Specific Styles */
.consultation-popup-content {
    background: url(../image/astrologyspace.jpg) ;
    /* Different background color */
    margin: 5% auto;
    padding: 25px; /* Slightly larger padding */
    width: 75%; /* Slightly wider */
    max-width: 450px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
    text-align: center;
    border-radius: 10px;
}

.consultation-close {
    color: #ffffff; /* Different close button color */
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.consultation-close:hover,
.consultation-close:focus {
    color: #ffffff; /* Darker on hover */
}

.consultation-popup-link {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #007bff; /* Different button color */
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.consultation-popup-link:hover {
    background-color: #000000; /* Darker on hover */
}

/* Palmistry Popup Specific Styles */
.palmistry-popup-content {
    background: url(../image/astrologyspace.jpg); /* Different background color */
    margin: 5% auto;
    padding: 25px; /* Slightly larger padding */
    width: 75%; /* Slightly wider */
    max-width: 450px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 5px 15px rgba(255, 254, 254, 0.3);
    text-align: center;
    border-radius: 10px;
}

.palmistry-close {
    color: #ffffff; /* Different close button color */
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.palmistry-close:hover,
.palmistry-close:focus {
    color: #ffffff; /* Darker on hover */
}

.palmistry-popup-link {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #28a745; /* Different button color */
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.palmistry-popup-link:hover {
    background-color: #218838; /* Darker on hover */
}


/* Popup container - hidden by default */
.popup2 {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7); /* Black background with opacity */
  }
  
  /* Popup content */
  .popup-content2 {
    background-image: url(../image/astrologyspace.jpg);
    margin: 5% auto;
    padding: 20px;
    width: 90%;
    max-height: 80vh; /* Limit height to 80% of the viewport height */
    overflow-y: auto; /* Add vertical scroll if content exceeds the height */
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.366);
    text-align: center;
    border-radius: 10px;
    background-repeat: no-repeat;
    background-size: cover;
  }
  
  /* Close button */
  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
  }
  
  /* Popup link */
  .popup-link {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #333;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
  }
  
  .popup-link:hover {
    background-color: #555;
  }
  @media only screen and (max-width: 767px){
   .popup-content2{
    height: 84vh;
    overflow-y: hidden;
   }  
}


@media only screen and (max-width: 767px){

.matching-popup-content{
    width: 95%;
}
.matchFormCotain2{
    height: 56vh;
}
.matchFormCotain{
    height: 56vh;
}
.consultation-popup-content{
    width: 95%;
}
.palmistry-popup-content{
    width: 95%;
}
.popup-content{
    width: 95%;
}
}
