/* Modal styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 999; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.4); /* Black background with opacity */
}

/* Modal Content */
.modal-content {
    background-color: #fefefe;
    margin: 1% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
    max-width: 600px;
    border-radius: 10px;
}

/* Card styles */
.card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 15px;
}

.card-image {
    width: 100%;
    height: auto;
}

.card-body {
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-body h3 {
    margin: 0;
    font-size: 1.5em;
}

.card-body p {
    margin: 10px 0;
}

/* Button styles */
.card-body a {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px 1px;
    cursor: pointer;
    /* display: flex; */
    margin-left: 50%;
    border-radius: 6px;
    box-shadow: 0 0 1.5625rem 0.625rem hsl(183, 100%, 35%);
    transform: translateX(-50%);
width: 150px;

}
.card-body a .redirectBtn{
    background-color: #007bff;
    width: 140px;
    color: #fff;
    font-size: 20px;
    border: none;
    padding: 10px 1px;   
}
.redirectBtn{
    border: none;
    width: 150px;
    
}
.card-body:hover{
    cursor: pointer;

}
.card-body{
    width: 100%;
}

.redirectBtn:hover {
    background-color: #0056b3;
}

/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Responsive */
@media screen and (max-width: 600px) {
    .modal-content {
        width: 90%;
    }
}
.registration-form{
    display: flex;
    flex-direction: column;
    padding: 1px 20px 20px 20px;
    margin-top: -25px;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: transparent;
    /* z-index: 122; */

}


@media only screen and (min-width: 300px) and (max-width: 770px){
    .modal-content{
        margin-top: 25%;
    }
}

@media only screen and (min-width: 771px) and (max-width: 1024px){
    .modal-content{
        margin-top: 13%;

    }
}

@media only screen and (min-width: 1024px) and (max-width: 1300px) {
    .modal-content{
        margin-top: 10%;

    }
}