﻿/* Main page body styling. */
body {
    margin: 0;
    background-color: #820201;
    font-family: sans-serif;
}

form{
    display: compact;
    align-content: center;
}

input {
    background-color: #820201;
    font-family: 'Times New Roman', Times, serif;
    font-size: 16px;
    margin-right: 10px;
    margin-bottom: 5px;
}

input:active {
    background-color: red;
    font-family: 'Times New Roman', Times, serif;
    font-size: 16px;
    margin-right: 10px;
    margin-bottom: 5px;
}

button {
    width: 3rem;
    margin-right: 10%;
    margin-left: 10%;
    border: 2px solid darkred;
    border-radius: 0.25rem;
    font-weight: bold;
}

button:active {
    background-color: goldenrod;
}

label {
    text-align: center;
    font-size: 1.25rem;
    line-height: 1.25rem;
    /* Coloring/details. */
    color: white;
    font-family: 'Times New Roman', Times, serif;
}

#btnSubmit {
    background-color: darkred;
    border: 1px solid black;
    color: white;
    font-family: 'Times New Roman', Times, serif;
    font-size: 20px;
    font-weight: bold;
    padding: 10px 20px;
    text-decoration: none;
}

#btnSubmit:hover {
    font-family: 'Times New Roman', Times, serif;
    background-color: red;
    text-shadow: 1px 1px black;
    color: white;
}

#btnSubmit:active {
    font-family: 'Times New Roman', Times, serif;
    background-color: yellow;
    text-shadow: 1px 1px black;
    color: white;
}

select {
    background-color: darkred;
    font-family: 'Times New Roman', Times, serif;
    color: white;
}

/* 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: 1rem; /* Prevents the footer from overlapping the bottom of the content. */
    align-content: center;
}

/* 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: left;
}

p2 {
    font-size: 1rem;
    line-height: 2rem;
    /* Coloring/details. */
    font-weight: bold;
    color: white;
    align-content: center
}

p3 {
    font-size: 1rem;
    line-height: 2rem;
    /* Coloring/details. */
    font-weight: bold;
    color: white;
}

/* Stylization for header type texts within content. */
h1 {
    font-size: 2rem;
    line-height: 3rem;
    /* Coloring/details. */
    text-align: left;
    color: white;
    font-weight: bold;
    text-decoration: underline;
    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;
    text-align: left;
}

h3 {
    font-size: 2rem;
    line-height: 3rem;
    /* Coloring/details. */
    text-align: center;
    color: white;
    font-weight: bold;
    text-decoration: underline;
    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;
}

/* Hovering over links... */
a:hover, a:visited:hover {
    color: gold;
    text-decoration: none;
}

/* Already visited links... */
a:visited {
    color: #833bcb;
    text-decoration: none;
    font-style: italic;
}

    /* A clicked link... */
    a:active, a:visited:active {
        color: red;
        text-decoration: none;
    }

/* 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: 50%;
    /* Custom border for images. */
    border: 5px solid #231D1D;
    box-shadow: 0.5rem 0.5rem 0.5rem #231D1D;
}