*{
    font-family: hydrophilia-iced, sans-serif;
    font-weight: 400;
    font-style: normal;
}
html, body{
    width: 100%;
    height: 100%;
    margin: 0;
}

#starsSVG{
    float: left;
    width: 100%;
    height: 100%;
}

body{
    /*background-color: #020303;*/
    background-image: url("TBR Bg2.svg");
    background-repeat: no-repeat;
    background-size: cover;
    float: left;
    width: 100%;
    background-position: center center;
}
#intx_display_over{
    float: left;
    width: 100%;
    height: 100%;
    z-index: 1000;
    position: fixed;
    /*background: #020303;
    background-image: url("TBR Bg2.svg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;*/
}
#center_box, #tetris_box{
    position: absolute;
    top: 50%;
    width: 70%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    text-align: center;
    max-width: 1000px;
}
#center_box .logo_group{
    animation-duration: 6s;
    text-align: center;
}
#center_box .logo{
    width: 100%;
    margin-bottom: 35px;
    display: inline-block;
}
.intx_logo {
    width: 200px;
    max-width: 20%;
    margin-bottom: 80px;
    display: inline-block;
    margin-right: 84px;
}
#center_box #enter_button{
    width: 200px;
    max-width: 20%;
    display: inline-block;
    margin-right: 84px;
    cursor: pointer;
    animation-duration: 2s;
    animation-delay: 5s;
}
#center_box #enter_button:hover{
    opacity: 0.7;
}
#start{
    display: none;
}
#tetris{
    background: transparent;
}
canvas#canvas, canvas#upcoming{
    background: #020303;
    border: 2px solid #FFF;
    box-shadow: none;
}
p{
    color: #f7f7f7!important;
}
.menu_logo{
    max-width: 40%;
    margin: 0 auto;
    margin-bottom: 25px;
    margin-right: 5%;
}
#menu .logo{
    max-width: 40%;
    margin-bottom: 0px;
}
svg .a{
    fill: #fff;
}
#volumeButton{
    width: 75px;
    height: 75px;
    cursor: pointer;
}

.controls{
    margin-top: 30px;
}

.controls .ud img{
    width: 100%;
    max-width: 50px;
    display: inline-block;
    cursor: pointer;
}

.controls .sd img{
    width: 100%;
    max-width: 64px;
    display: inline-block;
    margin: 13px;
    cursor: pointer;
}
.controls .control_box{
    float: left;
    width: 100%;
}
#tetris{
    margin: 0 auto;
    width: 90%;
}
@media only screen and (max-width: 1667px){
    #tetris{
        margin: 5px;
    }
    .menu_logo{
        max-width: 30%;
    }
    #menu .logo{
        max-width: 70%;
    }
    #menu p{
        margin: 0.25em 0;
    }
    .controls{
        margin-top: 10px;
    }
    #volumeButton{
        margin-top: -15px;
        width: 35px;
        height: 35px;
        float: left;
        margin-left: 10px;
    }
    #center_box .logo{
        width: 75%;
    }
}
@media only screen and (max-width: 1125px){

    #menu .logo{
        max-width: 30%;
    }
}
@media only screen and (max-width: 991px){
    /*.intx_logo, #center_box #enter_button{
        margin-right: 0;
    }*/
    .intx_logo{
        width: auto;
        max-width: 26%;
        margin-bottom: 20px;
        margin-right: 0;
    }
    #center_box #enter_button{
        margin-right: 0;
    }
    #tetris{
        margin: 0 auto;
    }
    .controls .ud img{
        max-width: 25px;
    }
    .controls .sd img{
        max-width: 35px;
        margin: 6px;
    }
}
@media only screen and (max-width: 800px){
    .intx_logo{
        max-width: 25%;
        margin-bottom: 15px;
    }
    #menu .logo{
        max-width: 50%;
    }
}