html {
    -moz-background-size: cover;
    -webkit-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    margin: 0;
    padding: 0;
}

body{
    background: url(../img/ricardo.png), url(../img/momo.png), url(../img/cremers.png), url(../img/cat.png), url(../img/carletta.png), url(../img/ricardo2.png), #000a21;
    background-size: 200px;
    background-repeat: no-repeat;
    background-position: top 20px left 20px, top center, top 20px right 20px, bottom left, bottom center, bottom right 20px;;
    background-size: 10%;
    margin: 0;
    height: 100vh;
    display: grid;
    font-family: 'Roboto';
}

#game {
    margin: auto;
    display: grid;
    width: 80%;
    grid-template-columns: 70% auto;
    justify-items: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    height: 100vh;
}

@media screen and (orientation: portrait) {
    #game {
        grid-template-columns: none;
        align-content: center;
        grid-gap: 30px 0px;
        height: 50vh;
    }
    #dice_Button{
        grid-template-columns: auto 180px;
        align-items: center;
        width: 410px;
        grid-gap: 0px 60px;
        text-align: center;
    }
    #defi_nbre{
        font-size: 3.5em !important;
    }
    #defi_text{
        min-height: 500px !important;
        font-size: 3em !important;
    }
}

/* DICE */

#dice {
    display: grid;
    border-radius: 20px;
    align-items: center;
    justify-items: center;
    color: #ffffff;
    background-color: black;
    height: 150px;
    border: 3px solid white;
    font-weight: 600;
    animation: borderAnim infinite 10s;
    max-width: 160px;
}

#diceNumber {
    font-size: 60px;
}

#BouttonLancer{
    background-color: #090909;
    border-radius: 8px;
    cursor: pointer;
    color: #ffffff;
    font-size: 30px;
    font-weight: 600;
    padding: 16px 31px;
    text-shadow: 0px 0px 3px #ffffff;
    outline: none;
    animation: borderAnim infinite 10s;
    border: 3px solid white;
    text-align: center;
}

#BouttonLancer:hover {
	background-color:#111111;
}

#dice_Button{
    display: grid;
    grid-gap: 10px 0px;
}

/* DEFI */      
    
#defi{
    width: 100%;
    display: grid;
    border: 3px solid black;
    padding: 15px;
    background-color: #090909;
    border-radius: 10px;
    text-align: center;
    color: #ffffff;
    grid-gap: 10px 0px;
    align-items: center;
    animation: borderAnim infinite 10s;
}
  
#defi_nbre{
    text-align: center;
    font-size: 25px;
    font-weight: bold;
    padding-bottom: 20px;
    border-bottom: 1px solid #ffffff;
    transition: opacity 500ms;
}

#defi_nbre_gorgees{
    color: red;
}

#defi_text{
    transition: opacity 500ms;
    opacity: 0;
    font-size: 20px;
    text-align: center;
    min-height: 140px;
    display: grid;
    align-items: center;
}

@keyframes borderAnim{
    0%, 100%{
        border-color: #300350;
    }
    16%{
        border-color: #94167F;
    }
    32%{
        border-color: #E93479;
    }
    64%{
        border-color: #F9AC53;
    }
    80%{
        border-color: #F62E97;
    }
}