body {
    font-family: 'Wix Madefor Display', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    scroll-behavior: smooth;
}

header {
    background-color: #ec8160;
    color: white;
    padding: 1em 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

header nav ul li {
    display: inline;
    margin: 0 10px;
}

header nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 10px;
}

header nav ul li a:hover {
    background-color: #d97552;
    border-radius: 5px;
}

#intro {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background: #2C3E50;
    color: white;
    font-size: 3em;
    text-align: center;
    position: relative;
    padding: 20px;
}

.intro-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap; /* Ensure content wraps on small screens */
}

.intro-photo {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    margin-right: 20px;
}


main {
    padding-top: 100px; /* To prevent content from being hidden under the fixed header */
}

section {
    padding: 60px 20px;
    margin: 0 auto;
    max-width: 1200px;
    text-align: center;
}

.resume-header {
    margin-bottom: 20px;
}

.resume-section {
    margin-bottom: 20px;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.job {
    margin-bottom: 20px;
    text-align: left;
}

.job h4 {
    margin: 10px 0;
    color: #d97552;
}

.skills, .competencies {
    list-style: none;
    padding: 0;
    text-align: left;
}

.skills li, .competencies li {
    margin-bottom: 10px;
}

.certifications {
    text-align: left;
    margin-bottom: 20px;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1em 0;
    position: relative;
    width: 100%;
    bottom: 0;
}

footer p {
    margin: 0;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    #intro {
        flex-direction: column;
        text-align: center;
        font-size: 2em; /* Adjust font size for smaller screens */
    }

    .intro-photo {
        width: 50%;
        height: 50%;
        margin: 0 auto 20px; /* Center the image and add margin below */
    }

    .intro-container {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    #intro {
        font-size: 1.5em; /* Further adjust font size for very small screens */
    }

    .intro-photo {
        width: 50%;
        height: 50%;
    }
}