body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
}

.container {
    padding: 20px;
    text-align: center;
}

h1 {
    margin-bottom: 20px;
    color: #ffffff;
}

.search-container {
    margin-bottom: 20px;
}

#searchInput {
    padding: 10px;
    width: 300px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    outline: none;
}

#universityList {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.university-item {
    flex-grow: 1; /* Fill available space */
    margin: 10px;
}

.university-button {
    width: 100%; /* Make button width 100% of its parent */
    padding: 15px 0;
    border: none;
    border-radius: 30px;
    background-image: linear-gradient(to right, #4facfe 0%, #00f2fe 100%);
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.university-button:hover {
    background-image: linear-gradient(to right, #43e97b 0%, #38f9d7 100%);
}
.search-container {
    display: flex;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
}

#searchInput {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px 0 0 5px;
    font-size: 16px;
    outline: none;
}

#searchButton {
    padding: 10px 20px;
    border: none;
    border-radius: 0 5px 5px 0;
    background-color: #007bff;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#searchButton:hover {
    background-color: #0056b3;
}

/* navbar */

body {
    margin: 0;
    padding: 0;
    background-image: linear-gradient(hwb(0 47% 33% / 0), rgba(0, 0, 0, 0.7), rgba(144, 124, 59, 0.7)),
    url('./educationalWebsite-main/images/library1.jpg'); /* Replace 'your-background-image.jpg' with the path to your image */
    background-size: cover; /* Cover the entire viewport */
    background-repeat: no-repeat; /* Do not repeat the background image */
}

/* .header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
} */

.logo {
    padding: 10px;
}

.logo img {
    width: 150px;
}

.nav-links {
    flex: 1;
    text-align: right;
}

.nav-links ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.nav-links ul li {
    display: inline-block;
    margin-left: 10px;
}

.nav-links ul li a {
    color: #ffffff; /* Link text color */
    text-decoration: none;
    font-size: 13px;
    padding: 8px 12px;
    position: relative;
}

.nav-links ul li a::after {
    content: "";
    width: 0%;
    height: 2px;
    background: #ffffff; /* Underline color */
    display: block;
    margin: auto;
    transition: width 0.5s;
    position: absolute;
    bottom: 0;
    left: 0;
}

.nav-links ul li a:hover::after {
    width: 100%;
}

.nav-links ul li:hover::after {
    width: 100%;
}
