/* Pre-defined tag styles. */
* {
    box-sizing: border-box;
    }

a {
    color:white;
    font-family:'Georgia', 'Cambria';
    font-size:14px;
    }

abbr {
    font-weight:bold;
    }

address {
    color:white;
    font-family:'Georgia', 'Cambria';
    font-size:14px;
    }

article {
    box-sizing:border-box;
    color:white;
    float:left;
    font-family:'Georgia', 'Cambria';
    font-size:14px;
    padding:14px;
    text-align:left;
    width:100%;
    }

aside {
    box-sizing:border-box;
    color:white;
    float:left;
    font-family:'Georgia', 'Cambria';
    font-size:14px;
    padding:14px;
    text-align:right;
    width:25%;
    }

blockquote {
    color:white;
    font-family:'Georgia', 'Cambria';
    font-size:14px;
    margin:10px;
    text-align:justify;
    }

blockquote:first-letter {
    font-size:1.8em; 
    font-weight:bold
    }

body {
    background-color:#031126;
    background-image:url(images/background.png);
    background-position:center top;
    background-repeat:no-repeat;
    margin:auto;
    max-width:1100px;
    padding:20px;
    width:98%;
    }

figure {
    display:inline-block;
    margin:5px;
    margin-bottom:20px;
    text-align:center;
    width:440px;
    }

figure img {
    display:block;
    height:auto;
    margin:0 auto;
    max-width:100%;
    }

figcaption {
    text-align:center;
    }

h1 {
    color:white;
    font-family:'Franklin Gothic Medium', 'Arial Narrow';
    text-align:center;
    }

h2 {
    color:white;
    font-family:'Franklin Gothic Medium', 'Arial Narrow';
    text-align:center;
    }

header {
    background-image:url(images/banner.png);
    background-position:center center;
    background-repeat:no-repeat;
    background-size:cover;
    padding-top:25%;
    position:relative;
    }

hr {
    background-color:#039;
    height:5px;
    width:100%;
    }

img {
    border:0px;
    display:block;
    height:auto;
    max-width:100%;
    }

nav {
    text-align:center;
    text-decoration:none;
    width:100%;
    }

nav a {
    color:white;
    display:block;
    font-family:'Georgia', 'Cambria';
    font-size:20px;
    text-decoration:none;
    width:30%
    }

nav a:hover {
    color:blue;
    text-decoration:underline;
    }

nav ul li.selected a {
    color:blue;
    }

nav li {
    display:inline;
    list-style:none;
    padding:0px 14px;
    list-style:none;
}

nav li a {
    border:0px #AAA solid;
    padding:6px;
    }

@media only screen and (min-width:720px) {
    nav a {display:inline}
    nav li {display:inline; padding:0 18px}
    }

@media only screen and (min-width:1000px) {
    body {max-width:1000px;}
    nav li {display:inline; padding:0 18px}
    }

p {
    color:white;
    font-family:'Georgia', 'Cambria';
    font-size:14px;
    }

section {
    box-sizing:border-box;
    color:white;
    float:left;
    font-family:'Georgia', 'Cambria';
    font-size:14px;
    padding:14px;
    text-align:left;
    width:75%;
    }

table {
    border:4px solid #039; 
    border-collapse:collapse;
    margin-left:auto;
    margin-right:auto;
    padding:6px;
    }

td {
    color:white;
    font-family:'Georgia', 'Cambria';
    font-size:18px;
    }

th {
    background-color:white;
    color:#039;
    font-family:'Georgia', 'Cambria';
    font-size:20px;
    text-align:center;
    }

/* ID selector styles. */
#figContainer {
    background-color:rgba(0,0,57,0.5);
    border:2px white solid;
    display:flex;
    flex-wrap:wrap;
    gap:40px;
    justify-content:center;
    margin:0 auto;
    max-width:1000px;
    padding:10px;
    text-align:center;
    }

#figContainer aside,
#figContainer section {
    align-items:center;
    display:flex;
    flex-direction:column;
    width:300px;
    }

#menu {
    background-color:rgba(0,0,57,0.5);
    border:2px white solid;
    padding:10px;
    }

#quote {
    background-color:#039;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
    color:white;
    font-size:14px; 
    font-family:'Georgia', 'Cambria';
    font-weight:bold;
    padding:5px;
    text-align:center;
    }

#wrapper {
    background-color:rgba(0,0,57,0.5);
    border:2px white solid;
    padding:10px;
    }

/* Class selector styles. */
.box {
    border:2px blue solid
    }

.highlight {
    background-color:#039;
    }

.required {
    color:red;
    font-weight:bold;
    }

.siteTitle {
    font-weight:bold;
    text-decoration:overline underline;
    }

/* Slideshow container */
.slideshow-container {
    position: relative;
    max-width: 800px;
    margin: auto;
    overflow: hidden;
    }

/* Hide all slides by default */
.slide {
    display: none;
    }

/* Image style */
.slide img {
    width: 100%;
    border-radius: 6px;
    }

/* Fade animation */
.fade {
    animation: fadeEffect 1.5s;
    }

@keyframes fadeEffect {
    from {opacity: 0.4;}
    to {opacity: 1;}
    }

/* Navigation buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 10px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    transition: 0.3s;
    border-radius: 0 3px 3px 0;
    user-select: none;
    }

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
    }

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.5);
    }

/* Dots */
.dots-container {
    text-align: center;
    padding: 15px;
    }

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 4px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
    }

.active, .dot:hover {
    background-color: #717171;
    }
