body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
  color: #333;
}
header {
  padding: 50px;
  background-color: #c1df67;
  background: linear-gradient(135deg, #c1df67, #a8e063);
  color: white;
  text-align: center;
}
/* Cтилі форми */
form {
  display: flex;
  justify-content: center;
  gap: 10px;
  max-width: 500px;
  margin: 0 auto;
}
input[name="searchQuery"] {
  flex: 1;
  padding: 10px 15px;
  font-size: 16px;
  border: none;
  border-radius: 4px;
 outline: none;
background-color: #e4ecb6;

}

button[type="submit"] {
background: linear-gradient(135deg, #a8e063, #56ab2f);
color: white;
padding: 12px 25px;
font-size: 16px;
font-weight: bold;
border: none;
border-radius: 8px;
cursor: pointer;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
}

button[type="submit"]:hover {
background: linear-gradient(135deg, #b3f577, #4caf50);
transform: scale(1.05);
box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}
button[type="submit"]:active {
transform: scale(0.95);
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}
.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  justify-content: space-between;
  /* відстань між картинками */
}

.gallery a {
  flex: 0 0 calc(20% - 10px);
  
  box-sizing: border-box;
  
}
.gallery img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  display: block;
  border-radius: 4px;
}
.controls {
  display: flex;
  justify-content: center;
  /* по центру під галереєю */
  margin: 20px 0;
}

.load-more {
  padding: 10px 20px;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #a8e063, #56ab2f);
  color: white;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s, box-shadow 0.3s;
}

.load-more:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}