body {
  font-family: 'montserrat', sans-serif;
  background-color: #f7f8fc;
  color: #333;
  margin: 0;
  padding: 0;
}
a{
  text-decoration: none;
}
.container-fluid {
  padding: 2rem;
}

header h1 {
  font-weight: 500;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.content {
  display: flex;
  justify-content: space-between;
}

.aside {
  flex-basis: 20%;
}

.aside button {
  display: block;
  width: 100%;
  background-color: #fff;
  color: #333;
  border: 1px solid #ccc;
  padding: 0.75rem;
  margin-bottom: 0.5rem;
  text-align: left;
  border-radius: 0.5rem;
  font-size: 0.875rem;
}

.main-content {
  flex-basis: 55%;
}

.search-bar {
  display: flex;
  margin-bottom: 1rem;
}

.search-bar input {
  flex-grow: 1;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  width: 89%;
}

.search-bar button {
  background-color: #fce4ec;
  border: none;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  margin-left: 0.5rem;
  color: #c2185b;
  font-size: 1rem;
  
}

.filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.filter-bar div {
  display: flex;
  align-items: center;
}

.filter-bar input[type="checkbox"] {
  margin-right: 0.5rem;
}

.filter-bar .sort-btn {
  background-color: #fff;
  border: 1px solid #ccc;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
}

.item-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-item {
  display: flex;
  align-items: flex-start;
  padding: 1rem;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.list-item input[type="checkbox"] {
  margin-right: 1rem;
}

.item-info h3 {
  font-size: 1rem;
  color: #1e88e5;
  margin: 0 0 0.5rem;
}

.item-info p {
  font-size: 0.95rem;
  margin: 0 0 0.5rem;
  color: #666;
  font-weight: 500;
}

.item-links span {
  font-size: 0.875rem;
  margin-right: 0.75rem;
  color: #333;
  font-weight: 600;
}

.item-links i {
  color: #666;
}

.btn-group {
  display: flex;
  justify-content: flex-start;
  margin-top: 1rem;
}

.btn-group button {
  background-color: #fce4ec;
  border: none;
  padding: 0.75rem 0.6rem;
  border-radius: 0.5rem;
  color: #c2185b;
  margin-right: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: montserrat;
}
.btn-group button:hover {
  background-color: white;
  transition: all 0.6s;
  border:1px solid black;
}

.aside-right {
  flex-basis: 20%;
}

.card {
  background-color: #e1f5fe;
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.card button {
  background-color: #fce4ec;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  color: #c2185b;
  font-size: 0.875rem;
}

.aside-thumbnail{
  height: auto;
  width: 308px;
  border-radius: 10px;
  border: 1px solid gray;
}






@media (max-width: 1023.98px) {
  .content {
      flex-direction: column;
  }

  .aside,
  .main-content,
  .aside-right {
      flex-basis: 100%;
  }

  .list-item {
      flex-direction: column;
  }

  .list-item img {
      margin-top: 1rem;
  }
}

@media (max-width: 767.98px) {
  .list-item {
      flex-direction: column;
  }

  header h1 {
      font-size: 1.25rem;
  }

  .aside button {
      padding: 0.5rem;
      font-size: 0.75rem;
  }
    .main-content .search-bar input{
        width:78.5%;
    }
  .main-content .search-bar input,
  .main-content .search-bar button {
      font-size: 0.75rem;
      padding: 0.5rem;
      
     
  }

  .main-content .filter-bar .sort-btn {
      padding: 0.5rem;
      font-size: 0.75rem;
  }

  .item-info h3 {
      font-size: 0.875rem;
  }

  .item-info p {
      font-size: 0.75rem;
  }

  .item-links span {
      font-size: 0.75rem;
  }

  .btn-group button {
      padding: 0.5rem 1rem;
      font-size: 0.75rem;
  }
}
