@charset "utf-8";

/* Browser Window Background */
html {
 background-image: url('background.jpg'); 
 background-repeat: no-repeat;
 background-position: center;
 background-size: cover;
}

/* Page Body Styling */
body {
 font-family: Verdana, Geneva, sans-serif;
 color: rgb(91, 91, 91);
 background-color: ivory;
 width: 90%;
 margin-left: auto;
 margin-right: auto;
}

/* Header Section */
header {
    text-align: center;
    padding: 20px;
}
h1, h2 {
 text-shadow: 4px 6px 5px gray;
}
/* Subheadings */
h2 {
    font-size: 1.3em;
}



/* Navigation Links 
nav a {
    padding-left: 10px;
    padding-right: 10px;
    text-decoration: none;
    color: #ecf0f1; /* Off-white for high contrast 
}

/* Navigation Hover State 
nav a:hover {
    text-decoration: underline;
    color: #f1c40f; /* Changes to a soft gold on hover 
}
*/
nav ul {
 list-style: none;
 margin: 0;
 padding: 0;
}

nav li {
 display: block;
 width: 20%; /* 5 items x 20% = 100% width */
 float: left;
}

nav a {
 display: block;
 background-color: #34495e; /* Match your header image colors */
 line-height: 2.8em;
 text-decoration: none;
 text-align: center;
 color: #ecf0f1;
}

nav a:hover {
 background-color: #f1c40f; /* Coordinating color */
 color: #2c3e50; /* Contrasting text color */
}
/* Main Content Area */
main {
 padding: 20px;
 margin-top: 35px;
}

/* Image Styling */
/* This targets ONLY images inside the <main> tag */
main > img {
    width: 25%; 
    padding: 25px;
    float: right; /* Added from assignment requirements */
}
header img {
 width: 100%;
 display: block; /* Removes any tiny gaps at the bottom of the image */
}
/* Change your existing img rule to this */
main > img {
 width: 25%;
 float: right;
 padding: 25px;
}

/* Footer Section */
body > footer {
    background-color: #34495e;
    color: rgba(236, 240, 241, 0.6); 
    font-weight: bold;
    font-size: 0.9em;
    line-height: 3em;
    text-align: center;
    margin-top: 10px;
    padding: 10px;
    clear: both; /* Don't forget this! It fixes the float issue */
}

/* Education Page List Marker */
main ul {
    list-style-type: square; /* Changes default dots to squares */
}