:root {
    --textAccent: rgb(185, 5, 26);
    --textAccentLight: rgb(182, 47, 63);
}
* {
    box-sizing: border-box;
    font-family: 'Oswald', sans-serif;
}

html, body {
    height: 100%;
    overflow: auto;
}
body {
    display: flex;
    margin: 0;
    background-color: #1a1a1a;
    justify-content: center;
    padding-left: 200px;
}

/* generall styling: */
h1 {
    color: var(--textAccent);
}
h2 {
    color: var(--textAccent);
}
h3 {
    color: var(--textAccent);
}
p {
    text-align: justify;
}

a {
    text-decoration: none;
    color: var(--textAccent);
    font-weight: bold;
}
a:hover {
    color: var(--textAccentLight);
}

.fas, .fab, .far {
    color: white;
}


/* Sidebar styling: */
aside {
    left: 0;
    height: 100%;
    max-height: 100vh;
    position: absolute;
    background-color: rgb(30, 30, 30);
    z-index: 100;
    overflow: hidden;
}
.sidebarIcon>.fas {
    padding: 20px;
}
nav {
    width: 200px;
    padding: 20px;
}
nav a {
    display: block;
    color: white;
    padding: 10px 0;
    margin: 20px 0;
    border: 1px solid transparent;
    transition: color 0.25s ease-out;
}
nav a:hover {
    border-bottom: 1px solid var(--textAccentLight);
    border-top: 1px solid var(--textAccentLight);
}


/* main content styling: */
main {
    width: 100%;
    height: 100%;
    max-width: 800px;
    flex-shrink: 0;
    justify-self: center;
    display: flex;
    flex-direction: column;
}

header {
    background-image: url('../img/planet.png');
    /* Center the image */
    background-position: center;
    /* Do not repeat the image */
    background-repeat: no-repeat;
    /* Resize the background image to cover the entire container */
    background-size: cover;
    min-height: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
}
header h1 {
    color: white;
}


section {
    background-color: #ffffff8c;
    padding: 50px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 200px auto;
}


footer {
    background-color: black;
    text-align: center;
    padding-bottom: 50px;
    padding-top: 1px;
}
.socialMedia {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}
footer a {
    color: white;
    text-decoration: underline;
}
footer a:hover i {
    color: var(--textAccentLight)
}
footer p {
    color: white;
    text-align: center;
}
footer .fab, .far {
    margin: 0 10px;
}


.staticBackground {
    background-image: url('../img/redBack.jpg');
    /* Center the image */
    background-position: center;
    /* Do not repeat the image */
    background-repeat: no-repeat;
    /* Resize the background image to cover the entire container */
    background-size: cover;
    width: 100%;
    max-width: inherit;
    height: 100vh;
    position: fixed;
    top: 0;
    z-index: -1;
}

/* special styling for small screens */
@media only screen and (max-width: 1000px) {
    nav {
        display: none;
        height: 100vh;
    }
    aside {
        height: auto;
    }
    body {
        padding-left: 0;
    }
    .sidebarIcon>.fas {
        cursor: pointer;
    }
}