/* project.html, style.css - Braxton Young - ITWP 1050 - 
This CSS is being created for project1 to provide CSS formatting to the project1.html document */

/* create global variable using root selector, naming white and adding value of white */
:root {
    --white: #FFFFFF;
    }

/* using the universal selector to add the box-sizing property with a border-box value*/
* {
    box-sizing: border-box
}

/* creating a rule for the body selector to set font family for the HTML doc*/
body {
    font-family: Arial, Helvetica, sans-serif;
}

/* creating a class named header for background color, image, size, position, text alignment and height,
border radius and box shadow*/
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;
}

/* creating h1 element selector with text color and padding on all four sides */
h1 {
    color: var(--white);
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 15px;
    padding-bottom: 15px;
}

/* creating h2 element selector with text alignment and padding on all four sides */
h2 {
    text-align: center;
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
}

/* create an image selector with border shorthand, border radius, padding, width and height*/
img {
    border: 3px double black;
    border-radius: 10px;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 5px;
    padding-bottom: 5px;
    width: 100%;
    height: auto;
}

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

/* creating ID selector retired */

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

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

/*class selector headlines */
.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 columns */
.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%;
   }
}

/* Create class selector footer_validation with padding, text align and font size */
.footer_validation {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: center;
    font-size: 11px;
}
