
video.img-responsive {
    max-width: 100%;
    height: auto;
    display: block;
}


.img-container2 {
    height: 60px; /* Set the height for the image section */
    display: flex;
    align-items: center;
    justify-content: center; /* Center the image within the 60px section */
}

.default-icon, .alternate-icon {

    width: 50px;
    height: 50px;
    transition: all 0.3s ease;
    max-height: 50px; /* Ensure the image does not exceed the 50px size */
}

.alternate-icon {
    display: none;
}

.box2:hover .default-icon {
    display: none;
}

.box2:hover .alternate-icon {
    display: block;
}


.flex-container2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 20px;
}

.box2 {
    width: calc(30% - 0px); /* Take 25% of the container width minus padding */
    max-width: 400px; /* You can adjust this as needed */
    min-width: 200px; /* You can adjust this as needed */
    overflow: hidden;  /* Prevents any child element from spilling out */
    height: 375px;
    margin: 10px;
    border-radius: 15px;
    background-color: rgba(200, 191, 191, 0.8);
    color: black;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    transition: all 0.3s ease;
    padding: 5px; /* Add some general padding around the box */
}

.box2:hover {
    background-color: #3498db; /* You can change this color */
    color: white;
}

.box2 img {
    width: 50px;
    height: 50px;
    transition: all 0.3s ease;
}

.box2:hover img {

}

.box2 h2 {
    font-size: 16px;
    font-weight: bold;
    margin: 0px;
    text-align: center; /* Center align the text */
    height: 32px; /* Reserving space for 2 lines of text */
    display: flex;
    align-items: center; /* Vertically centering text in the reserved space */
    justify-content: center; /* Horizontally centering text */
}

.box2 p {
    flex-grow: 1; /* Allow the text section to take up the remaining space */
    margin: 0;
    font-size: 14px;
    padding: 10px; /* Padding around the text */
    text-align: center;
    display: flex;

    justify-content: center; /* Horizontally center the text */
}

/* Responsive design for mobile and tablet devices */
@media (max-width: 800px) {
    .flex-container2 {
        flex-direction: column;
        align-items: center;
    }

    .box2 {
        width: 90%;
    }
}