.title {
    font-size: calc(20px + 2vw);
    margin: 40px auto;
}

.title, h4 {
    text-align: center;
    font-weight: bold;
}

@media screen and (min-width: 1024px) {
    .info-group {
        display: grid;
        grid-template-columns: repeat(3, 360px);
        justify-content: center;
    }
}

@media screen and (max-width: 1024px) {
    .info-group {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
}


.image-container {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 40px;
}

.image-container img {
    width: 100%;
    height: 100%;
    display: block;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    width: 100%;
    height: 100%;
    padding: 10%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.overlay > h3, h5 {
    text-align: center;
}

.overlay > p {
    font-size: 12px;
    text-align: justify;
}

.image-container:hover .overlay {
    opacity: 1;
}

.image-container .frame {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform-origin: 50% 50%;
    transform: translate(-50%, -50%) scale(1.4);
}