/* Général css position */

.grid-1col-2row {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 2fr;
}

.grid-2col-1row {
    display: grid;
    grid-template-columns: 2fr 2fr;
}

.grid-3col-1row {
    display: grid;
    grid-template-columns: 3fr 4fr 3fr;
    grid-template-rows: 1fr;
    align-items: center;
}

.grid-3col-1row-equal {
    display: grid;
    grid-template-columns: 2fr 2fr 2fr;
    grid-template-rows: 1fr;
    align-items: center;
    height: 100%;
}

.grid-4col-1row {
    display: grid;
    grid-template-columns: 2fr 2fr 2fr 2fr;
    grid-template-rows: 1fr;
    height: 100%;
}

.grid-5col-1row {
    display: grid;
    grid-template-columns: 2fr 2fr 2fr 2fr 2fr;
}

.grid-6col-1row {
    display: grid;
    grid-template-columns: 2fr 2fr 2fr 2fr 2fr 2fr;
}

.objectLeft {
    display: flex;
    justify-content: left;
    align-items: center;
}

.objectCenter,
.obj-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.objectCenterTop {
    display: flex;
    align-items: center;
}

.objectCenterTopLeft {
    display: flex;
}

.objectRight {
    display: flex;
    justify-content: right;
    align-items: center;
}

.flex-col {
    flex-direction: column;
}

.flex-row {
    flex-direction: row;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

/* Fin des positions générales */

/* Differente size de boxes */

.tout {
    width: 100%;
    height: 100%;
}

/* Couleur utilisée */

.primary-t {
    color: #eb2a3d;
}

.secondary-t {
    color: #F4C95D;
}

.tertiary-t {
    color: #1C6E8C;
}

.black-t {
    color: #2e1f27;
}

.white-t {
    color: #FFFDFB;
}

.primary-b {
    background-color: #eb2a3d;
}

.secondary-b {
    background-color: #F4C95D;
}

.tertiary-b {
    background-color: #1C6E8C;
}

.black-b {
    background-color: #2e1f27;
}

.white-b {
    background-color: #FFFDFB;
}

body {
    margin: 0;
    max-width: 100%;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    background-color: white;
    font-family: 'Poppins', 'Montserrat', sans-serif;
}

/* CSS pour la barre NAV*/

hr {
    border-color: #eb2a3d;
}

nav {
    z-index: 3;
    position: fixed;
    height: 70px;
    width: 100%;
}

main {
    z-index: -2;
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

.menu {
    height: 100%;
}

.logo-mother {
    width: 70px;
    height: 70px;
    position: relative;
}

.logo {
    width: 100%;
    height: 100%;
    fill: #d6d6d6;
    position: absolute;
}

.log {
    margin: 0;
    padding: 0 0.5em;
    height: 70px;
    color: #d6d6d6;
}

.select-nav {
    height: 70px;
    background-image: linear-gradient(to right, white 0%, white 100%);
    background-size: 0% 5px;
    background-position: left bottom;
    background-repeat: no-repeat;
    transition: 0.4s ease-in-out;
}

.select-nav:hover {
    background-image: linear-gradient(to right, white 0%, white 100%);
    background-size: 100% 5px;
    transition: 0.54 ease-in-out;
}

.panier-mother {
    width: 60px;
    margin-right: 30px;
}

.panier {
    padding: 0em 0.5em;
    stroke: #d6d6d6;
    fill: #d6d6d6;
}

.logo:hover,
.panier:hover {
    fill: white;
    stroke: white;
    cursor: pointer;
}

.panier:hover,
.log:hover {
    color: white;
    cursor: pointer;
}

.social-mother {
    height: 100%;
}

.social {
    margin-top: 5px;
    height: 28px;
    width: 28px;
}

#facebook {
    fill: #d6d6d6;
}

#instagram {
    stroke: #d6d6d6;
    fill: none;
}

#Layer_1 {
    cursor: pointer;
    fill: #d6d6d6;
}

#facebook:hover {
    cursor: pointer;
    fill: white;
}

#instagram:hover {
    cursor: pointer;
    stroke: white;
}

#Layer_1:hover {
    cursor: pointer;
    fill: white;
}

/* FIN CSS de la barre NAV*/

/* CSS pour le body de la page*/

main {
    margin-top: 70px;
}

#divTitle {
    background-image: url("../images/placement_game.webp");
    margin-bottom: 4em;
    box-shadow: 0px 3px 7px #111;
}

h1 {
    margin: 0;
    letter-spacing: 0.025em;
}

h2 {
    margin: 0;
    letter-spacing: 0.025em;
}

h3 {
    letter-spacing: 0.05em;
}

h4 {
    font-size: 2em;
    letter-spacing: 0.05em;
}

/* Animation de l'apparition du titre*/

.reveal {
    position: relative;
    transform: translateY(-150px);
    opacity: 0;
    transition: 2s all ease;
}

.reveal.active {
    transform: translateY(0);
    opacity: 1;
}

/* FIN du css pour cette animation*/

.description-game {
    width: 80%;
}

.zoomImg {
    position: relative;
    width: 100%;
    height: auto;
    margin: 3em 0em;
    z-index: -2;
}

.container-bg-image {
    height: auto;
    position: absolute;
    overflow: hidden;
    z-index: -1;
}

.bg-image {
    width: 100%;
    height: auto;
    z-index: -1;
}

.description {
    position: absolute;
    border-radius: 15px;
    text-align: justify;
}

.description_info {
    color: white;
    margin: 1em 0em;
}

/*css pour les tuiles sur le plateau de jeu page d'Acceuil*/

.container_cards {
    position: absolute;
    left: 22.3%;
    width: 66.6%;
    gap: 2px;
}

.card {
    position: relative;
    width: 100%;
    background-size: cover;
    z-index: 1;
    overflow: hidden;
}

.div_img {
    position: absolute;
    width: 99%;
    height: 100%;
    z-index: -2;
}

.card_img {
    width: 100%;
    height: auto;
}

.card::before,
.card::after {
    content: '';
    position: absolute;
    left: 0;
    width: 99%;
    height: calc(60% + 35px);
    background-color: white;
    transition: transform .5s .25s ease-in;
    z-index: -1;
}

.card::before {
    top: 0;
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0% 100%);
    transform: translateY(-100%);
}

.card::after {
    bottom: 0;
    clip-path: polygon(0 55%, 100% 0, 100% 100%, 0% 100%);
    transform: translateY(100%);
}

.card_content {
    opacity: 0;
    transition: opacity .25s;
    display: grid;
    grid-template-rows: 1fr, 2fr;
}

.card.activate::before,
.card.activate::after {
    transform: translateY(0);
}

.card_content.activate {
    opacity: 1;
    transition-delay: .75s;
}

.card_title {
    justify-items: center;
}

.card_description {
    color: black;
    font-size: 10px;
}

.revealTiles {
    transform: translateY(-150px);
    opacity: 0;
    transition: 2.5s all ease;
}

.revealTiles.activeTiles {
    cursor: pointer;
    transform: translateY(0);
    opacity: 1;
}

/* FIN CSS des tuiles exemples */

/* Css pour les images des différents joueurs*/

.container_images,
.container_images .container-all-character {
    width: 100%;
    height: 100%;
    max-height: 520px;
    position: relative;
}

.container_images {
    margin-top: 1em;
    height: 520px;
}

.container_images .container-all-character {
    display: flex;
    overflow: hidden;
}

.container_images .container_character {
    position: absolute;
    min-width: 100%;
    height: 100%;
    left: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    animation: 1s cubic-bezier(0, 0, 1, 1) 0s left;
    animation-fill-mode: forwards;
}

.character {
    top: 0px;
    position: absolute;
    display: grid;
    grid-template-columns: 3fr 3fr;
    width: 45%;
    padding: 10px;
    border: 4px solid black;
    border-radius: 20px;
}

.grid-title-img {
    display: grid;
    grid-template-rows: 1fr 4fr;
}

.container_character_img {
    border-radius: 15px;
    background-size: cover;
    background-position: center center;
}

#imgWine {
    background-image: url("/images/wine.jpg");
}

#imgCocktail {
    background-image: url("/images/cocktail.jpg");
}

#imgShot {
    background-image: url("/images/shot.jpg");
}

#imgRedcup {
    background-image: url("/images/redcup.jpg");
}

#imgBeer {
    background-image: url("/images/beer.jpg");
}

#imgChampagne {
    background-image: url("/images/champagne.jpg");
}

.character_info {
    display: grid;
    grid-template-rows: 1fr 2fr;
    height: 345px;
}

.character_title {
    font-size: 3em;
}

.dots {
    display: flex;
    justify-content: center;
    width: 100%;
    padding-bottom: 15px;
}

.dot {
    width: 8px;
    height: 8px;
    background-color: #eb2a3d;
    border-radius: 50%;
    margin: 0 3px;
    cursor: pointer;
}

.active-dot {
    background: #111;
    cursor: default;
}

@keyframes leftNext {
    from {
        left: 100%;
    }

    to {
        left: 0;
    }
}

@keyframes leftCurr {
    from {
        left: 0;
    }

    to {
        left: -100%;
    }
}

@keyframes rightNext {
    from {
        left: -100%;
    }

    to {
        left: 0;
    }
}

@keyframes rightCurr {
    from {
        left: 0;
    }

    to {
        left: 100%;
    }
}

.character_description {
    top: 0px;
    margin: 0em 1em;
}

.change_img {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

/*Fin de Css pour les images des différents caractères*/

/* Début CSS pour les types de carte */

.card_container {
    margin: 3em 0;
    width: 100%;
    height: 19em;
    transition: 2s all ease;
}

.card_type {
    width: 100%;
    transform: rotateY(180deg);
    cursor: pointer;
    opacity: 1;
    transition: 2s all ease;
}

.div_img_type {
    position: absolute;
    width: 90%;
    opacity: 1;
    transition: 1.5s all ease;
}

.img_type {
    width: 100%;
    height: auto;
}

.div_img_type.card_active {
    opacity: 0;
    transition: 1.5s all ease;
}

.card_info {
    width: 80%;
    height: 80%;
    border: 5px solid black;
    border-radius: 10px;
    transition: 1s all ease;
    opacity: 0;
}

.card_info.card_active {
    height: 100%;
    opacity: 1;
    background-color: rgba(169, 9, 9, 0.10);
}

.type_title {
    font-size: 0.5em;
}

.type_title.card_active {
    font-size: 2em;
}

.type_description {
    margin: 0;
    font-size: 0.25em;
}

.type_description.card_active {
    margin: 0 1em;
    font-size: 1.25em;
}

.card_active {
    transform: rotateY(0deg);
    background-position: center;
    transition: 2s all ease;
}

.container_active {
    transition: 2s all ease;
}

#game {
    background-image: url("/images/game_tile.png");
}

#drink {
    background-image: url("/images/drink_tile.png");
}

#position {
    background-image: url("/images/position_tile.webp");
}

#caracteristique {
    background-image: url("/images/caracteristique_tile.png");
}

#verite {
    background-image: url("/images/verite_tile.png");
}

/* CSS pour news letter */
form {
    width: 500px;
}

.newsletter_container {
    width: 100%;
    margin-bottom: 20px;
}

.newsletter_container p {
    font-size: 0.9em;
}

.newsletter_container h4 {
    margin: 10px 0;
}

.email-box {
    height: 40px;
    display: flex;
    justify-content: center;
    border-radius: 5px;
}

.email-box .fa-envelope {
    width: 40px;
    line-height: 40px;
}

.fa-envelope img {
    width: 50%;
    height: 50%;
}

.tbox,
.btn {
    border: none;
    outline: none;
}

.tbox {
    width: 0px;
    padding: 0;
    border-radius: 0;
    transition: 0.6s;
}

.email-box:hover>.tbox,
.tbox:focus {
    width: 260px;
    padding: 0 10px;
}

.btn {
    color: white;
    padding: 0 10px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 5px;
}

.btn:hover {
    background-color: #d6a502;
}

.btn-submit {
    height: 35px;
}

.btn-submit:hover {
    background-color: #6d0606;
}

.container-newsletter {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 525px;
    height: 300px;
    border-radius: 5px;
}

.container-newsletter p {
    margin-bottom: 5px;
    font-size: 20px;
}

.cercle {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.btn-x {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: transparent;
    border: none;
    cursor: pointer;
}

.btn-x::before,
.btn-x::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60%;
    height: 3px;
    background-color: white;
    transform: translate(-50%, -50%) rotate(45deg);
}

.btn-x::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.form-name {
    width: 100%;
    height: 100%;
    margin-top: 15px;
}

.label-name {
    height: 35px;
    font-size: 20px;
}

.input-name {
    border: none;
    border-radius: 5px;
    padding: 10px;
}

.invalid-email {
    position: absolute;
    background-color: #E7B100;
    padding: 1px 10px;
    border-radius: 10px;
    color: white;
    display: none;
}

.reveal-message {
    display: block;
}

.email-exist {
    background-color: #E7B100;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 100px;
    border-radius: 5px;
}

/* FIN CSS pour Newsletter */


/* FIN CSS pour les types de carte */

footer {
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 15px 0;
    background-color: rgb(245, 245, 247);
}

hr {
    margin: 0% 20%;
}

#copyright {
    margin: 1em 0em;
    font-size: 0.75em;
}

/*ERROR CSS*/

.error-div {
    height: 83vh;
}

/* QUIZZ CSS */

.img-quizz {
    position: relative;
    width: auto;
    height: 100vh;
    z-index: -1;
}

#quizz {
    height: 85vh;
    overflow: hidden;
}

.title-quizz {
    font-size: 4em;
}

.question {
    width: 100%;
}

ul {
    width: 100%;
    padding: 0;
}

.li-div,
.li-div-fr {
    display: grid;
    grid-template-columns: 1fr 3fr;
    align-items: center;
    justify-content: center;
    width: 450px;
    height: 45px;
    cursor: pointer;
    background-color: white;
    border-radius: 10px;
    padding: 5px 15px;
}

p {
    margin: 0;
    font-size: 17px;
}

.choose-language {
    position: absolute;
    width: 100%;
    top: 30%;
}

.language-sel {
    margin: 1em 1.5em;
    font-size: 4em;
    cursor: pointer;
}

.quizz-en {
    width: 100%;
}

.question-t {
    font-size: 30px;
    margin: 5px;
}

.choice {
    margin: 0.5em 0;
    list-style-type: none;
}

.circle {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 2px solid black;
}

.select-circle {
    background-color: black;
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.n-question,
.result,
.n-question-fr,
.result-fr {
    cursor: pointer;
    margin-top: 20px;
    position: absolute;
}

.token {
    width: 100%;
    height: 560px;
}

.character-quizz {
    top: 0px;
    display: grid;
    grid-template-columns: 3fr 3fr;
    padding: 10px;
    border: 4px solid black;
    border-radius: 20px;
    width: 45%;
}

.shareButton {
    border-radius: 5px;
    border: 0px;
    cursor: pointer;
    padding: 15px;
    background-color: #eb2a3d;
    color: white;
    font-weight: bold;
}

.hide {
    display: none;
}

.primary-c {
    background-color: #eb2a3d;
    transition: 0.5s ease-in-out;
}

@media screen and (min-width:320px) and (max-width: 497px) {

    body {
        overflow-x: hidden;
        position: relative;
        z-index: 1;
    }

    main {
        position: relative;
        z-index: 2;
    }

    .grid-3col-1row {
        grid-template-columns: 3fr 3fr 3fr;
    }

    .grid-3col-1row-equal {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .social {
        height: 15px;
        width: 20px;
    }

    .log {
        font-size: 11px;
        padding-right: 0.1em;
    }

    .panier-mother {
        width: 35px;
        margin-right: 15px;
    }

    #divTitle {
        background-image: url("../images/placement_game_mobile.webp");
        background-position: top -12em left -10em;
        background-size: 43em;
        background-repeat: no-repeat;
        height: 31.5em;
    }

    .position-title {
        margin-top: 1em;
    }

    h1 {
        font-size: 4em;
    }

    h2 {
        font-size: 1.25em;
    }

    h4 {
        font-size: 1em;
    }

    .description-game {
        font-size: 12px;
    }

    .zoomImg {
        overflow: hidden;
    }

    .container-bg-image {
        height: 100%;
        position: absolute;
        overflow: hidden;
    }

    .bg-image {
        position: relative;
        transform: scale(1, 1);
        top: -600px;
        left: 0px;
        transition: 1s all ease;
    }

    .bg-image.imgActive {
        transform: scale(1.75, 1.75);
        top: -365px;
        left: 0px;
        transition: 1s all ease;
    }

    .bg-image.imgActiveB {
        transform: scale(2.6, 2.6);
        top: 100px;
        left: 300px;
        transition: 1s all ease;
    }

    .bg-image.imgActiveC {
        transform: scale(2.6, 2.6);
        top: 125px;
        left: 300px;
        transition: 1s all ease;
    }

    .container_cards {
        display: none;
    }

    .all-containers {
        width: 80%;
    }

    .container_description {
        width: 100%;
        height: 4em;
        align-items: center;
        justify-content: center;
    }

    .container_description:nth-child(1) {
        margin-top: 0.5em;
    }

    .container_description:nth-child(2) {
        margin-top: 25em;
    }

    .container_description:nth-child(3) {
        margin-top: 30em;
    }

    .container_description:nth-child(4) {
        margin-top: 25em;
    }

    .description {
        height: 4em;
        padding: 0em 0.75em;
    }

    .description_title {
        color: rgb(255, 255, 255);
        margin: 0.3em;
    }

    .description_info {
        color: white;
        margin: 1em 0em;
        font-size: 0.8em;
    }

    .sous-titre {
        font-size: 16px;
    }

    /* Début CSS pour les types de carte */

    .card_container {
        width: 100%;
        height: 110em;
        transition: 2s all ease;
        margin-bottom: 0.5em;
    }

    .card_type {
        width: 90%;
        height: 39em;
        transform: rotateY(180deg);
        cursor: pointer;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        transition: 2s all ease;
    }

    .card_info {
        width: 100%;
        height: 50%;
        border: 5px solid black;
        border-radius: 10px;
        transition: 1s all ease;
        opacity: 0;
    }

    .card_info.card_active {
        height: 90%;
        opacity: 1;
    }

    .type_title {
        font-size: 0.5em;
    }

    .type_title.card_active {
        font-size: 2em;
    }

    .type_description {
        margin: 0;
        font-size: 0.25em;
    }

    .type_description.card_active {
        margin: 0 1em;
        font-size: 1.25em;
    }

    .card_active {
        transform: rotateY(0deg);
        background-position: center;
        transition: 2s all ease;
    }

    .container_active {
        transition: 2s all ease;
    }

    /* FIN CSS pour les types de carte */

    /* CSS des différents joueurs */
    .container_images,
    .container_images .container-all-character {
        max-height: 350px;
    }

    .container_images {
        max-height: 350px;
    }

    .container_character_img {
        height: 225px;
    }

    .character {
        width: 75%;
        height: 290px;
    }

    .character_info {
        height: 275px;
    }

    .character_title {
        font-size: 1.2em;
    }

    .character_description {
        font-size: 12px;
        margin: 0 0.5em;
    }

    .dot {
        width: 16px;
        height: 16px;
        margin: 0 8px;
        cursor: pointer;
    }

    .active-dot {
        background: #111;
        cursor: default;
    }

    /* Fin CSS des différents joueurs */

    .tbox {
        width: 175px;
        padding: 0 10px;
    }

    .email-box:hover>.tbox,
    .tbox:focus {
        width: 175px;
        padding: 0 10px;
    }

    .newsletter_container p {
        font-size: 13px;
    }

    .container-newsletter {
        width: 340px;
        height: 300px;
    }

    .container-newsletter p {
        padding-top: 5px;
        font-size: 13px;
    }

    .label-name {
        height: 35px;
        font-size: 18px;
    }

    .input-name {
        border: none;
        border-radius: 5px;
        padding: 10px;
        width: 140px;
    }

    /* CSS quizz */
    p {
        font-size: 12px;
    }

    .language-sel {
        margin: 0 0.75em;
        font-size: 2em;
    }

    .title-quizz {
        font-size: 1.5em;
    }

    .question-t {
        font-size: 15px;
    }

    .li-div {
        width: 275px;
        height: 40px;
    }

    .token {
        height: 335px;
    }

    .character-quizz {
        width: 70%;
        height: 295px;
    }

}

@media screen and (min-width: 498px) and (max-width:784px) {

    body {
        position: relative;
        z-index: 1;
    }

    main {
        position: relative;
        z-index: 2;
    }

    #divTitle {
        background-position: top -24em left -18em;
        height: 27em;
    }

    .position-title {
        margin-top: 2em;
        margin-right: 7em;
    }

    h1 {
        font-size: 3.5em;
    }

    h2 {
        font-size: 1.75em;
    }

    h4 {
        font-size: 1.5em;
    }

    .log {
        font-size: 12px;
    }

    .container-bg-image {
        width: min(100%, 481px);
    }

    #backgroundDiv {
        height: 80em;
    }

    .container_description {
        width: 100%;
        height: 6em;
    }

    .container_description:nth-child(1) {
        margin-right: 8em;
        margin-top: 1em;
    }

    .container_description:nth-child(2) {
        margin-left: 8em;
        margin-top: 2em;
    }

    .container_description:nth-child(3) {
        margin-right: 8em;
        margin-top: 7em;
    }

    .container_description:nth-child(4) {
        height: 8em;
        margin-top: 3em;
    }

    .description {
        height: 3.75em;
        padding: 0em 0.6em;
    }

    .description_info {
        font-size: 0.75em;
    }

    .sous-titre {
        font-size: 1.5em;
    }

    /* CSS de l'info dans les tuiles en exemple*/

    .card_container {
        margin: 2em 0;
        height: 11em;
    }

    .type_title.card_active {
        font-size: 16px;
    }

    .type_description.card_active {
        font-size: 12px;
        height: 5em;
    }

    .card_info.card_active {
        height: 90%;
    }

    /* FIN de l'info dans les tuiles en exemple*/

    /* CSS des différents joueurs */
    .container_images,
    .container_images .container-all-character {
        max-height: 300px;
    }

    .container_images {
        max-height: 300px;
    }

    .container_character_img {
        height: 100%;
    }

    .character {
        width: 65%;
        height: 270px;
    }

    .grid-title-img {
        height: 270px;
    }

    .character_info {
        height: 250px;
    }

    .character_title {
        font-size: 1.2em;
    }

    .character_description {
        font-size: 0.8em;
    }

    /* Fin CSS des différents joueurs */
    .card_title {
        margin: 0.5em 0em;
        font-size: 7px;
    }

    .card_description {
        margin: 0em 0.9em;
        font-size: 5px;
    }

    /* CSS quizz */

    /* CSS quizz */
    p {
        font-size: 15px;
    }

    .language-sel {
        margin: 0 0.75em;
        font-size: 2em;
    }

    .title-quizz {
        font-size: 2em;
    }

    .question-t {
        font-size: 20px;
    }

    .li-div {
        width: 350px;
    }

    .token {
        height: 335px;
    }

    .character-quizz {
        width: 70%;
        height: 295px;
    }

}

@media screen and (min-width: 785px) and (max-width:1041px) {

    body {
        position: relative;
        z-index: 1;
    }

    main {
        position: relative;
        z-index: 2;
    }

    #divTitle {
        background-position: top -20em left -18em;
        height: 31.5em;
    }

    .position-title {
        margin-top: 5em;
        margin-right: 24em;
    }

    h1 {
        font-size: 5em;
    }

    h2 {
        font-size: 2.1em;
    }

    .container-bg-image {
        width: min(100%, 769px);
    }

    .container_description {
        width: 100%;
        height: 10em;
    }

    .container_description:nth-child(1) {
        margin-right: 10em;
        margin-top: 2em;
    }

    .container_description:nth-child(2) {
        margin-left: 10em;
        margin-top: 3em;
    }

    .container_description:nth-child(3) {
        margin-right: 10em;
        margin-top: 11em;
    }

    .container_description:nth-child(4) {
        height: 8em;
        margin-top: 7em;
    }

    .description {
        height: 3.5em;
        padding: 0em 0.5em;
    }

    .description_info {
        font-size: 0.75em;
    }

    .sous-titre {
        font-size: 2.3em;
    }

    /* CSS de l'info dans les tuiles en exemple*/

    .card_title {
        margin: 1em 0em;
        font-size: 0.75em;
    }

    .card_description {
        margin: 0em 0.9em;
    }

    /* FIN de l'info dans les tuiles en exemple*/

    /* CSS des différents joueurs */
    .container_images,
    .container_images .container-all-character {
        max-height: 400px;
    }

    .container_images {
        max-height: 400px;
    }

    .container_character_img {
        height: 100%;
    }

    .character {
        width: 55%;
        height: 370px;
    }

    .grid-title-img {
        height: 370px;
    }

    .character_info {
        height: 345px;
    }

    .character_title {
        font-size: 1.9em;
    }

    .character_description {
        font-size: 0.9em;
    }

    /* Fin CSS des différents joueurs */

    .type_title.card_active {
        font-size: 1.5em;
    }

    .type_description.card_active {
        font-size: 1.1em;
    }


    /* CSS quizz */

    .token {
        height: 450px;
    }

}

@media screen and (min-width: 1042px) and (max-width:1218px) {

    body {
        position: relative;
        z-index: 1;
    }

    main {
        position: relative;
        z-index: 2;
    }

    #divTitle {
        background-position: top -20em left -15em;
        height: 35.5em;
    }

    .position-title {
        margin-top: 6em;
        margin-right: 30em;
    }

    h1 {
        font-size: 6em;
    }

    h2 {
        font-size: 2.5em;
    }

    .container-bg-image {
        width: min(100%, 1025px);
    }

    #backgroundDiv {
        height: 119em;
    }

    .container_description {
        width: 100%;
        height: 10em;
    }

    .container_description:nth-child(1) {
        margin-right: 15em;
        margin-top: 8em;
    }

    .container_description:nth-child(2) {
        margin-left: 15em;
        margin-top: 5em;
    }

    .container_description:nth-child(3) {
        margin-right: 15em;
        margin-top: 13em;
    }

    .container_description:nth-child(4) {
        height: 8em;
        margin-top: 16em;
    }

    .description {
        height: 5.5em;
        padding: 0em 1.5em;
    }

    .description_title {
        font-size: 1.5em;
    }

    .description_info {
        font-size: 1em;
    }

    .sous-titre {
        font-size: 3em;
    }

    /* CSS de l'info dans les tuiles en exemple*/

    .container_character_img {
        height: 450px;
    }

    .character_info {
        height: 450px;
    }

    /* FIN de l'info dans les tuiles en exemple*/

    .card_title {
        margin: 1em 0em;
        font-size: 1em;
    }

    .card_description {
        margin: 0em 0.9em;
    }

    /* CSS des différents joueurs */
    .container_images,
    .container_images .container-all-character {
        max-height: 550px;
    }

    .container_images {
        max-height: 550px;
    }

    .container_character_img {
        height: 100%;
    }

    .character {
        width: 55%;
        height: 485px;
    }

    .grid-title-img {
        height: 485px;
    }

    .character_info {
        height: 485px;
    }

    .character_title {
        font-size: 1.9em;
    }

    .character_description {
        font-size: 0.9em;
    }

    /* Fin CSS des différents joueurs */

}

@media screen and (min-width: 1219px) {

    body {
        position: relative;
        z-index: 1;
    }

    main {
        position: relative;
        z-index: 2;
    }

    #divTitle {
        background-position: center;
        height: 41.5em;
    }

    .position-title {
        margin-top: 6em;
        margin-right: 30em;
    }

    h1 {
        font-size: 7em;
    }

    h2 {
        font-size: 3em;
    }

    .container-bg-image {
        width: min(100%, 1201px);
    }

    .container_description {
        width: 100%;
        height: 10em;
    }

    .container_description:nth-child(1) {
        margin-right: 30em;
        margin-top: 10em;
    }

    .container_description:nth-child(2) {
        margin-left: 30em;
        margin-top: 15em;
    }

    .container_description:nth-child(3) {
        margin-right: 30em;
        margin-top: 15em;
    }

    .container_description:nth-child(4) {
        height: 8em;
        margin-top: 15.3em;
    }

    .description {
        height: 6.5em;
        padding: 1em 2em;
    }

    .description_info {
        font-size: 1.5em;
    }

    .sous-titre {
        font-size: 3.5em;
    }

    /* CSS de l'info dans les tuiles en exemple*/

    .card_title {
        margin: 1em 0em;
        font-size: 1em;
    }

    .card_description {
        margin: 0em 0.9em;
    }

    /* FIN de l'info dans les tuiles en exemple*/

    /* CSS des différents joueurs */
    .container_images,
    .container_images .container-all-character {
        max-height: 550px;
    }

    .container_images {
        max-height: 550px;
    }

    .container_character_img {
        height: 100%;
    }

    .character {
        width: 55%;
        height: 485px;
    }

    .grid-title-img {
        height: 485px;
    }

    .character_info {
        height: 485px;
    }

    .character_title {
        font-size: 1.9em;
    }

    .character_description {
        font-size: 0.9em;
    }

    /* Fin CSS des différents joueurs */

    .quizz-title {
        font-size: 4em;
    }

}