/* File: style.css */
/* Reset some default styles */
body, h1, h2, h3, p, ul, li {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background-color: #2c3e50; /* Navy blue for a modern, professional look */
    color: #fff;
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Add depth */
}

header h1 {
    font-size: 2.5em;
}

header p {
    font-size: 1.2em;
}

header a {
    color: #ecf0f1; /* Light color for visibility on dark background */
    text-decoration: underline;
}

nav {
    background-color: #34495e; /* Slightly lighter navy */
    border-bottom: 1px solid #2c3e50;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
}

nav li {
    margin: 0 15px;
}

nav a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    padding: 10px;
    display: block;
    transition: background-color 0.3s;
}

nav a:hover {
    background-color: #2c3e50;
}

main {
    padding: 20px 0;
}

section {
    margin-bottom: 30px;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Add subtle shadow for depth */
}

h2 {
    color: #2c3e50;
    border-bottom: 2px solid #2c3e50;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

ul {
    list-style-type: disc;
    margin-left: 20px;
}

.profile-photo {
    max-width: 250px;
    border-radius: 8px;
    margin-right: 20px;
}

#profile {
    display: flex;
    align-items: flex-start;
}

.profile-info p {
    margin-bottom: 10px;
}


.schematic-image {
    display: block;
    max-width: 65%;
    height: auto;
    margin: 20px auto;
}

p {
  margin-bottom: 1em; /* or 16px, 20px, etc. */
}

li {
  margin-top: 0.25em; /* or 16px, 20px, etc. */
  margin-bottom: 0.75em;
}



footer {
    background-color: #2c3e50;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    margin-top: 20px;
    font-size: 0.9em;
}

/* Responsive design */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
    }
    
    nav li {
        margin: 10px 0;
    }

    #profile {
        flex-direction: column;
        align-items: center;
    }
    
    .profile-photo {
        margin-right: 0;
        margin-bottom: 20px;
    }
}