/* 
Project1.html + Style.css
Author: Kailynn Anderson
Course: ITWP1050
This assignment is focusing on formatting a website 
*/

/* setting a variable for the color white. using --white as a color value will set 
the color to the color that is saved in the :root --white var, in this case, it will be white */
:root {
    --white: #ffffff;
}

/* setting the box-sizing property to border-box. */
* {
    box-sizing: border-box;
}

/* setting the font family Arial, Helvetica, and sans-serif */
body {
    font-family: Arial, Helvetica, sans-serif;
}
/* styling the header. it will have a background color of white thanks to the variable we set earlier
add a background imagw from our image folder
background size, background position and text align all have the same value of center
height of 250px.
the border will be rounded
with a shadow inset shadow with blur set to black */
.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;
}

/* all h1 elements will have a font color of white with padding of 15px */
h1 {
    color:  var(--white);
    padding: 15px;

}

/* all h2 elements will be centered with a padding of o*/
h2 {
    text-align: center;
    padding: 0;
}

/* all images will have a have a 3px wide, black double border with a radius of 10px
padding of 5px on all sides
width set to fill the container
height set to auto */
img {
    border: 3px double black;
    border-radius: 10px;
    padding: 5px;
    width: 100%;
    height: auto;
}
/* The awards and info sections */
#awards, #info {
    text-align: left;
    font-size: 85%;
}
/* retired section*/
#retired {
    color: maroon;
    font-weight: bold;
}
/* highlights section */
.highlights {
    text-align: left;
    font-size: 85%;
}
/* headlines section */
.headlines {
    font-size: 85%;
    font-weight: bold;
    text-align: center;
}

/* create three unequal columns that floats next to each othewr - 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%;
    }
}
/* footer section */
.footer_validation {
    padding: 20px;
    text-align: center;
    font-size: 11px;
}