@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400&display=swap');

.container .card
{
    max-width: 300px;
    height: 200px;
    margin: 30px 10px;
    padding: 20px 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
    transition: 0.3s ease-in-out;
    border-radius: 10px !important;
    /*overflow: hidden; !* Prevent content overflow when expanding *!*/
    position: relative;
    /*background-color: rgba(255, 0, 0, 0.1);*/
}
.container .card:hover
{
    height: 480px;
}
.container .card .imgContainer
{
    position: relative;
    width:200px;
    /*height:200px;*/
    top:-50px;
    left:32px;
    z-index: 1;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    border-radius: 10px !important;
}
.container .card .imgContainer img
{
    max-width: 100%;
    border-radius: 10px;
    height: 150px;
    width: 200px;
}
.container .card .content
{
    position: relative;
    margin-top: -140px;
    padding: 10px 15px;
    text-align: center;
    color:#111;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease-in-out;
    /*background-color: rgba(0, 255, 0, 0.1);*/
}
.container .card:hover .content
{
    visibility: visible;
    opacity: 1;
    margin-top: -40px;
    pointer-events: auto;
    transition-delay: 0.3s;
}

@media (max-width: 330px){
    .container .card .imgContainer{
        left: -2px;
    }
}


.card-h2{
    font-family: "Righteous", sans-serif !important;
    font-size: 1.3rem !important;
    /*font-weight: bold !important;*/
    color: #333 !important;
}


.card-p{
    font-weight: 400 !important;
    font-size: 1.2rem !important;
    line-height: 1.5rem !important;
    color: black !important;
    text-align: center !important;
}


.read-more-button {
    margin-top: 15px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #3b76bb; /* Button color */
    color: white; /* Text color */
    text-decoration: none; /* Remove underline */
    font-weight: bold;
    transition: background-color 0.3s ease;
    display: block; /* Make the button appear on a new line */
    text-align: center; /* Center the text inside the button */
    font-size: 16px;
}

.read-more-button:hover {
    background-color: #2a5a93; /* Darker shade for hover effect */
    color: white;
    text-decoration: none;
}
