body {
    font-family: "Open Sans", Helvetica, sans-serif;
    font-weight: 400;
    font-style: normal;
    margin-left: 50px;
    margin-right: 50px;
    background-color: black;
}

.overlay {
    background-color: rgba(0, 0, 0, 0.25);
    padding: 25px;
    box-sizing: border-box;
    max-width: 600px;
    height: 95vh;
    perspective: 1000px;
    border: 1px solid #f1f1f1;
}

.inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.overlay.flipped .inner {
    transform: rotateY(180deg);
}

.front,
.back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.front {
    color: white;
}

.back {
    background-color: rgba(0, 0, 0, 0.81);
    color: white;
    transform: rotateY(180deg);
}
#instructions > h2 {
    font-family: "Rubik Spray Paint", Arial, Helvetica, sans-serif;
}

#instructions {
    font-family: "Open Sans", Arial, Helvetica, sans-serif;
    padding: 15px;
    margin: 1em;
    text-align: left;
    line-height: 25px;
}

#section {
    color: white;
}

#container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 25px;
    box-sizing: border-box;
    height: 95vh;
    display: flex;
    flex-direction: column;
    background-position: center 80%;
    background-image: url(images/felt_table2_bg.jpg);
}

#header {
    font-family: "Rubik Spray Paint", sans-serif;
    text-align: center;
    text-transform: uppercase;
    font-size: 3.5vw;
    line-height: 0;
    background: linear-gradient(360deg, #560000, #b30100);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    display: inline-block;
}

/*////////////////////////////// this is our bet + bank info*/

.moneybank {
    display: flex;
    background-color: #4f3328;
    text-align: left;
    color: white;
    border-radius: 10px;
    box-shadow: 5px 5px #2e1911;
    box-sizing: border-box;
    position: relative;
    margin: 10px;
    font-size: 30px;
}

#money {
    margin: 0 auto;
    top: -70px;
    position: relative;
}

label {
    font-weight: bold;
    font-size: 14px;
    position: relative;
    top: -40px;
    text-transform: uppercase;
}

input[name="betAmount"] {
    position: relative;
    top: -70px;
    width: 150px;
    height: 30px;
    background-color: #2e1911;
    color: white;
    font-size: 30px;
    border: none;
    border-bottom: 1px solid white;
}

.bet,
.moneyAmnt {
    position: relative;
    box-sizing: border-box;
    width: 80px;
    height: 80px;
    margin: 10px;
    padding: 0 10px;
    flex: 1;
    background-color: #2e1911;
    border-radius: 5px;
}

/*////////////////////////////// bet + bank info ends here*/

/* tooltip thingy majig */

/*.tooltip {
    position: absolute;
    display: inline-block;
    right: 19em;
    background-color: rgba(0, 0, 0, 0.68);
    border-radius: 50%;
    border: 1px solid white;
    height: 1em;
    font-size: 30px;
    text-align: center;
    line-height: 35px;
    max-width: 30px;
    padding: 5px;
    z-index: 1;
}*/

/* tooltip thingy majig ends here */

#diceAnimate {
    display: flex;
    justify-content: center;
    top: -60px;
}

#dice {
    display: none;
}

#diceText {
    display: none;
}

#dicediv1,
#dicediv2 {
    width: 125px;
    height: 125px;
    float: left;
    margin: 10px;
    background-image: url(dice/dice.png);
    text-indent: -9999px;
    position: relative;
    top: -13em;
}

#feedback {
    text-transform: uppercase;
    text-align: center;
    position: relative;
    bottom: -5em;
    font-size: 20px;
    padding: 0;
    font-weight: bold;
    text-shadow: 4px 4px 5px black;
}

#button {
    position: relative;
    bottom: -18em;
    display: flex;
    justify-content: center;
}

.value1 {
    background-position: 0 center;
}

.value2 {
    background-position: -125px center;
}

.value3 {
    background-position: -250px center;
}

.value4 {
    background-position: -375px center;
}

.value5 {
    background-position: -500px center;
}

.value6 {
    background-position: -625px center;
}

#rollButton {
    width: 200px;
    height: 100px;
    background: #900;
    color: #fff;
    border-radius: 10px;
    text-align: center;
    line-height: 100px;
    font-size: 24px;
    font-weight: 700;
    cursor: pointer;
    background-image: linear-gradient(to top, #560000, #b30100);
}

#rollButton:hover {
    background: #6e0101;
    background-image: linear-gradient(to bottom, #560000, #b30100);
}

@media only screen and (max-width: 600px) {
    #header {
        font-size: 30px;
    }
}
