/*File name: project1
Author: Grace Trombley
Course: ITWP 1050
Assignment: Format a plain web document using CSS to give some style.
*/

/*global variable*/
:root {
    --white: #ffffff;
}

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

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

/*calls global veriable and styles header*/
.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: 0px 0px 25px black
}

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

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

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

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

#retired {
    color: maroon;
    font-weight: bold;
}

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

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

/*three unequal columns*/
.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 columns*/
.row:after {
    content: "";
    display: table;
    clear: both;
}

/*responsive layout*/
@media (max-width: 600px) {
    .column.side, .column.middle {
        width: 100%;
    }
}

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