/* 
    Project 1 Stylesheet
    ITWP 1000
    Author: Danil Ushking
    Fitness and Winter Olympic Website
*/

/* ===== Body Styling ===== */

body {
    background-color: #f4f6f8;
    color: #333333;
    font-family: Arial, Helvetica, sans-serif;
    margin: 10px;
}

/* ===== Header ===== */

h1 {
    text-align: center;
    font-size: 2.2em;
    margin-bottom: 15px;
}

/* ===== Navigation ===== */

nav {
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

nav a {
    text-decoration: none;
    color: #0056b3;
    padding: 8px;
}

nav a:hover {
    color: #ff6600;
}

/* ===== Main Content ===== */

main {
    max-width: 900px;
    margin: auto;
}

h2 {
    margin-top: 25px;
    color: #222222;
}

p {
    line-height: 1.6;
    margin-bottom: 15px;
}

/* ===== Images ===== */

figure {
    text-align: center;
    margin: 25px 0;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

figcaption {
    font-style: italic;
    margin-top: 8px;
}

/* ===== Audio / Video ===== */

audio,
iframe {
    display: block;
    margin: 20px auto;
}

/* ===== Footer ===== */

footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 10px;
    border-top: 1px solid #cccccc;
    font-size: 0.9em;
}
