:root{
    font-family: monospace;
    margin: 0;
    padding: 0;
    --text: #201f1f;
    --mid: #a19f9e;
    --bg: #f5f4f1;
    --hl: #E4A121;
    --hl2: #ffcb6b;
}
[data-theme="dark"]{
    --text: #f5f4f1;
    --bg: #201f1f;
}

html{
    color: var(--text);
    background-color: var(--bg);
}

hr{
    width: 100%;
    background-color: var(--text);
}
h1{
    margin: 0;
    font-size: 32px;
    font-weight: bold;
}
p{
    margin: 0;
}

.clickable:hover{
    color: var(--hl);
    cursor: pointer;
}

.shopContainer{
    position: relative;
    height: 196px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.shopCanvas{
    position: absolute;
    left: 0;
    top: 0;
    height: 196px;
    width: 100%;
    border: 1px solid var(--mid);
}

.shopWidget{
    z-index: 4;
    display: flex;
    flex-direction: column;
    height: fit-content;
    min-width: 128px;
    max-width: 256px;
    justify-content: center;
    align-items: center;
    padding: 12px 16px 12px 16px;
    background-color: var(--bg);
    border: 1px solid var(--text);
}

.shopTitle{
    font-size: 16px;
    font-weight: bold;
    margin: 4px;
}

button{
    border: none;
    background-color: var(--text);
    color: var(--bg);
    padding: 6px;
    margin: 4px;
}
button:hover{
    background-color: var(--hl);
    color: #171717;
}

.modal{
    position: relative;
    pointer-events: all;
    padding: 24px;
    max-width: 256px;
    background-color: var(--bg);
    border: 1px solid var(--text);
}

#modalContainer{
    z-index: 20;
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#notificationContainer{
    z-index: 19;
    position: fixed;
    background-color: var(--gb);
    top: 0;
    right: 0;
    width: 256px;
    max-width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    margin: 4px;
    gap: 4px;
}

.notification{
    border: 1px solid var(--text);
    display: flex;
    flex-direction: row;
}
.notification p{
    margin: 0;
    padding: 0;
}

#tooltip{
    z-index: 21;
    pointer-events: none;
    position: fixed;
    top: 0; left: 0;
    max-width: 180px;
    height: fit-content;
    padding: 4px;
    color: var(--bg);
    background-color: var(--text);
    display: none;
}

.widget{
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--text);
    background-color: var(--bg);
    font-size: 12px;
}
.side{
    justify-content: start;
    align-items: start;
    gap: 0;
    width: 200px;
    min-height: 100px;
    padding: 4px 12px 4px 12px;
}

input[type='range']{
    accent-color: var(--hl);
}

.smallButton{
    width: 20px;
    height: 20px;
    font-size: 10px;
    padding: 0;
}

.highlight{
    padding: 4px 4px;
    background: var(--hl2);
    font-weight: bold;
}

.tooltip{
    display: block;
}

.fixedContainer{
    position: fixed;
    display: flex;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    justify-content: center;
    /* align-items: center; */
    z-index: 20;
}

#fixedWidget{
    padding: 0 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--bg);
    width: 128px;
    height: 48px;
    border: 1px solid var(--text);
    transition: 0.2s;
    filter: drop-shadow(0 8px 8px rgba(1,1,1,0.15));
}

.before{
    transform: translateY(-64px);
}