body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #ffffff;
    color: #111;
    margin: 0;
    padding: 0;
}

/* Make layout responsive instead of fixed */
.container {
    max-width: 800px;
    width: 90%;
    margin: 40px auto;
    line-height: 1.6;
    overflow: visible;
}

/* Prevent text overflow issues */
p,
li,
span {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

header {
    text-align: center;
    margin-bottom: 30px;
}

h1 {
    font-size: 32px;
    letter-spacing: 3px;
    margin-bottom: 5px;
}

h2 {
    font-size: 16px;
    font-weight: normal;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.contact {
    font-size: 14px;
    color: #444;
}

h3 {
    border-bottom: 2px solid #000;
    padding-bottom: 5px;
    margin-top: 25px;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

.job {
    margin-top: 15px;
}

/* Allow wrapping if content is too wide */
.job-header {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    flex-wrap: wrap;
    gap: 5px;
}

.company {
    font-style: italic;
    margin-bottom: 5px;
}

ul {
    margin: 5px 0 10px 20px;
    padding-right: 10px;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
}

.skills li {
    background: #f2f2f2;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 13px;
}

/* Visitor counter styling */
#visit-count {
    margin-top: 30px;
    text-align: center;
    font-size: 14px;
}

/* Mobile optimization */
@media (max-width: 600px) {
    h1 {
        font-size: 24px;
    }

    .job-header {
        flex-direction: column;
        align-items: flex-start;
    }
}