/* VARIABLES */

    :root {
        --border: 2px solid color-mix(in srgb, #003366, black 75%);
        
        --blue:       color-mix(in srgb, #003366, white 75%);
        --blueDark:   color-mix(in srgb, #003366, white 50%);
        --blueDarker: color-mix(in srgb, #003366, white 25%);
    }

/* ALIGNMENT */

    .HorizontalFlexbox         { display: flex; flex-direction: row; }
    .HorizontalFlexbox[hidden] { display: none; }
    
    .VerticalFlexbox         { display: flex; flex-direction: column; }
    .VerticalFlexbox[hidden] { display: none; }
    
    .Flexbox         { display: flex; }
    .Flexbox[hidden] { display: none; }
    
    .FlexFill { flex: 1; }
    
    .CenterContents             { justify-content: center; align-items: center; }
    .CenterContentsHorizontally { justify-content: center; }
    .CenterContentsVertically   { align-content:   center; }
    .TopContents                { align-content:   start; }
    .BottomContents             { align-content:   end; }
    .LeftContents               { justify-content: start; }
    .RightContents              { justify-content: end; }
    
    .FitContent { width: fit-content; height: fit-content; }
    .MinContent { width: min-content; height: min-content; }
    .MaxContent { width: max-content; height: max-content; }

    .FullWidth  { width:  100%; }
    .FullHeight { height: 100%; }
    
    .AutoWidth  { width:  auto; }
    .AutoHeight { height: auto; }
    
    .ZeroMinWidth  { min-width:  0%; }
    .ZeroMinHeight { min-height: 0%; }
    .FullMaxWidth  { max-width:  100%; }
    .FullMaxHeight { max-height: 100%; }
    
    .FullMinViewportHeight { min-height: 100vh; }

    .Margin           { margin:        auto; }
    .HorizontalMargin { margin-left:   auto; margin-right:  auto; }
    .VerticalMargin   { margin-top:    auto; margin-bottom: auto; }
    .LeftMargin       { margin-left:   auto; }
    .RightMargin      { margin-right:  auto; }
    .TopMargin        { margin-top:    auto; }
    .BottomMargin     { margin-bottom: auto; }
    
    .CenterItems { align-items: center; }
    
    .CenterText { text-align: center; }
    
    .CenterFixed { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); }
    
    .GenerationalBorderBox * { box-sizing: border-box; }

    .ScrollOverflowV { overflow-y: auto; }

/* THEME */

    .Border       { border: 2px solid  black; }
    .DashedBorder { border: 2px dashed black; }
    
    .BlueBackground       { background-color: var(--blue); }
    .DarkBlueBackground   { background-color: var(--blueDark); }
    .DarkerBlueBackground { background-color: var(--blueDarker); }
    
    .StaryBackground {
        background-image:  url('/assets/images/StaryBackground.png');
        background-repeat: repeat;
    }

    .Pad { padding: 4px; }
    .Gap { gap: 4px; }
    
    .WidthChildrens75 > * { width: 75%; }
    
    .NoResize { resize: none; }

/* DROPDOWN */

    .DropdownButton {
        cursor: pointer;
    }
    
    .DropdownPopup {
        width:  max-content;
        height: max-content;
        
        position: fixed;
    }
    
    .DropdownPopup[hidden] { display: none; }

/* DEFAULT */
    
    * {
        margin: 0;
        
        border-radius: 0;
    }
    
    button {
        border-right:  solid black 2px;
        border-bottom: solid black 2px;
    }
    
    hr {
        border-top:  solid black 1px;
        border-left: solid black 1px;
    }
    
    h1, h2, h3, h4, h5, h6, p {
        overflow-wrap: anywhere;
    }
    
    a {
        text-decoration: none;
    }
    
    pre {
        font-family: inherit;
    }
    
    button[aria-pressed="true"] {
        background-color: rgb(177, 177, 185);
    }
    
/* END */