/*
    Author: prlogan
    Original Date: 10/16/2025
    Purpose: Assignment 3 - Small Business Website
    Show Show Website CSS Stylesheet
    Updated: 10/25/2025
 */

/*Body*/
#container {
    border: solid darkgreen 2px;
    background: #BCE3A8;
    padding: 30px;
    margin: 8px auto;
    width: 80%;
}

#logo {
    display: block;
    margin: auto;
    float: left;
}

.two-point-O {
    color: darkred;
    font-weight: bold;
}

p{
    text-align: center;
}

body {
    font-family: "Cabin", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    font-size: 125%;
}

h1 {
    font-family: "Exo 2", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    text-align: center;
    font-size: 300%;
}

h2 {
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    text-align: center;
}

.header-border {
    border-style: inset;
    border-color: darkslateblue;
    border-radius: 10px;
    background-color: lightskyblue;
    padding: 0 10px 25px 0;
    margin: 10px;
}

#youTube-link-footer {
    border: 3px solid purple;
    background-color: mediumpurple;
    padding: 5px;
    margin: 5px;
    text-align: center;
}

.figure-container {
    margin: 5px;
    padding: 3px;
    border: 4px solid black;
    background-color: darkslateblue;
    color: white;
}

figcaption {
    text-align: center;
    margin: 5px;
    font-family: "Cherry Cream Soda", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 125%;
}

#big-logo {
    display: block;
    margin: auto;
}

.about-picture {
    border: 10px dotted white;
    border-radius: 75%;
    padding: 3px;
    background-color: black;
}

.skills-header {
    text-align: center;
    text-decoration: underline;
    margin: 10px;
}

.skills-container {
    text-align: center;
    background-color: #343333;
    padding: 5px;
    color: white;
    border: 2px solid white;
}

li {
    list-style-type: square;
}
/*Tables*/

table, td, th {
    border: 3px solid yellow;
    background-color: black;
    padding: 3px;
    margin: 4px;
}

table {
    border-collapse: collapse;
}

table caption {
    font-size: 125%;
}

/* Nav bar */
#active-nav {
    text-decoration: none;
    background-color: lightgreen;
    color: black;
}

nav {
    text-align: center;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

nav li {
    display: inline-block;
    text-align: center;
    padding: 0;
    font-size: 100%;
    margin-right: -20px;
}

@media screen and (max-width: 1160px) {
    nav li {
        display: block;
        margin: 50px;
    }
}

nav a {
    text-decoration: none;
    color: white;
    background-color: darkslategray;
    padding: 5px;
    margin: 10px;
    border: 5px solid darkgreen;
}

nav a:hover {
    text-decoration: underline;
    background-color: green;
}

nav a.active {
    color: aquamarine;
    text-decoration: underline;
    background-color: green;
}

/* Flexbox */

.flex-container {
    display: flex;
    flex-direction: row;
    text-align: center;
    justify-content: center;
    align-items: center;
    /*flex: auto;*/
    flex-wrap: wrap;/*allow items to move to next line */
    margin: 20px;
    padding: 5px;
    background-color: black;
}

#video-flex {
    flex-wrap: wrap;
    justify-content: center;
}

iframe {
    margin: 10px;
}

@media screen and (max-width: 800px) {
    #video-flex iframe {
        width: 300px;
        height: 200px;
    }
}

@media screen and (max-width: 800px) {
    .flex-container {
        flex-direction: column;
    }
}

.about-us {
    flex: 1 1 50%;/* grow, shrink, preferred width */
    max-width:48%;
    border: solid darkgreen 4px;
    padding: 8px;
    background-color: lightgrey;
    margin: 5px 2px 5px 2px;
}
