body{
    margin: 0%;padding: 0%; box-sizing: border-box;

    font-family: var(--font);
    color: var(--text-color);
    background-color: var(--background-color);
}

h1,h2,h3,h4,h5,h6,p{

    color: var(--highlighted-color);
    text-align: center;
}

button, select{
    background-color: var(--secondary-color);
    color: var(--highlighted-color);
    outline: var(--border);
    padding: 5px;
    border-radius: var(--smallroundness);
    border-style: none;
    min-height: 30px;
    min-width: 30px;

}

a{
    text-decoration: none;
    color: var(--highlighted-color);
}
a:hover{

    transform: scale(1.05);
}

main{

    position: relative;

}

button:hover{
    background-color: var(--text-color);
    color: var(--background-color);
    cursor: default;
}

.bordered{
    outline: var(--border);
    border-radius: var(--roundness);
    padding: var(--padding);
    margin: var(--margin);
    background-color: var(--panelcolor);
    box-shadow: var(--boxshadow);
}

.grid {
    display: grid;
    grid-template-columns: auto auto auto;
    justify-content: center; /* centers the grid horizontally */
    gap: 10px; /* optional: adds space between items */
}

.grid>*{

    width: 300px;

}

.container{
    text-align: center;
}

.buttonrow{
    border-radius: var(--smallroundness);
    position: absolute;
    max-width: fit-content;
}

#renderwindow{
    
    margin: auto;
    height: 100dvh;
    width: 100dvw;
    position: relative;
    overflow: hidden;
    /* background-color: #ce7e16; */
}

#mainflex{

    display: flex;

}

.menu{
    position: absolute;

}

