* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  line-height: 1.6;
}

header {
  background-color: #333;
  color: #fff;
  padding: 20px;
  text-align: center;
  position: sticky;
  top: 0%;
  z-index: 10;
}

header h1 a {
  color: inherit;
  text-decoration: none;
}
header h1 a:hover {
  color: red;
}

main {
  padding: 20px;
}

.hero {
  text-align: center;
  padding: 50px 0;
  background-color: #eee;
}

.features {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin-top: 30px;
}

.search-feature {
  background-color: rgb(239, 193, 193);
  text-align: center;
  padding: 20px 20px;
  border: 1px solid #ddd;
  border-radius: 15px;
}
.search-feature input {
  padding: 5px 20px;
  font-size: 24px;
  border-radius: 15px;
  opacity: 1;
  border: none;
}
.search-feature input::placeholder {
  color: purple;
}

.dot-seperator {
  text-align: center;
  padding: 10px;
}

.dot-seperator span {
  height: 10px;
  width: 10px;
  background-color: #676666;
  border-radius: 50%;
  display: inline-block;
  margin: 0 5px;
}

.items-selection {
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  justify-content: center;
}

.cards {
  max-width: 300px;
  margin: 20px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  transition: transform 0.3s ease-in-out;
}
.cards:hover {
  transform: scale(1.05);
  cursor: pointer;
}

.cards img {
  width: 100%;
  height: auto;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
}

/* Card Heading */
.cards h2 {
  color: #333;
  margin-bottom: 10px;
  text-align: center;
  opacity: 0.75;
}

/* Card Description */
.cards p {
  color: #555;
}

.three-button {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 50px;
}

.btn {
  border: none;
  padding: 15px 35px;
}
.btn1 {
  background-color: rgb(193, 226, 143);
}

.btn2 {
  background-color: rgb(226, 184, 143);
}

.btn3 {
  background-color: beige;
}

.btn:hover {
  color: #fff;
  background-color: #333;
  cursor: pointer;
}
#search-results {
  width: 100%;
  background-color: #fff;
  border: 0px solid #ddd;
  border-radius: 5px;
  overflow-y: auto;
  max-height: 300px;
  margin-top: 10px;
}

.search-result-item {
  padding: 10px;
  border-bottom: 1px solid #eee;
}

.search-result-item:hover {
  background-color: #e0e0e0;
}

footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 10px;
  bottom: 0%;
  width: 100%;
}

@media (max-width: 768px) {
  .three-button {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .items-selection {
    display: flex;
    flex-direction: column;
  }

  .search-feature {
    margin: 20px;
    padding: 10px 5px;
  }
  .search-feature input {
    padding: 5px 5px;
  }
  header {
    width: 100%;
  }
  footer {
    width: 100%;
  }
}
/* code for archive page */
.hero-archive h2 {
  text-align: center;
  margin: 10px;
  font-size: 37px;
}
.hero-archive hr {
  width: 50%;
  margin: auto;
}
.hero-archive p {
  text-align: center;
  margin: 10px;
  font-size: 21px;
}
