/* FONTS */
@font-face {
    font-family: "PixelOperator";
    src: url("../fonts/PixelOperator.ttf") format("truetype");
}
@font-face {
    font-family: "PressStart2P";
    src: url("../fonts/PressStart2P.ttf");
}
/* STYLE GUIDE */
h1 {
    font-size: 24px;
    color: white;
}
h2 {
    font-size: 20px;
    color: white;
}
h3 {
    font-size: 18px;
    color: white;
}
p {
    font-size: 16px;
    color: white;
}
/* Static Links */
a:link {
    font-size: 14px;
    color: white;
    text-decoration: none;
    text-align: center;
    vertical-align: middle;
}
a:visited {
    font-size: 14px;
    color: white;
    text-decoration: none;
    text-align: center;
    vertical-align: middle;
}

/* GENERAL*/
:root {
    --background: url("../images/rainbowstars.png");
    --box-background: rgba(47, 55, 80, 0.85);
    --borders: 1px solid white;
    --text-padding: 5px;
}
body {
    background-image: var(--background);
    background-color: #131524;
    background-size: auto;
    background-repeat: repeat;
    background-position: center;
    padding: 25px;
    color: white;
    font-family: "PixelOperator", "Lucida Console", monospace;
    text-align: center;
    font-size: 14px;
}
/* LAYOUT */
/* This is the parent for the whole grid. */
.container {
    max-width: 1000px;
    display: grid;
    margin: auto;
    padding: auto;
    grid-template:
        "header header header header header header"
        "marquee marquee marquee marquee marquee marquee"
        "left main main main main main"
        "footer footer footer footer footer footer";
}
.header {
    grid-area: header;
    background-color: var(--box-background);
    border: var(--borders);
    margin: 5px;
    padding: 10px;
    font-family: "PressStart2P", "Lucida Console", monospace;
    font-size: 49px;
    overflow: hidden;
}
/* This is the marquee. */
.announcebox {
    grid-area: marquee;
    display: block;
    width: auto;
    height: 15px;
    padding: var(--text-padding);
    margin: 5px;
    border: 1px solid white;
    background-color: rgba(82, 92, 121, 0.85);
}
.announce {
    text-align: center;
    vertical-align: center;
    font-size: 15px;
}
/* This is the parent for the nav buttons. */
.nav {
    grid-area: nav;
    margin: 1px;
    padding: var(--text-padding);
    border: var(--borders);
    background-color: rgba(82, 92, 121, 0.50);
}
/* This is the nav buttons. */
.link1 {
    margin: 1px;
    padding: 5px;
    border: var(--borders);
    border-radius: 5px;
}
.link2 {
    margin: 1px;
    padding: var(--text-padding);
    border: var(--borders);
    border-radius: 5px;
}
.link3 {
    margin: 1px;
    padding: var(--text-padding);
    border: var(--borders);
    border-radius: 5px;
}
.link4 {
    margin: 1px;
    padding: var(--text-padding);
    border: var(--borders);
    border-radius: 5px;
}
.link5 {
    margin: 1px;
    padding: var(--text-padding);
    border: var(--borders);
    border-radius: 5px;
}
/* This is the sidebar block. */
.left {
    grid-area: left;
    max-width: 200px;
    background-color: var(--box-background);
    border: var(--borders);
    padding: var(--text-padding);
    overflow-y: auto;
    margin: 5px;
}
/* This is the main content block. */
.main {
    grid-area: main;
    background-color: var(--box-background);
    border: var(--borders);
    padding: var(--text-padding);
    overflow-y: auto;
    margin: 5px;
}
.introduction {
    border: var(--borders);
    padding: var(--text-padding);
    background-color: rgba(82, 92, 121, 0.50);
    width: auto;
}
.about {
    grid-area: about;
    padding: var(--text-padding);
    width: auto;
}
.profilebox {
    grid-area: profile;
    padding: var(--text-padding);
    width: 200px;
    border: var(--borders);
    background-color:rgba(82, 92, 121, 0.50);
}
/* This is the footer block. */
.footer {
    grid-area: footer;
    height: 15px;
    width: auto;
    background-color: var(--box-background);
    border: var(--borders);
    padding: var(--text-padding);
    overflow: hidden;
    margin: 5px;
}
