html {
    font-family: Helvetica;
    overflow: hidden;
}

body {
    margin: 0px;
    position: fixed;
    display: flex;
    width: 100%;
    height: 100%;
    background-color: black;
}

#bgimgdiv {
    position: absolute;
    width: 100%;
    height: 95%;
    margin-bottom: 0%;
    z-index: -12390740;
}

#bgimg {
    display: block;
    height: 100%;
    margin: 3% auto 0% auto;
    bottom: 0px;
}


#header {
    width: 100%;
    height: 60px;
    position: absolute;
    top: 0px;
    padding-top: 10px;
    background-image: url(img/background.jpg);
    background-repeat: repeat-y, 2;
    background-size: 300px auto;


    z-index: 12390740;
}

#buttonshd {
    position: relative;
    top: 0px;
    width: 100%;
    height: 50px;
    
}

#buttonshd a {
    position: relative;
    float: left;
    height: 40px;
    width: 40px;
    margin-left: 10px;
    border-radius: 50px;
    border: 3px solid white;
}

#buttonshd a:nth-child(4):hover {
    width: 400px;
}

#buttonshd a:nth-child(4):hover img {
    display: none;
}

#buttonshd a:nth-child(4):hover #volumeslider {
    display: block;
    margin-top: 12px;
}

#buttonshd a:hover {
    background-color: lightblue;
    border-radius: 50px;
}


#buttonshd img {
    height: 60%;
    margin: 20%;
}


#volumeslider {
    display: none;
    float: left;
    margin: -26px auto auto 50px;
    border: 1px solid white;

    -webkit-appearance: none;
    appearance: none;
    height: 15px;
    width: 300px;
    background: #d3d3d3;
    outline: none;
    border-radius: 20px;
}


/* The slider handle (use -webkit- (Chrome, Opera, Safari, Edge) and -moz- (Firefox) to override default look) */
#volumeslider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    background: grey;
    cursor: pointer;
    border-radius: 20px;
}

#maincontainer {
    position: fixed;
    width: 100%;
    height: 100%;
    margin-top: 70px;
    background-image: url(img/bor-background.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    overflow: scroll;
}

#rlslide {
    height: 100%;
    margin: auto;
    width: 1100px;
    background-image: url(img/borbg.png);
    background-repeat: no-repeat;
    background-position: center;
    background-position: top;
}

#stats {
    width: 100%;
    height: 52px;
    margin-top: 182px;
    padding-left: 50px;
}


#winline {
    color: gold;
    font-size: 38px;
    margin-top: 0px;
    height: 100%;
}


#stats h2 {
    height: 50%;
    margin: auto;
    width: 100%;
}

#stats div {
    margin-top: 6px;
    height: 80%;
    width: 160px;
    margin-right: 5px;
    float: left;
    text-align: center;
}

.hztop {
    color: white;
    font-size: 14px;
}

#stats div h2:nth-child(2) {
    font-size: 24px;
    margin-top: -5px;
    color: gold;
}



#stats div:nth-child(1) {}

#stats div:nth-child(2) {
    width: 570px;

}

#stats div:nth-child(3) {
    width: 154;
    ;
}


html,
body {
    height: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    font-family: 'Calibri';
}

#viewport {
    background-color: #cdcdcd;
    background-image: -moz-linear-gradient(#bbb, #eee, #bbb);
    background-image: -webkit-linear-gradient(#bbb, #eee, #bbb);
    width: 100%;
    height: 100%;
    display: block;
}

#container {
    position: absolute;
    width: 1000px;
    height: 700px;
    margin: auto;
    margin-top: 155px;
    margin-left: 50px;
}

#overlaycontainer {
    display: none;
    
    position: absolute;
    width: 904px;
    height: 715px;
    margin: auto;
    margin-top: 30px;
    margin-left: 96px;
    border-left: 3px solid gold;
    border-right: 3px solid gold;
    background-image: url(img/background_pyramids.jpg);
    background-size: contain;
}

#overlaycontainercontent {
    position: absolute;
    padding: 20px;
    height: 550px;
    width: 95%;
    border: 1px solid aqua;
}

#overlaycontainercontent img {
    height: 100px;
    border: 2px solid gold;
    margin-right: 30px;
}

#overlaycontainercontent p {
    width: auto;
    padding: 5px;
    border: 1px solid white;
    font-size: 20px;
    font-weight: 600;
    color: white;
}

#overlaycontainercontent span {
    
    margin-left: 30px;
    vertical-align: top;
}

#overlaycontainerbutton {
    position: absolute;
    bottom: 0px;
    height: 55px;
    width: 20%;
    margin: auto 40% 50px 40%;

}

#overlaybutton {
    height: 100%;
    width: 100%;
}

#container #reels {
    display: block;
    position: relative;
    height: 412px;
    overflow: hidden;
    text-align: center;

}

#container #reels canvas {
    width: 142px;
    height: 300px;
    position: relative;
    background: white;
    border: 1px solid gold;
}


#winfields {
    position: relative;
    width: 900px;
    margin-left: 56px;
    height: 146px;
    margin-top: -282px;
}

.winfield {
    height: 130;
    width: 134px;
    float: left;

    border: 7px solid rgba(255, 255, 255, 0);
}

.winfielddeaktiviert {
    margin-top: 65px;
    height: 0px;
    border: 7px solid blue;
    animation: wineffekt 1.2s infinite;
}

.winfieldaktiviert {
    height: 130;
    border: 7px solid blue;

    animation: wineffekt 1.2s infinite;
}

@keyframes wineffekt {
    0% {
        border: 7px ridge blue;
    }

    25% {
        border: 7px groove gold;
    }

    50% {
        border: 7px ridge green;
    }

    75% {
        border: 7px groove red;
    }

    100% {
        border: 7px ridge blue;
    }
}

#marquees {
    display: block;
    position: relative;
    float: right;
    left: 0px;
    top: -681px;
    width: 100%;
}

#marquees p {
    font-size: 630%;
    font-weight: 700;
    margin: 0px;
    width: 200%;
    margin-left: -50%;
    text-align: center;
    animation: textblink 3s linear infinite;
    text-shadow: #FFF 0px 0px 5px, #FFF 0px 0px 10px, #FFF 0px 0px 15px, #FF2D95 0px 0px 20px, #FF2D95 0px 0px 30px, #FF2D95 0px 0px 40px, #FF2D95 0px 0px 50px, #FF2D95 0px 0px 75px;
}

#marquees p:nth-child(2n - 1) {
    padding-left: 100%;
    animation: textblink 2s linear infinite;
    animation: marqueerl 6s linear infinite;
}

@keyframes textblink {
    0% {
        color: black;
    }

    25% {
        color: gold;
    }

    50% {
        color: black;
    }

    75% {
        color: gold;
    }

    100% {
        color: black;
    }
}

@keyframes marqueerl {
    0% {
        transform: translate(0, 0);
        color: black;
    }

    25% {
        color: gold;
    }

    50% {
        color: black;
    }

    75% {
        color: gold;
    }

    100% {
        transform: translate(-100%, 0);
        color: black;
    }
}

.buttoninput {
    height: 36px;
    margin-top: 14px;
    width: 38px;
    margin-right: 3px;

    font-family: 'Slackey';
    text-align: center;
    line-height: 40px;
    font-size: 24px;
    background-size: auto 62px;



    position: relative;
    float: left;


    display: block;
    text-align: center;
    color: gold;
    box-shadow: inset rgba(255, 255, 255, 0.15) 0px 1px 0px;
    border: 2px solid black;
    border-radius: 6px;
    background-color: red;
    background-image: -moz-linear-gradient(rgba(255, 255, 255, 0.15), rgba(0, 0, 0, 0.15));

    background-position: 0px -1px;
    text-shadow: #000 0px 0px 1px;
    text-decoration: none;
}

#betline {
    width: 80px;
    background-color: black;
}


#bet {
    width: 87px;
    margin-right: 10px;
}

#buttons {
    width: 100%;
    height: 46px;

    margin-top: 17px;
    padding-left: 56px;
}

.button:nth-child(1) {
    width: 118px;
    margin-right: 12px;
    
}

.button:nth-child(2) {
    width: 117px;
    margin-right: 13px;
}

.button:nth-child(3) {
    height: 32px;
    margin-top: 15px;
    width: 27px;
    margin-right: 3px;
}

.button:nth-child(5) {
    height: 32px;
    margin-top: 15px;
    width: 27px;
    margin-right: 16px;
}

.button:nth-child(6) {
    height: 32px;
    margin-top: 15px;
    width: 27px;
    margin-right: 3px;
}

.button:nth-child(8) {
    height: 32px;
    margin-top: 15px;
    width: 28px;
    margin-right: 12px;
}

.button:nth-child(10) {
    width: 118px;
    margin-right: 12px;
}

.button:nth-child(11) {
    width: 118px;
    margin-right: 12px;
}

.button-ready {
    cursor: pointer;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#eab92d), to(#c79810));
}

.button-ready:hover {
    cursor: pointer;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#cf9f15), to(#98740c));
}

.buttonactivated {
    background-color: red;
    cursor: pointer;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#e40a0a), to(#9f0202));
}

.button {

    font-family: 'Slackey';
    text-align: center;
    vertical-align: middle;
    line-height: 40px;
    font-size: 24px;
    background-size: auto 62px;

    position: relative;
    float: left;
    height: 100%;

    display: block;
    text-align: center;
    color: #fff;
    box-shadow: inset rgba(255, 255, 255, 0.15) 0px 1px 0px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    background-image: -moz-linear-gradient(rgba(255, 255, 255, 0.15), rgba(0, 0, 0, 0.15));

    background-position: 0px -1px;
    text-shadow: #000 0px 0px 1px;
    text-decoration: red;
}


.button.button-default {
    background-image: -moz-linear-gradient(#77e0fb, #3f93ac);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#4ba614), to(#008c00));
}

.button.button-default:hover {
    background-image: -moz-linear-gradient(#ffd539, #af861e);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#36780f), to(#004000));
    cursor: pointer;
}

.button.button-default:active {
    background-image: -moz-linear-gradient(#ffb133, #b3671a);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#295C0B), to(#005900));
}
