@font-face{
    font-family:'montserrat';
    src:url('media/fonts/montserrat.woff') format('woff'),
        url('media/fonts/montserrat.tff');
}

@font-face{
    font-family:'montserratlight';
    src:url('media/fonts/montserratlight.woff') format('woff'),
        url('media/fonts/montserratlight.tff');
}

html,
body {
    font-family: 'montserrat';
    margin: 0;
    height: 100%;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
}

.overlay-container-basic{
    background-color: rgba(0,0,0,0.0);
}
input[type=checkbox] {
    -ms-transform: scale(1);
    /* IE */
    -moz-transform: scale(1);
    /* FF */
    -webkit-transform: scale(1);
    /* Safari and Chrome */
    -o-transform: scale(1);
    /* Opera */
    margin-top: 0px;
    margin-bottom: 0px;
      vertical-align: middle;
  position: relative;
  top: 0px;
}

.box-register-tos-agree {
    font-size: 0.5em;
    font-weight: normal;
    font-family: montserratlight;
    color: #fff;
    margin-top:3vh;
}


/* LEADERBOARD */

.box-leaderboard {
    border-radius: 3px;
    background: rgba(61, 35, 20, 0.8);
    color: #fff;
    margin: 0em;
    padding: 0.5em;
    overflow-y: auto;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
/*    position: relative;*/
    position: fixed;
    right: 1vw;
    width: 45vw;
    -webkit-overflow-scrolling: touch;
}

.box-leaderboard-image {
    width: 100%;
}

.box-leaderboard-image img {
    max-width: 300px;
}

.box-leaderboard-navigation {
    /*border:1px solid #000;*/
    font-size: 2em;
    margin: 0;
    padding: 0;
/*    margin: 0 0.2em 0 0.2em;*/
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

.box-leaderboard-navigation a {
    text-decoration: none;
}

.span_2_of_4_leaderboard {
    display: table;
}

.span_2_of_4_leaderboard a {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
}

.box-leaderboard-navigation-item {
    text-align: center;
    padding: 0;
    height: auto;
    font-size: 0.65em;
}

.box-leaderboard-navigation-item-highlighted {
    background-color: rgba(204, 204, 204, 0.3);
    /* lighter color */
}

.box-leaderboard-col-header {
    padding: 0 0.5em 0 0.45em;
    font-size: 1em;
    font-weight: 900;
}

.box-leaderboard-icon img {
    padding: 0.2em 0 0 0;
    width: 80%;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    /*border:1px solid #ccc;*/
}

.box-leaderboard-username {
    color: #fff;
    padding: 0.5em;
    /*border:1px solid #ccc;*/
}

.box-leaderboard-score {
    color: #fff;
    padding: 0.5em;
}

.box-leaderboard-entry {
    /* Basic solution. Better is to have scrollbar sticking to right border
	max-height:300px;
	overflow-y:scroll;    
	*/
    /*overflow-y:scroll; */
}

.box-leaderboard-header, .box-popup-header {
    font-size: 1.7em !important;
    font-weight: bold !important;
    text-align: left !important;
    color: #fff !important;
    margin: 0.2em !important;
    padding-bottom: 0.1em !important;
    padding: 0.5em !important;
}

.box-leaderboard a {
    font-size: 1em !important;
    color: #ff0fea;
}

.box-leaderboard-subheader {
    font-size: 0.8em;
    margin: 0.8em;
}

.box-leaderboard-footer {
    margin: 0.4em;
    font-size: 1.5em;
    text-align: center;
}

.box-leaderboard-contents {
    margin: 0.5em;
    margin-top: 0.2em;
    font-family: montserratlight;
    font-size: 1.2em;
    font-weight: 100;
}

.box-leaderboard-close {
    text-align: right;
    background-image: url('media/graphics/api/close.png');
}

.span_2_of_10_leaderboard .box-leaderboard-score {
    padding-left: 1.4em !important;
}


/* LOGIN */

.box-login {
    background: rgba(255, 255, 255, 1);
    color: #1DBEBB;
    font-size: 1em;
    margin: 1em;
    padding: 0.5em;
    overflow-y: auto;
}

.login-submit {
    display: flex;
    justify-content: left;
}

.box-popup-contents, .box-popup-footer {
    display: flex;
    justify-content: left;
}
/*
.button{
    width: 45% !important;
    font-size: 1.55em !important;
    border-radius: 10px !important;
    color: white !important;
    margin-left: 0.45em!important;
    /*border: 2px solid #2a28db !important;*/
    /*background: #1DBEBB !important;*/
/* } */

.button{
    width: 48%;
    font-size: 1em;
    border: 1px solid #ccc;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 5px;
    padding: 0.3em;
    margin-left:0.4em;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
    background: #1DBEBB !important;
}

.box-login-footer a {
    font-size: 1em !important;
    /*color: #ff0fea;*/
}

.box-login-header {
    font-size: 3em;
    font-weight: bold;
    text-align: center;
    color: #3c3c3c;
    margin: 0.35em;
    margin-bottom: 0.5em;
    padding-bottom: 0.3em;
}

.box-login-subheader {
    font-size: 0.8em;
    margin: 0.8em;
}

.box-login-footer {
    font-size: 1.5em !important;
    /*display: flex;*/
    justify-content: left;
    /*color: white;*/
}

input{
    font-size: 1em !important;
}

.login-submit input.button{
    font-size: 1.5em;
    border-radius: 12px;
    /*border: 2px solid #7affff;*/
    color: white !important;
    /*box-shadow: 0 0px 25px rgb(122 255 255);*/
    background: #1DBEBB;
}

.box-login-contents {
    margin: 0.5em;
}

.box-login-close {
    width: 24px;
    height: 24px;
    text-align: right;
    float: right;
    background-image: url('media/graphics/api/close.png');
}

.box-login-form-input {
    margin-top: 0.2em;
    margin-bottom: 0.5em;
    width: 100%;
    font-size: 1em;
    border: 1px solid #ccc;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    padding: 0.3em;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
}


/* REGISTER */

.box-register {
    border-radius: 0px;
    background: rgba(61, 35, 20, 0.8);
    color: #1DBEBB;
    font-size: 1em;
    margin: 0.7em;
    padding: 0.7em;
    overflow: auto;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
/*    position: relative;*/
    width: 40%;
    position: fixed;
    left:2vw;
    -webkit-overflow-scrolling: touch;
}

.box-register-header {
    font-size: 2.5vw;
    font-weight: bold;
    font-family: 'montserrat';
    text-align: center;
    color: #fff;
    margin: 0.35em;
    margin-bottom: 0.5em;
    margin-top: 0.85em;
    padding-bottom: 0em;
    letter-spacing: 0px;

}
.box-register-header-contents {
    font-size: 1.8vw !important;
    font-weight: 100;
    font-family: 'montserratlight';
    text-align: center;
    color: #fff;
    margin: 0.25em;
    margin-top: 1em;
    margin-bottom: 1em;
    padding-bottom: 0.5em;
    line-height:1.4em;
}

.box-register-username, .box-register-email, .box-register-phone-number{
/*    margin-bottom: 2em;*/
      display: flex;
  gap: 5px; /* Adjust the gap as per your preference */
  padding-bottom: 0.3em;
}

.box-register-email {
    /* display: flex; */
    width: 48%;
    padding-left: 0em;
    float: left;
}

.box-register-phone-number {
    /* display: flex; */
    width: 48%;
    padding-left: 0.3em;
    float: right;
}

#register-username{
    font-weight: 100;
    font-size: 0.7em !important; 
    font-family: 'montserratlight';
    letter-spacing: 0px;
    padding-left: 0.5em;
    border-radius: 1px;
    border-style: solid;
    border-width: 2px;
    border-color: rgba(0, 0, 0, 0.5);
}
#register-submit-button{
    font-size: 0.7em !important; 
    padding: 0.6em;
}

#register-non-unique-id, #register-phone-number {
    font-weight: 100;
    font-size: 0.75em !important;
    font-family: montserratlight;
    letter-spacing: 0px;
    width: 100%;
    display: flex;
    justify-content: left;
}

img.box-register-header-image {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 40%;
}

.register-submit {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-top: 0.5rem;
}

.register-submit input.button{
    font-size: 2em;
    border-radius: 8px;
    color: white !important;
    border: 2px solid #1DBEBB;
    background: #1DBEBB;
}

.box-register-subheader {
    font-size: 0.8em;
    margin: 0.8em;
}

.box-register-footer {
    font-size: 1em !important;
    display: flex;
    justify-content: left;
    /*color: white;*/
}

.box-register-footer a {
    /*color: #ff0fea;*/
}

.box-register-contents {
    margin: 0.5em;
}

.box-register-close {
    width: 24px;
    height: 24px;
    text-align: right;
    float: right;
    background-image: url('media/graphics/api/close.png');
}

.box-register-form-input {
    width: 46%;
    font-size: 1em;
    border: 1px solid #ccc;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 2px;
    padding: 0.2em;
}

/* REGISTER */

.box-reset-password {
    background: rgba(255, 255, 255, 1);
    color: #1DBEBB;
    font-size: 1em;
    margin: 1em;
    padding: 0.5em;
    overflow-y: auto;
}

.box-reset-password-header {
    font-size: 3em;
    font-weight: bold;
    text-align: center;
    color: #1DBEBB;
    margin: 0.35em;
    margin-bottom: 0.5em;
    padding-bottom: 0.3em;
}

.box-reset-password-subheader {
    font-size: 0.8em;
    margin: 0.8em;
}

.box-reset-password-footer {
    font-size: 1.5em !important;
    display: flex;
    justify-content: left;
    /*color: white;*/
}

.box-reset-password-contents {
    margin: 0.5em;
}

.box-reset-password-close {
    width: 24px;
    height: 24px;
    text-align: right;
    float: right;
    background-image: url('media/graphics/api/close.png');
}

.box-reset-password-form-input {
    margin-top: 0.2em;
    margin-bottom: 0.5em;
    width: 100%;
    font-size: 1em;
    border: 1px solid #ccc;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    padding: 0.3em;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
}


/* POPUP */

.box-popup {
    background: rgba(0,0,0,0.9);
    color: #fff;
    font-size: 1em;
    margin: 1em;
    padding: 0.5em;
}

.box-popup-header {
    font-weight: bold;
    font-family: 'montserrat';
    text-align: left;
    font-size: 1.5em;
    color: #f0841f;
    border-bottom: 1px solid #ccc;
    margin: 0.35em;
    margin-bottom: 0.5em;
    padding-bottom: 0.3em;
}

#okButton {
    margin-left: 0.5em;
}

.box-popup-subheader {
    font-size: 0.8em;
    margin: 0.8em;
}

.box-popup-footer {
    border-top: 1px solid #ccc;
    font-size: 0.8em;
    margin: 0.8em;
    padding-top: 0.4em;
}

.box-popup-contents {
    margin: 0.5em;
    font-weight: normal;
    font-family: 'montserrat';
    font-size: 1.5em;
}

.box-popup-close {
    width: 24px;
    height: 24px;
    text-align: right;
    float: right;
    background-image: url('media/graphics/api/close.png');
}

.box-popup-form-input {
    margin-top: 0.2em;
    margin-bottom: 0.5em;
    width: 100%;
    font-size: 0.8em;
    border: 1px solid #ccc;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    padding: 0.3em;
}

.box-leaderboard-entry {
    font-size: 0.8em;
}

#forgot-password {
    font-size: 0.85em
}


/*
.login-submit {
    margin: 0.2em;
}
*/

@media only screen and (max-width: 500px) {
    .box-register-header {
        font-size: 1.5em;
    }
    .box-login-header {
        font-size: 1em;
    }
    .box-reset-password-header {
        font-size: 1em;
    }

    input{
        font-size: 1em !important;
    }
    /* .button{
        padding: 0.3em 0.5em;
    } */
    .box-reset-password-footer{
        font-size: 1em !important;
    }.box-register-footer{
        font-size: 1em !important;
    }.box-login-footer{
        font-size: 1em !important;
    }
    .horizontal-seperator{
        height: 0.5em;
    }
    .g-recaptcha {
        margin-top: 1em;
        transform:scale(0.77);
        -webkit-transform:scale(0.77);
        transform-origin:0 0;
        -webkit-transform-origin:0 0;
    }
}
@media only screen and (max-height: 500px) {
    .box-register-header {
        font-size: 1.3em;
    }
    .box-login-header {
        font-size: 1em;
    }
    .box-reset-password-header {
        font-size: 1em;
    }

    input{
        font-size: 0.5em !important;
    }
    .button{
        padding: 0.31em 0.31em;
    }
    .box-reset-password-footer{
        font-size: 1em !important;
    }.box-register-footer{
        font-size: 1em !important;
    }.box-login-footer{
        font-size: 1em !important;
    }
    .horizontal-seperator{
        height: 0.5em;
    }
    .g-recaptcha {
        margin-top: 1em;
        transform:scale(0.77);
        -webkit-transform:scale(0.77);
        transform-origin:0 0;
        -webkit-transform-origin:0 0;
    }
}
@media only screen and (min-width: 500px) {
    /*
    .box-leaderboard-entry {
        font-size: 1em;
    }
*/
    /*
    .box-leaderboard-navigation-item {
        height: 1.6em;
        font-size: 1em;
    }
*/
    /*
    .box-leaderboard-footer {
        margin: 0.4em;
        font-size: 1em;
    }
*/
    .box-login-footer {
        font-size: 0.9em;
    }
    .box-register-footer {
        font-size: 0.9em;
    }
    .box-register-tos-agree {
        font-size: 0.5em;
    }
    .box-reset-password-footer {
        font-size: 0.9em;
    }
}

#report-imagediv{
    height:0px;
}

#report-image{
    position: fixed;
    max-width: 60vh;
    height: auto;
    top: 8vh;
    margin-left: -5%;
    left: 0vw;
    display:block;
}

#box-report{
    top: 10vh;
    padding-top: 5vh;
}

#leader-header-content{
    font-weight: bold;
    margin-bottom: 0.4em;
}

label.error{
    position:fixed;
    font-size: 0.4em;
    margin-top: 5vh;
    color: white;
}

label.success{
    position:fixed;
    font-size: 0.4em;
    margin-top: 5vh;
}

label[for="register-username"] {
    position:fixed;
    font-size: 0.5em;
    margin-top: 2rem;
}

label[for="register-non-unique-id"] {
    position:fixed;
    font-size: 0.5em;
    margin-top: 2.7%;
}

label[for="register-phone-number"] {
    position:fixed;
    font-size: 0.5em;
    margin-top: 2.7%;
}

#tos-error{
    color: red;
    font-family: montserrat;
}

#iframe-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9, for an aspect ratio of 1:1 change to this value to 100% */ 
}

iframe{
    position: absolute;
    top: 0;
    left: 0%;
    border:0;
    margin: auto;
}

#landing-body{
    background-image: url('media/graphics/game/bg-game1.png') !important;
    background-size: cover !important;
}


@media only screen and (max-width: 650px) {
    #report-image{
        position: fixed;
        max-width: 60vh;
        height: auto;
        top: 35%;
        left: 0vw;
        display:block;
    }

/*    #box-report{
        top: 0vh;
        padding-top: 0vh;
    }*/
}

@media only screen and (max-width: 500px) {
    #report-image{
        display:none;
    }

    #box-report{
        top: 0vh;
        padding-top: 0vh;
    }
}

#box-report-header{
    font-weight: bold;
    font-size: : 1.2em;
    letter-spacing: 0em;
    line-height: 1.5em;
    margin-bottom: 0em;
    padding-bottom: 0em;
}

#box-report-contents{
    font-size: 1.1vw;
    font-weight: 100;
    font-family: 'montserratlight';
    text-align: center;
    color: #fff;
    margin: 0.25em;
    margin-top: 1em;
    margin-bottom: 1em;
    padding-bottom: 0.5em;
    line-height:1.7em;
}

#report-button{
    padding: 0.6em 0.41em;
    font-size: 0.8em !important;
    margin-top: 0.9em;
}
@media only screen and (max-height: 300px){
    img.box-register-header-image{
        display: none;
    }
}

@media only screen and (max-height: 500px){
    #box-report-header {
        font-size: 1.2em;
    }
    #report-button{
        padding: 0.6em 0.41em;
        font-size: 0.5em !important;
        margin-top: 0.9em;
    }

    #register-non-unique-id, #register-phone-number {
        font-weight: 100;
        font-size: 0.5em !important;
        font-family: montserratlight;
        letter-spacing: 0px;
        width: 100%;
        display: flex;
        justify-content: left;
    }
}

@media (min-width:961px)  { 
/* tablet, landscape iPad, lo-res laptops ands desktops */ 

    #report-imagediv{
        height:0px;
    }

    #report-image{
        position: fixed;
        max-width: 67vh;
        height: auto;
        top: 0%;
        margin-left: -5%;
        left: 0vw;
        display:block;
    }
}
