* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

header {
    background-color: #2b3e50;
    color: white;
    padding: 20px 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar .logo h1 {
    font-size: 24px;
}

.navbar nav ul {
    list-style: none;
}

.navbar nav ul li {
    display: inline;
    margin-left: 20px;
}

.navbar nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}

#hero {
    background-color: #2b3e50;
    color: white;
    padding: 80px 0;
    text-align: center;
}

#hero h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

#hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

#hero .btn {
    background-color: #ff8c00;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
}

#about, #skills, #projects, #contact {
    padding: 60px 20px;
    text-align: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.profilepic {
    /* Basic styling */
    width: 100px;
    /* Adjust the width as needed */
    height: 100px;
    /* Adjust the height as needed */
    border-radius: 50%;
    /* For a circular profile picture */
    object-fit: cover;
    /* Ensures the image fills the container without distortion */

    /* Optional additional styling */
    border: 2px solid #ccc;
    /* Add a border if desired */
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
    /* Add a subtle shadow */
}

.skills-grid, .projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 30px;
    align-self: center;
}

.skill, .project {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.skill h3, .project h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.btn {
    background-color: #ff8c00;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
}

form input, form textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form button {
    background-color: #ff8c00;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
}

footer {
    background-color: #2b3e50;
    color: white;
    text-align: center;
    padding: 20px 0;
}

@media (max-width: 768px) {
    .skills-grid, .projects-grid {
        grid-template-columns: 1fr 1fr;
    }
}
