* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #EFEBCE;
  padding: 10px;
  color: #111;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 15px 0;
  gap: 10px;
}

.logo {
  display: flex;
  margin-left: 10%;
  font-weight: 800;
  font-size: 1.8em;
}

.search-bar {  
  width: 500px;
  background-color: transparent; 
  border: 1px solid black;      
  padding: 8px 12px;
  border-radius: 20px;
  font-family: 'Poppins', sans-serif;
  transition: border-color 0.3s, background-color 0.3s;
}
.search-transparent:focus {
  outline: none;                 
  border-color: #333;           
  background-color: rgba(0, 0, 0, 0.05); 
}


.nav-links {
  display: flex;
  gap: 5px;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  color: #862E38;
  font-weight: 600;
}


.icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  cursor: pointer;
}

.categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 20px 0;
  gap: 10px;
}

.categories a {
  text-decoration: none;
  color: #692D8B;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 500;
}

.categories a:hover {
  background: #b6a2c2;
  border-radius: 5px;
}

.banner {
  display: flex;
  width: 70%;
  margin: 20px 0;
  overflow: hidden;
  border-radius: 12px;
  margin-left: 13%;
}


.banner img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 12px;
}

.collections,
.posters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 15px;
  margin-left: 10%;
  margin-top: 20px;
}

.collection-item,
.poster {
  position: relative;
}

.collection-text{
   display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 5px;
  margin-left: 10%;
  margin-top: 20px;
}
 h2{
  display:flex;
  margin-left: 5%;
  margin-top: 1%;
  color:#307781;
  font-weight: 400;
 }

.collection-item img,
.poster img {
  width: 45%;
  border-radius: 10px;
  transition: transform 0.3s ease;
  display: block;
}

.collection-item a:hover img,
.poster a:hover img {
  transform: scale(1.05);
}

.posters-text{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 5px;
  margin-left: 9%;
  margin-top: 20px;
}
.bottomposters-text{
    display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 5px;
  margin-left: 9%;
  margin-top: 20px;
}

.footer {
    background: #1C3A3E;
    color: #ddd;
    padding: 40px 20px 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: auto;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-logo {
    color: #fff;
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 10px;
    margin-top: 20px;
}

.footer a { color: white;}


@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: center;
    padding: 15px;
  }

  .search-bar {
    width: 90%;
    margin-top: 10px;
  }

  .nav-links {
    justify-content: center;
  }

  .categories {
    justify-content: flex-start;
    overflow-x: auto;
    white-space: nowrap;
    padding: 10px;
  }

  .categories a {
    flex: none;
    font-size: 13px;
  }

  h2 {
    font-size: 18px;
    margin-left: 5%;
  }

  .collection-text,
  .posters-text,
  .bottomposters-text {
    font-size: 12px;
    gap: 5px;
  }

  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-section {
    margin-bottom: 20px;
  }
}

