/* Change colors and fonts here */
:root {
    --borders: #ea9128; /*Border for header 1*/

    --formbg: #ce8a42; /*Background for text boxes/dropdown menus*/
    --formcolor: #630000; /*Color for text boxes/dropdown menus*/
    --buttonbg: #ce8a42; /*Background for submit buttons*/
    --buttoncolor: #630000; /*Color for submit buttons*/

    /* MENU COLORS */
    --navbg: hsla(0, 0, 0, 0); /*Menu background color*/

    --navtextlink: #1e6070; /*Sidebar text link color*/
    --navtexthover: #ea9128; /*Sidebar text link hover*/

    --navlinkbg: #630000; /*Menu link background*/
    --navhoverbg: #ff6363; /*Menu link hover background*/
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    text-decoration: none;
}
img {
    max-width: 95%;
    margin: 5px;
}

body {
    background: url(../pics/graphics/gubblebuggy/brickwall5.png);
    image-rendering: pixelated;
    padding: 10px;
    position: relative;
}

header {
    width: min(24rem, calc(100% - 60px));
    height: 130px;
    margin: auto;
    padding: 0 1rem;

    border-image-slice: 16 12 16 12 fill;
    border-image-width: 16px 12px 16px 12px;
    border-image-outset: 0px 0px 0px 0px;
    border-image-repeat: round round;
    border-image-source: url("../pics/gui/borders/stoneborder2.png");

    display: flex;
    justify-content: center;
    gap: 2rem;
    align-items: center;
    text-align: center;
}

main {
    border-image-slice: 15 15 16 15 fill;
    border-image-width: 15px 15px 16px 15px;
    border-image-outset: 0px 0px 0px 0px;
    border-image-repeat: round round;
    border-image-source: url("../pics/graphics/gubblebuggy/woodplanks2.png");

    padding: 30px;
    width: calc(100% - 60px);
    max-width: 55rem;
    margin: auto auto 5rem;

    /*margin: 0px 10px 0px 10px;*/
}

main h1 {
    font: 1.8em;
    border-bottom: 1px solid var(--borders);
}

main h2 {
    font: 1.6em;
    margin: 5px 0 5px 0;
}

main h3 {
    font: 1.4em;
}

hr {
    color: var(--borders);
    margin: 1rem 0;
}

/* Paragraphs and links */

main p,
aside p {
    margin: 10px 0px 10px 0px;
    line-height: 1.5;
}

main a {
    text-decoration: underline;
}

main a:hover {
    text-decoration: none;
}

main details {
    padding: 10px;
    background: var(--details);
    margin: 5px;
}

/* Form elements */

main input,
textarea,
select {
    color: var(--formcolor);
    background: var(--formbg);
    font: 1rem;
    border: 1px solid;
    padding: 5px;
}

main button {
    color: var(--buttoncolor);
    background: var(--buttonbg);
    font: 1rem;
    border: 1px solid;
    padding: 5px;
}

/* Lists */

main ul,
ol {
    list-style-position: outside;
    margin: 5px 0 5px 30px;
}

main li {
    margin: 7px 0 7px 0;
    line-height: 1.5;
}

main li a {
    text-decoration: none;
}

/* Styling for the sidebars */

.menu {
    padding: 2rem;
    border-image-slice: 16 24 16 24 fill;
    border-image-width: 32px 48px 32px 48px;
    border-image-outset: 0px 0px 0px 0px;
    border-image-repeat: round round;
    border-image-source: url(../pics/gui/borders/scroll2.png);
    image-rendering: pixelated;
    /*width: calc(20% - 30px);*/
    font-size: 0.9rem;
    width: min(22rem, calc(100% - 60px));
    margin: 1rem auto;
    display: flex;
    justify-content: center;
}

.menu section {
    margin-bottom: 10px;
}

.menu .text p {
    margin: 5px 0px 5px 0px;
    line-height: 1.4;
    font-size: 0.9rem;
}

.menu .text a {
    text-decoration: none;
}

.menu .text a:hover {
    text-decoration: underline;
}

.menu ul {
    list-style: none;
    margin: 0;
}

.menu li a {
    display: inline-block;
    background: var(--navlinkbg);
    /*margin: 0px 0px 2px 0px;*/
    margin: 0.25rem;
    text-decoration: none;
    padding: 0.5rem;
}

.menu li a:hover {
    background: var(--navhoverbg);
    text-decoration: none;
}

.menu h2 {
    font: 1.3em;
}

/* Footer styling */

/*
footer {
    padding: 15px;
    text-align: center;
    margin: 10px 0px 0px 0px;
    background: url(../pics/graphics/gubblebuggy/woodplankshorizontal.png);
    background-size: contain;
    font-size: 0.9em;
}
    */
