* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: sans-serif;
  font-size: 12px;
  font-weight: 600;
}

section {
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 0;
  background-color: #ffffff;
}

.container {
  width: 90%;
  height: auto;
  max-width: 1200px;
  margin: 0 auto;
}

.brand {
  text-align: center;
  font-size: 4rem;
  color: #cc0000;
  margin-bottom: 30px;
}

.search-result {
  margin-top: 30px;
  width: 100%;
  display: grid;
  grid-gap: 25px;
  grid-template: auto / repeat(auto-fit, minmax(300px, 1fr));
}

.item {
  width: 100%;
  border-radius: 8px;
  background-color: #f8f8f8;
  padding: 15px;
  overflow: hidden;
  cursor: pointer;
  transition: 0.3s;
  border: 2px solid #cc0000;
}

.item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 4px;
}

.flex-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.title {
  color: #cc0000;
  margin: 20px 10px 0 0;
  font-size: 1.8rem;
  font-weight: 600;
}

.item-data {
  color: #cc0000;
  font-size: 1.4rem;
}

.view-button {
  text-decoration: none;
  text-align: center;
  width: 120px;
  padding: 10px 0;
  background-color: #cc0000;
  color: white;
  font-size: 1.4rem;
  margin-top: 20px;
  display: inline-block;
  border-radius: 4px;
}

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background-color: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.modal-content {
  background-color: white;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  width: 90%;
  max-width: 400px;
}

.modal-content h2 {
  color: #cc0000;
  font-size: 2rem;
  margin-bottom: 10px;
}

.modal-content img {
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
}

.modal-content button {
  background-color: #cc0000;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-size: 1.2rem;
  cursor: pointer;
}