/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Comic Sans MS', cursive, sans-serif;
    background-color: #f7f7f7;
    color: #333;
    text-align: center;
    padding-top: 70px; /* Space to avoid overlap with the sticky navbar */
}

/* Navbar */
.navbar {
    position: fixed; /* Keeps the navbar at the top */
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #FF69B4; /* Pink color */
    padding: 10px 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000; /* Ensures navbar is above other elements */
}

.navbar a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.navbar a:hover {
    background-color: #FF1493; /* Darker pink */
    transform: scale(1.1); /* Slight zoom effect */
}

.navbar a.active {
    border-bottom: 2px solid white; /* Underline for active link */
}

/* Hamburger Menu for Mobile */
.hamburger {
    display: none; /* Hidden by default */
    flex-direction: column;
    cursor: pointer;
    margin-left: auto;
    padding: 10px;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 4px 0;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    flex-direction: column;
    background-color: #FF69B4;
    position: fixed;
    top: 50px;
    right: 0;
    width: 100%;
    padding: 10px 0;
    z-index: 999;
}

.mobile-menu a {
    color: white;
    text-decoration: none;
    padding: 10px;
    text-align: center;
    border-bottom: 1px solid white;
}

.mobile-menu a:hover {
    background-color: #FF1493;
}

/* Mobile Menu Active State */
.mobile-menu.active {
    display: flex; /* Show mobile menu when active */
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .navbar a {
        display: none; /* Hide links in desktop navbar */
    }

    .hamburger {
        display: flex; /* Show hamburger icon on mobile */
    }
}

/* Heading */
h1 {
    font-size: 2.5em;
    color: #FF69B4;
    margin-bottom: 20px;
}

/* Paragraph */
p {
    font-size: 1.2em;
    color: #555;
    margin-bottom: 20px;
}

/* Box */
.box {
    width: 90%;
    max-width: 500px;
    margin: 20px auto;
    padding: 20px;
    background: linear-gradient(135deg, #f736d7, #FF1493);
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(247, 31, 182, 0.5);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(176, 10, 241, 0.7);
}

.box a {
    display: inline-block;
    margin-top: 10px;
    background: white;
    color: #FF1493;
    text-decoration: none;
    font-size: 1.2em;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.box a:hover {
    background-color: #FF1493;
    color: white;
    transform: scale(1.1);
}

/* Footer */
.footer {
    margin-top: 40px;
    font-size: 0.9em;
    color: #666;
}

.footer p {
    line-height: 1.5;
}

.footer a {
    color: #FF69B4;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.img-responsive {
    margin-top: 20px;
}