@font-face {
    font-family:omnes ;
    src: url("/Assets/Omnes Regular.ttf");
  }

html, body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: rgb(32, 32, 32);
}

.container {
    width: 90%;  /* Zorgt ervoor dat het op kleine schermen goed past */
    max-width: 600px; /* Voorkomt dat het te breed wordt op grote schermen */
    text-align: center;
}



#controlsBackground {
    position: absolute;
    top: calc(45vh);
    width: min(90vw, 40vh);
    height: min(90vw, 40vh);
    background-color: rgb(0,30,8);
    border-radius: 15%;
}

button {
    position: absolute;
    border: none;
    background-color: #002b38;
    color: white;
    outline: 2px solid rgb(0,30,8);
    border-radius: 20px;
    cursor: pointer;
    user-select: none; /* Voorkomt tekstselectie */
    -webkit-user-select: none; /* Voor Safari */
    -moz-user-select: none; /* Voor Firefox */
    -ms-user-select: none; /* Voor oudere Edge */
}
#buttonleft {
    top: calc(50% - 0.5 * min(22.5vw, 10vh));
    left: calc(50% - min(33.75vw, 15vh));
    width: min(33.75vw, 15vh);
    height: min(22.5vw, 10vh);
}
#buttonright {
    top: calc(50% - 0.5 * min(22.5vw, 10vh));
    left: calc(50%);
    width: min(33.75vw, 15vh);
    height: min(22.5vw, 10vh);
}
#buttonshoot {
    top: calc(50% + 0.5 * min(22.5vw, 10vh));
    left: calc(50% - 0.5 * min(67.5vw, 30vh));
    width: min(67.5vw, 30vh);
    height: min(22.5vw, 10vh);
}
#buttonup{
    top: calc(50% - 1.5 * min(22.5vw, 10vh));
    left: calc(50% - 0.5 * min(67.5vw, 30vh));
    width: min(67.5vw, 30vh);
    height: min(22.5vw, 10vh);
}


* {
    touch-action: manipulation;  /* Voorkomt dubbel tikken om te zoomen */
    user-select: none;
    -webkit-user-select: none; /* Voor Safari */
    -moz-user-select: none; /* Voor Firefox */
    -ms-user-select: none; /* Voor oudere Edge */
}

html, body {
    overflow: hidden;
}

#headertekst {
    position: absolute;
    top: 1vh;
    font-size: 5vh;
    user-select: none; /* Voorkomt tekstselectie */
    -webkit-user-select: none; /* Voor Safari */
    -moz-user-select: none; /* Voor Firefox */
    -ms-user-select: none; /* Voor oudere Edge */
}

#logo {
    position: absolute;
    top: 1vh;
    height: 10vh;
    max-width: 100vw;
    max-height: 19vw;
    filter: invert();
    z-index: 11;
}


#topBlockBackground {
    position: absolute;
    top: calc(12.5vh);
    width: min(90vw, 40vh);
    height: min(67.5vw, 30vh);
    background-color: rgb(0,30,8);
    border-radius: calc(0.15 * min(90vw, 40vh));
}
#minimap {
    position: relative;
    top: calc(50% - 0.5 * min(56.25vw, 25vh));
    left: calc(50% - 0.5 * min(56.25vw, 25vh));
    width: min(56.25vw, 25vh);
    height: min(56.25vw, 25vh);
    border-radius: calc(0.5 * min(67.5vw, 25vh));
    background-color: #000000
}


#background{
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgb(0,0,0);
    z-index: -10;
}



.cardinal {
    position: absolute;
    font-size: 100%;
    font-family: Arial, Helvetica, sans-serif;
    color: rgb(255, 106, 0);
}
#north{
    top: calc(5%);
    left: calc(50% - 0.5em);
    transform: rotate(180deg);
}
#south{
    top: calc(85%);
    
    left: calc(50% - 0.5em);
}
#east{
    top: calc(50% - 0.5em);
    left: calc(50% - 45%);
    transform: rotate(90deg);
}
#west{
    top: calc(50% - 0.5em);
    left: calc(50% + 39%);
    transform: rotate(270deg);
}


.roomOverlay{
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: rgb(0,30,8);
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;

    font-family: omnes;
    color: rgb(196, 227,191);
    font-size: 150%;
    text-align: center;
    overflow: hidden;
    justify-content: center;
    align-items: center;
}

.reloadButton{
    position: absolute;
    top: 55%;
    height: 10%;
    width: 60%;
    font-family: omnes;
    color: rgb(196, 227,191);
    font-size: 100%;
    text-align: center;
    overflow: hidden;
    justify-content: center;
    align-items: center;
    background-color:#004b58;
}
.textBox{
    position: absolute;
    top: 35%;
    left: 10%;
    width: 80%;
    height: 15%;
    background-color: #002b38;
    border-radius: 20px;
    font-family: omnes;
    color: rgb(196, 227,191);
    font-size: 100%;
    text-align: center;

    /* center content vertically & horizontally */
    display: flex;
    flex-direction: column; /* allows multiline centering */
    justify-content: center; /* vertical centering */
    align-items: center;     /* horizontal centering */
}