/* Vorschau */

.preview-container {
    position: relative;
    margin-bottom: 50px;
    overflow: hidden;
}

#preview-background {
    height: calc(100vh - 200px);
    max-height: 1000px;
    width: 100%;
    object-fit: cover;
    object-position: 100% 35%;
    vertical-align: middle;
}

.zoom-background {
    transform: scale(1.1);
    transition: transform 6s;
}

.preview-overlay {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background-color: black;
    opacity: 0.25;
}

.preview-logo {
    position: absolute;
    width: 80%;
    max-width: 600px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}



/* Über */

.about-container {
    display: flex;
    flex-direction: row;
    margin-bottom: 50px;
}

.about-left-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 60%;
}

.about-right-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 40%;
    padding: 50px 100px;
}

.about-left-container img {
    width: 100%;
    height: 100%;
    max-height: 600px;
    object-fit: cover;
    vertical-align: middle;
}

.about-overlay {
    position: absolute;
    height: 100%;
    max-height: 600px;
    width: 100%;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    background-color: black;
    opacity: 0.33;
}

#changing-text {
    position: absolute;
    display: flex;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    margin: 0 10%;
    font-size: 70px;
    align-items: center;
}

@media only screen and (max-width: 1250px) {
    .about-container {
        flex-direction: column-reverse;
        gap: 25px;
    }

    .about-left-container, .about-right-container {
        width: 80%;
        margin: auto;
        padding: 0;
    }
}

@media only screen and (max-width: 800px) {
    #changing-text {
        font-size: 40px;
    }
}