/*
    Name:   Lailee Bowman
    Course: ITWP 1050 
    Assignment: Project 1 (Miguel Cabrera #24 | Detroit Tigers)
*/

/*global variable using root selector with a value of white*/
:root {
    --color: #fff;
}

/*universal selector with box sizing as border box*/
* {
    box-sizing: border-box;    
}

/*body style sets font family to arial ,helvetica, sans-serif*/
body {
    font-family: Arial, Helvetica, sans-serif;
}

/*header class that specifies background color referencing white global variable, background image, size, position, text alignment, height, border radius, and box shadow*/
.header {
    color: var(--color);
    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 inset black;
}

/*h1 element specifies text color using global variable, 15px padding on all sides*/
h1 {
    color: var(--color);
    padding: 15px;
}

/*h2 element centers text, 0 padding on all sides*/
h2 {
    text-align: center;
    padding: 0;
}

/*image element selector with 3px double black border, 10 px radius, 5 px padding, width 100%, and height auto*/
img {
    border: 3px double black;
    border-radius: 10px;
    padding: 5px;
    width: 100%;
    height: auto;
}
/*id selector for awards and info that aligns text left, and font size 85%*/
#awards, #info {
    text-align: left;
    font-size: 85%;
}

/*id selector for retired with text color maroon and font weight bold*/
#retired {
    color: maroon;
    font-weight: bold;
}

/*class selector for highlights to align text left, size 85%*/
.highlights {
    text-align: left;
    font-size: 85%;
}

/*class selector for headlines, font size 85%, bold, centered*/
.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(--color);
}

/*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%;
    }
}

/*footer validation class with 20px padding, centered text, and 11px font*/
.footer_validation {
    padding: 20px;
    text-align: center;
    font-size: 11px;
}