* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-family: sans-serif;
}

body {
  background-image: url("https://cdn.pixabay.com/photo/2024/02/22/22/37/mountain-8590965_960_720.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-position: 50%;
}

header h1 {
  text-align: center;
  padding: 1rem;
  text-transform: uppercase;
  letter-spacing: 6px;
  text-shadow: 2px 3px 4px rgba(0, 0, 0, 0.404);
  color: #fff;
  background-color: rgba(0, 0, 0, 0.404);
}

main {
  width: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-content: first baseline;
  align-items: center;
  text-align: center;
}

main .search {
  display: flex;
  margin-top: 8rem;
  height: 300px;
}

main .search input {
  width: 40em;
  position: static;

  height: 3.4rem;
  border-top-left-radius: 20px;
  font-size: 20px;
  border-bottom-left-radius: 20px;
  outline: none;
  padding: 1rem;
  background-color: #666262;
  box-shadow: 2px 3px 4px rgba(0, 0, 0, 0.404);
  color: #fff;
}

main .search button {
  border-top-right-radius: 20px;
  font-size: 20px;
  height: 3.5rem;
  border-bottom-right-radius: 20px;
  border: none;
  padding: px;
  cursor: pointer;
  box-shadow: 2px 3px 4px rgba(0, 0, 0, 0.404);
}

main .search button:hover {
  background-color: #151f49;
}

img {
  width: 250px;
  height: 250px;
  cursor: pointer;
  border-radius: 10px;
}

#image-containe {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  background-color: #fff;
  flex-shrink: 3;
}

.image_container {
  max-width: 100%;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#image-container {
  display: flex;
  flex-wrap: wrap;
  text-align: center;
  gap: 2rem;
}
.img {
  width: 250px;
  height: 250px;
  background-color: #5f5f5f;
  border-radius: 10px; /* Added border radius */
  box-shadow: 2px 3px 4px rgba(0, 0, 0, 0.404); /* Added box shadow */

  margin: auto;
}
@media screen and (max-width: 768px) {
  #image-container {
    margin-top: 40rem;
  }
  main .search input {
    width: 20rem;
  }
}

/* styles.css */
.slider {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 80%;
  height: 80%;
  transform: translate(-50%, -50%);
  z-index: 1000;
  display: flex;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.8);
  padding: ;
  border-radius: 10px;
}

.slider img {
  height: 60%;
  margin: auto;
  width: 60%;
  border-radius: 5px;
}

.slider button {
  height: 250px;
  background: transparent;
  border: none;
  color: white;
  font-weight: bold;
  font-size: 20px;
  padding: 20px;
  margin: 0 10px;
  cursor: pointer;
}

.slider button:hover {
  background-color: rgba(9, 9, 14, 0.333);
}
