
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #000000;
  }
  
  header {
    background-color: #333;
    color: #ffffff;
    padding: 10px;
  }
  
  .head{
    text-align: center;
    background-color:#007bff;
    padding: 15px;
  }
  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  nav a {
    color: #ffffff;
    text-decoration: none;
    padding: 5px 10px;
  }
  
  nav a:hover {
    background-color: #555;
  }
  
  main {
    padding: 20px;
  }
  
  .courses {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    grid-gap: 20px;
    
  }
  
  .course-item {
    border: 1px solid #ffffff;
    border-radius: 8px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .course-item img {
    max-width: 100%;
    border-radius: 10px 10px 0 0;
  }
  
  .course-title {
    font-size: 18px;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 5px;
  }
  
  .course-description {
    font-size: 14px;
    color: #ffffff;
    margin-bottom: 10px;
  }
  
  .course-metadata {
    font-size: 12px;
    color: #ffffff;
    margin-bottom: 10px;
  }
  
  .course-link {
    display: inline-block;
    padding: 8px 15px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
  }
  
  .course-link:hover {
    background-color: #0056b3;
  }
  
  footer {
    background-color: #333;
    color: #ffffff;
    text-align: center;
    padding: 10px;
  }
  
  .resource-library {
    padding: 20px;
  }
  
  .resource-library h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
  }
  
  .resources {
    list-style: none;
    padding: 0;
  }
  
  .resources li {
    margin-bottom: 10px;
  }
  
  .resources a {
    display: inline-block;
    padding: 8px 15px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
  }
  
  .resources a:hover {
    background-color: #0056b3;
  }


.search-bar{
  text-align: center;
  margin-bottom: 30px;
}

 #searchInput{


   width: 300px;
  padding: 10px;
  border: 1px solid #1c201d;
  border-radius: 5px;
  font-size: 16px;
  background-color: #fff;
  color: #333;
  text-align: left;
  transition: border-color 0.3s, box-shadow 0.3s; 
   
  
}

#searchInput:focus {
  border-color: #007bff; 
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5); 
}

.dropbtn {
  background-color: #3498DB;
  color: white;
  padding: 16px;
  font-size: 16px;
  border: none;
  cursor: pointer;
}

.dropbtn:hover, .dropbtn:focus {
  background-color: #2980B9;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #000000;
  min-width: 160px;
  overflow: auto;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  color: rgb(255, 255, 255);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown a:hover {background-color: #089bf0;}

.show {display: block;}

