body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: #ffffff;
    color: #333;
    transition: background-color 0.3s;
    text-align: justify;
}

header {
    display: flex;
    justify-content: flex-end;
    padding: 10px;
}

nav {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping if necessary */
    align-items: center;
    justify-content: center; /* Center the links */
}

nav a {
    margin: 0 15px;
    text-decoration: none;
    color: #000000;
    font-weight: bold;
    white-space: nowrap; /* Prevent text from wrapping */
}

main {
    display: flex;
    align-items: flex-start;
    padding: 20px;
}

.resume-container {
    display: flex;
    justify-content: center;
    padding: 20px;
    width: 100%;
}

iframe {
    width: 80%;
    height: 80vh;
    border: none;
}

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

.profile-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 20px;
}

.profile-pic {
    width: 333px;
    height: 333px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
}

.profile-container p {
    margin: 10px 0;
    text-align: center;
}

.icon-container {
    display: flex;
    justify-content: center;
    margin-top: -5px;
}

.icon-container img {
    width: 24px;
    height: 24px;
    margin: 0 5px;
}

.info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 30px;
}

.info h1 {
    margin: 0;
    font-size: 2em;
}

.dark-mode {
    background-color: #333;
    color: #fff;
}

a {
    text-decoration: none;
    color: rgb(25, 162, 208);
}

p {
    margin-bottom: 5px;
    margin-right: 250px;
}

li {
    margin-right: 250px;
}

.project-image {
    float: right;
    margin-left: 15px;
    width: 200px;
    height: auto;
    margin: 5px 15px 15px 5px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    header {
        justify-content: center; /* Center the navigation links */
    }

    nav {
        justify-content: center;
    }

    nav a {
        margin: 5px 10px; /* Adjust margin for better spacing */
    }

    main {
        flex-direction: column;
        align-items: center;
    }

    .profile-pic {
        width: 250px;
        height: 250px;
    }

    .project-image {
        width: 150px;
    }

    .info h1 {
        font-size: 1.8em;
    }

    p, li {
        margin-right: 20px;
    }
}

@media (max-width: 480px) {
    .profile-pic {
        width: 200px;
        height: 200px;
    }

    .project-image {
        width: 120px;
    }

    nav a {
        font-size: 0.9em;
    }

    .info h1 {
        font-size: 1.5em;
    }

    p, li {
        margin-right: 10px;
    }
}