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

body {
  font-family: Arial, sans-serif;
  background: #f4f6f8;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 1100px;
  margin-bottom: 30px;
}

.list li {
  background: white;
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.list li:hover {
  transform: translateY(-6px);
}

.list img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.btn {
  padding: 14px 28px;
  border: none;
  border-radius: 10px;
  background:#4f8cff;
  color: white;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.25s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}
