/*
Charles Langlan Style Sheet 
   Filename: subpage.css
   Author: Charlie Langlan
   Subpage Style Sheet
*/

/* Universal Reset Styles */
body,
table,
thead,
tbody,
th,
td,
tr {
    margin: 0;
    padding: 0;
}

/* Defined font-stack */
header,
footer,
body,
p {
    font-family: 'Georgia', 'Times New Roman', Times, serif;
}


/* Photography Page */ 
/* Photography Page Table Styles */
table {
    width: 80%;
    max-width: 1000px;
    margin: 2rem auto;
    border-collapse: collapse;
    background-color: rgba(205, 213, 213, 0.2);
    border-radius: 5px;
}

th, td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid rgba(78, 144, 211, 0.3);
}

th {
    background-color: rgba(78, 144, 211, 0.5);
    color: black;
    font-weight: bold;
}

/* Remove the default h3 margin to allow for better formatting */
table th h3 { 
    margin: 0;  
}

/* Photography Table Spanning Header */
thead tr:first-child th {
    background-color: rgba(78, 144, 211, 0.7);
    font-size: 1.2em;
    padding: 20px;
}

/* Make responsive table */
@media screen and (max-width: 768px) {
    table {
        width: 95%;
        font-size: 14px;
    }
    th, td {
        padding: 8px;
    }
}