/* style.css (Corrected and improved) */
h4 {
    display: block;
    margin-block-start: 0.33em;
    margin-block-end: 0.33em;
    font-weight: bold;
    unicode-bidi: isolate;
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    
}

#page { /* Or your main content container */
    flex-grow: 1; /* Let content take up available space */
    overflow-y: auto; /* Make content scrollable */
    box-sizing: border-box; /* Include padding in element's total width and height */
}

#page-header {
    background-color: #f0f0f0;
    padding: 0.3rem;
    text-align: center;
}

#page-body {
    display: flex;
    flex-grow: 1;
    height: 100%;

}

#page-main {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
    
}

#page-content { /* Styles for your page content */ }

/* Footer */
#page-footer {
    background-color: #3498db; /* Bright blue */
    padding: 3px;
    text-align: center;
    position: fixed; /* Remove fixed positioning */
    bottom: 0; /* Stick to the bottom */
    width: 100%; /* Full width */

}

.registerd-container {
    color: white; /* White text */
    margin-bottom: 5px;
}

#bottom-nav {
    display: flex;
    justify-content: space-around;
    width: 100%;
}

#bottom-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

#bottom-nav li {
    margin: 0px 30px;
    font-size: 9px;
}

#bottom-nav a {
    color: #f39c12; /* Bright orange/gold for icons */
    font-size: 1.8em; /* Slightly larger icons */
    text-decoration: none;
    transition: color 0.3s ease; /* Smooth color transition on hover */
}

#bottom-nav a:hover {
    color: #e74c3c; /* Bright red on hover */
}


.mobile-menu-icon {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #e74c3c; /* Bright red for menu icon */
    color: white;
    padding: 10px 15px; /* Add some horizontal padding */
    border-radius: 8px; /* More rounded corners */
    cursor: pointer;
    z-index: 1001;
    border: none; /* Remove default border */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Add a subtle shadow */
    transition: background-color 0.3s ease; /* Smooth transition */
}

.mobile-menu-icon:hover {
    background-color: #c0392b; /* Darker red on hover */
}
@media (orientation: portrait) and (min-width: 900px) and (max-width: 1200px) {

#bottom-nav li {
    margin: 0px 30px;
    font-size: 30px;
}

}

@media (max-width: 768px) { /* Example mobile Tablet */
    #page-main {
    flex-grow: 1;
    padding: 9px;
    overflow-y: auto;
        
    }
}

/* Ensure content fits with left nav in landscape */
@media (orientation: landscape) {
    #page-main {
        margin-left: 1%px;
    }
}