/* style.css */

body {
    font-family: Arial, sans-serif;
    background-color: #333;
    color: #fff;
    padding: 20px;
    background-image: url('mz-logo.png'); /* Add your logo image here */
    background-repeat: no-repeat;
    background-position: right top;
    background-size: 200px;  /* Adjust the size as needed */
}

.logo {
    display: none; /* Hide the normal logo img tag since it will now be a background image */
}

h1 {
    color: #ffcc33; /* Stronger gold color */
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 20px;
}

h2 {
    color: #ffcc00; /* Main gold color */
    margin-bottom: 18px;
}

h3 {
    color: #ffd966; /* Lighter gold for h3 */
    font-size: 1.2rem;
    margin-bottom: 12px;
}

h4 {
    color: #ffe699; /* Even lighter gold for h4 */
    font-size: 1.1rem;
    margin-bottom: 10px;
}

h5 {
    color: #fff2cc; /* Lightest gold for h5 */
    font-size: 1.0rem;
    margin-bottom: 5px;
}

form {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-top: 20px;
    color: #ffcc00;
}

input[type="text"],
input[type="number"] {
    background-color: #222;
    border: none;
    color: #fff;
    padding: 5px;
    border-radius: 5px;
}

button,
input[type="submit"] {
    margin-top: 20px;
    background-color: #ffcc00;
    color: #333;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

button {
    background-color: #333;
    color: #ffcc00;
    border: 2px solid #ffcc00;
    margin-bottom: 5px;          /* Align with other elements */
}

button:hover {
    border: 2px solid #222;
    background-color: #ffcc00;
    color: #333;
}

/* Style the select elements */
select {
    background-color: #ffcc00; /* Same as buttons */
    color: #333;               /* Same as buttons */
    padding: 4px 10px;        /* Same as buttons */
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 15px;          /* Align with other elements */
    margin-bottom: 5px;          /* Align with other elements */
}

/* Hover effect for select elements */
select:hover {
    background-color: #333;    /* Swap colors on hover */
    color: #ffcc00;
}

/* Focus effect for select elements */
select:focus {
    outline: none;
    box-shadow: 0 0 5px #ffcc00;
}

table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 20px;
}

table th,
table td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid #fff;
}

table th {
    background-color: #ffcc00;
    color: #333;
    font-weight: bold;
}

p.error-message {
    color: #ff3333;
    margin-top: 10px;
}

a {
    color: #ffcc00;
    text-decoration: none;
}

a:hover {
    color: #fff;
}

footer {
    text-align: center;
    color: #ccc;
    margin-top: 50px;
}

.flex-container {
    display: flex;
    justify-content: space-between;
}

.flex-container > div {
    width: 45%;
}

.list-item {
    cursor: pointer;
    background-color: #222;
    border-radius: 5px;
    padding: 5px;
    margin: 5px 0;
    transition: background-color 0.3s;
}

.list-item:hover {
    background-color: #ffcc00;
    color: #333;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-around;
    background-color: #222;
    padding: 10px 0;
}

nav li {
    display: inline;
}

nav a {
    color: #ffcc00;
    text-decoration: none;
}

nav a:hover {
    color: #fff;
}

/* Responsive styles */
@media screen and (max-width: 768px) {
    nav ul {
        flex-direction: column;
        display: none; /* Hide the menu by default */
        width: 100%;
        background-color: #222;
        position: absolute;
        top: 50px; /* Adjust based on header height */
        left: 0;
        z-index: 1000;
    }
    
    nav ul.active {
        display: flex;
    }
    
    nav li {
        text-align: center;
        padding: 10px 0;
    }
    
    nav a {
        display: block;
        padding: 10px 0;
        width: 100%;
    }
    
    /* Show hamburger menu */
    .hamburger {
        display: flex;
        flex-direction: column;
        cursor: pointer;
    }
    .hamburger div {
        width: 25px;
        height: 5px;
        background-color: #ffcc00;
        margin: 5px 0;
    }

    .hamburger.active div {
        background-color: #fff; /* Change color when active if needed */
    }
}

/* Ensure menu items fit on smaller screens and don't overlap */
footer {
    position: relative;
    width: 100%;
}


