/*
Author: Melissa Daoud
Course: ITWP 1050 - CSS
Date: 11/4/2023
File name: styles.css
This file contains the css styling for project 1.
*/

/* Global variable */
/* Root selector */
:root {
    --white: #FFFFFF;
}

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

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

/* h1 and h2 elements */
h1 {
    color: var(--white);
    padding: 15px;
}

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

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

/* Classes */
/* 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: 0 0 25px black inset;
}

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

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

/* Create three unequal columns that floats next to each other - W3Schools */
.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;
}

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

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

/* Retired ID */
#retired {
    color: maroon;
    font-weight: bold;
}

/* 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%;
    }
}