html {
    font-family: Roboto, Arial, Helvetica, sans-serif !important;
    font-size: 14px;

    /* Firefox - Hides track and changes thumb color */
    scrollbar-color: hsla(0, 0%, 46%, 0.25) transparent;
    scrollbar-width: none;
}

/* Chrome - Hides track and width/height set for vertical/horizontal scrollbars */
    ::-webkit-scrollbar {
        background-color: transparent;
        width: 7px;
        height: 7px;
    }

    /* Chrome - Changes thumb color and rounds scrollbar edges, in Chrome any 
    scrollbar changes disables default styling and rounding so corners appear squared */
    ::-webkit-scrollbar-thumb {
        background-color: hsla(0, 0%, 46%, 0.5);
        border-radius: 8px;
    }

body {
    font-family: Roboto, Arial, Helvetica, sans-serif !important;
    font-size: 14px;
 /*   scrollbar-color: #36454F black;
    scrollbar-width: none;*/
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.btn-hint-close {
    position: absolute;
    top: 8px;
    right: 8px;
}

.btn-new-level-close {
/*    position: absolute;
    top: 8px;
    right: 8px;*/
    background-color: black;
    color: white;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/* full-screen div container */
.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    overflow: auto;
    background: purple; /* Just to visualize the extent */
}


.index-input-box {
    width: 100% !important;
}

.challenge {
    display: inline;
    vertical-align: middle;
    border: 8px;
    padding: 8px 24px 8px 24px;
    border-radius: 8px;
    background-color: navy;
    color: white;
    font-family: Roboto;
    font-size: 1.75vw;
}

#robot-face-container {
    width: 100%;
    text-align: center;
    border-radius: 50%;
    border-color: yellow;
}

#img-robot-face {
    border-radius: 50%;
    background-color: white;
}


.end-game-panel {
    font-size: 1.25vw;
    color: white;
    max-height: 90vh;
    overflow-y: auto;
}

.btn-submit-email {
    /*font-size: 1.5vw;*/
    /*padding: 8px 32px 8px 32px;*/
    padding: 0.5vw 1vw 0.5vw 1vw;
    width: auto;
    border: 8px solid black;
    border-radius: 10px;
    background-color: black;
}

input[type='checkbox'] {
    accent-color: purple;
    height: 1.5vw;
    width: 1.5vw;
}

input[type='radio'] {
    accent-color: purple;
}

/* The sidebar menu */
.panel-left {
    z-index: 1; /* Stay on top */
    background-color: black; /*#0063ff*/
    overflow-x: hidden; /* Disable horizontal scroll */
}

    .game-hidden {
        display: none;
    }

    .panel-left .btn {
        margin: 8px;
        border-width: 2px;
        border-color: white;
        color: white;
        font-weight: bold;
        font-size: 18px;
    }

    .panel-title {
        font-size: 1.25vw;
        font-weight: bold;
        margin-top: 0.5vw;
        margin-bottom: 0.5vw;
        color: white;
    }

    .panel-left .game-btn-selected {
        background-color: darkorange !important;
    }

        /* When you mouse over the navigation links, change their color */
        .panel-left a:hover {
            color: #f1f1f1;
        }

/* Style page content */
.main {
    margin-left: 160px; /* Same as the width of the sidebar */
    padding: 0px 10px;
}

/* On smaller screens, where height is less than 450px, change the style of the sidebar (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
    .panel-left {
        padding-top: 15px;
    }

        .panel-left a {
            font-size: 18px;
        }
}

/* action and option hints */

.game-prompt {
    font-size: 1.25vw !important;
}

.panel-left {
    z-index: 1; /* Stay on top */
    background-color: black /*#0063ff*/;
    overflow-x: hidden; /* Disable horizontal scroll */
}

/* The right sidebar panel */
.panel-right {
    z-index: 1; /* Stay on top */
    background-color: #111; /* Black */
    overflow-x: hidden; /* Disable horizontal scroll */
    max-height: 90vh;
    overflow-y: auto;
}

    .property-header {
        margin-top: 1vw;
        margin-left: 0px;
        margin-bottom: 2px;
        font-weight: bold;
        font-size: 1.25vw !important;
        color: white;
    }

    .property-value {
        margin-top: 4px;
        margin-left: 0px;
        margin-bottom: 1.5vw;
        font-weight: normal;
        font-size: 1.1vw !important;
        color: pink !important;
    }

    .property-value-good {
        color: lightgreen !important;
    }

    .app-state {
        color: white;
        padding-bottom: 0px;
        line-height: 0.5vw;
        font-size: 1.1vw;
    }


    /* The navigation menu links */
    .panel-right a {
        padding: 6px 8px 6px 16px;
        text-decoration: none;
        font-size: 20px;
        color: white;
        display: block;
    }

        /* When you mouse over the navigation links, change their color */
        .panel-right a:hover {
            color: #f1f1f1;
        }

/* On smaller screens, where height is less than 450px, change the style of the sidebar (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
    .panel-right {
        padding-top: 15px;
    }

        .panel-right a {
            font-size: 24px;
        }
}

.achievement {
    width: 300px;
    height: 150px;
    position: fixed;
    background-color: orange;
    border-radius: 50%;
    top: 55%;
    left: 62%;
    margin-top: -100px;
    margin-left: -100px;
    text-align: center;
    vertical-align: middle;
    color: white;
    font-family: Arial Black !important;
    font-size: 40px !important;
}

.intro-panel {
    max-height: 85vh;
    overflow-y: auto;
}

.intro-panel div {
    font-family: Stardos Stencil;
    font-size: 2.0vw;
    font-weight: bold;
    color: white;
}

.intro-title {
    font-family: Stardos Stencil;
    font-size: 3vw !important;
}

.intro-panel b {
    color: gold;
}

.game-btn-start-game {
    width: auto;
    border: 1px solid blue;
    border-radius: 10px;
    font-size: 1.5vw;
    padding: 8px 32px 8px 32px;
}

/*********************
*                    *
*    Action Panel    *
*                    *
**********************  
--- left panel with action and option buttons */

.action-panel {
    padding-top: 8px;
    background-color: black;
    overflow-x: hidden;
    max-height: 90vh;
    overflow-y: auto;
}

.action-header {
    margin-top: 16px;
    margin-left: -8px;
    font-weight: bold;
    font-size: 1.25vw;
    color: white;
}

.options-header {
    font-size: 1.25vw;
    font-weight: bold;
    margin-top: 0.5vw;
    margin-bottom: 0.5vw;
    color: white;
}

.action-panel .btn {
    margin: 8px;
    border-width: 2px;
    border-color: white;
    color: white;
    font-size: 1.2vw;
    border-radius: 8px;
    width: 90%;
}

.action-panel .game-btn-selected {
    background-color: darkorange !important;
}

/* When you mouse over the navigation links, change their color */
.action-panel a:hover {
    color: #f1f1f1;
}

.panel-game-controls {
    position: fixed;
    bottom: 16px;
    display: inline;
}

.panel-game-controls-right {
    position: fixed;
    bottom: 16px;
    right: 16px;
    display: inline;
}

.btn-hint {
    background-color: dodgerblue;
}

.modal-backdrop {
    /*position: relative;*/
    z-index: -1 !important;
}

.modal-title {
    font-size: 1.75em !important;
}

.modal-body {
    font-size: 1.25em !important;
}

.input-box {
    width: 30vw;
}

/*******************
*                  *
*  Progress Panel  *
*                  *
********************
---- Progress Panel ---- */

/* middle center */

.progress-panel {
    position: absolute;
    min-height: 360px;
    height: auto;
    width: 600px;
    z-index: 30000;
    top: 50%;
    left: 50%;
    margin-left: -300px;
    margin-top: -200px;
    background-color: white;
    color: black;
    overflow-x: hidden;
    overflow-y: hidden;
    padding: 20px 32px 20px 32px;
    border: 8px solid orange;
    border-radius: 16px;
}

.progress-title {
    font-size: 1.6em;
    font-weight: bold;
    color: black;
}

.progress-subtitle {
    font-size: 1.3em;
    font-weight: normal;
    color: black;
    margin-bottom: 16px;
}

.progress-percent {
    font-size: 18px;
    font-weight: bold;
    color: black;
}

.progress-commentOLD {
    font-size: 18px;
    font-style: italic;
    color: black;
    margin-top: 16px;
}

.progress-comment {
    font-size: 1.2em;
    font-style: italic;
    color: black;
    margin-top: 16px;
}


.hint-panel {
    position: absolute;
    height: auto;
    width: 600px;
    z-index: 30000;
    top: 50%;
    left: 50%;
    margin-left: -300px;
    margin-top: -200px;
    background-color: white;
    color: black;
    overflow-x: hidden;
    overflow-y: hidden;
    padding: 20px 32px 20px 32px;
    border: 8px solid orange;
    border-radius: 16px;
}

.new-level-panel {
    position: absolute;
    min-height: 200px;
    height: auto;
    width: 600px;
    z-index: 30000;
    top: 50%;
    left: 50%;
    margin-left: -300px;
    margin-top: -200px;
    background-color: white;
    color: black;
    overflow-x: hidden;
    overflow-y: hidden;
    padding: 20px 32px 20px 32px;
    border: 8px solid orange;
    border-radius: 16px;
}

.warning {
    color: yellow;
}

.checkmark {
    color: lightgreen;
}

.toast {
    left: 50%;
    position: fixed;
    transform: translate(-50%, 0px);
    z-index: 9999;
}

@-webkit-keyframes blinker {
    from {
        opacity: 1.0;
    }

    to {
        opacity: 0.0;
    }
}

.blink {
    text-decoration: blink;
    -webkit-animation-name: blinker;
    -webkit-animation-duration: 0.6s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: ease-in-out;
    -webkit-animation-direction: alternate;
}


/*.intro-title {
    font-size: 24px;
    font-weight: bold;
    color: black;
}*/


/* ---- intro text scroll animation ---- */

#scroll-container {
    border: 3px solid black;
    border-radius: 5px;
    height: 100%; /* 100px; */
    overflow: hidden;
}

#scroll-text {
    height: 100%;
    text-align: center;
    /* animation properties */
    -moz-transform: translateY(100%);
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
    -moz-animation: intro-animation 30s linear 1 /*infinite*/;
    -webkit-animation: intro-animation 30s linear 1 /*infinite*/;
    animation: intro-animation 30s linear 1 /*infinite*/;
    z-index: 1;
    background-color: rgba(255,255,255,0.1);
}

@keyframes intro-animation {
    from {
        -moz-transform: translateY(100%);
        -webkit-transform: translateY(100%);
        transform: translateY(100%);
    }

    to {
        -moz-transform: translateY(-100%);
        -webkit-transform: translateY(-100%);
        /*transform: translateY(-100%);*/
        transform: translateY(0%);
    }

    40% {
        -moz-transform: translateY(0%);
        -webkit-transform: translateY(0%);
        transform: translateX(0%);
    }
}