body {
    margin: 0;
    padding: 0;
    font-family: Inter;
}

.container {
    position: relative;
    max-width: 1440px;
    margin: auto;
}

.header {
    height: 60px;
    background-color: #486964;
}

.logo {
    position: absolute;
    color: #fff;
    line-height: 58px;
    width: 100px;
    text-align: center;
}

.logo > a {
    color: #fff;
    text-decoration: none;
    display: block;
    height: inherit;
}

.nav-bar {
    height: inherit;
    width: 405px;
    margin-left: auto;
    margin-right: auto;
}

ul.nav-items {
    height: inherit;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

li.nav-item {
    height: inherit;
    width: 135px;
    display: block;
    float: left;
    color: #fff;
    font-size: 18px;
    text-align: center;
    line-height: 58px;
}

li.nav-item > a {
    height: inherit;
    display: block;
    text-decoration: none;
    color: #fff;
}

li.nav-item > a:hover {
    color: #fff;
    background-color: #3c5a56;
}

.banner {
    height: 400px;
    background-color: #1c413a;
    display: flex;
    padding-left: 50px;
    padding-right: 50px;
}

.banner .details {
    color: #fff;
    flex: 1;
    display: flex;
    flex-flow: column;
    justify-content: center;
}

.banner .details > h1.greetings {
    margin: 0;
    font-family: "Poetsen One", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 50px;
}

.banner .details > h1.name {
    font-size: 70px;
}

.banner .details > p.position {
    font-size: 40px;
}

.banner .details > h1, p {
    margin: 0;
}

.banner .image-section {
    color: #fff;
    flex: 1;
    text-align: center;
}

.banner .image-section > img {
    width: 300px;
    height: 300px;
    border-radius: 200px;
    margin-top: 50px;
}

.about {
    display: flex;
    padding: 65px 50px 65px 50px;
}

.about-title {
    flex: 1;
}

.about-title > p {
    font-size: 50px;
    font-weight: 500;
}

.about-description {
    flex: 1;
}


.about-description > p {
    font-size: 20px;
    line-height: 30px;
    text-align: justify;
}

.personal-details {
    display: flex;
    padding: 0 50px 0 50px;
    margin-top: 0px;
}

.information {
    flex: 1;
}

.information > div {
    display: flex;
    border: 1px solid #1c413a;
    padding: 15px;
    border-radius: 25px;
    margin: 10px 0 10px 0;
    width: 500px;
}

.information > div > div:first-child {
    width: 100px;
    font-weight: 700;
    padding-left: 10px;
}

.skills {
    flex: 1;
}

.skill-list {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    justify-content: center;
}

.skill-item {
    display: flex;
    flex-flow: column;
    justify-content: space-between;
}

.skill-item > img {
    width: 90px;
}

.skill-item > div.skill {
    text-align: center;
}

/* Make images and containers adapt */
img {
    max-width: 100%;
    height: auto;
}

/* Mobile adjustments */
@media (max-width: 1024px) {
    .banner {
        flex-direction: column;
        text-align: center;
        height: auto;
        padding: 30px 20px;
    }

    .banner .image-section > img {
        width: 200px;
        height: 200px;
        margin-top: 20px;
    }

    .about {
        flex-direction: column;
        padding: 40px 20px;
    }

    .personal-details {
        flex-direction: column;
        padding: 20px;
    }

    .information > div {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .nav-bar {
        width: 100%;
    }

    ul.nav-items {
        display: flex;
        flex-direction: column;
    }

    li.nav-item {
        width: 100%;
        text-align: center;
        border-top: 1px solid #3c5a56;
    }

    .banner .details > h1.greetings {
        font-size: 32px;
    }

    .banner .details > h1.name {
        font-size: 40px;
    }

    .banner .details > p.position {
        font-size: 24px;
    }

    .about-title > p {
        font-size: 32px;
        text-align: center;
    }

    .about-description > p {
        font-size: 16px;
        line-height: 24px;
    }

    .skill-list {
        gap: 20px;
    }

    .skill-item > img {
        width: 60px;
    }
}

@media (max-width: 480px) {
    .header {
        flex-direction: column;
        height: auto;
        text-align: center;
        padding: 10px 0;
    }

    .logo {
        position: relative;
        line-height: normal;
    }

    .banner .details > h1.name {
        font-size: 28px;
    }

    .banner .details > p.position {
        font-size: 18px;
    }
}


.projects {
    margin-top: 4rem;
    padding: 65px 50px;
    background-color: #f9f9f9;
}

.projects > h1 {
    font-size: 40px;
    text-align: center;
    margin-top: 0;
    margin-bottom: 40px;
    color: #1c413a;
}

.project-list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.project-list > a {
    text-decoration: none;
}

.project-item {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 15px;
    width: 300px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.project-item:hover {
    transform: translateY(-5px);
}

.project-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.project-info {
    padding: 15px;
}

.project-info h2 {
    margin: 0 0 10px 0;
    font-size: 20px;
    color: #1c413a;
}

.project-info p {
    font-size: 14px;
    line-height: 20px;
    color: #333;
}

/* Responsive */
@media (max-width: 768px) {
    .project-list {
        flex-direction: column;
        align-items: center;
    }

    .project-item {
        width: 90%;
    }
}

