* {
    box-sizing: border-box;
}

body.games {
    background: #000 url(../images/bg.jpg) no-repeat center top;
    background-size: cover;
    font-family: "Abel", sans-serif;
    color: #fff;
    padding: 0;
}

.container-game {
    position: relative;
    max-width: 1920px;
}

.container-game .title {
    text-align: center;
    padding-top: 90px;
}

.container-game .title h1 {
    font-family: "heineken_bold";
    text-transform: uppercase;
    font-size: 97px;
    margin: 0 0 40px;
    letter-spacing: -1px;
    line-height: 50px;
}

.container-game .title h1 span {
    font-family: "hurme_geometric_sans_4light", sans-serif;
    font-size: 180px;
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    color: rgba(116, 250, 70, 0.9);
    text-shadow: 0 0 4px #37f713, 0 0 8px #37f713, 0 0 8px rgb(83, 231, 31), 0 0 16px rgb(83, 231, 31), 0 0 32px rgb(83, 231, 31), 0 0 50px rgb(83, 231, 31), 0 0 75px rgb(83, 231, 31), 0 0 100px rgb(83, 231, 31);
    /*animation: lumiere 1s infinite linear;*/
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
}

.container-game .title p {
    font-family: "heineken_regular";
    font-size: 37px;
    letter-spacing: 0;
    margin: 0 0 46px;
    text-transform: uppercase;
}

.main-game {
    display: flex;
}

.left-game {
    font-family: "heineken_regular";
    font-size: 25px;
    line-height: 43px;
    letter-spacing: 0;
    padding: 0 70px 0 26px;
    width: 21%;
    margin-right: 2%;
    margin-top: -10px;
}

.center-game {
    width: 54%;
    background: -moz-linear-gradient( -165deg, rgba(57, 110, 6, 1) 45%, rgba(57, 110, 68, 0.3) 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient( -165deg, rgba(57, 110, 6, 1) 45%, rgba(57, 110, 68, 0.3) 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient( -165deg, rgba(57, 110, 6, 1) 45%, rgba(57, 110, 68, 0.3) 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#00722e', endColorstr='#007db9e8', GradientType=1);
    /* IE6-9 fallback on horizontal gradient */
    min-height: 798px;
    padding: 20px;
    position: relative;
}

.bottle {
    background: url(../images/bottle.png);
    height: 819px;
    left: -115px;
    position: absolute;
    top: -60px;
    width: 242px;
}

.right-game {
    text-align: center;
    position: relative;
    width: 23%;
}

.title-timer {
    font-family: "heineken_bold";
    font-size: 40px;
    text-transform: uppercase;
    letter-spacing: -1px;
    padding-top: 21px;
}

.text-second {
    font-family: "HelveticaNeue", sans-serif;
    font-size: 63px;
    text-align: center;
    color: rgba(116, 250, 70, 0.9);
    text-shadow: 0 0 2px #37f713, 0 0 4px #37f713, 0 0 8px #37f713, 0 0 8px rgb(83, 231, 31), 0 0 16px rgb(83, 231, 31), 0 0 32px rgb(83, 231, 31), 0 0 50px rgb(83, 231, 31), 0 0 75px rgb(83, 231, 31), 0 0 100px rgb(83, 231, 31);
    /*animation: lumiere 1s infinite linear;*/
    -webkit-background-clip: text;
    -moz-background-clip: text;
    text-transform: uppercase;
}

.logo-heineken {
    position: absolute;
    right: 32px;
    bottom: 38px;
    max-width: 80%;
}

.logo-heineken img {
    max-width: 100%;
}


/* Timer */

.timer {
    display: none;
    pointer-events: none;
    position: relative;
    margin-bottom: 45px;
}

.timer label {
    color: #fff;
}

.timer label#minutes {
    display: none;
    position: absolute;
    right: 60px;
    top: 0;
}

.timer label#seconds {
    font-family: "hurme_geometric_sans_4light", sans-serif;
    font-size: 325px;
    text-align: center;
    color: rgba(116, 250, 70, 0.9);
    text-shadow: 0 0 4px #37f713, 0 0 8px #37f713, 0 0 8px rgb(83, 231, 31), 0 0 16px rgb(83, 231, 31), 0 0 32px rgb(83, 231, 31), 0 0 50px rgb(83, 231, 31), 0 0 75px rgb(83, 231, 31), 0 0 100px rgb(83, 231, 31);
    /*animation: lumiere 1s infinite linear;*/
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    line-height: 284px;
}

.timer .time {
    display: none;
    font-size: 13px;
}

@keyframes lumiere {
    0% {
        text-shadow: 0 0 4px #fff, 0 0 8px #fff, 0 0 8px rgb(55, 247, 19), 0 0 16px rgb(55, 247, 19), 0 0 32px rgb(55, 247, 19), 0 0 50px rgb(55, 247, 19), 0 0 75px rgb(55, 247, 19), 0 0 100px rgb(55, 247, 19);
    }
    50% {
        text-shadow: 0 0 4px #fff, 0 0 8px #fff, 0 0 8px rgb(55, 247, 19), 0 0 16px rgb(55, 247, 19), 0 0 32px rgb(55, 247, 19), 0 0 50px rgb(55, 247, 19), 0 0 75px rgb(55, 247, 19), 0 0 100px rgb(55, 247, 19);
    }
}

.time {
    display: none !important;
}


/* Cards */

.cards-container {
    margin: 4px auto;
    width: 60%;
    height: auto;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.flip-container {
    position: relative;
    display: inline-block;
    margin: 15px;
    perspective: 1000px;
    cursor: pointer;
}

.flip-container .flipper {
    position: relative;
    -webkit-transform-style: preserve-3d;
    -webkit-transition: 0.5s;
    -moz-transform-style: preserve-3d;
    -moz-transition: 0.5s;
    -ms-transform-style: preserve-3d;
    -ms-transition: 0.5s;
    -o-transform-style: preserve-3d;
    -o-transition: 0.5s;
}

.flip-container.active .flipper {
    -moz-transform: rotateY(180deg);
    -o-transform: rotateY(180deg);
    -ms-transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
}

.flip-container {
    margin: 10px 1%;
}

.flip-container,
.front,
.back {
    border-radius: 5px;
    color: #ffffea;
    width: 30%;
    height: 200px;
}

.front,
.back {
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.front {
    background-image: url("../images/bg1.png");
    background-size: cover;
    /* <------ */
    background-repeat: no-repeat;
    background-position: center center;
    z-index: 2;
    -moz-transform: rotateY(0);
    -o-transform: rotateY(0);
    -ms-transform: rotateY(0);
    -webkit-transform: rotateY(0);
    transform: rotateY(0);
}

.flip-container:nth-child(1) .front {
    rotate: 30deg;
}

.flip-container:nth-child(2) .front {
    rotate: -30deg;
}

.flip-container:nth-child(3) .front {
    rotate: 75deg;
}

.flip-container:nth-child(4) .front {
    rotate: -45deg;
}

.flip-container:nth-child(5) .front {
    rotate: 0deg;
}

.flip-container:nth-child(6) .front {
    rotate: -20deg;
}

.flip-container:nth-child(7) .front {
    rotate: -80deg;
}

.flip-container:nth-child(8) .front {
    rotate: 60deg;
}

.front label {
    cursor: pointer;
    display: inline-block;
    font-size: 22px;
    padding-top: 15px;
}

.back {
    background-color: #00cecb;
    text-align: center;
    vertical-align: middle;
    display: table-cell;
    -moz-transform: rotateY(180deg);
    -o-transform: rotateY(180deg);
    -ms-transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
}

.back label {
    display: block;
    width: 100%;
    font-size: 24px;
    margin-top: 10px;
}

.btn-valider {
    text-align: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 65px;
}

.btn-valider label {
    display: inline-block;
    background-color: transparent;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    border-radius: 0;
    cursor: pointer;
    font-size: 75px;
    text-align: center;
    color: rgba(116, 250, 70, 0.9);
    text-shadow: 0 0 4px #37f713, 0 0 8px #37f713, 0 0 8px rgb(83, 231, 31), 0 0 16px rgb(83, 231, 31), 0 0 32px rgb(83, 231, 31), 0 0 50px rgb(83, 231, 31), 0 0 75px rgb(83, 231, 31), 0 0 100px rgb(83, 231, 31);
    /*animation: lumiere 1s infinite linear;*/
    -webkit-background-clip: text;
    -moz-background-clip: text;
    text-transform: uppercase;
    border: 0;
    box-shadow: none;
    width: auto;
    height: auto;
    display: flex;
    margin: auto;
    align-items: center;
    justify-content: center;
    position: relative;
}

.btn-valider label::after {
    content: "";
    background: url(../images/bouton-play.png) no-repeat center center;
    background-size: 100%;
    height: 80px;
    display: inline-block;
    width: 80px;
    vertical-align: middle;
    margin-left: 15px;
}

.valider {
    opacity: 0;
    position: absolute;
    left: 0;
    top: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}
@media screen and (max-width: 1430px) {
    .container-game .title h1 {
        font-size: 70px;
    }
    .container-game .title p {
        font-size: 30px;
    }
}

@media screen and (max-width: 1200px) {
    .timer {
        padding: 0;
        border-radius: 5px;
        background-color: transparent;
    }
}

@media screen and (max-width: 1040px) {
	.container-game .title h1 {
		font-size: 60px;
	}
	.timer label#seconds {
		font-size: 190px;
	}
	.text-second {
		font-size: 30px;
	}
}
@media screen and (max-width: 992px) {
    .timer {
        top: -15px;
        left: 0;
        margin-bottom: 2px;
    }
}

@media (max-width: 980px) {
    .left-game {
        display: none;
    }
    .center-game {
        margin-left: 100px;
    }
    .container-game .title h1 {
        font-size: 50px;
    }
    .container-game .title p {
        font-size: 25px;
    }
}

@media (max-width: 780px) {
    .container-game .title {
        position: relative;
        padding-top: 23px;
    }
    .container-game .title h1 {
        font-size: 37px;
        text-align: left;
        line-height: 40px;
        padding-left: 118px;
        margin-bottom: 8px;
    }
    .container-game .title h1 span {
        position: absolute;
        left: 41px;
        top: 92px;
        font-size: 220px;
        margin-top: -6px;
    }
    .container-game .title p {
        font-size: 21px;
        text-align: left;
        padding-left: 119px;
        padding-right: 0;
        letter-spacing: normal;
        line-height: 28px;
        max-width: 340px;
        margin: 0 0 22px;
        width: 100%;
    }
    .left-game {
        display: none;
    }
    .center-game {
        width: 89%;
        margin: auto;
    }
    .bottle {
        display: none;
    }
    .main-game {
        position: relative;
    }
    .center-game {
        min-height: 710px;
    }
    .right-game {
        position: absolute;
        top: -110px;
        right: 20px;
        width: 70px;
    }
    .title-timer {
        font-size: 8px;
        padding-top: 9px;
    }
    .timer label#seconds {
        font-size: 64px;
        line-height: 88px;
    }
    .text-second {
        font-size: 13px;
        top: -27px;
        position: relative;
    }
    .cards-container {
        width: 100%;
    }
    .logo-heineken {
        position: absolute;
        right: 0;
        bottom: 22px;
        max-width: 80%;
        left: 0;
        margin: auto;
        width: 218px;
    }
    .btn-valider {
        padding-top: 25px;
    }
    .btn-valider label {
        font-size: 40px;
    }
    .btn-valider label::after {
        height: 60px;
        width: 60px;
    }
}
@media (max-width: 560px) {
	.container-game .title h1 {
		font-size: 26px;
		padding-left: 100px;
	}
	.container-game .title h1 span {
		position: absolute;
		left: 22px;
		top: 92px;
		font-size: 172px;
		margin-top: -16px;
	}
	.container-game .title p {
		font-size: 14px;
		text-align: left;
		padding-left: 100px;
		padding-right: 72px;
		letter-spacing: normal;
		line-height: 20px;
		max-width: 340px;
		margin: 0 0 22px;
		width: 100%;
	}
	.center-game {
		min-height: 580px;
	}
	.btn-valider {
		padding-top: 5px;
	}
}