/* Filename: styles.css
   Name: Aaron Robinson
   Course: ITWP-1050
   Assignment Info: This is the first project for the course, created to demonstrate the skills learned with CSS thus far */
 
/* Root selector with a global variable */ 
:root {
	--white: #FFFFFF;
}
	
/* Universal selector that sizes any boxes like so */
* {
	box-sizing: border-box;
}

/* Body selector that changes the font family to the following */
body {
	font-family: "Arial", Helvetica, sans-serif;
}

/* A class made specifically for headers, featuring a number of format changes. Includes a reference to the global variable defined above */
.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;
}

/* 	An element selector for h1 that uses the global variable created earlier */
h1 {
	color: var(--white);
	padding: 15px;
}

/* An element selector for h2 that uses the global variable created earlier */
h2 {
	text-align: center;
	padding: 0;
}

/* An image element selector that applies a border and adjusts the image size and padding */	
img {
	border: 3px double black;
	border-radius: 10px;
	padding: 5px;
	width: 100%;
	height: auto;
}

/* An ID selector with two unique IDs */
#awards, #info {
	text-align: left;
	font-size: 85%;
}

/* An ID selector with a single ID; used for the span tag in the HTML document */
#retired {
	color: maroon;
	font-weight: bold;
}
	
/* The following code below contains multiple class selectors, tailored for different elements of the page */
.highlights {
	text-align: left;
	font-size: 85%;
}

.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%;
	}
}

/* The last class selector, which styles the footer at the bottom of the page */
.footer_validation {
	padding: 20px;
	text-align: center;
	font-size: 11px;
}
