.FlyIn {
    height: auto;
    transition: 1s;
    opacity: 0;
    overflow: hidden;
}

.FromRight {
    transform: translateX(100%);
}

.FromLeft {
    transform: translateX(-100%);
}

.FromBottom {
    transform: translateY(100%);
}

.FromTop {
    transform: translateY(-100%);
}

.Visible {
    transform: translateX(0);
    opacity: 1;
}

.ImgContainer, .HeadImgContainer, .ImgFotoRest {
    display: flex;
    justify-content: center;
    justify-items: center;
    align-items: center;
    height: auto;
}

.HeadImgContainer {
    width: 90px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.ImgContainer img, .ImgFotoRest img {
    max-width: 100%;
    height: auto;
}

.ImgSizeBig {
    width: 600px;
    height: 600px;
}

.ImgSize50 {
    max-width: 50%;
}

.ImgSize30 {
    max-width: 30%;
}

.ImgFotoRest {
    max-width: 225px;
    margin: 5px;
}

.Pic:hover {
    cursor: zoom-in;
    box-shadow: 0px 10px 20px 0px rgba(0,0,0,0.6);
}

.HeadLogo {
    max-width: 100%;
    height: auto;
    transform: rotate(-12deg);
    margin-right: 1em;
}

.SocialLink {
    width: 26px;
    height: auto;
    margin-left: 5px;
}

.SocialLink img {
    max-width: 100%;
    height: auto;
}

.ModalBox {
    display: none;
    position: fixed;
    z-index: 2;
    left:0;
    top:0;
    width:100%;
    height:100%;
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    border: none;
}

.ModalBoxContent {
    display: flex;
    position: relative;
    max-width: 800px;
    width: 45vw;
    height: auto;
    border: 4px solid;
    border-color: #FFFFFF;
    /*align a div in the center of the viewport*/
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    /*align a div in the center of the viewport*/
}

.ModalBoxContent img {
    width: 100%;
    height: auto;
}

.ModalBoxContent button {
    background: transparent;
    border: none;
    position: absolute;
    width: 1.5em;
    height: 1.5em;
    top: 0;
    right: 0;
    font-size: 2em;
    font-weight: bold;
    text-align: center;
}

.ModalBoxContent button:hover
{
    color: aliceblue;
    cursor: pointer;
}

.Sold {
    position: relative;
}

.Sold::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
}

.Sold::after {
    font-family: 'Montserrat', sans-serif;
    content: "Verkauft";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    font-size: 1.7rem;
    font-weight: bold;
    color: #7F7F7F;
    text-transform: uppercase;
    white-space: nowrap;
}

.VideoArea {
    width: 800px;
    height: 600px;
}
.VideoArea iframe {
    width: 100%;
    height: auto;
}

@media screen and (max-width: 1000px)
{
    
    .FromBottomMobile
    {
        transform: translateY(100%);
    }

    .FromTopMobile
    {
        transform: translateY(-100%);
    }

    .FromRightMobile
    {
        transform: translateX(100%);  
    }

    .FromLeftMobile
    {
        transform: translateX(-100%);  
    }

    .Visible
    {
        transform: translateY(0);
        opacity: 1;
    }

    .ModalBoxContent
    {
        max-width: 380px;
        width: 95vw;
        top: 50%;
    }

    .ImgSizeBig {
        width: 380px;
        height: 380px;
    }

    .VideoArea {
        width: 380px;
        height: 280px;
        margin-top: 50px;
        margin-bottom: 50px;
    }
}