body {
    font-family: "Times New Roman", serif;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
}

#header {
    background-color: #f4f4f4;
    padding: 20px;
    border-bottom: 2px solid #ddd;
    text-align: center;
    margin-bottom: 20px;
}

.fancy-font {
    font-family: "Brush Script MT", cursive;
}

.fancy-font-2{
    font-family: "Georgia", serif;
}

#main {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

h1 {
    color: #2c3e50;
    font-size: 2.8em;
}

h2 {
    color: #e67e22;
    font-size: 1.8em;
    border-bottom: 2px solid #e67e22;
}

#nav a {
    text-decoration: none;
    color: #2980b9;
    font-weight: bold;
    font-size: 1.2em;
    margin: 0 15px;
}

#nav a:hover {
    color: #c0392b;
}

blockquote {
    background-color: #f9f9f9;
    border-left: 5px solid #c0392b;
    margin: 20px 0;
    padding: 15px;
    font-style: italic;
    color: #555;
}

ol {
    margin-bottom: 20px;
}

ol li {
    margin-bottom: 5px;
}

.profile-img {
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    display: block;
    margin-bottom: 15px;
}

.content-img {
    width: 100%;
    max-width: 500px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-top: 10px;
}

.table-wrapper {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    min-width: 600px;
}

th, td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
    vertical-align: top;
}

th {
    background-color: #2c3e50;
    color: white;
}

tr.even-row {
    background-color: #f2f2f2;
}

tr:hover {
    background-color: #ddd;
    cursor: pointer;
}

#footer {
    background-color: #f4f4f4;
    margin-top: 50px;
    padding: 20px;
    border-top: 1px solid #ccc;
    text-align: center;
    font-size: 0.9em;
    font-style: italic;
    color: #666;
}

#theme-toggle, #home-btn {
    font-family: "Georgia", serif;
    background-color: #2c3e50;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9em;
    margin-left: 20px;
}

#theme-toggle:hover, #home-btn:hover {
    background-color: #34495e;
}

#contact {
    margin-bottom: 40px;
}

input, textarea {
    width: 95%;             
    padding: 10px;          
    margin: 10px 0;         
    border: 1px solid #ccc; 
    border-radius: 5px;     
    font-family: Arial, sans-serif; 
}

label {
    font-weight: bold;      
    color: #2c3e50;         
}

.submit-btn {
    font-family: "Georgia", serif;
    background-color: #2980b9; 
    color: white;              
    border: none;              
    cursor: pointer;           
    font-size: 1.1em;
    padding: 15px;
    width: auto;               
}

.submit-btn:hover {
    background-color: #c0392b; 
}

body.dark-mode {
    background-color: #121212; 
    color: #e0e0e0; 
}


body.dark-mode #header, 
body.dark-mode #footer {
    background-color: #1f1f1f; 
    border-color: #333; 
}

body.dark-mode h1, 
body.dark-mode h2 {
    color: #ecf0f1; 
}

body.dark-mode #nav a,
body.dark-mode a {
    color: #64b5f6; 
}

body.dark-mode #nav a:hover,
body.dark-mode a:hover {
    color: #e57373; 
}


body.dark-mode blockquote {
    background-color: #1f1f1f;
    color: #ccc;
    border-left-color: #e57373;
}


body.dark-mode th {
    background-color: #2c3e50; 
}

body.dark-mode th, 
body.dark-mode td {
    border-color: #444; 
}

body.dark-mode tr.even-row {
    background-color: #1e1e1e; 
}

body.dark-mode tr:hover {
    background-color: #333; 
}


body.dark-mode .content-img {
    border-color: #444;
}

body.dark-mode label {
    color: #ecf0f1; 
}

body.dark-mode input, 
body.dark-mode textarea {
    background-color: #333; 
    color: white;           
    border: 1px solid #555; 
}

body.dark-mode input:focus, 
body.dark-mode textarea:focus {
    border-color: #64b5f6; 
    outline: none;
}