/* Add these classes to your existing CSS file */
.mir-01 { color: #FF0000; } /* Red */
.mir-02 { color: #00FF00; } /* Green */
.mir-03 { color: #0000FF; } /* Blue */
.mir-04 { color: #FFFF00; } /* Yellow */
.mir-05 { color: #FF00FF; } /* Magenta */

/* Your existing CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Ensure consistent sizing across devices */
}

body {
    min-height: 100vh;
    background-image: url(fida.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

nav {
    background-color: white;
    box-shadow: 3px 3px rgba(0, 0, 0, 0.1);
}
nav ul {
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 10px 20px; /* Added padding for better spacing */
}

nav li {
    height: 50px;
}
nav a {
    height: 100%;
    padding: 0 20px; /* Adjusted padding for better spacing on smaller screens */
    text-decoration: none;
    display: flex;
    align-items: center;
    color: black;
    font-size: 16px; /* Font size adjustment for readability */
}
nav a:hover {
    background-color: #f0f0f0;
}
nav li:first-child {
    margin-right: auto;
}

.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    z-index: 999;
    background-color: rgba(255, 255, 255, 0.9); /* Increased opacity for better readability */
    backdrop-filter: blur(10px);
    box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}
.sidebar li {
    width: 100%;
}
.sidebar a {
    width: 100%;
    padding: 15px 20px; /* Added padding for better spacing */
    font-size: 18px; /* Font size adjustment for readability */
}
.menu-button {
    display: none;
}

@media (max-width: 800px) {
    .hideOnMobile {
        display: none;
    }
    .menu-button {
        display: block;
        position: absolute;
        top: 10px;
        right: 20px;
        padding: 10px;
        background-color: white;
        border: none;
        cursor: pointer;
        z-index: 1000;
    }
    nav ul {
        justify-content: flex-end;
    }
    nav a {
        padding: 0 15px; /* Further reduced padding for smaller screens */
    }
}

@media (max-width: 400px) {
    .sidebar {
        width: 100%;
        padding: 10px;
    }
    nav a {
        font-size: 14px; /* Further font size reduction for very small screens */
    }
}
