@charset "utf-8";

/*
   New Perspectives on HTML and CSS
   Tutorial 6
   Case Problem 1

   Tables Style Sheet
   Author: OpenAI
   Date:   2026-04-02

   Filename:         mi_tables.css

*/

/* Table Styles */

table {
   background: linear-gradient(to bottom, rgb(190, 215, 255), black);
   border: 5px solid gray;
}

th, td {
   border: 3px solid gray;
   line-height: 1.4em;
   padding: 8px;
}

th {
   background-color: black;
   color: rgb(130, 210, 255);
   font-weight: normal;
}

td {
   color: white;
   font-size: 0.9em;
   vertical-align: top;
}

/* Column Styles */

col#firstcol {
   width: 24%;
}

col.datacols {
   width: 19%;
}

/* Table Header Styles */

thead tr {
   height: 60px;
}

thead tr:first-of-type th:first-of-type {
   font-size: 2em;
}

thead tr:first-of-type th:not(:first-of-type) {
   background-color: transparent;
   color: black;
}
