.galerie {
    height: 800px;
    padding: 30px 5% 0 5%;

}

.fotky {
    height: auto;
    width: 130%;
    display: flex;
    flex-direction: column;
    margin-top: 20px;
    margin-bottom: 30px;
}

.videa {
    height: fit-content;
    width: 130%;
    display: flex;
    flex-direction: column;
    margin-top: 20px;
}

.row11 {
    height: 300px;
    margin-bottom: 50px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.row22 {
    height: 300px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

@media (max-width: 1460px) {
    .row11 {
        flex-direction: column;
        height: 1400px;
        align-items: center;
    }

    .row22 {
        flex-direction: column;
        height: 1400px;
        align-items: center;
    }

    .fotky,
    .videa {
        width: 100%;
        height: auto;
    }

    .obra {
        height: 450px;
        width: 675px;
    }
}

@media (max-width: 767px) {

    .fotky,
    .videa {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 682px) {

    .obra {
        width: 100%;
        height: 300px;
    }

    .row11 {
        height: 975px;
    }

    .row22 {
        height: 975px;
    }
}

@media (max-width: 500px) {

    .obra {
        width: 100%;
        height: 300px;
    }

    .row11 {
        height: 975px;
    }

    .row22 {
        height: 975px;
    }
}

@media (max-width: 380px) {
    .obra {
        width: 100%;
        height: 270px;
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .row11,
    .row22 {
        height: auto;
    }
}

.vid1 {
    margin-bottom: 30px;
}