@font-face{
    font-family: Josefin Sans;
    src: url(/fonts/JosefinSans.ttf) format("woff2");
}

body{
    background: url("backrail.jpg");
    background-repeat: no-repeat;
    background-size: auto 100vh;
    background-position: -800px 0;
    animation: mvbg 1200s infinite linear;
    /*height: 100%;*/
}
@keyframes mvbg{
    0%{
        background-position: 0 0;
    }
    50%{
        background-position: right 0 top 0;
    }
    100%{
        background-position: 0 0;
    }
}

div{
    font-family: 'Josefin Sans';
}

.container{
    width: 100%;
    text-align: center;
    position: fixed;
    bottom: 0px;
}
#roll{
    background: url("sign.png");
    background-repeat: no-repeat;
    background-size: 100% 100px;
    margin: auto;
    width: 500px;
    height: 100px;
    display: block;
    color: #f6f7f2;
    font-size: 64px;
    padding-top: 20px;
}
.dice{
    width: 130px;
    height: 130px;
    border: 2px solid black;
    border-radius: 12px;
    background-color: #eeffffaa;
    display: inline-block;
    margin: 5px;
    cursor: pointer;
}
#dices{
    width: 600px;
/*    background: url("dices.png");
    background-repeat: no-repeat;
    background-position-x: center;
    background-size: 400px 130px; */
    margin: auto;
    padding-top: 20px;
    display: block;
}

#ready{
    width: 175px;
    margin: auto;
    padding-top: 10px;
    padding-bottom: 5px;
    background: url("ready.png");
    background-repeat: no-repeat;
    background-position-x: center;
    background-size: 100% 100%;
    cursor: pointer;
}
#roll{
    cursor: pointer;
}

.infoicon{
    position: fixed;
    left: 5px;
    top: 5px;
    width: 35px;
    height: 35px;
}

#information{
    position: fixed;
    left: 5px;
    top: 5px;
    background-color: #ffffffaa;
    border-radius: 5px;
    padding: 12px;
    padding-top: 47px;
    text-align: left;
    display: none;
}

@media only screen and (max-width: 600px) {
    #roll{
        font-size: 36px;
        width: 90%;
        height: 80px;
        background-size: 100% 80px;
    }
    .container{
        bottom: 0px;
    }
    .dice{
        width: 45%;
        height: auto;
        border: 2px solid black;
        border-radius: 12px;
        background-color: #eeffffaa;
        display: inline-block;
        margin: 2px;
    }
    #dices{
        width: 80%;
        /*background: url("dices.png");
        background-repeat: no-repeat;
        background-position-x: center;
        background-size: 100% auto*1.45; */
        margin: auto;
        padding-top: 15px;
        display: block;
    }
}
