.shipyard-video-background {
    min-height: 60vh;
}

.shipyard-video-background h2 {
    font-size: 40px;
    font-weight: 400;
    letter-spacing: 5px;
    color: #FFFFFF;
    position: relative;
    z-index: 2;
}

.werft-content {
    max-width: 1020px;
    width: 100%;
    margin: 50px auto;
    display: flex;
    flex-direction: column;
    gap: 100px;
    font-size: 16px;
    line-height: 1.7em;
    font-weight: 400;
    text-align: center;
}

.werft-content h5 {
    display: block;
    margin-bottom: 20px;
    font-size: 21px;
    font-weight: 500;
    letter-spacing: 2px;
    word-spacing: 1px;
    color: #FFFFFF;
}

.werft-images-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr 1fr;
    gap: 2px;
}

.werft-images-grid div:nth-child(2) {
    grid-row-start: span 2;
    background-size: auto calc(100% / 1.3);
}

.werft-images-grid div {
    max-width: 100%;
    width: 100%;
    height: 100%;
    min-height: 55vh;
    object-fit: cover;
    background-size: cover;
}

.werft-blocks {
    display: flex;
    flex-direction: column;
}

.werft-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    /*min-height: 110vh;*/
    min-height: 450px;
}

.werft-block.image-left {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: 110vh;
}

.werft-block-text {
    max-width: 512px;
    width: 100%;
    margin: 0 auto;
    padding: 10px;
    font-size: 16px;
    line-height: 1.7em;
    font-weight: 400;
    text-align: center;
}

.werft-block-image {
    height: 100%;
}

.werft-blocks img {
    max-width: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.werft-block.image-right .werft-block-text {
    order: -1;
}

@media screen and (max-width: 768px) {
    .werft-content p {
        max-width: 50%;
        margin: 0 auto;
    }
    .werft-images-grid {
        display: flex;
        flex-direction: column;
    }
    .werft-images-grid div {
        min-height: 55vh;
    }
    .werft-block-text {
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: 450px;
    }
    .werft-block {
        display: grid;
        grid-template-columns: 1fr;
        align-items: center;
        min-height: 450px;
    }

    .werft-images-grid div:nth-child(2) {
        order: 1;
        min-height: 100vh;
    }

    .werft-block.image-left {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    body > main > div.werft-blocks > div.werft-block.image-left > div.werft-block-image{
        height: 100vh;
    }
}