/* Include Barlow font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;700&display=swap');

/* Apply Barlow font and update hover color */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Barlow', sans-serif;
}

/* Basic styles for body and main layout */
body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f1eae9; /* Main page background color */
    color: #333;
}

.content-wrapper {
    width: 100%;
    max-width: 800px;
    background-color: #f7efe8; /* Main content container background color */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 8px;
}

header {
    background-color: #7da992; /* Updated color */
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px 8px 0 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
}

nav ul {
    display: flex;
    flex-direction: column;
    list-style: none;
    padding-right: 5px; /* Add 5px padding to the right */
}

nav ul li {
    margin: 0.5rem 0;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: font-weight 0.3s ease; /* Smooth transition for font weight */
    display: inline-block;
    width: 100px; /* Set a fixed width to prevent shifting */
    text-align: center; /* Center align the text within the fixed width */
}

nav ul li a:hover {
    font-weight: bold; /* Make link bold on hover */
}

main {
    flex: 1;
    padding: 2rem;
}

section {
    margin-bottom: 2rem;
}

#about {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#about h2 {
    margin-bottom: 1rem;
}

#about p {
    text-align: left;
    margin-top: 1rem;
    max-width: 600px;
}

.headshot {
    width: 150px;
    height: auto;
    border-radius: 50%;
    margin-bottom: 1rem;
}

footer {
    background-color: #7da992; /* Updated color */
    color: white;
    text-align: center;
    padding: 1rem;
    border-radius: 0 0 8px 8px;
}

.social-media {
    margin-top: 0.5rem;
}

.social-media a {
    color: white;
    margin: 0 10px;
    font-size: 1.5rem;
    text-decoration: none;
}

.social-media a:hover {
    color: #d3d3d3;
}

/* Projects and Work History */
section h2 {
    display: flex;
    align-items: center;
    cursor: pointer;
}

section h2 .toggle-icon {
    margin-right: 10px;
    width: 20px;
    height: 20px;
}

.projects-entries, #work-history-entries {
    display: none;
}

.projects-entries .entry, #work-history-entries .entry {
    position: relative;
    margin: 10px 0;
    padding: 10px 10px 10px 30px;
    transition: background-color 0.3s ease, color 0.3s ease, border-radius 0.3s ease;
    color: #122929; /* Font color for entries */
    cursor: pointer; /* Change cursor to hand icon when hovering over project entries */
}

.projects-entries .entry::before, #work-history-entries .entry::before {
    content: "•";
    color: teal;
    font-size: 12px;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.projects-entries .entry:hover, #work-history-entries .entry:hover {
    background-color: #ffd7b5; /* Soft pastel orange */
    color: #122929; /* Updated soft grey for text */
    border-radius: 20px; /* Rounded edges on hover */
}

.projects-entries .entry:hover::before, #work-history-entries .entry:hover::before {
    color: teal;
}

.popup {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup-content {
    background-color: #f7efe8; /* Match the main content container background color */
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-btn:hover,
.close-btn:focus {
    color: black;
    text-decoration: none;
}

#popup-image {
    width: 100%;
    height: auto;
    margin-top: 20px;
}

#popup-video {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}

.popup-description {
    margin-top: 20px;
}

/* Styles for contact popup icons */
.popup .contact-icon {
    color: #122929;
    margin: 0 10px;
    font-size: 1.5rem;
    text-decoration: none;
}

.popup .contact-icon:hover {
    color: #d3d3d3;
}
