.agepopup {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all .2s ease;
}
.agepopup.active {
    opacity: 1;
    visibility: visible;
}

/* Styles for the popup overlay */
.agepopup .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

/* Styles for the popup content */
.agepopup .popup-content {
    background-color: #ffffff;
    padding: 50px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    max-width: 400px;
    width: 100%;
    text-align: center;
}

/* Styles for the popup header */
.agepopup .popup-header {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

/* Styles for the popup body */
.agepopup .popup-body p {
    font-size: 18px;
    margin-bottom: 20px;
}


/* Styles for the buttons */
.agepopup .buttons {
    display: flex;
    justify-content: center;
    align-items: center;
}

.agepopup .buttons a {
    display: inline-block;
    padding: 10px 20px;
    margin: 0 10px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 18px;
    color: #ffffff;
}

.agepopup .buttons a.yes {
    background-color: #4caf50;
}

.agepopup .buttons a.no {
    background-color: #f44336;
}