/* CSS Document used for the web project 1 assignment
Author: Wuttinun Songserm
Course: ITWP 1000
File: wp1styles.css
*/
body {
    margin-top: 1em;
    margin-bottom: auto;
    font-family: Arial, sans-serif;
    margin: 10px;
}

h1 {
    text-align: center;
    font-size: 2.5em;
}

h2 {
    text-align: center;
    font-size: 2em;
}


p, div {
    margin: 10px;
    padding: 20px;
    line-height: 1.5em;
}

/*table formatting*/
table {
    margin: auto;
    border: 5px solid #da7912;
    width: 100%;
    border-spacing: 0;
}

td, th {
    border-style: none;
    padding: 0.5em;
    width: auto;
}

tfoot td {
    font-size: 9px;
    font-style: italic;
    text-align: center;
}

tr:nth-of-type(even) {
    background-color: #efeaea;
}

thead:first-of-type {
    background-color: #dc7f1c;
    color: #FFF;
}

/* ID */
#validation {
    text-align: center;
}

/* Menu */
nav {
    background-color: #ff9933; 
    font-size: 1.5em;
    text-align: center;
    border: 3px solid #009900; 
    padding: 10px 0;
}

nav a {
    color: white; 
    text-decoration: none; 
    padding: 0 10px;
    font-weight: bold;
}

nav a:hover {
    color: #ccffcc; 
}

/* BG colors */
body {
    background-image: linear-gradient(
        to bottom,        
        #ffcc99,          
        #ffebcd           
    );
    
    min-height: 100vh;
    margin: 0; 
}

/* Youtube link */
ul {
    text-align: center;
}

/* Paragraph */
p {
    text-align: left;
    font-size: 1.1em;
}

/* Footer */
/* ID */
#validation {
    text-align: center;
}

.center-text {
    text-align: center;
}