@font-face {
    font-family: JetBrainsMono;
    src: url("./JetBrainsMono.ttf");
}

@font-face {
    font-family: JetBrainsMonoBold;
    src: url("./JetBrainsMonoBold.ttf");
}

:root {
    --eggshell: #f0ead6;
    --dark: #22092C;
    --red: #AA4A44;
}

html {
    -ms-overflow-style: none;
    scrollbar-width: none;
    overscroll-behavior: none;
}

::-webkit-scrollbar {
    display: none;
}

b {
    font-family: JetBrainsMonoBold;
}

input {
    font-family: JetBrainsMono;
}

button {
    background: none;
}

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

body,
html {
    font-family: JetBrainsMono;
    margin: 0;
    display: grid;
    grid-template-columns: 1;
    grid-template-rows: 1;
}

h1 {
    font-weight: 250;
    font-size: 90.0%;
}

h2 {
    font-weight: 250;
    font-size: 90%;
}

p {
    font-weight: 250;
    font-size: 90%;
}

#canvas_container,
#site_container {
    grid-column: 1;
    /* Occupy both columns */
    grid-row: 1;
    width: 100%;
    height: 100%;
}

#backdrop {
    z-index: 0;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    image-rendering: pixelated;
}

#sidebar {
    width: 40%;
    background-color: var(--eggshell);
    text-align: left;
    padding: 2% 1% 2% 5%;
}

#header {
    padding: 1% 3% 1% 3%;
    border-bottom: 0.1em dashed var(--dark);
    background-color: var(--eggshell);
}

#bottom-row {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}


#top-row {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#tentwentythree {
    font-family: JetBrainsMonoBold;
    justify-self: left;
}

.link {
    color: #222034;
    margin-left: 0.5em;
    margin-right: 0.5em;
    /* text-decoration: underline 5%; */
}

.link-selected {
    text-decoration: underline;
}

.link:hover {
    cursor: pointer;
    text-decoration: underline;
}

/* Style the button that is used to open and close the collapsible content */
.collapsible {
    font-family: JetBrainsMono;
    background-color: rgba(0, 0, 0, 0.1);
    color: #444;
    cursor: pointer;
    padding: 0.5em;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.collapsible-active,
.collapsible:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

/* Style the collapsible content. Note: hidden by default */
.collapsible-content {
    padding: 0 18px;
    /* display: none; */
    max-height: 0;
    transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.05);
    font-weight: 250;
    font-size: 90%;
}