#kontakt-div-image {
    background-image: url("kontakt.svg");

    background-repeat: no-repeat;
    background-position: center;
    background-position: 65%;
    background-size: contain;

    flex: 1;

}

#kontakt-div p {
    max-width: 400px;
    margin-left: 3rem;
    font-size: 17px
}

#kontakt-div h3 {
    font-size: 170%;
    margin-left: 2rem;
    margin-top: 2rem
}

#kontakt-div {
    flex: 1;
    text-align: left;
    background-color: #1ca1ca;
    background: linear-gradient(120deg, #30b5c3, #1ca1ca);
    /*4ed3fc*/
    /*30b5ca*/
    /*30b5b6*/
    color: white;
    border-top-left-radius: 2em;
}

@media screen and (min-width: 990px) {
    #kontakt-div > div {
        background: linear-gradient(120deg, #30b5c3, #1ca1ca);

        color: white;
        border-radius: 2em;
        box-shadow: rgba(0, 0, 0, 0.5) 0px 30px 90px;

    }

    #kontakt-div {
        flex: 0.8;
        text-align: left;
        background-color: unset !important;
        background: unset !important;
        /*4ed3fc*/
        /*30b5ca*/
        /*30b5b6*/
        color: white;
        border-radius: 2em !important;

        animation: unset !important;


    }

    #popup-div {
        margin-top: 2rem;
        position: absolute;
        padding-bottom: 1.5rem;
        right: 8rem;
    }

    #kontakt {
        width: 75% !important;
        margin: auto !important;
        border-radius: 3em !important;
        margin-bottom: 5rem !important;
        overflow-x: visible !important;
        overflow-y: visible !important;
        margin-top: 2rem !important;
        padding-top: 2rem !important;
        box-shadow: rgba(0, 0, 0, 0.4) 0px 30px 90px !important;
    }

    #kontakt .common-inside {
        margin-left: 5vw !important;
    }

    #kontakt-div-image {
        min-height: 200px;
    }

    .kontakt {
        --scroll-contact: 2;
    }
}

/* #kontakt {
                width: 80%;
                margin: auto;
                border-radius: 3em;
                margin-bottom: 5rem;
                overflow-x: hidden;
                margin-top: 2rem;
                padding-top: 2rem;
                box-shadow: rgba(0, 0, 0, 0.4) 0px 30px 90px;
            }
            #kontakt .common-inside{
            margin-left:5vw !important;
            }
            */


#kontakt-flex {
    display: flex
}

#kontakt h2 {
    font-size: 32px
}

#kontakt {

    width: 100%;
    overflow-x: hidden;

    margin-top: 2rem;
    padding-top: 2rem;

    /*box-shadow: TODO;*/
    box-shadow: rgba(0, 0, 0, 0.4) 0px 30px 90px;
}


#kontakt-div a {
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    width: 100%;
}

#kontakt-div-hrefs {
    margin-left: 3rem;
}

#kontakt-button:hover {
    background: white;
    transition: 1s;
    padding-left: 30px;
    color: #161313;
}

#kontakt-button {
    margin-top: 3rem;
    background-color: white;
    color: #161313;
    width: fit-content;
    padding: 3px 12px;
    margin-left: 3rem;
    border-radius: .4em;
    transition: 1s;

    background-color: #252525;
    padding: 10px 10px 10px 15px;
    color: #fff;

    cursor: pointer;
}

#kontakt-div p {
    padding-right: 1rem;
}

#kontakt-div-hrefs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#kontakt-div-hrefs a, #kontakt .uv5, #kontakt-div a  {
width: fit-content !important;
}
@media screen and (max-width: 990px) {

    #kontakt-div-image {
        flex: 0.8;
        background-size: 80%;
        background-position: center;
        /*opacity: calc(-1 + var(--scroll-progress-contact));*/

    }

    .kontakt {
        --scroll-contact: 5;
    }

}

@media screen and (min-width: 681px) {
    #kontakt-div-image {
        height: calc(var(--scroll-contact) * 60px - 10px) !important;
    }
}

@media screen and (max-width: 680px) and (min-width: 580px) {
    #kontakt-div-image {
        height: calc(var(--scroll-contact) * 90px + 30px) !important;
    }
}

@media screen and (max-width: 579px) and (min-width: 470px) {
    #kontakt-div-image {
        height: calc(var(--scroll-contact) * 80px) !important;
    }
}

@media screen and (max-width: 469px) and (min-width: 410px) {
    #kontakt-div-image {
        height: calc(var(--scroll-contact) * 70px) !important;
    }
}

@media screen and (max-width: 409px) and (min-width: 381px) {
    #kontakt-div-image {
        height: calc(var(--scroll-contact) * 60px - 6px) !important;
    }
}

@media screen and (max-width: 380px) {
    #kontakt-div-image {
        height: calc(var(--scroll-contact) * 50px - 6px) !important;
    }
}


@media screen and (max-width: 680px) and (min-width: 441px) {
    #kontakt-div-image {
        flex: unset;
        background-size: 80%;
        background-position: center;
        height: 10rem;
        width: 100%;

        background-position: top;
        height: 54vh;
    }

    #kontakt-flex {
        flex-direction: column;
    }

    #kontakt-div {
        width: 90%;
        margin-left: 10%
    }

}

@media screen and (max-width: 440px) and (min-width: 380px) {
    #kontakt-div-image {
        flex: unset;
        background-size: 80%;
        width: 100%;

        background-position: top;
        height: 40vh;
    }

    #kontakt-flex {
        flex-direction: column;
    }

    #kontakt-div {
        width: 90%;
        margin-left: 10%
    }

    #kontakt-div {
        margin-bottom: 1rem;
        border-bottom-left-radius: 2em
    }

}

@media screen and (max-width: 379px) {
    #kontakt-div-image {
        flex: unset;
        background-size: 80%;
        width: 100%;

        background-position: top;
        height: 40vh;
    }

    #kontakt-flex {
        flex-direction: column;
    }

    #kontakt-div {
        width: 100%;
        margin-left: 0%;
        border-radius: 0px;
    }

    #kontakt-div p {
        padding: 2rem;
        margin: 0 1rem;
    }

}
