body {
    font-family: 'Arial', sans-serif;
    color: #333;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    line-height: 1.6;
    text-align: justify;
    padding: 15px;
}

header {
    background: #333;
    color: #fff;
    padding: 20px 20px;
    text-align: center;
    border-bottom: 5px solid #444;
}

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

nav {
    background: #444;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    margin-bottom: 20px;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin-right: 10px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

section {
    padding: 20px;
    margin: 10px 0;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

section h2 {
    text-align: center;
    font-size: 24px;
    color: #333;
    font-weight: normal;
    margin: 1% auto 20px;
    display: block;
    position: relative;
    width: 100%;
}

section h2:after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #000;
    margin: 8px auto 0;
}

a {
    color: #1a0dab;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

#skills {
    background: #f9f9f9;
    padding: 20px;
    margin: 20px 0;
}

#skills h2 {
    text-align: center;
    font-size: 24px;
    color: #333;
}

.skills-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.skill-category {
    flex: 1;
    margin: 10px;
    padding: 20px;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.skill-category h3 {
    color: #007BFF;
    margin-bottom: 10px;
}

.skill-category ul {
    list-style-type: none;
    padding: 0;
}

.skill-category li {
    padding: 5px 0;
    font-size: 16px;
    color: #666;
    border-bottom: 1px solid #eee;
}

.skill-category li:last-child {
    border-bottom: none;
}


#contact {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px 10px;
    font-size: 16px;
    border-top: 3px solid #444;
}

#contact a {
    color: #9cf;
    text-decoration: none;
}

#contact a:hover {
    text-decoration: underline;
}

#contact p {
    margin: 5px 0;
}

#contact ul {
    padding: 0;
    list-style-type: none;
}

#contact li {
    display: inline;
    margin-right: 15px;
}

#contact li:last-child {
    margin-right: 0;
}

#contact h2 {
    color: #fff;
}

.project-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 20px;
}

.project-card {
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 10px;
    padding: 20px;
    width: 45%;
    border-radius: 8px;
    transition: transform 0.2s;
}

@media (max-width: 800px) {
    .project-card {
        width: 100%;
    }
}

.project-card h3 {
    color: #333;
}

.project-card p {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
}

.project-card a {
    color: #007BFF;
    text-decoration: underline;
    font-weight: normal;
    padding: 0;
    background-color: transparent;
    border: none;
    margin-top: 10px;
}

.project-card a:hover {
    color: #0056b3;
    text-decoration: none;
}


.project-card:hover {
    transform: translateY(-5px);
}

@media (max-width: 600px) {

    body,
    header,
    nav,
    section,
    #contact,
    footer {
        padding: 10px;
        text-align: center;
    }

    nav ul li {
        display: block;
        margin-bottom: 5px;
    }
}