/* styles.css, Sonagnon Dossa, ITWP-1050, Project1-css styling */

/* This is the root selector */
:root {
    --white: #ffffff; /* We are creating a variable named white with with color value using the hex code */
}

/* This is the universal selector to apply this style to all html elements */
* {
    box-sizing: border-box; /* Giving border-box value to include padding and border in the element size */
}

/* This selector applies font style to the body of the page */
body {
    font-family: Arial, Helvetica, sans-serif;
}

/* This class applies styles to the header elements */
.header {
    background-color: var(--white); /* Apply white color to the backgroung using the globale variable */
    background-image: url("images/baseball_headerimage.jpg");
    background-size: cover;
    background-position: center;
    text-align: center;
    height: 250px;
    border-radius: 10px; /* Apply rounded border by 10 pixels to the header element */
    box-shadow: inset 0 0 25px black;
}

/* This selector applies styles to heading 1 elements */
h1 {
    color: var(--white); /* Apply white color to headings 1 using the globale variable */
    padding: 15px; /*Add space between the elements borders and the content */
}

/* This selector applies styles to heading 2 elements */
h2 {
    text-align: center; /* Center the content */
    padding: 0; /* No padding */
}

/* This selector applies styles to the image elements */
img {
    border: 3px double black; /* Apply 3 pixels double black line border */
    border-radius: 10px; /* Apply rounded border by 10 pixels to the image elements */
    padding: 0; /* No padding */
    width: 100%;
    height: auto;
}

/* These ID selectors apply styles to awards, info and retired sections */
#awards, #info {
    text-align: left;
    font-size: 85%;
}
#retired {
    color: maroon;
    font-weight: bold;
}

/* This class applies styles to the highlights elemets */
.highlights {
    text-align: left;
    font-size: 85%;
}

/* Tis class apply styles to 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 column */
.column.side {
    width: 30%;
    background-color: var(--white);
}

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

/* Clear floats after the colums */
.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%;
    }
}

/* This class applies styles to footer elements*/
.footer_validation {
    padding: 20px;
    text-align: center;
    font-size: 11px;
}