﻿



/* $tablet:                    1170px !default
$mobile:                    670px !default */

.eurojackpot {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-left: 404px;

    display: flex;
    justify-content: center;
    align-items: center;

    width: 250px;
    height: auto;
    z-index: 10;
}

.eurojackpot .animated-image {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    border-radius: 1rem;
    border: 2px solid #f1c518;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.eurojackpot img {
    width: 100%;
    height: auto;
    border-radius: inherit;
}

.eurojackpot .background-image {
    display: none;
}


@media only screen and ( max-width: 1170px ) {

    .marquee-media:not(#live-news):has(.eurojackpot) {
        display: block;
    }

    .marquee-media .marquee-inner::before,
    .marquee-media h1,
    .marquee-media .marquee-infos {
        display: none;
    }

    .eurojackpot {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        transform: translate(0%, 0%);
        margin: auto;
        padding: 1rem;
    }


    .eurojackpot .animated-image {
        width: 300px;
    }

    .eurojackpot .background-image {
        position: absolute;
        inset: 0;
        display: block;
    }
    .eurojackpot .background-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    

}

@media only screen and ( max-width: 670px ) {

    .eurojackpot .animated-image {
        width: 100%;
    }    

}



