0/* General Styling */
body {
    font-family: Arial, sans-serif;
    font-size: 10px;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #ffffff;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Main Content Area */
#content {
    flex-grow: 1;
    padding-top: 35px; /* Space for fixed top nav */
    padding-bottom: 60px; /* Space for fixed infohead */
}

/* Infohead (Fixed at the top on mobile) */
#infohead {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(135deg, #1D3557, #fff3d1, #FFB90F);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    color: navy;
    padding: 5px 0;
    z-index: 1000;
}
#infohead:hover {
    color: green;
    border-color: green;
}

/* Fixed Bottom Navigation (Mobile Default) */
#bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: radial-gradient(circle at center, #1D3557 60%, #1D3537 100%), 
              linear-gradient(to bottom, rgba(255,255,255,0.1), transparent);
  background-blend-mode: overlay;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

/* Navigation List */
#bottom-nav ul {
    list-style: none;
    margin: 1px;
    display: flex;
}

/* Each Item */
#bottom-nav ul li {
    margin: 0 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Navigation Links */
#bottom-nav ul li a {
    color: #FFB90F;
    text-decoration: none;
    font-size: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
    border: 2px solid transparent;
    border-radius: 3px;
}

/* Icons */
#bottom-nav ul li i {
    font-size: 12px;
    color: #ffb90f;
    margin-bottom: 3px;
}

/* Hover Effects */
#bottom-nav ul li a:hover {
    color: #FFB90F;
    border-color: #ffb90f;
}

/* ===== Media Query: Small Screens (Phones) ===== */
@media (max-width: 480px) {
    body {
        font-size: 9px;
    }

    #bottom-nav ul li {
        padding: 0.5em;
    }

    #bottom-nav ul li a {
        font-size: 10px;
        padding: 2px 4px;
    }

    #bottom-nav ul li i {
        font-size: 18px;
        margin-bottom: 3px;
    }

    #infohead {
        font-size: 7px;
        height: 18px;
        padding: 5px 0;
    }
}

/* ===== Media Query: Medium Screens (Tablets) ===== */
@media (max-width: 768px) and (min-width: 481px) {
    #bottom-nav ul li a {
        font-size: 11px;
    }

    #bottom-nav ul li i {
        font-size: 20px;
    }

    #infohead {
        font-size: 8px;
    }
}

/* ===== Media Query: Desktop and Larger Screens ===== */
@media (min-width: 768px) {
    #content {
        padding-top: 100px;
        padding-bottom: 60px;
    }

    #bottom-nav {
        position: fixed;
        top: 0;
        bottom: auto;
        flex-direction: row;
        justify-content: space-evenly;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    #bottom-nav ul {
        flex-direction: row;
    }

    #bottom-nav ul li {
        margin: 0 15px;
    }

    #bottom-nav ul li a {
        font-size: 20px;
        padding: 10px 20px;
        border-radius: 10px;
    }

    #bottom-nav ul li i {
        font-size: 15px;
    }

    #infohead {
        position: fixed;
        bottom: 0;
        top: auto;
        height: 30px;
        font-size: 20px;
        padding: 10px 0;
    }
}
