@font-face {
    font-family: 'Graffiti';
    src: url(../font/Graffiti.ttf);
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Mabook';
    src: url(../font/Mabook.ttf);
    font-weight: normal;
    font-style: normal;     
}
@keyframes H1ColorRotation {
    from, to {color: #c3fb37dc;}
    12.5%      {color: #ffbe32dc;}
    25%      {color: #fa3e4ed5;}
    37.5%      {color: #3b80ffe0;}
    50%      {color: #38ff74e1;}
    62.5%      {color: #3b80ffe0;}
    75%      {color: #fa3e4ed5;}
    87.5%      {color: #ffbe32dc;}
}

@keyframes sautMario {
    0% {transform: translateY(0%);}
    50% {transform: translateY(-27%);}
    100% {transform: translateY(0%);}
}
@keyframes sautBoite {
    0% {transform: translateY(0%);}
    50% {transform: translateY(-5%);}
    100% {transform: translateY(0%);}
}
@keyframes affichageResult {
    0% {transition: ease; transform: scale(0%); transform: translateY(-10%);}
    100% {transition: ease; transform: scale(100%); transform: translateY(0%);}
}

:root {
    background-image: url(../img/Background.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    font-family: 'Graffiti';
}

.body {
    height: auto;
    width: auto;
    display: flex;
    flex-direction: column;
}

h1 {
    text-shadow: 2px 2px 0 #067c06, 2px -2px 0 #067c06, -2px 2px 0 #067c06, -2px -2px 0 #067c06, 2px 0px 0 #067c06, 0px 2px 0 #067c06, -2px 0px 0 #067c06, 0px -2px 0 #067c06, 0 0 5px #FFF, 0 0 10px #FFF, 0 0 15px #FFF, 0 0 20px #49ff18, 0 0 30px #49FF18, 0 0 40px #49FF18, 0 0 55px #49FF18, 0 0 75px #49ff18;
    text-align: center;
}
h2 {
    text-shadow: 0 0 5px #FFF, 0 0 10px #FFF, 0 0 15px #FFF, 0 0 20px #49ff18, 0 0 30px rgb(73, 255, 24), 0 0 40px #49FF18, 0 0 55px #49FF18, 0 0 75px #49ff18;
    color: #000000;
    font-family: 'Mabook';
}
h3 {
    text-shadow: 0 0 5px #FFF, 0 0 10px #FFF, 0 0 15px #FFF, 0 0 20px #49ff18, 0 0 30px #1897ff, 0 0 40px #18ffff, 0 0 40px #7118ff, 0 0 60px #18d1ff;
    color: #000000;
}

.bandeauTitre {
    display: flex;
    flex-direction: row;
    width: 95vw;
}
.homeDiv {
    display: flex;
    align-items: top;
    width: 25%;
    margin-top: 2rem;
    margin-left: 2rem;
}
.homeLink {
    display: flex;
    height: fit-content;
}
.homeLink img {
    width: 5rem;
    height: 5rem;
    filter:
    drop-shadow(0px 1px 2px #1e688bb6)
    drop-shadow(0px -1px 2px #1e688bb6)
    drop-shadow(1px 0px 2px #1e688bb6)
    drop-shadow(-1px 0px 2px #1e688bb6);
}
.Titre {
    font-size: 3rem;
    animation: H1ColorRotation 20s infinite ease;
    display: flex;
    height: fit-content;
    justify-content: center;
    width: 70vw;
    margin-top: 0px;
    margin-bottom: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
}
.divCentrage {
    display: flex;
    width: 25%;
}

.Board {
    display: flex;
    flex-direction: column;
    height: 70vh;
}

.Choix {
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding-top: 2.5rem;
}
.Choix input {
    width: 5.5rem;
    height: 5.5rem;
    border-radius: 20px;
    font-family: 'Mabook';
    font-size: 3rem;
    text-align: center;
    caret-color: transparent;
    border: none;
    outline-style: ridge;
    outline-color: rgba(24, 143, 255, 0.377);
}
.submitButton {
    display: inline-flex;
    padding-left: 2rem;
}
.submitButton button {
    width: auto;
    height: 5.5rem;
    border-radius: 20px;
    font-family: 'Graffiti';
    font-size: 1.5rem;
    text-align: center;
    border: none;
    outline-style: ridge;
    outline-color: rgba(24, 143, 255, 0.377);
}

.Dices {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 1.5rem;
}
.Dices button {
    height: 3.5rem;
    width: 3.5rem;
    border: none;
    background-color: transparent;
    cursor: pointer;
}
.Roll {
    background-image: url(../img/Dices.png);
    background-size: cover;
}

.Result {
    display: flex;
    height: 25rem;
    width: 100%;
    align-items: center;
    justify-content: space-evenly;
    align-items: center;
}

.Affichage {
    display: flex;
    height: 4.5rem;
    justify-content: center;
}
.Win, .Loose, .Moins, .Plus {
    animation: affichageResult;
    animation-play-state: paused;
    display: none;
    font-size: 5rem;
}

.zoneResult, .boiteCentrage, .boiteMario {
    display: flex;
    flex-wrap: nowrap;
    height: 25rem;
}
.boiteMario {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.zoneResult, .boiteCentrage {
    width: 22rem;
}
.boiteCentrage {
    align-items: center;
    justify-content: center;
}
.helpIcon {
    display: flex;
    width: 5rem;
    height: 5rem;
}

.helpText {
    display: none;
    position: absolute;
    z-index: 2;
    color: #cccccc;
    font-family: 'Mabook';    
    background-color: rgba(0, 0, 0, 0.911);
    border-radius: 10px;
    margin-left: 3rem;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
    font-size: 1.5rem;
    line-height: 4rem;
}
.helpText img {
    padding-left: 2rem;
}

.inputLogo, .dicesRefresh {
    width: 3.5rem;
    height: 3.5rem;
}
.startLogo {
    width: 5.5rem;
    height: 3.5rem;
}

.zoneResult {
    order: 3;
}

.boxResult {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    background-color: rgba(0, 0, 0, 0.781);
    height: 20rem;
    width: 20rem;
    border-radius: 10px;
    margin-right: 3rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-right: 1rem;
    font-size: 1.5rem;
    line-height: 0.5rem;
}
.boxResult h3 {
    margin-left: 1.5rem;
}
.choice1, .choice2, .choice3, .choice4, .choice5 {
    display: flex;
    flex-direction: row;
}
.picChoice {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.picC1P, .picC2P, .picC3P, .picC4P, .picC1M, .picC2M, .picC3M, .picC4M {
    display: none;
    width: 2.5rem;
    height: 2.5rem;
}

.affichageChoice1, .affichageChoice2, .affichageChoice3, .affichageChoice4, .affichageChoice5 {
    display: flex;
    width: 2.5rem;
    padding-left: 1rem;
    padding-right: 1.5rem;
    font-size: 3rem;
    font-style: bolder;
    color: #cce8ff;
    font-family: 'Mabook';
}

.zoneMario, .zoneBoite {
    display: flex;
    justify-content: center;
}
.boiteMystere {
    display: flex;
    height: 7rem;
    padding-bottom: 2rem;
    animation: sautBoite 0.5s;
    animation-play-state: paused;
}
.boiteMystere img {
    width: 20rem;
}
.Mario {
    display: flex;
    animation: sautMario 1s linear;
    animation-play-state: paused;
}

.boxPopResult {
    display: none;
    position: absolute;
    z-index: 2;
    width: 90vw;
    height: 25rem;
    border-radius: 20px;
    color: #cccccc;
    font-family: 'Mabook';
    font-size: 5.5rem;
    background-color: rgba(0, 0, 0, 0.950);
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    
}
