body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #333333; /* Dark background */
    color: #ffffff; /* White text */
}

header {
    background-color: #1b1b1b; /* Dark header */
    text-align: center;
    padding: 10px;
}

nav {
    background-color: #202020; /* Dark nav background */
    padding: 10px;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

nav li {
    display: inline;
    margin-right: 20px;
}

nav a {
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
}

footer {
    background-color: #1b1b1b; /* Dark footer */
    text-align: center;
    padding: 10px;
    position: relative;
    bottom: 0;
}

h2 {
    color: #ffffff;
    text-align: center;
    margin-top: 30px;
}

.subject-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #303030; /* Dark content background */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.subject-content {
    line-height: 1.6;
}

.subject-content a {
    color: #4285f4;
    font-weight: bold;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 20px auto;
}

.subject-grid {
    background-color: #303030; /* Dark background for each subject card */
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.subject-card {
    text-align: center;
}

.subject-card img {
    height: 150px;
}

.subject-card h2 {
    color: #ffffff;
}

.subject-card p {
    color: #ffffff;
}

.subject-grid a {
    text-decoration: none;
}

/* Responsive Styles */
@media only screen and (max-width: 600px) {
    nav li {
        margin-right: 10px;
    }

    .subject-container {
        padding: 10px;
    }

    .grid-container {
        grid-template-columns: 1fr;
    }

    .subject-grid {
        padding: 15px;
        margin-bottom: 15px;
    }
}

/* styles.css */

.dropdown-container {
    max-width: 100%;
    margin: 50px auto;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 10px;
}

select {
    width: 30%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 16px;
    background-color: #fff;
    color: #333;
}

#info-container {
    margin-top: 20px;
}

#info-container h4 {
    font-size: 50px;
    line-height: 5px;
}

#info-container h5 {
    font-size: 40px;
    line-height: 5px;
    font-weight: 200;
}

#info-container h6 {
    font-size: 30px;
    line-height: 5px;
    font-weight: 100;
}

#info-container a {
    font-weight: 100;
    display: block;
}

/* Optional styling for better appearance */
select:hover,
select:focus {
    border-color: #555;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}
