﻿/*  styles.css 
    Jessom Selmanllari
    Itwp1050
    style sheet for project 1
*/
:root {
    --white: #ffffff; /* Variable for white color */
}

/* This makes sure that padding and border are included in the element's total width and height */
* {
    box-sizing: border-box;
}

/* Use Arial, Helvetica, sans-serif for the body text */
body {
    font-family: Arial, Helvetica, sans-serif;
}

/* sets the background */
.header {
    background-color: var(--white);
    background-image: url("images/baseball_headerimage.jpg");
    background-size: cover;  
    background-position: center;
    height: 250px;
    border-radius: 10px;
    box-shadow: 0 0 25px black;
}

/* Apply white text color and 15px padding */
h1 {
    color: var(--white);
    padding: 15px;
    text-align: center;
}

/* Center align the text and remove padding */
h2 {
    text-align: center;
    padding: 0;
}

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

/* Align text to the left and set font size to 85% */
#awards, #info {
    text-align: left;
    font-size: 85%;
}

/* Set text color to maroon and make it bold */
#retired {
    color: maroon;
    font-weight: bold;
}


/* Align text to the left and set font size to 85% */
.highlights {
    text-align: left;
    font-size: 85%;
}

/* Set font size to 85%, bold text, and center align */
.headlines {
    font-size: 85%;
    font-weight: bold;
    text-align: center;
}

/* Create three unequal columns that floats next to each other */
.column {
    float: left;
    padding-top: 10px;
    padding-right: 10px;
    width: 30px;
}

/* 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%;
  }
}

/* Add 20px padding, center-align text, and set font size to 11px */
.footer_validation {
    padding: 20px;
    text-align: center;
    font-size: 11px;
}