* {
    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 {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: fixed;
    font-family: Helvetica, Arial, sans-serif
}

#loginPage {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    background-color: #f7f7f7;
}

#WieBenJij{
    position: absolute;
    text-align: center;
    width: 50%;
    height: 10%;
    top: 10%;
    left: calc(50% - 25%);
    font-size: 200%;
}

#nameSelectorBackground{
    position: absolute;
    width: 70%;
    height: 10%;
    top: calc(22.5% - 5%);
    left: calc(50% - 35%);
    background-color: #f4f1bb;
    border: none;
    outline: none;
    box-shadow: none;
    box-sizing: border-box;
    text-align: center;
    resize: none;
    border-radius: 50% / 70%;
}

#nameSelector{
    position: absolute;
    width: 50%;
    height: 5%;
    top: calc(20%);
    left: calc(50% - 25%);
    background-color: #f4f1bb;
    border: none;
    outline: none;
    box-shadow: none;
    box-sizing: border-box;
    text-align: center;
    resize: none;
    font-size: 200%;
        
}

#loginButton{
    position: absolute;
    width: 20vw;
    height: 20vw;
    top: calc(30%);
    left: calc(50% - 10vw);
    color: black;
    background-color: #36c9c6;
    border: none;
    outline: none;
    box-shadow: none;
    border-radius: 50%;
    font-size: 150%;
}







#cardPage{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    background-color: #f7f7f7;
}

#board{
    position: absolute;
    width: 90vmin;
    height: 90vmin;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #d9d9d9;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(5, 1fr);
    gap: 2px;
    padding: 2px;
    box-sizing: border-box;
    overflow: hidden;
}

#bingoText{
    position: absolute;
    width: 90vw;
    height: calc(100% - 10% - 90vmin);
    top: calc(5%);
    left: 5vw;
    display: flex;
    flex-direction: column; /* allows multiline centering */
    justify-content: center; /* vertical centering */
    align-items: center;     /* horizontal centering */
    font-size: calc(300%);
}

.square{
    width: 100%;
    height: 100%;
    background-color: yellow;
    border: 1px solid #1f1f1f;
    box-sizing: border-box;
    padding: 4px;
    white-space: pre-line;
    overflow: hidden;
    word-break: break-word;
    font-size: clamp(10px, 1.7vw, 14px);
    line-height: 1.1;
    display: flex;
    flex-direction: column; /* allows multiline centering */
    justify-content: center; /* vertical centering */
    align-items: center;     /* horizontal centering */
    text-align: center;
}