﻿/* Main page body styling. */
body {
    margin: 0;
    background-color: #820201;
    font-family: sans-serif;
    text-align: center;
}

/* Title/Nav area styling. */
#titleNav {
    /* For mobile device sized screens, display the title and nav on top of each other in a column layout. */
    display: flex;
    flex-direction: column; /* Formats both nav links and the title into a column when wide enough. */
    /* Fixes to the top of the screen. */
    position: fixed;
    width: 100%;
    z-index: 2; /* Place the titleNav on the highest z-index. This ensures it will NEVER be overlapped by any other element on the page. */
    top: 0;
    padding: 0.5rem;
    padding-top: 1rem;
    /* Coloring/details. */
    color: white;
    background-color: #231D1D;
    box-shadow: 0px 0px 5px black;
}

/* Styling for the title within the TitleNav section. */
#title {
    font-size: 2rem;
    font-weight: bold;
    white-space: nowrap; /* Prevents the title from wrapping. */
    text-align: center; /* Puts the title in the middle of the titlenav on mobile screens. */
    padding-left: 0.5rem;
    padding-right: 1rem;
}

/* Styling for the navigation section. */
#nav {
    text-align: center;
    padding-top: 1rem;
    white-space: nowrap; /* Prevents links from wrapping. */
    font-size: 1.25rem;
    font-weight: bold;
}

/* Styling for the content of the page. Intended to be used with p and header tags for words. */
#content {
    padding: 1.2rem;
    margin-top: 4rem; /* Prevents the TitleNav from overlapping the top of the content. */
    margin-bottom: 2rem /* Prevents the footer from overlapping the bottom of the content. */
}

/* Stylization for standard paragraph text within content. Content will have multiple types of text as needed for variety. */
p {
    font-size: 1.5rem;
    line-height: 2rem;
    margin-bottom: 1rem;
    /* Coloring/details. */
    color: white;
    text-align: center;
}

/* Stylization for header type texts within content. */
h1 {
    font-size: 2.5rem;
    line-height: 3rem;
    /* Coloring/details. */
    color: white;
    font-weight: bold;
    text-decoration: underline;
    text-align: center;
    font-family: 'Times New Roman', Times, serif;
}

h2 {
    font-size: 2rem;
    line-height: 3rem;
    /* Coloring/details. */
    color: white;
    font-weight: bold;
    font-style: italic;
    font-family: 'Times New Roman', Times, serif;
}

/* Styling for the footer of the page. */
#footer {
    padding: 0.5rem;
    font-size: 1rem;
    text-align: center;
    width: 100%;
    /* Fixes to the bottom of the screen. */
    position: fixed;
    bottom: 0;
    z-index: 1;
    /* Coloring/details. */
    color: white;
    background-color: #231D1D;
    box-shadow: 0px 0px 5px #231D1D;
    font-family: 'Times New Roman', Times, serif;
}

/* Stylization for ALL links. */
a:link {
    color: dodgerblue;
    text-decoration: none;
    font-weight: bold;
    text-shadow: 2px 2px #231D1D;
    text-align: center;
}

/* Hovering over links... */
a:hover, a:visited:hover {
    color: gold;
    text-decoration: none;
    text-align: center;
}

/* Already visited links... */
a:visited {
    color: #833bcb;
    text-decoration: none;
    font-style: italic;
    text-align: center;
}

/* A clicked link... */
a:active, a:visited:active {
    color: red;
    text-decoration: none;
    text-align: center;
}

/* Stylization for list items. */
li {
    color: white;
    font-size: 1.5rem;
    font-style: italic;
}

/* Stylization for images. */
img {
    /* Centers the image. */
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 15rem;
    height: 20rem;
    /* Custom border for images. */
    border: 5px solid #231D1D;
    box-shadow: 0.5rem 0.5rem 0.5rem #231D1D;
}