*{
    margin: 0;
    padding: 0;
    font-family: arial;
}
#main{
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #252525;
}
#header{
    
    width: 100%;
    height: 8%;
    position: relative;
    margin-top: 1%;
}
#title{
    color: white;
    position: absolute;
    left: 2%;
    top: 50%;
    transform: translateY(-50%);
    font-size: 4vw;
}
#balance{
    position: absolute;
    
    width: 45%;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
    
}
#amount{
    display: inline-block;
    vertical-align: top;
    background-color: white;
    font-size: 3vw;
    font-weight: bold;
    height: 7vh;
    width: 20vh;
    border: none;
    margin-right: 0.5vw;
    border-radius: 1vw;
    color: #252525;
}
#currency{
    display: inline-block;
    background-color: white;
    height: 7vh;
    width: 7vh;
    border-radius: 1vw;
    position: relative;
}
#currencyImg{
    height: 65%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
#withdrawal{
    position: absolute;
    right: 2%;
    top: 50%;
    transform: translateY(-50%);
    
    
    text-align: center;
}
#withdraw{
    display: block;
    width: 25vh;
    height: 7vh;
    border: none;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 1vw;
    font-size: 2.5vw;
    font-weight: bold;
    color: #252525;
}
#minWith{
    color: white;
    font-size: 1vw;
    position: absolute;
    width: 100%;
    left: 0;
    
}
#body{
    width: 100%;
    height: 92%;
    position: relative;
}
#betting{
    position: absolute;
    left: 50%;
    top: 0%;
    width: 80%;
    height: 50%;
    transform: translateX(-50%);
    border-bottom: 1vh solid white;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}
#betAmount{
    position: absolute;
    bottom: 5%;
    width: 45%;
    height: 25%;
    font-size: 5vw;
    text-align: center;
    font-weight: bold;
    padding: 0;
    border: none;
    border-radius: 1vw;

}
#bet{
    position: absolute;
    display: block;
    bottom: 5%;
    right: 0;
    width: 50%;
    height: 25%;
    text-align: center;
    font-weight: bold;
    font-size: 4.5vw;
    text-align: center;
    font-weight: bold;
    border: none;
    background-color: white;
    cursor: pointer;
    color: #252525;
    border-radius: 1vw;

}
#dice{
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translateX(-50%);
    color: white;    
    font-weight: bold;
}
#diceNum{
    font-size: 9vw;
}
#multiplier{
    font-size: 3vw;
}
#gift{
    background-color: rgba(0, 0, 0, 0.95);
    position: fixed;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    padding: 10vw;
    font-size: 3vw;
    font-weight: bold;
    text-align: center;
    border-radius: 1vw;
    color: white;
}
#play{
    display: block;
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 12vh;
    height: 6vh;
    font-size: 2vw;
    font-weight: bold;
    border: none;
    border-radius: 1vw;
    cursor: pointer;
}

@media (orientation: portrait) and (max-width: 1000px) {
    #title{
        font-size: 3.1vh;
        top: 50%;
    }
    #header{
        margin-top: 0%;
        height: 6%;
    }
    #withdraw{
        width: 13vh;
        font-size: 2vh;
        height: 4vh;

    }
    #minWith{
        font-size: 1.25vh;
    }
    #amount{
        width: 10vh;
        height: 4vh;
        font-size: 2.5vh;
    }
    #currency{
        height: 4vh;
        width: 4vh;
    }
    #betAmount{
        height: 18%
    }
    #bet{
        height: 18%;
    }
    #diceNum{
        font-size: 10vh;
    }
    #multiplier{
        font-size: 4vh;
    }
    #gift{
        width: 25vh;
        height: 10vh;
        font-size: 2vh;
    }
    #play{
        width: 10vh;
        height: 5vh;
        bottom: 0;
        font-size:3vh;
        color: black;
    }
    
}