*    {
    margin: 0;
    padding: 0;
    }

:root {
    --main_bg: #073B3A;
    --sec_bg: #0B6E4F;
    --med: #08A045;
    --light: #6BBF59;
    --main_fg: #DDB771;
}

@font-face {
    font-family: 'Roboto Black';
    src: url('/css/Roboto-Black.ttf') format('truetype');
}

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

body, html {
	background-color: var(--main_bg);
    /*background-image: url(/img/Scanline.png);
    background-size: 1px;
    image-rendering: pixelated;*/
    font-family: "Roboto Regular";
    color: var(--light);
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

h1,h2,h3 {
    font-family: "Roboto Black";
    margin: 0px 4px 4px 8px;
    align-self: center;
}

textarea {
    color: var(--light);
    background-color: var(--main_bg);
    border: solid 2px var(--light);
    margin: 4px;
    border-radius: 4px;
}

input {
    color: var(--light);
    background-color: var(--main_bg);
    border: solid 2px var(--light);
}

a {
    color: var(--main_fg);
}

a:hover {
    color: var(--med);
}

p {
    text-indent: 20px;
}

#top-bar{
    color: var(--main_fg);
    background-color: var(--sec_bg);
    width: 100%;
    margin: 0px;
    display: flex;
}

#bottom-body{
    width: 100%;
    margin: 0px;
    flex-grow: 1;
    display: flex;
    overflow:auto;
}

/*#side-menu{
    
}*/

.menu-mainbutton{
    font-size: x-large;
    height: 42px;
    width: 42px;
    margin: 4px;
}

.menu-button{
    font-size: x-large;
    height: 42px;
    aspect-ratio: 4;
    margin: 4px;
}

.spacer{
    flex: 1;
}

.divider-H{
    background-color: var(--sec_bg);
    margin: 8px;
    height: 2px;
}

.stack-H{
    height: 100%;
    display: flex;
    flex-direction: row;
    box-sizing: border-box;
}

.stack-V{
    width: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.button{
    background-color: var(--main_fg);
    color: var(--main_bg);
    font-family: "Roboto Black";
    border-radius: 4px;
    user-select: none;
    padding: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.button:hover {
    opacity: 0.8;
	cursor: pointer;
}
.button:active {
    opacity: 0.5;
	cursor: pointer;
}

.user-avatar {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    max-width: 128px;
    max-height: 128px;
}

.page-maincontent {
    height: 100%;
    width: calc(100%/2);
    min-width: 360px;
    display: flex;
    justify-content: center;
    padding: 4px;
    box-sizing: border-box;
}

#account-maincontent {
    height: 100%;
    width: calc(100%/3);
    min-width: 300px;
    display: flex;
    justify-content: center;
    padding: 4px;
    box-sizing: border-box;
}

#account-pic {
    background-color: var(--main_fg);
    border-radius: 16px;
    padding: 6px;
    display: flex;
    height: 50%;
    margin:auto;
    aspect-ratio: 1;
    box-sizing: border-box;
}

#uverballs{
    overflow-y: auto;
    scrollbar-width: none;
    max-height: calc(100vh - 151px);
}

#spinner_main{
    overflow: hidden;
    height: 100%;
    aspect-ratio: 1;
    position: relative;
    user-select: none;
}

#spinner_rightGap{
    height: 100%;
    width: 100px;
    min-width: 100px;
}

#spinner_container{
    aspect-ratio: 1;
    height: 100%;
    box-sizing: border-box;
    padding: 50px;
    position: absolute;
    right: 0;
}

#spinner_wheel_bg {
    aspect-ratio: 1;
    width: 100%;
    background-color: var(--main_fg);
    border-radius: 50%;
    border: hidden;
    box-sizing: border-box;
    z-index: 0;
}

#spinner_wheel_contentMask:hover {
    cursor: pointer;
}

#spinner_wheel_contentMask {
    overflow: hidden;
    aspect-ratio: 1;
    width: calc(100% - 100px);
    position: absolute;
    top: 50px;
    left: 50px;
    border-radius: 50%;
    border: solid 2px black;
    box-sizing: border-box;
    z-index: 1;
}

#spinner_wheel_content {
    aspect-ratio: 1;
    width: 100%;
    position: absolute;
    border-radius: 50%;
    border: hidden;
    box-sizing: border-box;
}

.spinner_slice_border{
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    z-index: 1;
    background: black;
    clip-path: polygon(calc(50% - 1px) calc(50% - 1px),100% calc(50% - 1px),100% calc(50% + 1px),calc(50% - 1px) calc(50% + 1px));
}

.spinner_slice_BG{
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    z-index: 0;
}

#spinner_wheel_center {
    width: 15%;
    height: 15%;
    top: 42.5%;
    left: 42.5%;
    position: absolute;
    z-index: 2;
    background-color: var(--main_bg);
    border-radius: 50%;
    border: solid 2px black;
    box-sizing: border-box;
    z-index: 2;
}

#spinner_needle_border{
    width: 60px;
    height: 50px;
    top: calc(50% - 25px);
    right: 0;
    position: absolute;
    background: black;
    clip-path: polygon(0% 50%,100% 0%,100% 100%);
    z-index: 2;
}

#spinner_needle_bg{
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    position: absolute;
    background: black;
    clip-path: polygon(4px 50%,calc(100% - 2px) 2px,calc(100% - 2px) calc(100% - 4px));
    z-index: 3;
}

#spinner_slice_textContainer{
    width: 100%;
    height: 10%;
    top: 45%;
    left: 0;
    position: absolute;
    z-index: 1;
}

#spinner_slice_text{
    top: 50%;
    right:4px;
    width: 40%;
    transform: translate(0%, -50%);
    position: absolute;
    font-family: "Roboto Regular";
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: right;
    font-size: xx-large;
}

@keyframes fadezoom_in {
    0% {
        opacity: 0;
        transform: scale(0.5) translate(-50%, -50%);
    }
    100% {
        opacity: 1;
        transform: scale(1) translate(-50%, -50%);
    }
}

#spinner_resultwindow {
    background-color: var(--main_bg);
    font-family: "Roboto Black";
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border: solid 1px black;
    border-radius: 8px;
    user-select: none;
    position: fixed;
    overflow: hidden;
    width: 640px;
    max-width: calc(100% - 100px);
    height: 240px;
    z-index: 2;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
    animation: fadezoom_in 0.1s ease-in-out forwards;
    display: flex;
    flex-direction: column;
}

#spinner_resultwindow_titlebar {
    background-color: var(--sec_bg);
    color: var(--main_fg);
    box-sizing: border-box;
    width: 100%;
    height: 50px;
    font-size: large;
    padding: 16px;
    display: flex;
    align-items: center;
    flex: 0;
}

#spinner_resultwindow_body {
    color: var(--light);
    font-size: xxx-large;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
    width: 100%;
    padding: 16px;
    flex: 1;
}

#spinner_resultwindow_buttons {
    width: 100%;
    font-size: large;
    align-items: center;
    display: flex;
    flex: 0;
}

#spinnerInput_Container {
    flex: 0 0 400px;
    max-width: 70vw;
    padding: 4px;
}

#spinnerInput_weightTitle {
    align-self: center;
    text-align: center;
    font-size: medium;
    width: 100px;
}

#spinnerInput_Names {
    width: calc(100% - 100px);
    font-size: xx-large;
}

#spinnerInput_weightContainer {
    width: 100px;
    max-width: 100px;
    padding: 4px 0px;
}

.spinnerInput_weightRow {
    flex: 0 0 30px;
    font-size: large;
    padding: 2px 0px;
}

.spinnerInput_weightInput {
    flex: 1;
    width: 50px;
    font-size: large;
    padding: 1px;
    text-align: center;
}

.spinnerInput_weightPercentage {
    flex: 0 0 50px;
    text-align: center;
}


