/* General Styles */
@import url('https://fonts.googleapis.com/css2?family=Satisfy&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');


body {
    font-family: 'Arial', sans-serif;
    background-color: #353535;
    color: #dbdbdb;
    margin: 0;
    line-height: 1.6;
}

.name {
    max-width: 155px;
}

.link a {
    font-family: "Rubik", sans-serif;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    text-align: center;
    font-size: 1.2rem;
    color: rgb(211, 211, 211);
    width: fit-content;
    margin:auto;
    margin-top: 15px;
}

a:hover {
    color: #ff8615;
}

/* Image Styles */
.brand-img {
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.2);
}

.link img{
  width:300px;
}

.brand-img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 6px rgba(0, 0, 0, 0.2);
}

/* List Styles */
ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

li{
    margin: 20px;
}

.header {
    height: 300px;
    width: 100%;
    background-image: linear-gradient(to left bottom, rgba(233, 160, 101, 0.9), rgba(214, 194, 9, 0.9)) , url('https://i.postimg.cc/3RHRwq5N/cover-image-1689797681.jpg');
    background-position: center;  
    clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);
  }
  
  .text-box{
    text-align: center;
    display: block;
    margin-left: auto;
    margin-right: auto;
    color: #fff;
    font-weight: 900;
    padding-top: 60px;
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .main-heading {
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 60px;
    margin-top: 0px;
    animation-name: moveInLeft;
    animation-duration: 2s;
    animation-timing-function: ease-out; 
    color: #333;
  }
  
  @keyframes moveInLeft {
    0% {
      opacity: 0%;
      transform: translateX(-100px);
    }
    80% {
      transform: translateX(20px);
    }
    100% {
      transform: translateX(0px);
    }
  }

/**Media Quey for font size*/
@media (max-width: 852px) {
  .main-heading {
    font-size: 50px;
  }
}

@media (max-width: 400px) {
  .main-heading {
    font-size: 40px;
  }
}
/*************************/

/*Media Query for the images size*/
@media (max-width: 680px) {
  .link img{
    width: 250px;
  }
}
@media (max-width: 579px) {
  .link img{
    width: 220px;
  }
}
@media (max-width: 520px) {
  .link img{
    width: 200px;
  }
}
@media (max-width: 480px) {
  .link img{
    width: 180px;
  }
}
@media (max-width: 440px) {
  .link img{
    width: 160px;
  }
}
@media (max-width: 400px) {
  .link img{
    width: 250px;
  }
}
@media (max-width: 300px) {
  .link img{
    width: 210px;
  }
}
/******************************/


/*******************/
.footer {
  width: 100%;
  background-color: rgba(0, 0, 0, 0.3); /* More transparent background */
  text-align: center;
  padding: 10px 0;
  margin-top: 20px; /* Space above the footer */
}

.footer-link {
  color: #ffffff; /* White text */
  text-decoration: none;
  font-family: Arial, sans-serif;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.github-logo {
  width: 24px; /* Adjust the size of the GitHub logo */
  height: 24px;
  margin-right: 8px; /* Space between the logo and the username */
}

.footer-link:hover {
  color: #ffa500; /* Change text color on hover */
}

/* Search Bar Styles */
.search-bar {
  width: 100%;
  max-width: 600px;
  padding: 10px 20px;
  font-size: 16px;
  border: 2px solid #ccc;
  border-radius: 25px;
  background-color: #f9f9f9;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
  outline: none;
  color: #333;
  margin-top: 20px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

/* Focus State */
.search-bar:focus {
  border-color: #ffa600;
  background-color: #fff;
  box-shadow: 0 6px 8px rgba(255, 115, 0, 0.3);
}

/* Placeholder Text */
.search-bar::placeholder {
  color: #999;
  font-style: italic;
}

/* Responsive adjustments for tablets */
@media (max-width: 768px) {
  .search-bar {
      width:80%;
      max-width: 500px;
      padding: 10px 15px;
      font-size: 14px;
  }
}

/* Responsive adjustments for mobile phones */
@media (max-width: 480px) {
  .search-bar {
      width: 75%;
      max-width: 100%;
      padding: 8px 10px;
      font-size: 13px;
  }
}

/* Suggestions dropdown */
.suggestions-list {
  color: #353535;
  max-width: 600px;
  width: 100%;
  list-style-type: none;
  padding: 0;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  margin-top: 5px;
  max-height: 200px; /* Set the max height */
  overflow-y: auto; /* Make the list scrollable when content exceeds max-height */
}

/* Each suggestion style */
.suggestions-list li {
  padding: 10px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
  transition: background-color 0.3s ease;
}

.suggestions-list li:hover {
  background-color: #f2f2f2;
}

/* Active suggestion style for keyboard navigation */
.suggestion-active {
  background-color: #ffa600;
  color: #fff;
}

/* Hide the last suggestion's border */
.suggestions-list li:last-child {
  border-bottom: none;
}

/* Make the suggestion list responsive */
@media (max-width: 768px) {
  .suggestions-list {
    width:80%;
    max-width: 500px;
  }
}

@media (max-width: 480px) {
  .suggestions-list {
      width: 75%;
      max-width: 100%;
  }
}

/* Style for the filter toggle button */
#filterToggleBtn, .filter-toggle-btn {
  display: block;
  margin: 10px auto;
  margin-top: 25px;
  padding: 10px 20px;
  font-size: 16px;
  background-color: #e6ab54; /* Match with your search bar's color */
  color: white;
  border: none;
  border-radius: 25px; /* Updated for a modern look */
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
  color:#464545
}

#filterToggleBtn:hover {
  background-color: #daa23b;
}

/* Style for the filter container */
.filter-container {
  display: none; /* Hidden by default */
  width: 100%;
  max-width: 900px; /* As per your modern styles */
  padding: 20px;
  margin: 20px auto;
  border: 2px solid #ccc;
  border-radius: 25px;
  background-color: #f9f9f9;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
  color: #333;
  position: relative;
}

/* Show the filter container when it has the 'show' class */
.filter-container.show {
  display: block;
}

/* Style for filter sections */
.filter-section {
  margin-bottom: 20px;
}

.filter-section h3 {
  margin-bottom: 10px;
  font-size: 1.2em;
  color: #333;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center; /* Center align items vertically */
}

.filter-section label {
  margin-right: 10px;
  color: #555;
  font-size: 16px;
}

.filter-section input[type="number"],
.filter-section input[type="date"],
.filter-section select {
  padding: 10px 20px;
  font-size: 16px;
  border: 2px solid #ccc;
  border-radius: 25px;
  background-color: #fff;
  margin-right: 20px;
  outline: none;
  transition: all 0.3s ease-in-out;
}

.filter-section input[type="number"]:focus,
.filter-section input[type="date"]:focus,
.filter-section select:focus {
  border-color: #ffa600;
  box-shadow: 0 6px 8px rgba(255, 115, 0, 0.3);
}

.members-checkboxes label {
  display: inline-flex;
  align-items: center;
  margin-right: 15px;
  font-size: 16px;
  color: #555;
}

.members-checkboxes input[type="checkbox"] {
  margin-right: 5px;
  width: 18px;
  height: 18px;
}

@media (max-width: 768px) {
  .filter-container {
    width: 80%;
    max-width: 500px;
  }
}

@media (max-width: 1000px) {
  .filter-container {
    max-width: 700px;
  }
}

@media (max-width: 480px) {
  .filter-container {
    width: 75%;
    max-width: 100%;
  }

  .filter-row {
    align-items: flex-start;
  }

  .filter-section input[type="number"],
  .filter-section input[type="date"],
  .filter-section select {
    margin-right: 0;
    margin-bottom: 10px;
  }
  .filter-section select {
    width: 60%;
  }

  .members-checkboxes label {
    margin-right: 0;
    margin-bottom: 10px;
  }
}

/* Style for the clear filters button */
.clear-filters-btn {
  padding: 10px 20px;
  font-size: 16px;
  background-color: #f44336; /* Red color for visibility */
  color: white;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
  margin: 20px auto 0 auto;
  display: block;
}

.clear-filters-btn:hover {
  background-color: #d32f2f;
}
