*{
    margin: 0; padding: 0; border: 0; box-sizing: border-box;
}

body{
   background-color: hsl(200 80% 40%);
   color: hsl(200 80% 95% / 1);
   font-family: Verdana, Geneva, Tahoma, sans-serif; 
}

h1{
    text-align: center;
    font-weight: normal;
    border-bottom: 1px dotted orangered;
    padding: 8px;
}

/* the + selector is used to select the element that is immediately after the specified element */
h1 + p{
    text-align: center;
    color: #FFC;
    margin-bottom: 40px;
}

article{
   border: 4px solid orangered;
   padding: 8px;
}

table.training_plan{
   border: 4px solid #FFC;
   margin: 40px auto;
   font-size: 1.4em;
   border-collapse: collapse;
}

/* table headers <th> automatically get a bold font weight and are centered, which can be changed through styling */

.training_plan th, .training_plan td{
   border: 2px solid #222;
   padding: 8px;
   text-align: center;
   vertical-align: middle;
   display: table-cell;
   height: .5in;
}

.special {
    background-color: yellowgreen;
    color: orangered;
    text-transform: uppercase;
    font-weight: bold;
}


.training_plan tr:nth-child(odd) {
    background-color: #ffd;
    color: #222;
}

.training_plan tr:nth-child(even) {
    background-color: #fff;
    color: #222;
}

.training_plan tr:nth-child(5){
    background-color: violet;
    color: #222;
}

.quote {
    font-style: italic;
    font-family: cursive;
    text-align: center;
    line-height: 1.4;
    max-width: 60ch;
    margin: 10px auto;
    color: maroon
}

.quote .author {
    display: block;
    text-align: center;
    font-style: normal;
    font-family: verdana;
    font-weight: bold;
}

.print_only {
    display: none;
}

/* styles for print version */
@media print {

    .print_only {
        display: block;
    }

    .screen_only {
        display: none;
    }

    body{
        font-family: 'times new roman', Times, serif;
        color: #000;
    }

    h1 + p{
        color: #000;
    }

    a{
        text-decoration: none;
        color: #000;
    }

    a::after{
        content:" (" attr(href) ")";
    }

    table.training_plan {
        font-size: 8pt;
        font-family: "courrier new";
        border: 0px;

    }

    .training_plan th, .training_plan td{
        height: auto;
        border-left: 0px;
        border-right: 0px;
    }
}