/* Stellaria.io Stylesheet */
/* Color Palette: Stellar Teal - DarkSlateGray, Azure, LightSeaGreen, MediumTurquoise, Turquoise, Aquamarine */
/* See https://www.w3schools.com/cssref/css_colors.asp */

/* Base Elements */
body {
    font-family: serif;
    background-color: DarkSlateGray;
    color: Azure;
    margin: 0;
    padding: 20px;
    line-height: 1.6;
}

/* Links */
a:link {
    color: LightSeaGreen;
    text-decoration: none;
}

a:visited {
    color: MediumTurquoise;
    text-decoration: none;
}

a:active {
    color: Turquoise;
    text-decoration: none;
}

a:hover {
    color: Aquamarine;
    text-decoration: none;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    color: Azure;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

h1 {
    font-size: 2em;
    border-bottom: 2px solid LightSeaGreen;
    padding-bottom: 0.3em;
}

h2 {
    font-size: 1.5em;
    border-bottom: 1px solid MediumTurquoise;
    padding-bottom: 0.3em;
}

/* Code and Preformatted Text */
pre {
    font-family: Consolas, Terminal, Courier, monospace;
    font-size: 12pt;
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 15px;
    overflow-x: auto;
    border-left: 4px solid LightSeaGreen;
}

code {
    font-family: Consolas, Terminal, Courier, monospace;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 2px 6px;
    border-radius: 3px;
}

pre code {
    background-color: transparent;
    padding: 0;
}

/* Lists */
ul, ol {
    margin: 1em 0;
    padding-left: 2em;
}

li {
    margin: 0.5em 0;
}

/* Blockquotes */
blockquote {
    border-left: 4px solid MediumTurquoise;
    padding-left: 1em;
    margin: 1em 0;
    font-style: italic;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 1em;
}

/* Horizontal Rule */
hr {
    border: none;
    border-top: 2px solid LightSeaGreen;
    margin: 2em 0;
}

/* Tables */
table {
    border-collapse: collapse;
    width: 100%;
    margin: 1em 0;
}

th, td {
    border: 1px solid LightSeaGreen;
    padding: 0.75em;
    text-align: left;
}

th {
    background-color: rgba(32, 178, 170, 0.2);
    color: Aquamarine;
    font-weight: bold;
}

tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.2);
}

tr:hover {
    background-color: rgba(32, 178, 170, 0.1);
}

/* Form Elements */
input, textarea, select, button {
    font-family: inherit;
    font-size: 1em;
    padding: 0.5em;
    border: 1px solid LightSeaGreen;
    background-color: rgba(0, 0, 0, 0.3);
    color: Azure;
}

input:focus, textarea:focus, select:focus {
    outline: 2px solid Aquamarine;
    border-color: Aquamarine;
}

button, input[type="submit"], input[type="button"] {
    cursor: pointer;
    background-color: LightSeaGreen;
    color: DarkSlateGray;
    font-weight: bold;
    border: none;
}

button:hover, input[type="submit"]:hover, input[type="button"]:hover {
    background-color: Aquamarine;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1em 0;
}

/* Strong and Emphasis */
strong, b {
    color: Aquamarine;
    font-weight: bold;
}

em, i {
    font-style: italic;
}

/* Selection */
::selection {
    background-color: LightSeaGreen;
    color: DarkSlateGray;
}

::-moz-selection {
    background-color: LightSeaGreen;
    color: DarkSlateGray;
}

/* Utility Classes */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.highlight {
    background-color: rgba(32, 178, 170, 0.2);
    padding: 0.2em 0.4em;
    border-radius: 3px;
}

.note {
    background-color: rgba(0, 0, 0, 0.3);
    border-left: 4px solid Turquoise;
    padding: 1em;
    margin: 1em 0;
}

.warning {
    background-color: rgba(255, 140, 0, 0.1);
    border-left: 4px solid DarkOrange;
    padding: 1em;
    margin: 1em 0;
}
