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

.jeu-rules {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    height: 370px;
    width: 100%;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;

    picture {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 480px;
        overflow: hidden;
        z-index: -1;

        img {
            position: absolute;
        }

        @media screen and (max-width: 481px) {
            img {
                margin-left: -240px;
                left: 50%;
            }
        }
        @media screen and (min-width: 481px) {
            img {
                left: 50%;
                margin-left: -512px;
                height: 100%;
            }
        }
        @media screen and (min-width: 1025px) {
            img {
                width: 100%;
                height: auto;
                margin-left: 0;
                left: 0;
            }
        }
    }
}

.jeu-rules-title {
    font-family: 'lucien-light';
    font-weight: normal;
    font-size: 4em;
    margin: 0;
    color: white;
    text-align: center;
    text-transform: uppercase;
}

.jeu-rules-subtitle {
    font-family: 'Georgia';
    font-weight: normal;
    font-size: 1.6em;
    color: white;
    text-align: center;
    margin: 0;
    margin-top: 20px;
}

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

@include tablet-landscape-and-below {
    .jeu-rules {
        padding: 0 20px;
    }
    .jeu-rules-title {
      font-size: 3em;
    }
    .jeu-rules-subtitle {
      font-size: 1.2em;
    }
}

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

@include mobile-landscape-and-below {
    .jeu-rules-title {
        font-size: 2.7em;
        margin-bottom: 20px;
    }
    .jeu-rules-subtitle {
        line-height: 1.6;
        
        br
        {
          display: none;
        }
    }
}