/*
Theme Name: My Custom Theme
Theme URI: https://unsettledtogether.com/
Description: A custom theme based on my existing HTML site.
Author: Erin
Author URI: https://unsettledtogether.com/
Version: 1.0
*/

/* General styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: #333;
}

/* Home Page Styles */
.container {
    display: flex;
    height: 100vh;
}

.left-section {
    flex: 1;
    background-color: #ffffff; /* Bright background */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.right-section {
    flex: 1;
    background-color: #e0e0e0; /* Darker background */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.profile-section {
    text-align: center;
    margin-bottom: 40px;
}

.profile-picture {
    width: 302px;
    height: 403px;
}

.name {
    font-size: 2em;
    margin: 10px 0;
}

.title {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.contact-button {
    background-color: #000;
    color: #fff;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    text-decoration: none;
    color: #000;
    font-size: 1em;
    display: flex;
    align-items: center;
    gap: 5px;
}

.social-logo {
    width: 20px;
    height: 20px;
}

.social-icon i {
    font-size: 1.2em;
}

/* Hover effect */
.social-icon:hover {
    color: #0073e6;
}

.social-icon i, .social-logo {
    transition: color 0.3s ease;
}

.social-icon:hover i, .social-icon:hover .social-logo {
    color: #0073e6;
}

.about-section {
    background-color: #e0e0e0;
    padding: 20px;
    width: 100%;
    max-width: 600px;
    border-radius: 10px;
    text-align: center;
}

.about-section h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.about-section p {
    margin-bottom: 20px;
}

.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.action-button {
    background-color: #000;
    color: #fff;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    flex: 1 1 100px;
}

/* Resume Page Styles */
.resume-container {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.resume-title {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 20px;
}

.resume-content {
    padding: 20px;
}

.resume-section {
    margin-bottom: 20px;
}

.resume-section h2 {
    font-size: 2em;
    margin-bottom: 10px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
}

.resume-item {
    margin-bottom: 15px;
}

.resume-item h3 {
    font-size: 1.5em;
    margin-bottom: 5px;
}

.resume-item p {
    margin-bottom: 5px;
}

.skills-list {
    list-style-type: disc;
    padding-left: 20px;
}

.skills-list li {
    margin-bottom: 5px;
}

/* Mobile view */
@media (max-width: 600px) {
    .container {
        flex-direction: column;
    }

    .left-section, .right-section {
        width: 100%;
        height: auto;
    }

    .about-section {
        padding: 15px;
    }

    .profile-picture {
        width: 120px;
        height: 120px;
    }

    .name {
        font-size: 1.5em;
    }

    .title {
        font-size: 1em;
    }

    .contact-button, .action-button {
        padding: 8px 16px;
    }

    .resume-container {
        padding: 15px;
    }

    .resume-title {
        font-size: 2em;
    }

    .resume-section h2 {
        font-size: 1.5em;
    }

    .resume-item h3 {
        font-size: 1.2em;
    }

    .skills-list {
        padding-left: 15px;
    }
}

/* Portfolio Page Styles */
.portfolio-container {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #ccc;
    height: 80px; /* Adjust the height as needed */
}

header h1 {
    font-size: 2em;
    margin: 0;
}

header nav {
    display: flex;
    align-items: center;
    height: 100%;
}

header nav a {
    margin: 0 10px;
    text-decoration: none;
    color: #333;
    line-height: 80px; /* This should match the header height */
}

header nav a:hover {
    text-decoration: underline;
}

#projects {
    padding: 20px 0;
}

#projects h2 {
    font-size: 1.5em;
    margin-bottom: 20px;
}

.project-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.project-item {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 20px;
    width: calc(50% - 20px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.project-item img {
    max-width: 100%;
    border-radius: 10px;
}

.project-item h3 {
    font-size: 1.2em;
    margin-top: 10px;
}

.project-item p {
    margin: 10px 0;
}

.project-item a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
}

.project-item a:hover {
    background-color: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
    .project-item {
        width: 100%;
    }
}

/* Blog Page Styles */
.blog-container {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #ccc;
    height: 80px; /* Adjust the height as needed */
}

header h1 {
    font-size: 2em;
    margin: 0;
}

header nav {
    display: flex;
    align-items: center;
    height: 100%;
}

header nav a {
    margin: 0 10px;
    text-decoration: none;
    color: #333;
    line-height: 80px; /* This should match the header height */
}

header nav a:hover {
    text-decoration: underline;
}

#blog-posts {
    padding: 20px 0;
}

#blog-posts h2 {
    font-size: 1.5em;
    margin-bottom: 20px;
}

.blog-post {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.blog-post h3 {
    font-size: 1.2em;
    margin-top: 0;
}

.post-date {
    font-size: 0.9em;
    color: #999;
    margin-bottom: 10px;
}

.read-more {
    display: inline-block;
    padding: 10px 15px;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

.read-more:hover {
    background-color: #333;
}

/* Blog Post Page Styles */
.post-container {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

article {
    padding: 20px 0;
}

article h2 {
    font-size: 1.8em;
    margin-bottom: 10px;
}

.post-date {
    font-size: 0.9em;
    color: #999;
    margin-bottom: 20px;
}

.post-content {
    font-size: 1em;
    line-height: 1.6;
}

.post-content h3 {
    font-size: 1.4em;
    margin-top: 20px;
    margin-bottom: 10px;
}

.post-content pre {
    background-color: #f5f5f5;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}

.post-content code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9em;
}

/* Responsive Design */
@media (max-width: 768px) {
    .post-container {
        padding: 15px;
    }
}
