*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: hidden;
    font-family: 'Inconsolata', monospace;
}

:root {
    --nav-width: 80px;

    --primary-color: rgb(20, 26, 44);
    --secondary-color: rgb(7,7,7);
    --tertiary-color: rgb(0, 191, 35);
    --tertiary-color-t: rgba(0, 191, 35, 0.4);

    --light-softness: 20px;

    --animation: 0.3s;
}

body {
    background-color: var(--primary-color);
}

.container {
    width: 100vw;
    height: 100vh;
    display: flex;
}

.navbar {
    width: var(--nav-width);
    background-color: var(--secondary-color);
    height: 100vh;
    position: fixed;
    border-right: 1px solid var(--tertiary-color);
    box-shadow: 0px 0px var(--light-softness) var(--tertiary-color-t);
}

.canvas-display {
    width: calc(100vw - var(--nav-width));
    margin-left: var(--nav-width);
    display: flex;
    flex-direction: row;
}

#display-container {
    padding: 0px 0px 15px;
    height: calc(100vh - 15px);
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-top: 15px;
    margin-right: 30px;
    align-items: flex-end;
}

.display {
    width: 25%;
    position: relative;
    right: 0;
    height: 49%;
    background-color: var(--secondary-color);
    color: var(--tertiary-color);
    padding: 10px 20px;
}

#canvas-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: calc(75vw - var(--nav-width) + 5px);
    position: absolute;
    top: 0;
}

#canvas {
    background-color: var(--secondary-color);
}

.display, #canvas {
    border-radius: 7px;
}

.buttons-modals {
    height: 8%;
    width: 25%;
    display: flex;
    justify-content: space-between;
}

.buttons-modals button {
    height: 100%;
    width: 31%;
    border-radius: 7px;
    /* border: 1px solid var(--tertiary-color); */
    background-color: var(--secondary-color);
}

.logo {
    background-color: var(--secondary-color);
    display: flex;
}

.logo svg {
    color: white;
    position: absolute;
    top: 16.5px;
}

.logo svg:nth-child(2) {
    position: relative;
    scale: 1.8;
    top: 0px;
    transform: rotate(180deg);
}

.logo, .button-nav {
    height: 60px;
    width: 75px;
    margin-top: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.button-nav {
    background-color: var(--secondary-color);
    color: white;
    border: none;
}

.modal-container {
    position: absolute;
    display: flex;
    padding-left: var(--nav-width);
    padding-bottom: 150px;
    height: 100vh;
    width: 75%;
    justify-content: center;
    pointer-events: none;
}

.modal {
    position: relative;
    display: flex;
    margin: 0 5px;
    height: 50px;
    width: 60px;
    min-width: 60px;
    top: -15px;
    background-color: var(--secondary-color);
    box-shadow: 0px 0px var(--light-softness) var(--tertiary-color-t);
    border: 1px solid var(--tertiary-color);
    border-radius: 15px;
    opacity: 1;
    padding: 15px 0px 5px 14px;
    flex-direction: column;
    transition: var(--animation);
    pointer-events: all;
    z-index: 100;
}

/* .modal-icon {
    color: white;
} */

.modal-body p {
    margin-top: 10px;
    color: var(--tertiary-color);
    /* overflow: revert; */
}

.modal-title {
    color: white;
    opacity: 0;
    width: 0;
    transition: var(--animation);
    font-weight: normal;
}

.modal-text {
    overflow: auto;
}

.modal hr {
    margin: 20px 0 10px;
}

.modal-body label {
    color: white;
    margin: 10px 0 5px;
}

.modal-body {
    display: flex;
    flex-direction: column;
    opacity: 1;
    height: 0;
    transition: var(--animation);
    /* overflow-y: auto; */
}

.modal-body input, .modal-body select {
    background-color: var(--secondary-color);
    border: 1px solid var(--tertiary-color);
    color: white;
    height: 25px;
    padding-left: 10px;
    border-radius: 5px;
    transition: var(--animation);
}

.close-modal {
    position: absolute;
    top: 22px;
    right: 10px;
    width: 0;
    opacity: 0;
    transition: var(--animation);
}

label {
    transition: var(--animation);
}

.modal-head {
    display: flex;
    align-items: center;
}

.modal-head svg {
    color: white;
    scale: 0.8;
    margin-right: 5px;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

input:focus, input:focus-visible, select:focus, select:focus-visible {
    outline: none;
}


/* Scroll style */
/* width */
::-webkit-scrollbar {
    width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
    border-radius: 5px;
    background: var(--seconday-color);
    border: 1px solid var(--tertiary-color-t);
}

/* Handle */
::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background: var(--tertiary-color);
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: white;
  }