body {
    font-family: 'Raleway', sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

header {
    background: linear-gradient(to right, #800020, #500010);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 0px 0px 10px 10px;
}

.profile img {
    width: 150px; /* Bigger image */
    height: 150px;
    border-radius: 50%;
    border: 4px solid #800020;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    margin-right: 20px;
}

.title {
    display: flex;
    flex-direction: column;
}

.title h1 {
    font-size: 36px; /* Bigger heading */
    margin: 0;
}

.title p {
    font-size: 18px;
    font-weight: bold;
    margin: 5px 0 0;
}

header nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 20px;
    margin: 0;
}

header nav ul li a {
    text-decoration: none;
    background: white;
    color: #800020;
    padding: 12px 24px;
    border-radius: 25px;
    transition: 0.3s;
    font-weight: bold;
}

header nav ul li a:hover {
    background: #c0002f;
    color: white;
    transform: scale(1.1);
}

.body-nav {
    display: flex;
    justify-content: center;
    padding: 15px;
}

.body-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
}

.body-nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.5em;
    font-weight: bold;
    background: #9b001f;
    padding: 12px 25px;
    border-radius: 30px;
    transition: 0.3s ease-in-out;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.body-nav ul li a:hover {
    background-image: linear-gradient(to right,  #800020, #500010);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

footer {
    margin-top: 20px;
    background: #500010;
    color: white;
    text-align: center;
    padding: 15px;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
}

@media (max-width: 1024px) {
    header {
        flex-direction: column;
        align-items: center;
    }

    .profile img {
        width: 120px;
        height: 120px;
    }

    .title h1 {
        font-size: 28px;
    }

    .title p {
        font-size: 16px;
    }

    .header-nav {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .body-nav {
        flex-direction: column;
        align-items: center;
    }

    .body-nav a {
        font-size: 1.2em;
        padding: 10px 20px;
    }
}

/* For devices like phones */
@media (max-width: 600px) {
    header {
        padding: 15px;
    }

    .profile img {
        width: 100px;
        height: 100px;
    }

    .title h1 {
        font-size: 24px;
    }

    .title p {
        font-size: 14px;
    }

    .header-nav {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        display: none; /* Hide by default */
    }

    .header-nav.show {
        display: flex; /* Show when hamburger is clicked */
    }

    .body-nav {
        flex-direction: column; /* Stack items vertically */
        align-items: center;
        gap: 10px; /* Reduce gap between items */
        padding: 15px 0;
    }

    .body-nav a {
        font-size: 1.2em; /* Slightly smaller font for mobile */
        padding: 10px 18px; /* Adjust padding for a more compact look */
    }

    footer {
        font-size: 12px;
        padding: 10px;
    }

    .hamburger {
        display: block;
        cursor: pointer;
        font-size: 30px;
        color: white;
        background: transparent;
    }
}