/* This file links to the Miguel Cabrera Project
    Created by Alexander Durkin
    Course: ITWP 1050 Remote 8 Week
    This assignment showcases Miguel Cabrera from the Detroit Tigers team. */

/* This is a global variable that uses the root selector */
:root {
    --white: #FFFFFF;
}

/* This is a universal selector which applies to the box sizing property and box border */
* {
    box-sizing: border-box;
}

/* This line of code sets the font family to use specific fonts */
body {
    font-family: Arial, Helvetica, sans-serif;
}

/* This is a class names header */
.header {
    /* These lines control the background properties */
    background-image: url(images/baseball_headerimage.jpg);
    background-size: cover;
    background-position: center;
    text-align: center;
    height: 250px;
    /* This controls the background color sets it to white */
    background-color: var(--white);
    /* This controls the borders and has a box shadow */
    border-radius: 10px;
    box-shadow: inset 0 0 25px black;
}
/* This controls the header 1 for the document */
h1 {
    color: var(--white);
    padding: 15px;
}
/* This controls the header 2 for the document */
h2 {
    text-align: center;
    padding: 0;
}
/* this styles all of the images in the document */
img {
    border: 3px double black;
    border-radius: 10px;
    padding: 5px;
    /* These control how tall and how wide images are */
    width: 100%;
    height: auto;
}

#awards, #info {
    text-align: left;
    font-size: 85%;
}

#retired {
    color: maroon;
    font-weight: bold;
}

.highlights {
    text-align: left;
    font-size: 85%;
}

.headlines {
    font-size: 85%;
    font-weight: bold;
    text-align: center;
}
/* These next lines were taken from the project instructions */
.column {
    float: left;
    padding-top: 10px;
    padding-right: 10px;
    width: 30%;
}
/* Left and right column control */
.column.side {
    width: 30%;
    /* Added this per #16 instuctions */
    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 three columns stack on top of each other instead of next to each other */
@media (max-width: 600px) {
    .column.side, .column.middle {
        width: 100%;
    }
}
/* This controls the footer layout */
.footer_validation {
    padding: 20px;
    text-align: center;
    font-size: 11px;
}