/* General reset for margin and padding */
/* General reset for margin and padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

/* Full-width header */
.header {
    background-color: #3e3e3e;
    color: white;
    padding: 15px 0;
    text-align: center;
}

/* Main content area: left menu and right content */
.main-content {
    display: flex;
    flex: 1;
    height: 100%;
}

/* Left menu styling */
.menu {
    background-color: #f4f4f4;
    width: 250px;
    padding: 20px;
}

.menu-title {
    background-color: #ddd;
    padding: 5px;
    margin-bottom: 10px;
    text-align: center;
}

.menu ul {
    list-style-type: none;
}

.menu ul li {
    margin: 10px 0;
}

.menu ul li a {
    text-decoration: none;
    color: #333;
}

.menu ul li a:hover {
    color: #be1919;
}

/* Content area styling */
.content {
    flex: 1;
    padding: 20px;
}

.content-title {
    background-color: #ddd;
    padding: 5px;
    margin-bottom: 10px;
    text-align: center;
}

.content p {
    line-height: 1.6;
}

/* Footer styling */
.footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px 0;
    position: relative;
    width: 100%;
}

/* Media Queries for Mobile Devices */

/* For tablets and below: Stack the menu and content area */
@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
        /* Stack the menu and content on top of each other */
    }

    .menu {
        width: 100%;
        /* Make the menu full width on smaller screens */
        padding: 10px;
    }

    .content {
        padding: 10px;
    }

    /* Adjust the header font size for smaller devices */
    .header {
        padding: 10px 0;
    }

    .header h1 {
        font-size: 1.5rem;
    }

    /* Adjust margins and padding for readability */
    .menu-title, .content-title {
        padding: 8px;
        margin-bottom: 8px;
    }

    .menu ul li {
        margin: 5px 0;
    }

    .footer {
        font-size: 0.9rem;
        padding: 8px 0;
    }
}

/* For smaller mobile devices: Further adjustments */
@media (max-width: 480px) {
    .header h1 {
        font-size: 1.2rem;
    }

    .menu {
        width: 100%;
        padding: 5px;
    }

    .content {
        padding: 5px;
    }

    .footer {
        font-size: 0.8rem;
        padding: 5px 0;
    }

    .menu ul li {
        margin: 3px 0;
    }
}