@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@100;200;400;700&display=swap');

body {
  background-color: #f3f4f6;
  font-family: 'Helvetica', 'Arial', sans-serif;
}

.header {
  background-color: white;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
  padding: 16px;
}

.container {
  margin: 0 auto;
  height: 15px;
  /* max-width: 1200px; */
}

.breadcrumb {
  color: #4B5563;
}

.breadcrumb-link {
  font-size: 0.875rem;
  text-decoration: none;
  color: inherit;
  margin-right: 4px;
}

.breadcrumb-link.active {
  font-weight: bold;
}
/* a */

/* a */
.hover-effect {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  transition: transform 0.5s ease-in-out;
  width: 100%;
  justify-content: space-between;
  flex-wrap: nowrap; /* Ensure the items can wrap if needed */
}

.card {
  background-color: white;
  color: #374151;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.5s ease-in-out;
  flex: 1 1 22%; /* Ensures 4 cards fit in one row */
}

.hover-effect:hover .card:first-child {
  transform: scaleX(1.2);
  z-index: 2;
}

.hover-effect:hover .card:nth-child(2) {
  transform: scaleX(0.8);
}

.hover-effect:hover .card:not(:hover):not(:nth-child(2)) {
  transform: scaleX(0.9);
}

.hover-image, .hover-image2 {
  background-size: cover;
  transition: background-image 0.5s ease-in-out;
  height: 350px;
}

.hover-image {
  background-image: url('Shade-book-desk1.webp');
  background-size: cover;
  /* background-position: center; */
  transition: background-image 0.5s ease-in-out;
  height: 350px;
}

.hover-image:hover {
  background-image: url('Shade-book-hover1.webp');
}

.hover-image2 {
  background-image: url('Shade-book-desk2.webp');
  background-size: cover;
  /* background-position: center; */
  transition: background-image 0.5s ease-in-out;
  height: 350px;
}

.hover-image2:hover {
  background-image: url('Shade-book-hover2.webp');
}

section {
  text-align: center;
}

.relative {
  position: relative;
  display: inline-block;
}

.video {
  width: 100%;
  height: auto;
}

.absolute {
  position: absolute;
  bottom: 200px;
  left: 500px;
  width: 30%;
  background-color: rgba(255, 255, 255, 0.7);
  padding: 16px;
  text-align: center;
}

.text-xl {
  font-size: 50px;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  margin-bottom:10px;
  padding-bottom: 20px;
  padding-top: 50px;
}

.font-style {
  color: #5d4f43;
  font-size: 24px;
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
}

.text_p {
  color: #5d4f43;
  font-size: 18px;
  font-family: 'Manrope', sans-serif;
  font-weight: 50;
}

.shdcd {
  margin-bottom: 100px;
}

.text_hcls {
  font-size: 20px;
}

.text_pcls {
  font-size: 18px;
}

.bg-yellow-500 {
  background-color: #FBBF24;
}

.bg-white {
  background-color: #ffffff;
}

.bg-card {
  background-color: #F5F0E4;
}

.text-black {
  color: black;
}

.px-4, .py-2 {
  padding: 0.5rem 1rem;
}

.rounded-md {
  border-radius: 0.375rem;
}

.shadow-lg {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.card-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-top: 16px;
}

.card-text {
  margin-top: 16px;
}

.card-btn {
  margin-top: auto;
  background-color: #FBBF24;
  color: #000;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  border: none;
  transition: background-color 0.3s ease;
}

.card-btn:hover {
  background-color: #F59E0B;
}

.designer-collections .section-title,
.shade-cards .section-title {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 16px;
}

.collection-grid, .shade-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.collection-card, .shade-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.collection-img, .shade-img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 16px;
}

.collection-title, .shade-title {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 8px;
}

.collection-text, .shade-text {
  font-size: 0.875rem;
  margin-bottom: 16px;
}

.collection-btn, .shade-btn {
  background-color: #E5E7EB;
  color: #374151;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  border: none;
  transition: background-color 0.3s ease;
}

.collection-btn:hover, .shade-btn:hover {
  background-color: #D1D5DB;
}

.relative video {
  pointer-events: none;
  opacity: 0.7;
  transition: opacity 0.3s ease-in-out;
}

.relative:hover video {
  opacity: 1;
}

@keyframes play {
  0% {
    opacity: 1;
    play-state: paused;
  }
  100% {
    opacity: 1;
    play-state: running;
  }
}

/* Mobile Responsiveness */
@media screen and (max-width: 768px) {
  .container {
    width: 90%;
    margin: 0 auto;
  }

  .card {
    flex: 1 1 100%;
    width: 100%;
  }

  .absolute {
    font-size: small;
    position: relative;
    margin-top: 230px;
    margin-left: 190px;
    width: 45%;
    height: 25px;
    left: auto;
    /* text-align: center; */
    padding-right: 25px;

    /* position: absolute;
  bottom: 200px;
  left: 500px;
  width: 30%;
  background-color: rgba(255, 255, 255, 0.7);
  padding: 16px;
  text-align: center; */
  }

  .text-xl {
    font-size: 28px;
    padding-top: 10px;
  }

  .collection-grid, .shade-grid {
    grid-template-columns: 1fr;
  }

  .video {
    width: 100%;
    height: auto;
  }
}



