@media (max-width: 768px) {
    .conteinerIMG {
        height: auto;
    }
    .conteinerIMG img {
        width: 100%;
    }
    .fotosContainer {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
}

.fotos {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fotos h2 {
    margin-bottom: 20px;
}

.conteinerIMG {
    flex-grow: 1;
    height: 500px;
    max-height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.conteinerIMG img {
    max-height: 100%;
    max-width: 100%;
}

.fotosContainer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-button {
    flex-shrink: 0;
    margin: 0 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.nav-button i {
    pointer-events: none;
}
