#page-photos {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
    box-sizing: border-box;
}

#page-photos h1 {
    margin-bottom: 10px;
}

.container-photos {
    width: 100%;
    max-width: 1000px;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    background-color: aliceblue;
}

.container-photos h2 {
    text-align: center;
    margin-top: 20px;
    width: 100%;
    color: #000;
    font-size: 28px;
}

.container-photos h3 {
    text-align: center;
    margin-bottom: 20px;
    width: 100%;
    color: #000;
    font-size: 16px;
}

.images-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 15px;
    padding: 15px;
    width: 100%;
}

.thumbnail {
    flex: 0 0 calc(50% - 7.5px);
    max-width: calc(50% - 7.5px);
    height: auto;
    object-fit: cover; 
}

.thumbnail:focus-visible {
    outline: 4px solid dodgerblue;
    outline-offset: 2px; 
}

@media (max-width: 767px) {
    .thumbnail {
        flex: 0 0 100%;
        max-width: 100%;
    }
}