/* styles.css */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #f4f4f4;
  padding: 20px;
}

header {
  text-align: center;
  margin-bottom: 20px;
}

h1 {
  font-size: 2.5rem;
  color: #333;
}

h2 {
  text-align: center;
  margin-bottom: 50px;
}

#searchInput {
  width: 100%;
  max-width: 500px;
  padding: 10px;
  margin: 10px 0;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

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

.website-card {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s;
}

.website-card:hover {
  transform: translateY(-5px);
}

.website-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.website-card-content {
  padding: 15px;
}

.website-card h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.website-card p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 10px;
}

.website-card a {
  width: 100%;
  display: inline-block;
  padding: 8px 16px;
  background-color: #007bff;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
}

.website-card a:hover {
  background-color: #0056b3;
}

@media (max-width: 600px) {
  .website-grid {
    grid-template-columns: 1fr;
  }
}