@font-face {
    font-family: bahnschrift;
    src: url(BAHNSCHRIFT.ttf);
}

body {
    margin: 0;
    overflow: hidden;
    font-family: bahnschrift;
}

@media screen and (orientation:portrait) {
    #map {
        display: inline-block;
        width: 100vw;
        height: calc(100vh - 400px);
    }

    #cont {
        vertical-align: top;
        display: inline-block;
        width: 100vw;
        height: 400px;
    } 
}
@media screen and (orientation:landscape) { 
    #map {
        display: inline-block;
        width: calc(100vw - 505px);
        height: 100vh;
    }

    #cont {
        vertical-align: top;
        display: inline-block;
        width: 500px;
        height: 100vh;
    } 
}

#cont {
    overflow-y: auto;
}

#conf, #gameShow, #gameReveal, #gameEnd {
    padding: 20px;
}

h1 {
    margin: 0;
    font-size: 2em;
}

h2 {
    margin: 20px 0 10px 0;
}

input[type="range"] {
    width: 100%;
    accent-color: #6b2727;
}

.button {
    cursor: pointer;
    width: fit-content;
    border: 2px #6b2727 solid;
    padding: 20px 40px;
    border-radius: 10px;
    margin: 20px auto 0 auto;
    user-select: none;
}

.button:hover {
    background-color: #5f5f5f21;
}

select {
    width: 100%;
    border: 2px #6b2727 solid;
    padding: 10px;
    border-radius: 10px;
    margin: 0px auto 0 auto;
    background-color: white;
}

select:hover {
    background-color: #5f5f5f21;
}

dialog {
    border-radius: 5px;
    border: none !important;
}

dialog::backdrop {
    backdrop-filter: blur(10px);
}

dialog h3 {
    margin: 20px;
}

.adressField {
    border: 4px #6b2727 solid;
    padding: 20px;
    border-radius: 10px;
    font-size: 2em;
    font-weight: bold;
    margin: 20px 0 0 0;
}

#revealText, #endText {
    font-size: 1.3em;
    line-height: 2em;
}

footer {
    position: relative;
    margin: 20px 0;
    vertical-align: bottom;
    bottom: 0;
    text-align: center;
    line-height: 1.7em;
}