@font-face {
    font-family: 'dogica_bold';
    src: url('assets/font/dogicapixelbold-webfont.eot');
    src: url('assets/font/dogicapixelbold-webfont.eot?#iefix') format('embedded-opentype'),
         url('assets/font/dogicapixelbold-webfont.woff2') format('woff2'),
         url('assets/font/dogicapixelbold-webfont.woff') format('woff'),
         url('assets/font/dogicapixelbold-webfont.ttf') format('truetype'),
         url('assets/font/dogicapixelbold-webfont.svg#dogica_pixelbold') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'dogica';
    src: url('assets/font/dogicapixel-webfont.eot');
    src: url('assets/font/dogicapixel-webfont.eot?#iefix') format('embedded-opentype'),
         url('assets/font/dogicapixel-webfont.woff2') format('woff2'),
         url('assets/font/dogicapixel-webfont.woff') format('woff'),
         url('assets/font/dogicapixel-webfont.ttf') format('truetype'),
         url('assets/font/dogicapixel-webfont.svg#dogica_pixelregular') format('svg');
    font-weight: normal;
    font-style: normal;
}


html,
body{
    background-color: #008bca;
    padding: 0;
    margin: 0;
    font-family: 'dogica';
    font-size: 16px;
}

b,
strong{
    font-family: 'dogica_bold';
}

a{
    color: #008bca;
    text-decoration: none;
}

a:HOVER{
    color: #ff5500;
}

hr{
    border: 0;
    height: 4px;
    background-color: #fff;
    margin: 20px 0;
}

#bg{
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: 0;
}

#bg video{
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#blue{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999999;
    background-color: #008bca;
    display: none;
}

#page{
    position: relative;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

nav{
    position: absolute;
    left: 5vw;
    width: 25vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.3);
    backdrop-filter: blur(15px);
    z-index: 10;
    display: block;
}

nav ul,
nav ul li{
    list-style: none;
    padding: 0;
    margin: 0;
}

nav ul li{
    margin-bottom: 20px;
    margin-left: 20px;
    margin-right: 20px;
}

#version{
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% - 20px);
    background-color: rgba(0,0,0,0.4);
    font-size: 8px;
    text-align: right;
    padding: 10px 10px 7px 10px;
    color: #fff;
    display: block;
    border-bottom: 2px solid rgba(0,0,0,0.8);
}


#navbottom{
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 20px;
    font-size: 10px;
    color: #fff;
    line-height: 1.4;
}

main{
    position: absolute;
    top: 5vh;
    left: 35vw;
    width: 60vw;
    height: 90vh;
    background-color: rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
    transform: translate3d(65vw,0,0);
	transition: transform 0.6s cubic-bezier(0.36, 0, 0.66, -0.56);
    z-index: 2;
    line-height: 1.4;
}

#main_content{
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.maincont{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: translate3d(104%,0,0);
	transition: transform 0.6s cubic-bezier(0.36, 0, 0.66, -0.56);
    padding-bottom: 40px;
}

.main_padding{
    position: relative;
    padding: 0 30px;
    height: calc(100% - 110px);
}

.mainscroll{
    position: relative;
    width: 100%;
    height: 100%;
    padding-top: 40px;
}

.maincont.show{
    transform: translate3d(0,0,0);
}

.maincont.out{
    transform: translate3d(-104%,0,0);
}

.maincont.notrans{
    transition: none;
}



.cont main{
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: translate3d(0,0,0);
}

#mainclose{
    position: absolute;
    top: 0;
    right: -46px;
    width: 42px;
    height: 42px;
    background-color: rgba(255,255,255,0.3);
    text-align: center;
    line-height: 42px;
}

#mainclose:HOVER{
    font-size: 20px;
    background-color: #fff;
    cursor: pointer;
}



#main_content h1,
#main_content h2{
    padding: 20px 20px 15px 20px;
    margin: 0;
    background-color: rgba(255,255,255,0.4);
    font-family: 'dogica_bold';
}

.infobox{
    border: 4px solid #fff;
    background-color: rgba(255,255,255,0.4);
    padding: 20px;
}

#main_content h3{
    font-family: 'dogica_bold';
    margin-bottom: 15px;
}

#main_content p{
    margin: 10px 0;
}

#ingame{
    position: fixed;
    right: 5vw;
    bottom: 20px;
    font-size: 14px;
    color: #fff;
    font-family: 'dogica_bold';
}

#logo{
    width: 100%;
    padding: 110px 20px 80px 20px;
}

#logo img{
    width: calc(100% - 40px);
    height: auto;
    display: block;
}

#qualibox{
    display: flex;
    gap: 20px;
}

.qualibox{
    flex: 1;
    background-color: rgba(0,0,0,0.4);
    border: 4px solid #fff;
    min-height: 150px;
    opacity: 0.2;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.qualibox.select{
    opacity: 1;
}

.qualibox h4{
    padding: 10px;
    background-color: #fff;
    margin: 0;
    text-align: center;
}

.quali_star_box{
    position: relative;
    flex-grow: 2;
}

.quali_stars{
    position: absolute;
    text-align: center;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    font-size: 32px;
    color: #fff;
}

.maincont input[type="checkbox"] {
    width: 0;
    height: 0;
}

.maincont .settings_check{
    position: relative;
    padding-left: 25px;
}

.maincont .settings_check .checkmark{
    position: absolute;
    left: 0;
    top: -9px;
    display: block;
    width: 25px;
    height: 25px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    background-image: url('data:image/svg+xml,<svg width="100%" height="100%" viewBox="0 0 27 27" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;"><path d="M24,3L24,27L0,27L-0,3L24,3ZM21,6L3,6L3,24L21,24L21,6Z" style="fill:%23fff;"/></svg>');
}

.maincont .settings_check .settings_check_text{
    padding: 10px;
}

.maincont .settings_check input:checked ~ .checkmark {
    background-image: url('data:image/svg+xml,<svg width="100%" height="100%" viewBox="0 0 27 27" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;"><path d="M24,12L24,27L0,27L0,3L18,3L18,6L3,6L3,24L21,24L21,12L24,12Z" style="fill:%23fff;"/><path d="M21,9L21,3L24,3L24,9L21,9ZM15,18L15,12L18,12L18,18L15,18ZM9,15L6,15L6,12L9,12L9,15ZM24,3L24,0L27,0L27,3L24,3ZM18,12L18,9L21,9L21,12L18,12ZM9,15L12,15L12,18L9,18L9,15ZM12,18L15,18L15,21L12,21L12,18Z" style="fill:%23fff;"/></svg>');
}



button{
    font-family: 'dogica_bold';
    padding: 15px 20px 12px 20px;
    -webkit-box-shadow: 4px 4px 0px 0px rgba(0,0,0,0.5);
            box-shadow: 4px 4px 0px 0px rgba(0,0,0,0.5);
    border: 2px solid #fff;
    background-color: rgba(255,255,255,0.3);
    cursor: pointer;
}

button:HOVER{
    background-color: rgba(255,255,255,0.7);
    -webkit-box-shadow: 0px 0px 0px 0px rgba(0,0,0,0.5);
            box-shadow: 0px 0px 0px 0px rgba(0,0,0,0.5);
}

.disabled,
.disabled button,
button:disabled{
    -webkit-box-shadow: none;
            box-shadow: none;
    background-color: rgba(255,255,255,0.3);
    opacity: .2;
    pointer-events: none;
}

.iconbutton{
    position: relative;
    padding-left: 50px!important;
}
.iconbutton:BEFORE{
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 43px;
    background-color: #fff;
    color: #111;
    text-align: center;
    line-height: 44px!important;
    font-size: 24px;
}

.iconbutton:HOVER:BEFORE{
    font-size: 28px;
}

#menubutton{
    position: fixed;
    top: 10px;
    right: 10px;
    width: 42px;
    height: 42px;
    background-color: #008bca;
    z-index: 999999;
    display: none;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M24 6h-24v-4h24v4zm0 4h-24v4h24v-4zm0 8h-24v4h24v-4z" fill="%23ffffff"/></svg>');
    background-position: center center;
    background-repeat: no-repeat;
    line-height: 42px;
    text-align: center;
    font-size: 24px;
    color: #fff;
}

#menubutton:BEFORE{
    display: none;
}

.menu #menubutton{
    background-image: none;
}

.menu #menubutton:BEFORE{
    display: block;
}

#mobilelogo{
    position: fixed;
    top: 20px;
    left: 20px;
    height: 42px;
    display: none;

}

#mobilelogo img{
    position: absolute;
    height: 100%;
    width: auto;
    top: 0;
    left: 0;
}

#loadcode{
    width: calc(100% - 40px);
    padding: 15px 20px 10px 20px;
    font-size: inherit;
    font-family: inherit;
    line-height: 1;
    border: 2px solid #fff;
    background-color: rgba(0,0,0,0.4);
    margin-bottom: 20px;
    color: #fff;
}

#loadcode:FOCUS{
    outline: none;
    border-color: #008bca;
}

#shakebox.shake{
      animation: horizontal-shaking 0.35s 1;
}

@keyframes horizontal-shaking {
 0% { transform: translateX(0) }
 25% { transform: translateX(10px) }
 50% { transform: translateX(-10px) }
 75% { transform: translateX(10px) }
 100% { transform: translateX(0) }
}

#loadsettings{
    font-size: 12px;
    display: flex;
    margin-bottom: 20px;
    background-color: rgba(0,0,0,0.2);
    padding: 10px;
}

#loadsettings div{
    flex: 1;
    vertical-align: middle;
}
#loadquali{
    border: 2px solid #fff;
    padding: 10px 10px 7px 10px;
    line-height: 1;
    font-size: inherit;
    font-family: inherit;
}

#cookielist{
    margin-top: 20px;
    display: none;
}

#cookieul,
#cookieul li{
    list-style: none;
    padding: 0;
    margin: 0;
}

#cookieul li{
    background-color: #fff;
    margin-bottom: 10px;
    padding: 5px;
}

#cookietable{
    width: 100%;
    border: 2px solid #fff;
    border-collapse: collapse;
    line-height: 1;
}

#cookietable tr th{
    background-color: #fff;
    padding: 5px;
}

#cookietable tr td{
    border: 2px solid #fff;
    padding: 5px;
}


#cookietable tr th:NTH-CHILD(1),
#cookietable tr td:NTH-CHILD(1){
    display: none;
}
#cookietable tr td:NTH-CHILD(4),
#cookietable tr td:NTH-CHILD(5){
    text-align: right;
}


#cookietable tr:HOVER td{
    background-color: #2b2b2b;
    color: #fff;
}



@media only screen and (max-width: 600px) {

    body{
        font-size: 12px;
    }
    
    #menubutton,
    #mobilelogo{
        display: block;
    }
    
    nav {
        width: 100vw;
        left: 0;
        height: auto;
        padding-bottom: 100px;
        transform: translate3d(0,-102%,0);
        transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
    }
    
    main{
        top: 0;
        width: 100vw;
        left: 0;
        height: 100vh;
        transform: translate3d(102vw,0,0);
    }
    
    .main_padding{
        padding: 0 15px;
    }
    
    .maincont{
        padding-bottom: 40px;
    }
    
    .simplebar-track.simplebar-vertical{
        bottom: 40px;
        width: 8px!important;
        right: -12px;
    }
    
    .menu nav{
        transform: translate3d(0,0,0);
    }

    #page{
        overflow-X: hidden;
        overflow-y: scroll;
    }
    
    #version{
        text-align: left;
    }
    
    .qualibox h4 {
        font-size: 10px;
    }
    
    .quali_stars{
        font-size: 18px;
    }
    
    #ingame{
        font-size: 12px;
    }
    
    #main_content h1, 
    #main_content h2,
    #main_content h3{
        font-size: 14px;
    }
}