.background_mockup_holder
{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 10px;
    left: 0;

    background-color: var(--background-black);
    background-image: url("/src/noise.png");
    background-size: 100px;

    transform: translate(0, -10px);

    z-index: -2;

    overflow: hidden;
}

.background_mockup_holder_after
{
    margin-bottom: 100vh;
}

.background_mockup_holder img.background
{
    position: absolute;
    left: 50%;
    top: 50%;
    
    transform: translate(-50%, -50%) scale(75%) rotate3d(1, 1, -1, 10deg);

    
    max-width: 100%;
    max-height: 100%;
    z-index: -1;

    animation: slide-from-bottom 3s;
}


.home_page_panel
{
    margin: auto;
    width: min(500px, calc(100% - 30px));
    margin-top: 200px;
    z-index: 1;
}

@media only screen and (max-width: 600px) {
    .home_page_panel
    {
        margin-top: 170px;
    }
}

.home_page_panel .main_thumbnail
{
    margin: auto;
    display: block;

    width: 500px;
    max-width: 100%;
}

.home_page_panel p.short_desc
{
    margin-top: -40px;
    padding: 15px;
    text-align: center;
    font-size: 1.2em;
    opacity: 95%;
}

@keyframes slide-from-bottom {
    0% {
        transform: translate(-50%, 100%) scale(30%) rotate3d(-10, 1, 10, 40deg);
    }
    100% {
        transform: translate(-50%, -50%) scale(75%)rotate3d(1, 1, -1, 10deg);
    }
}

.mocup_panel{
    position: relative;
    margin-top: 60px;
    margin-bottom: 60px;
}

.mocup_panel img.background_mockup{
    position: absolute;

    z-index: -1;

    transform: translate(-50%, -50%) ;

    top: 50%;
    left: 50%;

    max-width: 100%;
    max-height: 110%;

    opacity: 10%;
}

.mocup_panel.left_img img.background_mockup{
    transform: translate(-50%, -50%) rotate3d(1, 1, -1, 5deg);
}

.mocup_panel.right_img img.background_mockup{
    transform: translate(-50%, -50%) rotate3d(1, 1, -1, -5deg);
}

@media only screen and (min-width: 650px) {
    .mocup_panel.left_img .article
    {
        margin-left: 35%;
        margin-right: 20px;
    }
    .mocup_panel.right_img .article
    {
        margin-right: 35%;
        margin-left: 20px;
    }

    .mocup_panel img.background_mockup
    {
        position: absolute;
        opacity: 90%;
    }

    .mocup_panel:hover img.background_mockup
    {
        animation: ring 0.5s ease;
        animation-delay: 0.5s;
    }

    .mocup_panel.left_img img.background_mockup
    {
        left: 20%;
    }
    .mocup_panel.right_img img.background_mockup
    {
        left: 80%;
    }
}

@keyframes ring {
    0% { transform: translate(-50%, -50%) rotate3d(1, 1, -1, 0deg); }
    10% { transform: translate(-50%, -50%) rotate3d(1, 1, -1, 10deg); }
    20% { transform: translate(-50%, -50%) rotate3d(1, 1, -1, -10deg); }
    30% { transform: translate(-50%, -50%) rotate3d(1, 1, -1, 8deg); }
    40% { transform: translate(-50%, -50%) rotate3d(1, 1, -1, -8deg); }
    50% { transform: translate(-50%, -50%) rotate3d(1, 1, -1, 2deg); }
    60% { transform: translate(-50%, -50%) rotate3d(1, 1, -1, -10deg); }
    70% { transform: translate(-50%, -50%) rotate3d(1, 1, -1, 8deg); }
    80% { transform: translate(-50%, -50%) rotate3d(1, 1, -1, -8deg); }
    90% { transform: translate(-50%, -50%) rotate3d(1, 1, -1, 10deg); }
    100% { transform: translate(-50%, -50%) rotate3d(1, 1, -1, 0deg); }
}