@font-face {
    font-family: 'RockSalt';
    src: url('../fonts/RockSalt-Regular.ttf')  format('truetype');
}

@font-face {
    font-family: 'Linurix';
    src: url('../fonts/linurix.woff') format('woff'),
         url('../fonts/linurix.ttf')  format('truetype');
}

html, body{
    margin:0; padding: 0; height: 100%;
}


body{
    font-family: Linurix, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0B3948;
    color: #fff;
}

#loading {height: 100vh; width: 100%;}
#map { height: 100%; width: 100%;}
#menu, #map, #infoboxen {display: none;}
#teamauswahl, #spielerauswahl {margin:1rem;}
button img {height:100px;}

.title {
    font-family: 'RockSalt';
    font-size: 4rem;
    text-align: center;
}

#start img {
    height: 2rem;
    position: relative;
    top: -4rem;
}

button, input, select {
    font-family: Linurix;
    font-size: 1rem;
}

button {
    
    padding: 10px;
    border: none;
    background-color: #6F8F72;
    color: #fff;
    margin: 5px;
}

button.back {
    background-color: inherit;
}

button:hover , button.back:hover {
    background-color: #77AD78;
}

button.selected {
    background-color: #504B43;
}



select {
    padding: 10px;
    border: 1px solid #0B3948;
    background-color: white;
    color: black;
    display: inline-block;
}

div.center {
    display: flex;
    justify-content: center;
    align-items:center;
    text-align: center;
    min-height: 100%;
    width: 100%;

}

.leaflet-touch .leaflet-bar a.leaflet-control-navbar-spielstand {
    text-align: left;
    width: 85px;
    font: bold 26px 'Lucida Console', Monaco, monospace;
    display: none;
}

.leaflet-touch .leaflet-bar a.leaflet-control-navbar-timer {
    text-align: center;
    width: 130px;
    font: bold 26px 'Lucida Console', Monaco, monospace;
}

.blink {    
    animation-name: animation_blink;
    animation-timing-function: ease-in;
    animation-duration: 2s; 
    animation-iteration-count: infinite;            
}

@keyframes animation_blink {
    0% { opacity: 1; background-color: red; text-align: center; width: 130px; font: bold 26px 'Lucida Console', Monaco, monospace;}
    50% { opacity: 0.1;  background-color: white; text-align: center; width: 130px; font: bold 26px 'Lucida Console', Monaco, monospace;}
    100% { opacity: 1; background-color: red; text-align: center; width: 130px; font: bold 26px 'Lucida Console', Monaco, monospace;}    
}

a.leaflet-control-navbar-spielstand img {
    height: 30px;
    margin: 0px 5px;
    float: left;
}

a.leaflet-control-navbar-spielstand span {
    margin: 0px 5px;
    float: right;
}

div#qrcode{
    padding: 10px;
    background-color: white;
}

input#timer_value {
    width: 50px;
    padding: 0.25rem;
    text-align: center;
}


#infoboxen {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    background-color: #0B3948AA;
}

.infobox {
    display: none;    
    background-color: white;
    color: #0B3948;
    width: 250px;
    margin:auto;
    padding: 10px;
}

.infobox table th, .infobox table td {
    text-align: left;  
    vertical-align: top;  
}

.infobox table th {    
    padding: 5px 5px 5px 0px;  
}

.infobox table td {    
    padding: 5px 0px 5px 5px;  
}

.infobox table img {
    height: 1rem;
}

.infobox button.close {
    width: 30px;
    height: 30px;
    float: right;
    padding: 2px 10px 5px;
    margin: 0px;
}


#spielerauswahl button {
    position: relative;
}

#spielerauswahl button a {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0.25rem 0.5rem;
    background-color: #504b43AA;
}

.info {
    height: 20px;
}
