* {
    box-sizing: border-box;
}

body {
    font-family: 'Playpen Sans', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #333333;
}

nav {
    display: flex;
    justify-content: space-between;
    padding: 15px 20px;
    background-color: #000000;
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.logo {
    font-size: 1.5em;
    font-weight: bold;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    align-items: center;
}

nav a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.social-icon {
    width: 20px;
    height: auto;
    margin-left: 5px;
}

nav a:hover {
    color: #cccccc;
}

.menu-toggle {
    display: none; /* Hidden by default */
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle div {
    width: 25px;
    height: 3px;
    background-color: white;
}

header.intro {
    display: flex;
    align-items: center;
    padding: 40px;
    background-color: #f4f4f4;
    text-align: center;
}

.profile-pic {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    margin-right: 30px;
    border: 4px solid #000000;
    transition: transform 0.3s;
}

.profile-pic:hover {
    transform: scale(1.1);
}

.intro-text h1 {
    margin: 0;
    font-size: 2em;
}

.intro-text p {
    font-size: 1.2em;
    font-weight: 400;
}

h2 {
    margin-top: 40px;
    color: #000000;
    font-size: 1.8em;
    text-align: center;
}

section {
    padding: 40px 20px;
    margin: 20px 0;
    background-color: #ffffff;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.experience-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    padding: 0 20px;
}

.left-box,
.right-box {
    width: 40%;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    margin: 0 10px;
}

.project-container {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.project {
    flex: 0 1 30%;
    padding: 15px;
    background-color: #ffffff;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.project-image {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 10px;
}

@media (max-width: 900px) {
    .project-container {
        flex-direction: column;
        align-items: center;
    }

    .project {
        margin-bottom: 20px;
        flex: 1 1 90%;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        background: rgba(0, 0, 0, 0.8);
        width: 100%;
        top: 60px;
        left: 0;
        right: 0;
        z-index: 999;
        padding: 15px 0;
        border-radius: 5px;
    }

    nav ul.show {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    header.intro {
        flex-direction: column;
        padding: 20px;
    }

    .profile-pic {
        width: 120px;
        height: 120px;
        margin-bottom: 20px;
    }

    .intro-text h1 {
        font-size: 1.5em;
    }

    .intro-text p {
        font-size: 1em;
    }

    .experience-container {
        flex-direction: column;
        align-items: center;
    }

    .left-box, .right-box {
        width: 90%;
        margin: 10px 0;
    }
}

.contact-form {
    display: flex;
    flex-direction: column;
    max-width: 400px;
    margin: auto;
}

.contact-form label {
    margin-top: 10px;
}

.contact-form input,
.contact-form textarea {
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #cccccc;
    border-radius: 5px;
    transition: border 0.3s;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
}

.contact-form button {
    margin-top: 10px;
    padding: 10px;
    background-color: #000000;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-form button:hover {
    background-color: #333333;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #000000;
    color: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}


