@font-face {
    font-family: 'Upheaval';
    src: url('./resources/upheavtt.ttf');
}

body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #202020;
}

#container {
    width: 100vw;
    height: 100vh;
    display: block;
    touch-action: manipulation;
}

.split {
    display: flex;
    align-items: stretch;
    height: 100vh;
}

#info-zone {
    min-width: 20%;
    background-color: #000000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 10px;
    box-sizing: border-box;
    height: 100%;
    overflow: auto;

    border-right-style: solid;
    border-right-color: #AAAAAA;
    color: #CCCCCC;
    overflow-x: hidden;
}

#info-toggle,
#info-close {
    display: none;
}

@media only screen and (max-width: 900px){
    #info-zone {
        display: none;
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100%;
        min-width: 0;
        z-index: 10;
        border-right: none;
    }

    body.info-open #info-zone {
        display: flex;
    }

    #container {
        width: 100%;
        height: 100vh;
        overflow: hidden;
        touch-action: manipulation;
    }

    #info-toggle {
        display: block;
        position: fixed;
        top: 10px;
        left: 10px;
        z-index: 5;
    }

    body.info-open #info-toggle {
        display: none;
    }

    body.info-open #info-close {
        display: block;
        position: fixed;
        top: 10px;
        left: 10px;
        z-index: 11;
    }
}

#info-toggle,
#info-close {
    background-color: #000000;
    color: #CCCCCC;
    border: 1px solid #AAAAAA;
    padding: 8px 14px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.95em;
    cursor: pointer;
}

p, label {
    margin: 0.6em;
    font-family: Arial, Helvetica, sans-serif;
}

label {
    font-size: 0.9em;
    white-space: nowrap;
}

a {
    color: white;
}

.title-text {
    font-family: Upheaval;
    text-align: center;
    font-size: 1.4em;
}

#description-zone {
    font-size: 0.8em;
}

.text-input {
    background-color: black;
    color: white;
    width: 100%;
    height: 1.2em;
}

.input-row {
    display: flex;
    width: 100%;
    gap: 4px;
    background-color: #101010;
}

.input-row .text-input {
    flex: 1;
    min-width: 0;
}

.input-row input[type="file"] {
    min-width: 0;
    flex: 1;
    overflow: hidden;
}

.input-row button {
    flex-shrink: 0;
}

#info-zone table {
    background-color: #101010;
    width: 100%;
    border-collapse: collapse;
}

h2 {
    font-size: 1em;
    font-weight: bold;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    color: white;
}

tr,
td {
    font-family: Arial, Helvetica, sans-serif;
    padding: 0.2em;
    font-size: 0.95em;
    text-align: left;
}

th {
    background-color: #202020;
    padding-top: 0.3em;
    padding-bottom: 0.3em;
}

tr:hover {
    background-color: #202020;
}

.tab {
    overflow: hidden;
    border-bottom: 1px solid #ccc;
}

.tab button {
    background-color: #f1f1f1;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 10px 16px;
    transition: background-color 0.3s;
}

.tab button:hover {
    background-color: #ddd;
}

.tab button.active {
    background-color: #ccc;
}

.tabcontent {
    display: none;
    padding: 10px;
    border: 1px solid #ccc;
    border-top: none;
}

.tabcontent.active {
    display: block;
}