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

/* PUSH GAME QUIZZ */
$pushwidth: 592px;
$pushheight: 285px;

.pgq {
    width: 49.375%;
    float: left;
    margin-right: 10px;
    position: relative;
    color: inherit;
    max-width: $pushwidth;
    height: $pushheight;
    display: inline-block;

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

        img {
            display: block;
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translateX(-50%) translateY(-50%);
            height: 100%;
            z-index: -1;
        }
    }
}

.pgq-container {
    height:      100%;
    padding:     40px;
    position:    relative;
        z-index: 2;
    width:       100%;
}

.pgq-content {
    height: 100%;
    position: relative;
}

.pgq-title {
    font-family: "lucien-bold";
    color: white;
    font-size: 1.6vw;
    margin: 0 0 0 auto;
    text-align: right;
    width: 42%;
}

.pgq-button {
    position: absolute;
    bottom: 0;
    right: 0;
    white-space: nowrap;
}

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

@include tablet-landscape-and-below {
    .pgq {
        width: 49%;
    }
    .pgq-container {
        padding: 20px;
    }
    .pgq-title {
      font-size: 1.2rem;
      width:     60%;
    }
    .pgq-button {
        left:      0;
        padding:   20px;
        right:     0;
        transform: none;
    }
}

@include tablet-portrait-and-below {
    .pgq {
        display: block;
        width: 100%;
        margin-bottom: 20px;
        left: 50%;
        margin-left: -$pushwidth/2;
    }
}

///////////////////////////////////////////////////////////////
// Device: Mobile
///////////////////////////////////////////////////////////////
@media screen and (max-width: 602px) {
    .pgq {
        left: 0;
        margin-left: 0;
        text-align: center;
        div {
            text-align: center;
        }
    }
}
