body {
    font-family: Arial, sans-serif;
    margin: 0;
    line-height: 1.7;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: #111;
    color: white;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav a {
    color: white;
    text-decoration: none;
}

.about-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url("https://images.unsplash.com/photo-1498050108023-c5249f4df085");
    background-size: cover;
    color: white;
    padding: 120px 20px;
    text-align: center;
}

.about-container {
    display: flex;
    gap: 40px;
    padding: 60px;
    flex-wrap: wrap;
    align-items: center;
}

.about-image img {
    width: 300px;
    border-radius: 10px;
}

.about-text {
    flex: 1;
}

.section {
    padding: 60px;
}

.dark {
    background: #f4f4f4;
}

.skills {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    list-style: none;
    padding: 0;
}

.skills li {
    background: #111;
    color: white;
    padding: 10px;
    text-align: center;
    border-radius: 6px;
}

footer {
    background: #111;
    color: white;
    text-align: center;
    padding: 20px;
}


/* Mobile */

@media(max-width:768px) {

    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-image img {
        width: 200px;
    }

    .section {
        padding: 40px 20px;
    }

}