*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: arial;
}

body{
    background: #f4f4f4;
}

.navbar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #222;
}

.logo{
    color: white;
}

.menu{
    display: flex;
    list-style: none;
}

.menu li{
    margin-left: 20px;
}

.menu a{
    text-decoration: none;
    color: white;
    transition: 0.3s;
}

.menu a:hover{
    color: #ccc;
}

.hero{
    height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: #f5f5f5;

}

.hero button{
    margin-top: 15px;
    padding: 10px 20px;
    border: none;
    background: black;
    color: white;
    cursor: pointer;
    transition: 0.3s;

}

.hero button:hover{
    background: #444;
    transform: scal(1.05);
}

.skills{
    padding: 50px;
    text-align: center;
}

.skill-container{
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.projects{
    padding: 50px;
    text-align: center;
}

.project-container{
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.project-card{
    padding: 20px;
    width: 200px;
    background: #eee;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.project-card:hover{
    transform: translateY(-5px);
}

.project-card p{
    margin-top: 10px;
}

.Contact{
    padding: 70px;
    text-align:center;
}

form{
    display: flex;
    flex-direction: column;
    width: 90%;
    max-width: 400px;
    margin: auto;
}

form input, form textarea{
    width: 100%;
    margin: 10px 0;
    padding: 10px;
    box-sizing: border-box;
}

form input:focus,
textarea:focus{
    outline: none;
    border: 2px solid black;
}

footer{
    text-align: center;
    padding: 20px;
    background: #222;
    color: white;
    margin-top: 20px;
}

@media (max-width: 768px){
    .project-container{
        flex-direction: column;
        align-items: center;
    }

    .navbar{
        flex-direction: column;
        align-items: center;
    }

    .menu{
        margin-top: 10px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;   }
    
    .menu li{
        margin: 8px;    }
}

