/* Reset & base*/
* { box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

/*Header & nav*/
header {
    background: #2c3e50;
    color: #fff;
    padding: 20px;
    text-align: center;
}

header nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

header nav a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

/*Layout wrapper*/
.content-wrapper {
    display: flex;
    gap: 20px;
    padding: 20px;
    flex-wrap: wrap;
    justify-content: center;
    background-color: #fff;
}

/* Profile & skills */
.profile, .skills {
    flex: 1 1 300px;
    padding: 20px;
    background: #fdfdfd;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.profile {
    text-align: center;
}

.profile img {
    width: 150px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(120px,1fr));
    gap : 10px;
    margin-top: 10px;
}

.skills-grid div {
    background: #e3f2fd;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
}

.projects {
    background: #fff;
    margin: 20px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.projects ul {
    list-style: none;
}

.projects li {
    margin-bottom: 10px;
}

/*footer*/
footer {
    text-align: center;
    padding: 15px;
    background: #ddd;
    margin-top: 20px;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Responsive tweaks */
@media (max-width: 600px) {
    header nav ul {
        flex-direction: column;
        gap: 10px;
    }
}

header nav a.active {
    text-decoration: underline;
}

.dom-practice {
    text-align: center;
    padding: 20;
    background: #eef;
    margin-top: 20px;
}

.dom-practice button {
    margin: 5px;
    padding: 10px 15px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.dom-practice button:hover {
    background-color: #2980b9;
}