body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background: #fff;
    color: #000;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    z-index: 1;
}

.home {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1.2s ease-out forwards;
}

.home-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.details {
    max-width: 500px;
    padding: 0 15px;
}

.name {
    font-size: 36px;
    margin: 10px 0;
    font-weight: bold;
    margin-bottom: 30px;
}

.job {
    font-size: 18px;
    opacity: 0.8;
    color: #757575;
    font-weight: 300;
    letter-spacing: 0.5px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.social {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-link {
    color: #000;
    text-decoration: none;
    margin: 0 10px;
    font-size: 30px;
    transition: color 0.3s ease-in-out;
}

.social-link:hover {
    color: #ff9800;
}

.social-link i {
    transition: transform 0.3s ease;
}

.social-link:hover i {
    transform: scale(1.2);
}

.avatar {
    width: 200px;
    height: 200px;
    overflow: hidden;
    border-radius: 50%;
    border: 4px solid #fff;
    margin-bottom: 20px;
    animation: morph 4s ease-in-out infinite, fadeIn 1.5s ease-out forwards;
}

.avatar-img {
    width: 100%;
    height: 100%;
    background: url('../img/home.jpg') no-repeat center center;
    background-size: cover;
    border-radius: 50%;
    opacity: 0;
    animation: morph 4s ease-in-out infinite, fadeIn 1.5s ease-out forwards;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes morph {
    0%, 50%, 100% {
        border-radius: 50%;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    }
    25% {
        border-top-left-radius: 60% 70%;
        border-top-right-radius: 80% 70%;
        border-bottom-left-radius: 50% 60%;
        border-bottom-right-radius: 60% 70%;
        box-shadow: 0 0 25px rgba(0, 0, 0, 0.4);
    }
    75% {
        border-top-left-radius: 50% 60%;
        border-top-right-radius: 70% 80%;
        border-bottom-left-radius: 60% 70%;
        border-bottom-right-radius: 70% 60%;
        box-shadow: 0 0 25px rgba(0, 0, 0, 0.4);
    }
}

.menu-container {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 2;
}

.hamburger {
    font-size: 30px;
    cursor: pointer;
    color: #000;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    font-weight: bold;
    z-index: 0;
}

.navbar.active + .menu-overlay {
    display: block;
}
.navbar.active {
    opacity: 1;
    z-index: 3;
}

.navbar ul {
    list-style-type: none;
    padding: 0;
    text-align: center;
}

.navbar ul li {
    margin: 30px 0;
}

.navbar ul li a {
    font-size: 42px;
    text-decoration: none;
    color: #fff;
    transition: color 0.3s ease;
}

.navbar ul li a:hover {
    color: #ff9800;
}

@media screen and (max-width: 768px) {
    .navbar ul {
        padding: 0;
    }
}

.section {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

#about {
    height: 100vh;
    background-color: #f0f0f0;
}

#home {
    background-color: #fff
}

#projects {
    background-color: #fff;
}

#contact {
    background-color: #e0e0e0;
}

#news {
    background-color: #d0d0d0;
}

html, body {
    scroll-behavior: smooth;
}

.footer {
    text-align: center;
    font-size: 14px;
    color: #757575;
    width: 100%;
    padding: 10px 0;
    font-style: italic;
}

@media screen and (max-width: 768px) {
    .footer {
        width: 100%;
        padding: 5px 0;
    }
}