* {
    --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;
}

input {
    font-family: "Arial";
}

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

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

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;
}

img {
    image-rendering:auto;
}

#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: 5px;
    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;
}

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

#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%);
}

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

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

h3 {
    font-weight: bold;
}

#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);
}

.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;
}

.box p {
    margin-top: 0;
}

#container-content {
    margin-top: 10px;
    width: 100%;
    display: grid;
    grid-template-rows: 100%;
    grid-template-columns: 75% 24%;
    gap: 10px;
}

.column-1 {
    width: 100%;
}

.column-2 {
    width: 100%;
}

#welcome-container {
    height: 130px;
}

#search-container {
    height: 200px;
}

#search-container ul {
    margin-top: -5px;
}

#outline-container {
    margin-top: 25px;
}

#history-container {
    margin-top: 25px;
}

ul.article-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

ul.article-list button {
    color: var(--color1);
    background-color: #333;
    font-family: "Arial";
    width: 100%;
    display: flex;
    justify-content: flex-start;
    font-size: 10px;
    margin-bottom: 2px;
    height: 2em;
    overflow: hidden;
}

input[type="text"] {
    border: 1px solid #444;
    color: white;
    background-color: var(--color0);
    width: 100%;
}

input[name="search"] {
    display: block;
}

#search-container table {
    margin-top: 2px;
    padding: 0px;
    width: 100%;
}

td {
    background-color: #102e4aAA;
    height: 1.5em;
    width: 100%;
}

#news-container {
    margin-top: 25px;
}

#news {
    position: relative;
}

#create-button {
    background-color: var(--color0);
    color: var(--color1) !important;
    font-weight: bold;
    position: absolute;
    top: 0;
    right: 0;
}

#news textarea {
    width: 100%;
    background-color: var(--color0);
    resize: none;
    height: 500px;
    border-left-color: #8F8F9D;
    border-top-color: #8F8F9D;
    border-bottom-color: #5F5F69;
    border-right-color: #5F5F69;
    color: white;
    outline: none;
    margin-bottom: 5px;
    font-family: Arial;
    font-size: 12px;
}

#news button {
    color: var(--color5);
    background-color: var(--color0);
    border-left-color: #8F8F9D;
    border-top-color: #8F8F9D;
    border-bottom-color: #5F5F69;
    border-right-color: #5F5F69;
}

#more-container {
    margin-top: 25px;
    width: 100%;
}

#more-container .box {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
