
@import url('https://fonts.cdnfonts.com/css/effra');

body{
  background: linear-gradient(to bottom, #4b4b4b,#000000);
  min-height: 100vh;
}

.page {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.header h1 {
  margin: 20px 0;
  text-align: center;
  font-size: 3rem;
  color : white;
}

.search-bar {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  gap: 5%;
  margin-bottom: 20px;
  width: 80%;
}

.search-bar button {
  flex: 1;
  padding: 8px;
  border: none;
  background: #ffffff;
  color: #222;
  border-radius: 30px;
  max-width: 100px;
}

.search-bar button:hover {
  background: #444;
}

.search-box {
  display: flex;
  flex: 2;
  align-items: center;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 30px;
  padding: 8px 15px;
  max-width: 500px;
}

.search-box input {
  border: none;
  outline: none;
  flex: 1;
  font-size: 16px;
}

.search-box i {
  color: rgb(97, 95, 95);
}

.anime-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  width: 80%;
  padding: 2%;
}

.amine-card {
  display: flex;
  flex-direction:  column;
  gap: 10px;
  align-items: center;
  background: #3d6491;
  padding: 10px;
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Effra";
  border: 0.5px solid #e9e9e9;
}

.amine-card:hover {
  box-shadow: 0px 10px #e3e3e3;
  transform: translateY(-10px);
}



.amine-card img {
  height: 250px;
  object-fit: contain;
  border-radius: 6px;
}

.amine-card h2 {
  margin: 0;
  font-size: 1.5rem;
  color: #ffffff;
}

.amine-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #ffffff;
}

@media (max-width: 900px) {
  .anime-section {
    grid-template-columns: repeat(2, 1fr); 
  }
}

@media (max-width: 600px) {
  .anime-section {
    grid-template-columns: 1fr;
  }
}


.prev, .next {
  position: absolute;
  top: 50%;
  height: 8%;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

.prev button, .next button {
  font-size: 4rem;
  background-color: #c2bebe;
  height: 100px;
  border: none;
  color: #222;
  cursor: pointer;
}

.prev button:hover, .next button:hover {
  color: #555;
}
