:root {
    --font-color-importent: #f5f5f5;
    --font-color-main: #e9e9e9;
    --font-color-sub: #c0c0c0;
    --background-color-main: #1b1b1b;
    --background-color-sub: #292929;
    --border-color-main: #4e4e4e;
    --border-color-sub: #414141;
}

.normal {
    font-weight: 500;
}

.semibold {
    font-weight: 700;
}

.bold {
    font-weight: 800;
}

html, body {
    background-color: var(--background-color-main);
    color: var(--font-color-main);

    min-width: 100vw;
    min-height: 100vh;

    overflow-x: hidden;

    margin: 0;
    padding: 0;

    font-family: "JetBrains Mono", monospace;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

body {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 0.5fr 1fr 1fr 1fr;
    grid-template-areas: 
        "Title Data Data Data"
        "List Data Data Data"
        "List Data Data Data"
        "List Data Data Data";
    gap: 10px 10px;
}

#title { grid-area: Title; }
#list { grid-area: List; }
#data { grid-area: Data; }

#title {
    max-width: 75%;
    max-height: 100%;
    
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;

    background-color: var(--background-color-sub);
    color: var(--font-color-importent);

    border-right: var(--border-color-main) 3px solid;
    border-bottom: var(--border-color-main) 3px solid;
    border-radius: 0 0 0.5vw 0;

    font-size: 3.3rem;
    text-align: center;
}

#list {
    font-size: 2rem;
    text-align: center;
    max-width: 75%;
    max-height: 84.5vh;
    border-right: var(--border-color-sub) 3px solid;
    margin-top: -1.05vh;
    padding-top: 1.5vh;
    display: flex;
    align-items: center;
    flex-direction: column;
    overflow-y: scroll;
}

#list > div {
    height: fit-content;
    width: fit-content;
    margin-bottom: 1vh;
}

#list > div > span {
    border-bottom: var(--border-color-sub) 2px solid;
    margin-bottom: 1vh;
}

#list > div > span:hover {
    cursor: pointer;
}

#data {
    margin-left: -4vw;
    text-align: center;
    font-size: 2rem;
    padding-top: 2vh;
}

#dataName {
    font-size: 3rem;
}

#dataError {
    display: none;
}

/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #2b2b2b; 
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: #888; 
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555; 
}