/* RESET */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(to right, #c9d6ff, #e2e2e2);
}

/* NAVBAR */
nav {
    display: flex;
    justify-content: space-between;
    padding: 15px 40px;
    background: black;
    color: white;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

nav a {
    color: white;
    text-decoration: none;
}

/* HERO */
.hero {
    text-align: center;
    margin-top: 40px;
}

.hero h1 {
    font-size: 32px;
}

/* CONTAINER */
.container {
    display: flex;
    max-width: 900px;
    margin: 50px auto;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* LEFT */
.left {
    flex: 1;
    background: linear-gradient(to bottom, #d66d75, #e29587);
    text-align: center;
    padding: 40px;
    color: white;
}

.left img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
}

/* RIGHT */
.right {
    flex: 1;
    background: linear-gradient(to bottom, #4b79a1, #283e51);
    color: white;
    padding: 40px;
}

.right p {
    line-height: 1.6;
}

/* PROJECTS */
.projects {
    text-align: center;
    margin-top: 40px;
}

.project-box {
    background: white;
    max-width: 500px;
    margin: 20px auto;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* BUTTON */
.center {
    text-align: center;
    margin: 30px;
}

#button1 {
    background: tomato;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

#button1:hover {
    background: darkred;
    transform: scale(1.1);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
}
