@import "flexbox.css";
@import "buttons.css";
@import "changelog.css";
@import "navbar.css";
@import "inputs.css";
@import "commands.css";
@import "modal.css";
@import "table.css";
@import "collapsible.css";


:root {
    /* Site themeing */
    --dark-accent: #1d002e;
    --dark-accent-2nd: #030027;
    --light-accent: #d997ff;

    /* Pop-up colors */
    --error-accent: #770000;
    --warning-accent: #777700;

    /* Standard values for site-wide consistency */
    --std-font: Tahoma, sans-serif;
    --std-margin-med: 10px;
    --std-margin-lg: 25px;
    --std-white-glow: 0px 0px 10px 1px white;
    --std-popup-shadow: 10px 10px 25px black;

    /* misc */
    --dropdown-layer: 1;
    --dim-bg-layer: 2;
    --modal-layer: 3;

    overflow-x: hidden;
}

body {
    display: flex;
    flex-direction: column;
	color: #ffffff;
	margin: 0;
    min-height: 100vh;
    font-family: var(--std-font);
    /*background: linear-gradient(45deg, rgb(255, 0, 89) 0%, rgb(0, 179, 255) 33%, rgb(255, 0, 89) 67%, rgb(0, 179, 255) 100%);*/
	background: linear-gradient(45deg, #6441a5 0%, #444444 33%, #6441a5 67%, #444444 100%);
    animation: anim 5s linear infinite;
    background-size: 400% 400%;
    background-attachment: fixed;
}

main {
    flex: 1;
}

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 200px;

	font-size: large;
    min-height: 50px;
    background-color: var(--dark-accent-2nd);
    padding: 25px;
    text-align: center;
    border-top: solid white;
}

dl {
    margin: 0px;
}

dd {
    display: list-item;
    list-style-type: disc;
}

@keyframes anim {
    0% {
        background-position: 100% 0%;
    }
    100% {
        background-position: 15% 100%;
    }
}

* {
    box-sizing: border-box;
}

.main-container {
    margin: var(--std-margin-lg) 2%;
}

.dim-background {
    pointer-events: none;
    background-color: rgba(0, 0, 0, 0.75);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--dim-bg-layer);
}

.center-text {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;

    &.ver {
        justify-content: flex-start;
    }

    &.hor {
        align-items: flex-start;
    }

    > b::before {
        content: '\a0';
    }

    > b::after {
        content: '\a0';
    }
}

.vert-center {
    display: flex;
    align-items: center;
}

.hor-center {
    display: flex;
    justify-content: center;
}

.page-title {
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    margin-bottom: var(--std-margin-lg);
}

.subheader {
    font-size: 20px;
    font-weight: bold;
}

.row-2 {
    min-width: 40%;
    margin-right: 10%;

    &:last-of-type {
        min-width: 40%;
        margin-right: 0;
    };
    
    /*
    & > * {
        width: 100%;
    }
    */
}

.vertical-divider {
    margin: 0px var(--std-margin-med);
    border-left: solid 2px;
    border-right: solid 2px;
}

.horizontal-divider {
    margin: var(--std-margin-med) 0px;
    border-top: solid 2px;
    border-bottom: solid 2px;
}

.vertical-space, .horizontal-space {
    height: var(--std-margin-lg);

    &.lg {
        height: calc(var(--std-margin-lg) * 2);
    };
}

.left {
    margin-right: auto;
}

.right {
    margin-left: auto;
}

.white-shadow {
    box-shadow: var(--std-white-glow);
}

.code-font {
    font-family: 'Courier New', Courier, monospace;
}

.bold-font {
    font-weight: bold;
}

.info-container {
    margin-bottom: var(--std-margin-med);
    padding: 10px;
    text-align: center;

    background-color: black;
    border-color: white;
    border-radius: 10px;
    border-style: solid;
    border-width: 2px;
}

.info-header {
    font-size: 32px;
}

.info-body {
    font-style: italic;
}

.alerts {
    width: 100%;
    border-radius: 10px;
    border-style: solid;
    border-width: 2px;
    padding: 10px;

    &.error {
        background-color: var(--error-accent);
        border-color: color-mix(in srgb, var(--error-accent) 75%, white);
    };

    &.warning {
        background-color: var(--warning-accent);
        border-color: color-mix(in srgb, var(--warning-accent) 75%, white);
    };
}