/* Reset some default styles for consistency across browsers */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
    background-image: url('background.jpg'); /* Replace with your background image URL */
    background-size: cover;
    background-position: center;
}

/* Header styles */
header {
    background-color: rgba(0, 123, 255, 0.8); /* Semi-transparent background */
    padding: 10px 0;
    text-align: center;
    color: white;
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

nav span {
    font-size: 1.5em;
    font-weight: bold;
}

/* Container styles */
.container {
    width: 90%;
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.9); /* Semi-transparent background */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    text-align: center;
}

h1 {
    margin-bottom: 20px;
    font-size: 2em;
    color: #007bff;
}

.search-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.search-box input, .search-box select, .search-box button {
    width: 100%;
    padding: 10px;
    font-size: 1em;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.search-box button {
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-box button:hover {
    background-color: #0056b3;
}

.result {
    display: none;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
    text-align: left;
}

.result p {
    margin-bottom: 10px;
}

.status-box {
    display: inline-block;
    padding: 10px;
    color: white;
    border-radius: 5px;
    font-weight: bold;
}

.green {
    background-color: #28a745;
}

.yellow {
    background-color: #ffc107;
}

.red {
    background-color: #dc3545;
}

.excellent {
    background-color: #11ccff;
    box-shadow: 5px 5px 10px #8ae6ff
}

/* Mobile responsiveness */
@media (max-width: 600px) {
    .container {
        width: 95%;
        margin: 20px auto;
    }

    .search-box {
        flex-direction: column;
    }

    nav {
        flex-direction: column;
        gap: 10px;
    }
}
