@charset "utf-8";

/*
   New Perspectives on HTML5 and CSS3, 8th Edition
   Tutorial 6
   Case Problem 1

   Tables Style Sheet
   Author: Kyle Snyder
   Date:   11/3/24

   Filename:         mi_tables.css

*/

/* Table Styles */
table {
   background: linear-gradient( rgb(190, 215, 255),  black);
   border: 5px solid gray;
}

table th,
table td {
   border: 3px solid gray;
   line-height: 1.4em;
   padding: 8px;
}

table th {
   background-color: black;
   color: rgb(130, 210, 255);
   font-weight: normal;
}

table td {
   color: white;
   font-size: 0.9em;
   vertical-align: top;
}

/* Column Styles */
col#firstCol {
   width: 24%;
}

col#dataCols {
   width: 19%;
}


/* Table Header Styles */
table thead tr {
   height: 60px;
}

table thead tr:first-of-type th:first-of-type {
   font-size: 2em;
}

table thead tr:first-of-type th:nth-of-type(2),
table thead tr:first-of-type th:nth-of-type(3),
table thead tr:first-of-type th:nth-of-type(4),
table thead tr:first-of-type th:nth-of-type(5) {
   background-color: transparent;
   color: black;
}












