.popup-wrapper {

    opacity: 0;

    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 99999999;
    animation: popupwrapper 100ms ease-in-out .5s forwards;

}

@keyframes popupwrapper {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.popup-wrapper p {
    font-size: 1em;
    line-height: 1.6em;
}

.popup-wrapper p strong {
    font-weight: 500;
}

.close {

    display: none;

}

.popup-bg-closer {

    opacity: 0;

    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
    animation: popupbgcloser 500ms 800ms ease-in-out forwards;

}

@keyframes popupbgcloser {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.popup-container {

    opacity: 0;
    margin-top: 10px;

    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 90%;
    max-width: 1000px;
    background: #fff;
    z-index: 1;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.5);
    animation: popupcontainer 500ms 1000ms ease-in-out forwards;

}

@keyframes popupcontainer {
    0% {
        opacity: 0;
        margin-top: 10px;
    }

    100% {
        opacity: 1;
        margin-top: 0px;
    }
}

.popup-content {

    width: 55%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex-grow: 1;
    padding: 50px;
    box-sizing: border-box;

}

.popup-closer {

    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    width: 100%;
    padding-bottom: 30px;

}

.popup-x {

    display: block;
    width: 20px;
    height: 20px;
    background: url("/files/gerl02/img-sarraf/kreuz.svg");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    cursor: pointer;

}

.popup-img-wrapper {
    
    width: 45%;
    height: auto;
    flex-grow: 1;

}

.popup-img {

    display: block;
    width: 100%;
    height: 100%;
    background: url("/files/gerl02/img-sarraf/popup.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

}

@media only screen and (max-width: 450px) {

    .popup-container {

        flex-direction: column-reverse;
        justify-content: start;
        max-height: 90vh;
        padding: 30px;
        overflow: scroll;

    }

    .popup-img-wrapper {

        width: 100%;
        width: calc(100% + 60px);
        height: 250px;
        margin-left: -30px;
        margin-right: -30px;
        margin-bottom: -30px;

    }

    .popup-content {

        width: 100%;
        padding: 0;
        padding-bottom: 30px;

    }

    .hidden-text-mobile {
        display: none;
    }

}