:root {
    --color_1: #0E74B3;
    --color_2: #42B7FF;
    --color_3: #B36800;
    --color_4: #FFA529;
    --color_5: #12345678;
    --color_6: rgba(244, 244, 234, 0.95);
    --min-height: 800px;
}

html, body {
    margin: 0;
    width: 100%;
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    background: var(--color_2) url('img/MusicBox.png') no-repeat right top;
}

header {
    display: flex;
    height: 8%;
    padding-left: 10px;
    justify-content: space-between;
}

header select {
    box-shadow: 2px 2px 4px var(--color_1);
    border-radius: 5px;
}

#container {
    display: flex;
    height: 92%;
}

#sidebar {
    flex: 0;
    padding: 8px;
}

#result-bar {
    flex: 1;
    overflow-y: auto;
    margin: 24px 0 0 16px;
    padding: 32px;
    border-radius: 0;
    word-wrap: anywhere;
    font-size: 24px;
    background: var(--color_5);
    box-shadow: 0 0 8px var(--color_5);
    outline: var(--color_5) 2px dashed;
    color: white;
}

.content {
    height: 100%;
    padding: 4px 8px;
    line-height: 1.5;
}

.content b {
    font-size: 20px;
}

.box-area {
    text-align: left;
    width: 100%;
    background: var(--color_4);
    box-shadow: 2px 2px 4px var(--color_3);
    border-radius: 10px;
    margin: 16px 0;
}

.box-area p {
    margin: 4px 0;
}

button, #jumpToSelect {
    text-align: center;
    width: 100%;
    font-size: 16px;
    border-radius: 5px;
    margin: 4px 0;
    border: 2px solid var(--color_3);
    min-height: 32px;
    transition: 0.5s;
    background: #ffe2b9;
}

button:enabled:hover {
    border: 2px solid var(--color_1);
}

button.clicked {
    background-color: #e3c9a5;
    border: 2px solid var(--color_1);
}

button:enabled:active {
    transform: scale(0.99);
}

.result-title, .result-instrument {
    margin: 32px 0;
    user-select: none;
    border-radius: 8px;
    font-size: 32px;
    font-weight: bold;
}

.result {
    padding: 10px;
    margin: 36px 0;
    user-select: none;
    background: var(--color_6);
    box-shadow: #aca088 2px 2px 4px;
    border-radius: 8px;
    font-size: 16px;
    line-height: 2;
    color: black;
    transition: background-color 0.5s, box-shadow 0.5s;
}

.result.clicked {
    background: var(--color_5);
    box-shadow: var(--color_5) 2px 2px 4px;
}

.result-text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    overflow: hidden;
}

.result-text-title {
    font-weight: bold;
    font-size: 20px;
}