@font-face {
  font-family: "KoHo";
  src: url(assets/font/KoHo-Medium.ttf);
}
@font-face {
  font-family: "Rubik";
  src: url(assets/font/Rubik-Medium.ttf);
}
@font-face {
  font-family: "OxygenMono";
  src: url(assets/font/OxygenMono-Regular.ttf);
}


@font-face{
  font-family : "PressStart2P";
  src : url(assets/font/PressStart2P-Regular.ttf);
}


body {
  /*touch-action: none;*/
  font-family: "Karla";
  background-color: #ddd;
  color: #555;
  margin: 0px;
  /*overflow: hidden;*/
  position: fixed;
  width: 100%;
  height: 100%;
}
canvas{
  position: absolute;
  top : 0;
  left: 0;
}

/*#logos{
  position: fixed;
  z-index: 100;
  width: 512px;
  height: 512px;
  image-rendering: pixelated;
  left : calc(100vw - 512px);
  top : calc(100vh - 512px);
  display: none;
}*/
#verseny-logo{
  position: absolute;
  width: 10vh;
  height: 10vh;
  right: 13vh;
  top:2vh;
}

#sponsors{
  opacity: 0;
}
#main{
/*display: none;*/
}
#page{
  position: fixed;
  height: 100%;
  width : 80%;
  left : 0;
  top : 0;

  /*box-shadow: 0 1vh 1vh 0.5vh #6661;*/
  padding: 0;
  overflow: hidden;
  /*display: none;*/
  /*transform-origin: top;*/
  outline: none;
  background-color: #eee;
  z-index: 1000;
}
#titlebar{
  box-shadow: 0 0 2vh 0.5vh #6662;
  position: fixed;
  /*bottom: 0;*/
  top:0;
  left:0;
  width: 100%;
  height: auto;
  z-index: 1000;
  /*cursor: grab;*/
  outline: none;
  /*background-color: #cccc;*/
  background-color: #cccc;
  font-family: "Rubik" !important;
  font-weight: bold;
  /*height: 8vh;*/
}

#title{
  padding: 1.5vh;
  padding-left: 1vh;
  position: relative;
  box-sizing: border-box;
  /*width: calc((100vw - 24vh) / 2);*/
  height: auto;
  display: inline-block;
  font-size: 4.3vh;
  color :#444;
  text-transform: uppercase;
  /*user-select: none;*/
  outline: none;
}

.title_button{
  outline: none;
  font-family: "Rubik" !important;
  box-sizing: border-box;
  position: relative;
  top : 0;
  margin: 0;
  min-width: 5vh;
  width: auto;
  min-height: 8vh;
  max-height: 8vh;
  border: none;
  background : transparent;
  margin: 0;
  color : #555;
  font-size: 4.3vh;
  padding-top: 1.5vh;
  padding-bottom: 2.5vh;
  padding-left: 2vh;
  padding-right: 2vh;
  /*user-select: none;*/
}

#left{
  left : auto;
  top : 0;
}
#previous{
  left : auto;
}
#next{
  position: absolute;
  top : 0;
  right: 0;
}
.title_button:hover{
  color : #111;
  cursor: pointer;
  background-color: #ddd;
  outline: none;
}
.title_button:focus{
  outline: none;
}


#close{
  position: absolute;
  right : 0;
  background-color: #eee0;
  top :0;
  z-index: 10;
  width: 8vh;
}

#inner{
  position: relative;
  width: 100%;
  height: 100%;
  overflow-x: hidden;

  box-sizing: border-box;
}

.simplebar-scrollbar.simplebar-visible::before{
  background-color: #eeef;
  /*position: relative;*/
}
.simplebar-track.simplebar-vertical{
  /*background-color: #6662 !important;*/
  min-width: 8vh;
}
.simplebar-content-wrapper{
  border: 1px solid #444 !important;
}
#inner .simplebar-content{
  padding: 5vw !important; /*3em !important;*/
  /*padding-left : 2em !important;*/
  padding-top: 0 !important;
}
.simplebar-scrollbar{
  min-width: 4vh !important;
}
.simplebar-scrollbar.simplebar-visible::before{
  background-color: #aaa5;
}
.simplebar-scrollbar:before{
  background-color: #0000;

}

#center{
  position: fixed;
  left: 49.5%;
  width : 1%;
  height: 100%;
  background-color: #fff;
  display: none;
}

iframe{
  background:transparent;
}

#phone{
  position: absolute;
  height: 100%;
  background: #333;
  box-shadow: 0px 1px 4px 4px #0005;
  z-index: 10000;
}

#screen{
  position: fixed;
  border-radius: 4px;
  border: 2px solid #444 !important;
  overflow: hidden;
  box-sizing: content-box;
}

#home_button, #left_button, #right_button{
  position: fixed;
  background-color: #666;
  border-radius: 4px;
  padding-top: 5px;
  outline: none;
  border-bottom : 3px solid #0005 !important;
  cursor: pointer;
  color : #aaa;
}
#home_button:active, #left_button:active, #right_button:active{
  margin-top : 2px;
  /*border-top : 3px solid #0000 !important;*/
  border-bottom : 1px solid #0005 !important;
}

#left_button, #right_button{
  display: none;
}
#left_button_image{
  transform: scaleX(-1);
}


#todo{
  position: absolute;
  top : 0;
  left: 0;
  width: 100%;
  /*height: 6%;*/
  background-color: #666f;
  text-align: right;
  padding: 0;
  box-sizing: border-box;
  padding-right: 0.5em;
  /*padding-top: 4px;*/
  /*padding-bottom : 4px;*/
  z-index: 999;
  transition : top 400ms;
  cursor: pointer;

  /*display: flex;*/
  /*vertical-align: middle;*/
}
#todo_container{
  position: absolute;
  background-color: #fff9;
  /*overflow: hidden;*/
  padding-top: 1.5em;
  padding-bottom: 2em;
}
#todo_title{
  position: relative;
  left : 0;
  top : 0;
  color: #fff;
  vertical-align: middle;
  box-sizing: border-box;
  padding: 1em;
  text-align: left;
  background-color: #fff8;
  color : #444;
  font-weight: bold;
}
#todo_list{
  position: relative;
  padding-top: 0.5em;
  padding-bottom: 1em;
}
#check{
  position: absolute;
  opacity: 0.3;
}
#volume{
  position: absolute;
  left: 0.5em;
  opacity: 0.8;
}
#volume.muted{
  opacity: 0.2
}
.noticon{
  cursor: pointer;
}
.todo_item{
  text-align: left;
  width: auto;
  box-sizing: border-box;
  padding-left: 1.5em;
  padding-right: 1.5em;
  padding-right: 1.5em;
  margin-left: 0.5em;
  margin-top: 0.5em;
  margin-bottom :0.5em;
}
.checked{
  text-decoration : line-through;
  color : #4444;
}
#status{
  position: absolute;
  bottom : 0;
  left: 0;
  width: 100%;
  height: 6%;
  background-color: #666d;
  text-align: right;
  padding: 0;
  box-sizing: border-box;
  padding-right: 0.5em;
  /*padding-top: 4px;*/
  /*padding-bottom : 4px;*/
  z-index: 999;
  /*display: flex;*/
  /*vertical-align: middle;*/
}
#lang{
  color :#ddd;
  font-size : 100%;
  cursor: pointer;
  position:absolute;
  font-family: "Rubik";
  padding: 0;
  /*top : -40px;*/
  margin : 0;
  text-align: center;
  vertical-align: middle;
}
#clock{
  cursor: pointer;
  color : #eee;
  font-family: "OxygenMono";
  position: relative;
  /*box-sizing: border-box;*/
  margin-top: -0.7em;
  /*margin: 0;*/
  padding: 0;
  display: inline-block;
  text-align: center;
  vertical-align: middle;
  font-size : 1em;
}


#gl{
  position: absolute;
  width : 100%;
  height: 100%;
  /*image-rendering: pixelated;*/
  cursor: pointer;
}

#menu{
  position: absolute;
  width : 100%;
  /*height: 100%;*/
  background-size: cover;
  background-color: #eee;
  overflow: hidden;
  z-index: 1002;
  transition: left 300ms, opacity 200ms, top 300ms, width 300ms;
}

.menu_item{
  cursor: pointer;
  outline: none;
  position: relative;
  width : 100%;
  text-align: left;
  /*background-color: #666;*/


  border-top : 1px solid #888 !important;
  border-bottom : 1px solid #888 !important;
  /*padding: 0;*/
  padding-left: 0.5em;
  font-family: Rubik !important;
  text-transform: uppercase;
  font-weight: bold;
  border-collapse: collapse;
  box-sizing: border-box;
  overflow: hidden;
  background-color: inherit !important;
}
/*:focus{
    outline: none !important;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}*/
.menu_image{
  position: absolute;
  top : 50%;
  min-height: 50%;
  max-height: 50%;
  filter: brightness(0%);
  /*filter: invert(48%) sepia(79%) saturate(3000%) hue-rotate(180deg);*/
  /*display: none;*/
}
.menu_text{
  /*position: relative;*/
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  margin-left: 2.2em;
  vertical-align: middle;
  font-size: 1.5em;
  color: #1D62AF;
  /*color: #26ABE2;*/
  /*color: #ffff;*/
  /*background-color: #1D62AF;*/

  /*color : #444;*/
}
.menu_item:hover{
  filter: brightness(130%);
}
.selected_menu{
  filter: brightness(60%);
}
.menu_item.selected_menu .menu_image{
}

.menu_item.selected_menu .menu_text{
  color: #000;
}

#logos{
  display: flex;
  flex-wrap: nowrap;
  position: absolute;
  width : 100%;
  background-color: #777;
  z-index: 1001;
  padding: 10px;
  box-sizing: border-box;
  z-index: 1002;
}

.logo_image{
  margin: auto;
  border-radius: 5px;
  padding: 3px;
  box-sizing: border-box;

  background-color: #aaa8;
  position: relative;
  /*flex : 50%;*/
  width: 33%;
  object-fit: contain;
  /*width: auto;*/
  height: 95%;
  max-height: 100%;
}

.modal {
  z-index: 20000 !important;
}

button {
  font-size: 13.5px;
  line-height: inherit;
}

#video_controls{
  position : absolute;
  bottom : -62px;
  left : 0;
  width : 100%;
  height : 61px;
  background-color : #0ff;
  z-index:1000;
  transition : all 0.4s ease;
  /*border-top : 8px solid #eee !important;*/
}
#winners_maze{
  position : absolute;
  left : 0;
  top : 0;
  height : 100%;
  width : 100%;
  background-color : #000;
  display : none;
  z-index:10;
  /*opacity : 0;
  pointer-events: none;*/
}

#winner_tooltip{
  position: fixed;
  z-index:2000;
  background-color : #888;
  color : #000;
  height : auto;
  width : auto;
  left : 50%;
  top : 50%;
  display: none;
}
.hidden{
  opacity: 0;
  pointer-events: none;
}
#winner_video{
  z-index:-1000;
}

h1{
  text-transform: uppercase;
  color : #333;
  font-size : 16.5px;
}

h3{
  /*text-transform: uppercase;*/
  color : #333;
  font-size : 16.5px;
}


.winner-name{
  text-align : left;
  padding-left : 1.4em;
  font-weight: bold;
  font-family : "Rubik";
  font-size : 1em;
  color : #555;
}

.winner-title{
  text-transform : uppercase;
  font-family : "Rubik";
  text-align : left;
  padding-left : 1em;
  font-weight: bold;
  font-size : 1.4em;
  color : #000;
  padding-top : 0.75em;
}

.winner-text{
  text-align : left;
  padding : 1.5em;
  padding-top : 1em;
  font-size : 1em;
}

#winner_videos{
  position: fixed;
  left : 0;
  top : 100%;
}
#winner_videos video{
  position : relative;
  max-width: 200px;
}