/*****
css de l'affichage dynamique
*****/
.dyndisplay {
    background: black;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.dynslides {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 10;
}

.dyndisplay .logo {
    position: absolute;
    bottom: 40px;
    right: 40px;
    z-index: 20;
}

.dynslide {
    width: 100vw;
    height: 100vh;
    position: absolute;
    top: 0;
    /* top: 100vh; */
    opacity: 0;
    overflow: hidden;
}

.dynslide.on {
    /* top: 0; */
}

.dynslide .background-image {
    width: 120%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.dynslide .content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 60px 20% 60px 60px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.7), transparent);
}

.dynslide .qrcode {
    width: 200px;
    height: 200px;
    padding: 20px;
    background-color: var(--spb-color-accent1);
    float: left;
    margin-right: 20px;
}

.dynslide .title {
    font-size: 4em;
    font-weight: 900;
}

.dynslide .price {
    font-size: 3em;
    font-weight: 600;
}

/* animations */
.dynslide .background-image.on {
    animation: slowBkg 17000ms 0ms linear infinite alternate both;
}

/*off*/ 
.dynslide {
    animation: fadeOut 400ms 400ms ease-in 1 normal both;
}

.dynslide .title {
    animation: fadeOut 400ms 200ms ease-in 1 normal both;
}
.dynslide .price {
    animation: fadeOut 400ms 0ms ease-in 1 normal both;
}

/*on*/ 
.dynslide.on {
    animation: fadeIn 400ms 800ms ease-in 1 normal both;
}

.dynslide.on .title {
    animation: fadeIn 400ms 1400ms ease-in 1 normal both;
}
.dynslide.on .price {
    animation: fadeIn 400ms 1600ms ease-in 1 normal both;
}



@keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 100%}
}
@keyframes fadeOut {
    0% {opacity: 100%}
    100% {opacity: 0%}
}

@keyframes slowBkg {
    0% {margin-left: 0}
    100% {margin-left: -20%}
}