@charset "utf-8";
/*
    Author: Anthony Paul Swindall
    Date: 03/12/2023
    Filename: apswindall.css
*/

/* =============================================
	Base styles used by All Screens
   =============================================
*/
@font-face {
  font-family: "Lato";
  src: url("./font/Lato-Regular.ttf"),
}
@font-face {
  font-family: "LatoB";
  src: url("./font/Lato-Bold.ttf"),
}
@font-face {
  font-family: "LatoI";
  src: url("./font/Lato-Italic.ttf"),
}

*{
    background-color: black;
    padding: 0;
    margin: 1;
    font-family: Lato, LatoB, LatoI, monospace, sans-serif;
    font-size: 16px;
    box-sizing: border-box;
}

/* Body Header Styles */ 
body > header {
    background-color: black;
    padding-bottom: 2%;
    margin: auto;
}

body > header > blockquote {
    color: beige;
    font-size: 24px;
    text-align: center;
}

body > header > p {
    color: darkseagreen;
    font-size: 12px;
    text-align: right;
}

/* Main Style */

.mainstyle {
    background-color: black;
    font-family: sans-serif;
    font-size: 24px;
    text-align: justify;
    color: beige;
    padding-top: 2%;
    margin: auto;
}

/* Horizontal Navigation Styles */
nav.horizontal {
	height: auto;
	width: 100%;
}

/* Navigation Pages Styles */
ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: black;
    position: relative;
    top: 0;
    width: 100%;
}

li {
  float: left;
    border-right: 1px solid #bbb;
}

li a {
  display: block;
  color: indianred;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

/* Change the link color on hover */
li a:hover {
  background-color: bisque;
}

.active {
    background-color: #bbb;
}

/* Additional Styles*/
h1 {
    padding: 0;
    margin-bottom: 0;
    text-align: center;
    font-size: 24px;
    color: darkseagreen;
}

h2 {
    text-align: left;
    font-size: 20px;
    color: beige;
}

p {
    font-size: 16px;
    font-family: Lato;
    color: beige;
}

/* Description Lists */ 
dt {
    color: indianred;
}
dl {
    color: beige;
}

/* Table */
th, td {
    color: black;
    border: 1px solid;
    padding: 15px;
    background-color: whitesmoke;
    /* Use flexbox to align content vertically and horizontally */
    display: inline-flexbox;
    align-items: center;
    justify-content: center;
}

/* Table header */
th {
    text-transform: capitalize;
    background-color: lightgray;
}

table {
    width: 100%;
    border-collapse: collapse;
    /* Use margin-top and margin-bottom to add spacing */
    margin-top: 20px;
    margin-bottom: 20px;
}

tbody {
    font-size: 95%;
    font-style: italic;
    font-weight: bold;
}
/* Web Forms */

form {
    color: whitesmoke;
    padding: 20px;
    border: 2px solid indianred;
    border-radius: 10px;
}

.form-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.form-control {
    margin: 10px 0;
    color: beige;
    background-color: black;
    border: 2px solid indianred;
    border-radius: 5px;
}

.btn {
    margin-top: 10px;
    color: beige;
    background-color: indianred;
    border: none;
    border-radius: 5px;
}

.btn:hover {
    color: black;
    background-color: beige;
}

/* Local Videos */
video {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    border: 2px solid whitesmoke;
    border-radius: 10px;
}

video:hover {
    transform: scale(1.1);
}

/* JavaScript */

/* Links */
a:link {
    color: lightsalmon;
    background-color: transparent;
    text-decoration: none;
}

a:visited {
    color: navajowhite;
    background-color: transparent;
    text-decoration: none;
}

a:hover {
    color: darkseagreen;
    background-color: transparent;
    text-decoration: none;
}

a:active {
    color: bisque;
    background-color: transparent;
    text-decoration: none;
}

/* Images: Gallery */
.gallery img {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: auto;
    margin: auto;
    border: 2px solid whitesmoke;
    border-radius: 50%;
    padding: 10px;
    width: 33.33%;
    /* Stacks the images */
    position: absolute;
    z-index: 0;
    /* Applies the animation */
    animation: slide 20s infinite;
}

/* Define animation */
@keyframes slide {
    0% {opacity: 0; z-index: 0;}
    5% {opacity: 1; z-index: 1;}
    20% {opacity: 1; z-index: 1;}
    25% {opacity: 0; z-index: 0;}
    30% {opacity: 0; z-index: 0;}
    35% {opacity: 1; z-index: 1;}
    50% {opacity: 1; z-index: 1;}
    55% {opacity: 0; z-index: 0;}
    60% {opacity: 0; z-index: 0;}
    65% {opacity: 1; z-index: 1;}
    80% {opacity: 1; z-index: 1;}
    85% {opacity: 0; z-index: 0;}
}

img:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.5);
}

/* Body Footer Styles */
body > footer {
    color: indianred;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-top: 2px solid black;
    margin-top: 50px; /* add some margin here */
}

body > footer > div {	
    font-size: 0.875em;
    color: darkseagreen;
}

body > div {
    color: indianred;
}