* {
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
    background: none;
    text-decoration: none;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

body {
    --header-height: 87px;
    font-family: "Poppins", sans-serif;
    overflow: hidden;
    height: 100vh;
}


header {
    width: 100%;
    height: var(--header-height);
    padding: 10px;
    background-color: #3b3243;
}

header * {
    color: white;
}

header select {
    display: block;
    padding: 5px 8px;
    background-color: #665b71;
    cursor: pointer;
    margin: 4px;
    border-radius: 2px;
}

header select option {
    background-color: #3b3243;
    color: white;
}

header button {
    display: block;
    padding: 5px 8px;
    background-color: #665b71;
    cursor: pointer;
    margin: 4px;
    border-radius: 2px;
    transition: .075s;
}

header button:not(:disabled):hover {
    background-color: #837293;
}

header button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

main {
    display: flex;
    flex-direction: row;
    flex: 1;
    height: calc(100vh - var(--header-height) + 10px);
    /* background: yellow; */
}

/* Context menu */

.context-menu {
    position: fixed;
    padding: 5px 0;
    font-weight: 300;
    font-size: 14px;
    color: white;
    background: #3b3243;
    border-radius: 3px;
    user-select: none;
    box-shadow: 5px 5px 50px -15px rgb(0, 0, 0);
    transition: opacity 0.15s;
    z-index: 100;
}

.context-menu-option {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 2px 20px;
}

.context-menu-option:not(.no-select) {
    cursor: pointer;
    transition: all .075s;
}

.context-menu-option.option-disabled {
    pointer-events: none;
    opacity: 0.5;
    cursor: default;
}

.context-menu-option:not(.option-disabled):hover {
    background: #665b71;
}

.context-menu-option-delimiter {
    height: 1px;
    margin: 5px 0;
    background: #665b71;
}

.context-menu-option-slider .slider-value {
    padding: 0 5px;
    min-width: 32px;
}

.context-menu:has(input:active) {
    opacity: 0.5 !important;
}


/* Utils */
.flex {
    display: flex;
}

.flex.row {
    flex-direction: row;
}

.flex.column {
    flex-direction: column;
}

.flex.center {
    align-items: center;
    justify-content: center;
}

.flex.row.h-center,
.flex.column.v-center {
    justify-content: center;
}

.flex.row.v-center,
.flex.column.h-center {
    align-items: center;
}

.flex.row.baseline,
.flex:not(.column).baseline {
    align-items: baseline;
}

.dot {
    min-width: 3px;
    min-height: 3px;
    margin: 0 8px;
    border-radius: 50%;
    background-color: white;
    opacity: 0.4;
}