body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #2b2b2b;
    color: #d1d1d1;
    line-height: 1.6;
}

header {
    background-color: red;
    color: #d1d1d1;
    padding: 2rem 0;
    text-align: center;
    position: relative;
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
}

header p {
    margin: 0.5rem 0 0;
    font-size: 1.2rem;
}

.profile-pic {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 95px;
    height: 120px;
    border-radius: 10px;
    overflow: hidden;
    filter: grayscale(100%);
    transition: filter 0.3s ease-in-out;
}

.profile-pic:hover {
    filter: grayscale(0%);
}

.profile-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

nav {
    display: flex;
    justify-content: center;
    background-color: #333;
    flex-wrap: wrap;
}

nav a {
    color: #d1d1d1;
    padding: 1rem 2rem;
    text-decoration: none;
    font-size: 1rem;
    display: flex;
    align-items: center;
}

nav a:hover {
    background-color: #444;
}

nav img {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

.container {
    width: 80%;
    margin: 2rem auto;
    max-width: 1200px;
}

.bio,
.portfolio,
.blog,
.contact,
.certificates,
.experience,
.projects,
.notebook {
    background-color: #1c1c1c;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.bio h2,
.portfolio h2,
.blog h2,
.contact h2,
.certificates h2,
.experience h2,
.projects h2,
.notebook h2 {
    color: #fff;
    font-size: 1.8rem;
    border-bottom: 2px solid #007bff;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.blog-entry {
    margin-bottom: 2rem;
}

.blog-entry img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.certificate,
.experience-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.certificate img,
.experience-item img {
    width: 200px;
    height: 120px;
    margin-right: 1rem;
    border-radius: 8px;
}

.experience-item img {
    width: 300px;
    height: 300px;
}

.project {
    margin-bottom: 2rem;
}

.project img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.project h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.project p {
    margin-bottom: 0.5rem;
}

.project a {
    color: #007bff;
    text-decoration: none;
}

.project a:hover {
    color: #0056b3;
}

.contact-info {
    text-align: center;
    margin-top: 3rem;
}

.contact-info h2 {
    color: #fff;
    font-size: 1.8rem;
    border-bottom: 2px solid #007bff;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.contact-icons-background {
    background-color: #333;
    display: flex;
    justify-content: center;
    padding: 1rem 0;
}

.contact-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
    padding-bottom: 2rem;
}

.contact-icons a {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #333;
    border-radius: 50%;
    color: #d1d1d1;
    text-decoration: none;
    transition: background-color 0.3s ease-in-out;
}

.contact-icons a:hover {
    background-color: #0f0e0e;
}

.contact-icons img {
    width: 30px;
    height: 30px;
}

footer {
    background-color: #1c1c1c;
    color: #d1d1d1;
    text-align: center;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    bottom: 0;
    z-index: 999;
}

footer p {
    margin: 0;
}

footer p span {
    font-size: 1.2rem;
}


a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    color: #0056b3;
}

@media (max-width: 768px) {
    .container {
        width: 90%;
    }

    nav a {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .profile-pic {
        position: static;
        margin: 0 auto 1rem;
        width: 80px;
        height: 100px;
    }

    header h1 {
        font-size: 2rem;
    }

    header p {
        font-size: 1rem;
    }

    .certificate,
    .experience-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .certificate img,
    .experience-item img,
    .project img {
        margin: 0 0 1rem 0;
        width: 100%;
        height: auto;
    }

    .project h3 {
        font-size: 1.2rem;
    }

    .contact-icons {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .contact-icons a {
        width: 50px;
        height: 50px;
        margin: 0.5rem;
    }

    .contact-icons img {
        width: 25px;
        height: 25px;
    }

    .notebook img {
        width: 100%;
    }

    .notebook h3 {
        font-size: 1.2rem;
    }

    .contact-icons {
        margin-top: 1rem;
        padding-bottom: 1rem;
    }

    .contact-icons a {
        width: 40px;
        height: 40px;
    }

    .contact-icons img {
        width: 20px;
        height: 20px;
    }

    .contact-icons-background {
        padding: 0.5rem 0;
    }
}
