.gallery-grid{

    display:grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap:20px;

    max-width:1100px;

    margin:20px auto;

    justify-items:center;
}

.gallery-box{

    width:312px;

    background:#0f1625;

    border:2px solid #2f8cff;

    border-radius:8px;

    padding:10px;

    text-align:center;

    box-shadow:
        0 0 12px rgba(47,140,255,.35);

    transition:.3s;
}

.gallery-box:hover{

    box-shadow:
        0 0 20px rgba(47,140,255,.75);
}

.gallery-image{

    width:288px;

    height:288px;

    object-fit:cover;

    display:block;

    margin:0 auto;

    border-radius:6px;
}

.gallery-filename{

    margin-top:10px;

    color:#7fc2ff;

    font-size:14px;

    font-weight:bold;
}

@media (max-width:1100px){

    .gallery-grid{

        grid-template-columns:
            repeat(2,1fr);
    }
}

@media (max-width:700px){

    .gallery-grid{

        grid-template-columns:
            repeat(1,1fr);
    }
}