/* File Name: styles.css 
Author Name: Kristen Glodich
Course: ITWP 1050
Assignment Name: Project1*/

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

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

/*create body selector that dictates document font*/
body {
    font-family: 'Arial', 'Helvetica', 'sans-serif';
}

/* create header class that references global variable*/
.header {
    background-color: var(--white);

    /*code from project1 PDF*/
    background-image: url("images/baseball_headerimage.jpg");
    background-size: cover;
    background-position: center;
    text-align: center;
    height: 250px;

    /*border properties*/
    border-radius: 10px;
    box-shadow: 0px 0px 25px black inset;
}

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

/*h2 element styling*/
h2 {
    text-align: center;
    padding: 0px;
}

/*img element styling*/
img {
    border: 3px double black;

    border-radius: 10px;

    padding: 5px;

    width: 100%;
    height: auto;
}

/* awards and info id styling*/
#awards, #info {
    text-align: left;
    font-size: 80%;
}

/*retired id styling*/
#retired {
    color: maroon;
    font-weight: bold;
}

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

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

/*code from assignment*/
/*create three unequal columns that float next to each other*/
.column {
    float: left;
    padding-top: 10px;
    padding-right: 10px;
    width: 30%;
}

/*left and right column*/
.column.side {
    width: 30%;

    /*add background*/
    background-color: var(--white);
}

/*middle column*/
.column.middle {
    width: 40%;
}

/*clear floats after the columns*/
.row:after {
    content: "";
    display: table;
    clear: both;
}

/*responsive text layout - makes the three columns stack next to each other instead of next to each other*/
@media (max-width: 600px) {
    .column.side, .column.middle {
        width: 100%;
    }
}

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