/* body {
    overflow: hidden;
} */

* {
    box-sizing: border-box;
    font-family: 'Courier New', monospace;
}

#chart {
    width: min(80vw, 100%);
    height: 40vh;
    margin: 0px auto;
}

.stuff {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 10px;
}

.stuff * {
    transition: 200ms;
}

.scrolls {
    width: min(70vw, 95vw);
    max-height: 40vh;
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid black;
    border-radius: 10px;
}

#buttons {
    display: flex;
    flex-direction: column;
    padding: 15px;
}

.button-card {
    border: 1px solid black;
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    width: 100%;
    margin-bottom: 15px;
    background-color: lightgray;
}

pre {
    white-space: pre-wrap;
    word-break: break-word;
}

.button-card:hover {
    transform: scale(1.05);
}

.no-hover:hover {
    transform: none;
}
/* 
.button-card:active {
    transform: scale(0.99);
} */

button {
    border-radius: 8px;
    padding: 6px 12px;
    cursor: pointer;
}

.labels {
    margin-bottom: 10px;
}

label {
    display: block;
    margin: 4px;
}

.title {
    font-size: large;
    font-weight: bold;
}

#get_custom {
    margin-top: 8px;
    width: 90%;
    height: 30px;
    border-radius: 10px;
}

/* #set_custom:hover {
    transform: scale(1.05);
} */

@media (max-width: 600px) {
    #chart {
        width: 100vw;
        height: 35vh;
    }

    .scrolls {
        width: 95vw;
    }

    .stuff {
        padding: 5px;
    }
}

/* .value-span {
    display: inline-block;
    min-width: 6ch;
    text-align: right;
} */