/* ==================================================\
    File Name: styles.css
    Name: Brandon Klein
    Course: ITWP 1050
    Assignment: Project 1
    Description: This stylesheet controls the layout,
    typography, and styling for Project 1.
=================================================== */

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

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

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

/* Header class */
.header {
    /* Background color using global white variable */
    background-color: var(--white);

    background-image: url("images/baseball_headerimage.jpg");
    background-size: cover;
    background-position: center;
    text-align: center;
    height: 250px;

    /* Border radius of 10 pixels on all four sides */
    border-radius: 10px;

    /* Box shadow */
    box-shadow: inset 0 0 25px black;
}

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

h2 {
    text-align: center;
    padding: 0px;
}

/* Image Styling */
img {
    /* Border: 3px wide, double style, black color */
    border: 3px double black;

    /* Rounded corners */
    border-radius: 10px;

    /* Space inside the border */
    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;
}

/* Create three unequal columns that floats next to each other */
.column {
    float: left;
    padding-top: 10px;
    padding-right: 10px;
    width: 30%;
}

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

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

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

/* Responsive layout - makes the three columns stack on top of each other instead of next to each other */
@media (max-width: 600px) {
    .column.side, .column.middle {
        width: 100%;
    }
}

/* Footer validation class selector */
.footer_validation {
    padding: 20px;
    text-align: center;
    font-size: 11px;
}