///////////////////////////////////////////////////////////////
// Device: Desktop
///////////////////////////////////////////////////////////////

.jeu9 {
    background: #000000 url("../img/layout/jeu9-desktop.jpg") bottom center no-repeat;
    background-size: cover;

    &[data-columns="2"] {
        .jeu9-push:first-child {
            @include shift(2);
        }
    }
    &[data-columns="1"] {
        .jeu9-push:first-child {
            @include shift(4);
        }
    }
}

.jeu9-container {
    display: flex;
        align-items: stretch;
        justify-content: center;
    padding: 100px 0;
}

.jeu9-push {
    background: $color-black-light;
    box-sizing: border-box;
    flex-basis: 32%;
    flex-grow: 0;
    flex-shrink: 0;
    padding: 10px;
    
    &:not(:first-child)
    {
        margin-left: 1%;
    }
}

.jeu9-push-content {
    border: 1px solid $color-golden;
    height: 100%;
    padding: 20px 20px 0;
    position: relative;
}

.jeu9-push-content-picture {
    align-items: center;
    display: flex;
    height: 210px;
    justify-content: center;
    width: 100%;
}

.jeu9-push-content-picture-image {
    display: block;
    width: 50%;
}

.jeu9-push-content-title {
    color: #FFFFFF;
    font-family: lucien-bold, sans-serif;
    font-size: 3.2rem;
    margin: 0 0 60px;
    min-height: 170px;
    text-align: center;
    text-rendering: geometricPrecision;
}

.jeu9-push-content-description {
    color: #E4E4E4;
    font-family: Georgia, serif;
    font-size: 1.2rem;
    font-weight: lighter;
    line-height: 1.4;
    margin: 0 0 170px;
    text-align: center;
    text-rendering: optimizeLegibility;
}

.jeu9-push-content-buttons {
    display: flex;
    justify-content: center;
    position: absolute;
        bottom: 85px;
        left: 0;
    width: 100%;
}

.jeu9-push-content-button {
    background: $color-red;
    color: #FFFFFF;
    font-family: lucien-bold, sans-serif;
    font-size: 1rem;
    padding: 16px 14px;
    transition: all 0.3s ease;

    &:hover {
        background-color: darken($color-red, 15%);
    }
}

///////////////////////////////////////////////////////////////
// Device: Tablet
///////////////////////////////////////////////////////////////

@include tablet-landscape-and-below {
    .jeu9-container {
        display: block;
        padding: 40px;
    }
    .jeu9-push {
        margin: 40px 0 0;
        width: 100%;

        &:first-child {
            margin-top: 0;
        }
    }
    .jeu9-push-content-picture {
        height: 250px;
    }
    .jeu9-push-content-picture-image {
        height: 50%;
        width: auto;
    }
    .jeu9-push-content-title {
        min-height: 0;

        br {
            display: none;
        }
    }
    .jeu9-push-content-description {
        min-height: 0;
    }
}

///////////////////////////////////////////////////////////////
// Device: Mobile
///////////////////////////////////////////////////////////////

@include mobile-landscape-and-below {
    .jeu9-container {
        padding-left: 10px;
        padding-right: 10px;
    }
    .jeu9-push-content {
        padding-bottom: 20px;
    }
    .jeu9-push-content-picture {
        height: 130px;
    }
    .jeu9-push-content-picture-image {
        height: auto;
        width: 60%;
    }
    .jeu9-push-content-title {
        font-size: 7vw;
        margin-bottom: 20px;
    }
    .jeu9-push-content-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    .jeu9-push-content-buttons {
        margin-bottom: 0;
        position: static;
    }
    .jeu9-push-content-button {
        text-align: center;
        width: 100%;
    }
}