* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Iosevka Charon Mono", monospace;
    font-weight: 600;
    font-style: normal;
    font-size: medium;
}

body,
html {
    height: 100%;
    overflow: hidden;
    /* Prevents any scrolling */
}

.canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    /* 100% of viewport width */
    height: 100vh;
    /* 100% of viewport height */
    z-index: -10;
}

#log {
    color: white;
    padding: 2.5%;
}

.obj {
    background-color: grey;
    color: white;
    padding: 5px;
    display: flex;
    flex-direction: row;
}

.obj_con {
    display: flex;
    flex-direction: column;
    margin: 5px;
}

.obj_con button {
    display: flex;
    flex-direction: column;
    margin-left: 2.5%;
}

.obj_info input {
    height: 20% !important;
    width: 1%;
}

#obj_box {
    width: 95%;
    margin: 2.5%;
    overflow: auto;
    max-height: 50vh;
}

#time_control {
    width: 95%;
    margin-left: 2.5%;
}

#time_control input {
    width: 100%;
    margin: 0%;
    margin-top: 2.5%;
}

#time_control button {
    flex: 1;
    margin-bottom: 2.5%;
}

.toolbar {
    width: 100%;
    overflow: none;
    display: flex;
}

@media (max-width: 1140px) {
    .toolbar {
        flex-direction: column;
    }
}

.tool {
    width: 100%;
    height: 0%;
    background-color: grey;
    outline: 2px solid darkgrey;
    outline-offset: -1px;
}

.tool h3 {
    margin-left: 1%;
}

.tool button {
    width: 100%;
}

.tool input,
select {
    width: 95%;
    margin-left: 2.5%;
}

.obj input {
    height: 100%;
    width: 100%;
}

#show_conics,
#show_axes {
    width: 5%;
}

.check {
    height: 50% !important;
    width: 1%;
}

input[type="file"] {
    display: none;
}

.custom-file-upload {
    width: 100%;
    display: inline-block;
    cursor: pointer;
    text-align: center;
    background-color: whitesmoke;
    font-size: smaller;
}

.zoom {
    position: absolute;
    bottom: 10px;
    left: 10px;
}

.zoom button {
    aspect-ratio: 1;
    font-size: 3vh;
    width: 5vh;
    height: 5vh;
}

@media (hover: hover) {
    .zoom {
        display: none;
    }
}

* {
    user-select: none;
}

#prompt {
    background-color: grey;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 5px;
    border-radius: 5px;
    max-width: 700px;
    width: 95%;
}

#prompt h1 {
    font-size: larger;
    text-align: center;
    color: brown;
}