
* {
    --color5: yellow; /* yellow */
    --color4: #a682ffff; /* light purple */
    --color3: #715affff; /* purple-blue */
    --color2: #5887ffff; /* dark sky blue */
    --color1: #55c1ffff; /* sky blue */
    --color0: #102e4aff; /* deep space blue */

    box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

.no-scroll-wheel {
  overflow: auto;          /* allow scrolling */
  scrollbar-width: none;   /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
}

.no-scroll-wheel::-webkit-scrollbar {
  display: none;
}

body {
    background-image: url("background.jpg");
    image-rendering: crisp-edges;
    background-size: cover;
    background-color: #000;
    color: white;
    font-family: "Arial";
    display: flex;
    justify-content: center;
    font-size: 12px;
}

#top span {
    font-size: 10px;
}

#splash-text {
    color: var(--color5);
}

#container {
    width: 800px;
    max-height: 0;
}

#container-header {
    width: 100%;
    height: 30px;
    background-color: var(--color0);
    border-radius: 4px;
    border: 1px solid black;
    box-shadow: -4px 4px 0 0 black;
}

#header {
    padding: 2px 4px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    color: white;
}

#container-footer {
    margin-top: 10px;
    width: 100%;
    height: 30px;
    background-color: var(--color0);
    border-radius: 4px;
    border: 1px solid black;
    box-shadow: -4px -4px 0 0 black;
}

#footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 2px 4px;
    width: 100%;
    color: white;
}

#footer > span {
    margin-top: 6px;
}

#banner-container {
    width: 100%;
    margin-top: 5px;
    margin-bottom: 5px;
}

#container-top {
    position: relative;
    width: 100%;
    height: 50px;
    background-color: transparent;
    box-shadow: -4px 4px 0 0 black;
}

#top {
    padding: 0;
    position: absolute;
    z-index: 2;
    width: 100%;
    height: 100%;
    background-color: var(--color0);
    clip-path: polygon(0 0, 20% 0, 25% 76%, 100% 76%, 100% 100%, 0 100%);
}

h1 {
    font-style: italic;
    margin-top: 9px;
    margin-left: 10px;
}

h3 {
    font-weight: bold;
}

a {
    color: var(--color1);
    text-decoration-line: underline; 
    text-decoration-color: var(--color1);
}

#container-nav {
    border: 1px solid black;
    position: absolute;
    bottom: 23.25%;
    right: 1%;
    width: 75.3%;
    height: 38%;
    transform: skewX(47deg);
    background-color: var(--color0);
}

#container-nav nav {
    height: 100%;
    width: 100%;
}

#container-nav ul {
    list-style-type: none;
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    margin-top: 2px;
}

#container-nav li {
    width: 100%;
    height: 100%;
    border-right: 1px solid black;
}

#container-nav a {
    cursor: pointer;
    text-align: center;
    display: block;
    transition: background-color 0s ease;
    color: var(--color5);
}

#container-nav span {
    display: inline-block;
    font-weight: bold;
    transform: skewX(-47deg);
}

.nav-item a:hover {
    background-color: var(--color1);
}

#banner-container > img {
    width: 100%;
    opacity: 0.5;
}

.box-label {
    display: inline-block;
    background-color: var(--color0);
    padding: 0 5px;
    padding-right: 30px;
    padding-top: 5px;
    clip-path: polygon(
        0 0,
        calc(100% - 20px) 0, /* move corner up by 20px */
        100% 100%, /* move corner left by 20px */
        0 100%
    );
    box-shadow: -4px 4px 0 0 black;
}

.box {
    border: 5px solid var(--color0);
    width: 100%;
    height: 100%;
    box-shadow: -4px 4px 0 0 black;
    background-color: #000000BB;
    padding: 8px;
}

.highlight {
    color: var(--color5);
}

#content-container {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

#column-1 {
    margin-top: 10px;
    width: 25%;
}

#column-2 {
    margin-top: 10px;
    width: 75%;
}

p.timespan {
    margin-bottom: 0;
    margin-top: 0;
}

#container-toc {
    min-height: 200px;
}

#toc-box {
    min-height: 200px;
}

#toc-box ul {
    margin-top: 0;
    list-style-type: none;
    border-left: 1px solid #444;
    padding-left: 15px;
    margin-left: 5px;
}

#toc-box a {
    color: white;
}

#container-create {
    margin-top: 5px;
}

#create-note-box form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

#create-note-box label {
    width: 100%;
}

#create-note-box form input {
    width: 100%;
    outline: none;
    background-color: transparent;
    color: white;
    font-family: Arial;
    font-size: 12px;
    border: 1px solid #444;
}

#create-note-box form input[type="checkbox"] {
    width: 10%;
}

#create-note-box input[name="title"] {
    font-weight: bold;
    color: var(--color5);
}

#create-note-box input[type="submit"] {
    color: var(--color5);
    background-color: var(--color0);
    border-left-color: #8F8F9D;
    border-top-color: #8F8F9D;
    border-bottom-color: #5F5F69;
    border-right-color: #5F5F69;
}

#notes-container {
    margin-top: 5px;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 100%;
    gap: 5px;

}

#notes-container .box {
    width: 194px;
    height: 200px;
    margin-top: 0px;
    overflow: scroll;
}

#note-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#note-image-frame {
    width: 64px;
    height: 64px;
    overflow: hidden;
}


