/* 
Filename: styles.css
Author: Klajdi Bicaku
Course: ITWP 1050
Assignment: Module 3 Project 1
*/

/* Root selector - global variable */
:root {
    --white: #ffffff;
}

/* Universal selector */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body */
body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f4f4f4;
}

/* Header */
header {
    background-image: url("images/baseball_headerimage.jpg");
    background-size: cover;
    background-position: center;
    height: 220px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 20px;
}

/* Header class */
.header {
    background: none;
}

/* Title */
h1 {
    color: white;
    font-size: 28px;
    text-align: center;
    text-shadow: 2px 2px 5px black;
}

/* Section titles */
h2 {
    text-align: center;
    margin-bottom: 5px;
}

/* MAIN FIX (makes whole area white) */
main {
    padding: 20px;
    background-color: var(--white);
    max-width: 1100px;
    margin: auto;
}

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

/* Columns */
.column {
    float: left;
    padding: 10px;
}

/* Side columns */
.column.side {
    width: 30%;
    background-color: var(--white);
}

/* Middle column */
.column.middle {
    width: 40%;
    background-color: var(--white);
}

/* Lists */
ul {
    margin-left: 20px;
}

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

/* Footer */
.footer_validation {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 11px;
}

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

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

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

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