/* This is a free layout for anyone to use!
All I ask is that you keep this credit in-tact, or that you put my website link
(https://nonkiru.art) somewhere on your site. 

Otherwise, edit this as much as you'd like! 

Last Updated: 8th December 2024 */

/* These are the default colour codes for the layout.
Changing the colour code here will update it for any element that uses it. */
:root {
    /* Default: Pink (purple)*/
    --primary: #bd88f2;

    /* Default: Light Pink (darker purple)*/
    --primary_light: #0a0312;

    /* Default: Dark Pink (light blue)*/
    --primary_dark: #8170ff;

    /* Default: White (dark purple)*/
    --secondary: #1d0b30;

    /* Default: Brown (offwhite)*/
    --tertiary: #faf5ff;

    /* Default: Blue (light purple)*/
    --link: #b870ff;
}

body {
    background: var(--secondary);
    background-image: url(https://chrys-vx.neocities.org/assets/bg.png);
    color: var(--tertiary);
    font-size: 16px;
    font-family: Garamond, serif;
    line-height: 18px;
}

/* Link Styling */
a {
    color: var(--link);
    /* Adds a smooth effect to link hover. */
    transition: 0.1s all ease-in-out;
}

a:hover {
    color: var(--primary_dark);
}

/* Header Styling */
h1 {
    display: block;
    font-size: 18px;
    margin-top: 5px;
    margin-bottom: 10px;
    margin-left: 0;
    margin-right: 0;
    font-weight: bold;
}

h2 {
    display: block;
    font-size: 17px;
    margin-top: 3px;
    margin-bottom: 7px;
    margin-left: 0;
    margin-right: 0;
    font-weight: bold;
}

h3 {
    display: block;
    font-size: 16px;
    margin-top: 5px;
    margin-bottom: 3px;
    margin-left: 0;
    margin-right: 0;
    font-weight: bold;
}

/* Table Styling */
table {
    border-collapse: collapse;
    width: 100%;
}

table td, table th {
    border: 1px solid var(--primary);
    padding: 4px;
}

table th {
    text-align: left;
    background-color: var(--primary_light);
}

/* List Styling */
ul {
    list-style-image: url('https://chrys-vx.neocities.org/assets/bullet.png');
    list-style-position: inside;
    margin: 5px;
    padding: 0;
}

.container {
    background: var(--secondary);
    border: 1px solid var(--tertiary);
    border-radius: 0px;
    width: 800px;
	overflow:auto;
    margin: 24px auto;
    cursor: move;
}

.box {
    border: 1px solid var(--primary);
    padding: 10px;
	overflow: auto;
	max-height: 500px;
	scrollbar-color: #bd88f2 #140721;
}

.box_header {
    border: 1px solid var(--primary);
    background-color: var(--primary_light);
    height: 20px;
    padding: 5px;
    /* This centers the text vertically. */
    line-height: 20px;
}

/* Changes the brightness of the fake buttons on hover. Also changes the cursor. */
.box_header img:hover {
    filter: brightness(40%);
    cursor: pointer;
}

/* Darkens and saturates the buttons on click. Also changes the cursor. */
.box_header img:active {
    filter: brightness(10%) saturate(125%);
    cursor: pointer;
}

/* Mobile Support */
@media only screen and (max-width: 890px) {
    .container {
        position: static;
        width: 100%;
        margin: unset;
        margin-bottom: 5px;
    }
}