* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: 'Times New Roman', Times, serif;
    height: 100%;
    width: 100%;
    cursor: default;

    display: inline;
    background: url(/resources/bg-texture.jpg);
    background-repeat: repeat;
    background-size: 15em;
    line-height: 2.5rem;
}

#background {
    height: 100%;
    width: 100%;
    position: absolute;
    z-index: 0;

}

.bg-texture {
    height: 100%;
    width: 100%;
    z-index: 0;
}

#side-bar {
    position: fixed;
    z-index: 1;

    justify-content: center;
    text-align: center;

    width: 20%;
    max-width: 300px;
    height: 100%;
    border-right: 5px solid black;

    font-size: 1.2em;
    overflow:visible;
}

#side-bar-content {
    margin-top: 10%;
    width: 100%;
    position: absolute;
    
}

.logo {
    width: 100%;
    margin-left: 10%;
}

aside h3 {
    margin-top: 10%;
    z-index: 1;
}

#main {
    margin-left: min(20%, 300px);
    margin-right: 270px;
    height: 100%;
}


#netscape-icon {
    position: absolute;
    bottom: 50px;
}

#copyright {
    bottom: 0;
    position: absolute;
    font-size: 1rem;
    color: grey;
    margin-left: 13%;
}

a {
    color: lightblue;
}

a:hover {
    color: white;
}

a:active {
    color: purple;
}

h1 {
    z-index: 1;
    position: relative;

    color: white;
    font-size: min(3.3rem)
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

em {
    color: red;
}


#header {
    border-bottom: 2px white solid;
}

#content {
    display: flexbox;
    align-items: center;
    margin: 0.2%;
    color: white;
    width: 80%;
    height: 100%;
    justify-content: center;
}


.image-with-caption {
    width: 100%;
    padding: 10px;
}

.image-with-caption img {
    width: 100%;
    height: auto;
}

.caption {
    font-size: 1rem;
    margin-top: 1px;
    color: rgb(0, 255, 0);
}

#images {
    color: white;
    position: absolute;
    z-index: 1;
    right: 0;

    text-align: center;
    width: 25%;
    min-width: 300px;
    max-width: 400px;
    height: 100%;
    overflow-y: auto;

    top: 5%;

    font-size: 1em;
}

p {
    font-size: 1.5em;
}

.text-aligned-image {
    float: right;
    width: 60%;
    max-width: 400px;
    margin-right: -500px;
}


button {
    height: 3rem;
    width: 12rem;
    

    margin: 20px 0 0 5px;
    padding: 5px;

    font-family: 'Times New Roman', Times, serif;
    font-size: 1.2rem;
    font-weight: bold;

    border-radius: 0.5rem;

}

.forward-button {
    float: right;
    background-color: rgb(0, 200, 0);
    color: white;
}

.forward-button:hover {
    background-color: rgb(0, 255, 0);
}

.forward-button:active {
    background-color: rgb(0, 100, 0);
}

.back-button {
    background-color: rgb(240, 0, 0);
    color: white;
}

.back-button:hover {
    background-color: rgb(255, 50, 50);
}

.back-button:active {
    background-color: rgb(100, 0, 0);
}

.home-button {
    background-color: rgb(200, 200, 200)
}
.home-button:hover {
    background-color: white;
}
.home-button:active {
    background-color: red;
}


h5 {
    font-size: 2rem;
    color: red;
}

li {
    font-size: 1.5rem;
}

.the-truth-is-in-the-signal {
    position: absolute;
}