/* 
Filename: styles.css
Author: Samuel Barnes
Course: ITWP 1050
Assignment: Project 1 - External Style Sheet
Description: Styling Miguel Cabrera webpage using CSS
*/

/* =========================
   Global Variable (:root)
========================= */
:root {
    --white: #ffffff;
}

/* =========================
   Universal Selector
========================= */
* {
    box-sizing: border-box;
}

/* =========================
   Body Styling
========================= */
body {
    font-family: Arial, Helvetica, sans-serif;
}

/* =========================
   Header Class
========================= */
.header {
    background-color: var(--white);
    background-image: url("images/baseball_headerimage.jpg");
    background-size: cover;
    background-position: center;
    text-align: center;
    height: 250px;
    border-radius: 10px;
    box-shadow: inset 0 0 25px black;
}

/* =========================
   h1 Styling
========================= */
h1 {
    color: var(--white);
    padding: 15px;
}

/* =========================
   h2 Styling
========================= */
h2 {
    text-align: center;
    padding: 0;
}

/* =========================
   Image Styling
========================= */
img {
    border: 3px double black;
    border-radius: 10px;
    padding: 5px;
    width: 100%;
    height: auto;
}

/* =========================
   ID Selectors
========================= */
#awards, #info {
    text-align: left;
    font-size: 85%;
}

#retired {
    color: maroon;
    font-weight: bold;
}

/* =========================
   Class Selectors
========================= */
.highlights {
    text-align: left;
    font-size: 85%;
}

.headlines {
    font-size: 85%;
    font-weight: bold;
    text-align: center;
}

/* =========================
   Layout Columns (Template Code)
========================= */

/* All columns */
.column {
    float: left;
    padding-top: 10px;
    padding-right: 10px;
}

/* Left and right column */
.column.side {
    width: 30%;
    background-color: var(--white);
}

/* Middle column */
.column.middle {
    width: 40%;
}

/* Clear floats */
.row::after {
    content: "";
    display: table;
    clear: both;
}

/* =========================
   Responsive Layout
========================= */
@media (max-width: 600px) {
    .column.side,
    .column.middle {
        width: 100%;
    }
}

/* =========================
   Footer Navigation
========================= */
.footer_navigation {
    padding: 20px;
    text-align: center;
    font-size: 11px;
}