/* 
    Author: Guilherme Modelli
    Course: ITWP 1050
    Assignment: Project1
*/

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

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

/* Rule setting the font family for the body to the following */
body {
    font-family: Arial, Helvetica, sans-serif;
}

/* setting header to the following properties */
.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; 
}

/* Rule for the h1 element selector */
h1 {
    color: var(--white); 
    padding: 15px; 
}

/* Rule for the h2 element selector */
h2 {
    text-align: center;
    padding: 0;
}

/* rule for the image element selector */
img {
    border: 3px double black;
    border-radius: 10px;
    padding: 5px;
    width: 100%;
    height: auto;
}

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

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

/* Class selector for the class highlights */
.highlights {
    text-align: left;
    font-size: 85%;
}

/* Class selector for the class headlines */
.headlines {
    font-size: 85%;
    font-weight: bold;
    text-align: center;
}

/* Create three unequal columns that float 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;
}

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

/* Class selector for the footer_validation */
.footer_validation {
    padding: 20px;
    text-align: center;
    font-size: 11px;
}
