body {
    font-family: "Montserrat", sans-serif;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-left: 200px;
}

.grid-item {
    position: relative;
    overflow: hidden;
    margin: 3px 5px;

}

.grid-item img {
    width: 100%;
    height: auto;
    transition: opacity 0.3s ease;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.grid-item:hover .image-overlay {
    opacity: 1;
}

.image-name {
    color: white;
    font-size: 18px;
}

@media screen and (max-width: 1022px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 600px) {
    .grid-container {
        grid-template-columns: repeat(1, 1fr);
    }
    .grid-container {
        margin-left: 150px;
    }
}
