
/* Shared styles */

.html,
.body {
  height: 100%;
  position: sticky;
  box-sizing: border-box;
}

.head {
  content: '';
  display: block;
  width: 100%;
  height: 131px;
}

.bg-white {
  background: #ffffff !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-2 {
  margin-bottom: 2rem !important;
}

.mt-0 {
  margin-top: 0 !important;
}

.mt-4 {
  margin-top: 4rem !important;
}

.mt-5 {
  margin-top: 5rem !important;
}

.m-a {
  margin: auto !important;
}

.m-0 {
  margin: 0 !important;
}

.p-0 {
  padding: 0 !important;
}

.p-1 {
  padding: 1.5rem !important;
}

.p-2 {
  padding: 2rem !important;
}

.p-4 {
  padding: 4rem !important;
}

.py-14 {
  padding-top: 14px !important;
  padding-bottom: 14px !important;
}

.ta-center {
  text-align: center !important;
}

/* Hero Section */

.hero-section {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 4rem 2rem;
  margin-top: 8.5rem;
}

.hero-content {
  max-width: 120rem;
  width: 100%;
}

.hero-title {
  font-family: 'Crimson Text';
  font-style: normal;
  font-size: 3rem;
  font-weight: 400;
  line-height: 1.42857143;
  letter-spacing: 0.25px;
  color: rgba(0, 0, 0, 0.87);
  margin-bottom: 2rem;
}

.hero-text {
  font-size: 2rem;
  line-height: 150%;
  letter-spacing: 0.15px;
  color: rgba(0, 0, 0, 0.54);
  max-width: 60rem;
  margin: 0 auto;
}

/* Carousel Section */

.carousel-title {
  font-family: 'Crimson Text';
  font-style: normal;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 2rem 0;
  text-shadow: none;
}

#carousel-hero .carousel-inner .item .carousel-caption {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 48.44%, rgba(0, 0, 0, 0.3) 75%);
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: end;
  padding: 0;
}

#carousel-hero .carousel-inner .item .carousel-caption .carousel-caption-box {
  width: 85%;
  position: relative;
  bottom: 0;
}

#carousel-hero {
  overflow: hidden;
  margin-top: 0;
  margin-bottom: 7.2rem;
}

#carousel-hero .carousel-inner {
  height: 100%;
}

#carousel-hero .carousel-inner .item {
  height: 100%;
}

#carousel-hero .carousel-inner .item img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.right,
.left {
  background-image: none !important;
  background-color: transparent;
}

.arrows {
  top: 50%;
  background: white;
  padding: 13px;
  border-radius: 100%;
  color: black;
  box-shadow: none;
  transform: scale(0.7);
}

/* History Section */

.univers-img {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: cover;
}

.generic-row {
  display: flex;
  background: linear-gradient(0deg, rgba(233, 235, 248, 0.4), rgba(233, 235, 248, 0.4)), #ffffff;
}

/* Featured items Section */

.featured-items-container {
  padding: 4rem 0 0 0;
  text-align: center;
}

.featured-items-header {
  margin-bottom: 3rem;
}

.main-title {
  font-size: 3.5rem;
  margin-bottom: 2rem;
}

.subtitle {
  font-size: 2rem;
  padding: 0 4rem;
  margin: 0 auto;
}

.featured-items-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 4rem 0;
  padding: 0;
}

.grid-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.grid-item h3 {
  font-size: 2rem;
  min-height: 5rem; /* Accommodate 2 lines of text */
  display: flex;
  align-items: center;
  margin: 0;
}

.square-image {
  width: 40vh;
  height: 40vh;
  margin-top: 2rem;
  aspect-ratio: 1;
  object-fit: cover;
}

.cta-container {
  margin-top: 3rem;
}


/* Responsive adjustments */

@media (max-width: 768px) {
  .featured-items-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Custom, iPhone Retina */
@media only screen and (min-width: 300px) {
  .main-container {
    margin: 0;
    margin-top: 85px !important;
  }
  .section {
    margin: 35px 0 !important;
  }

  #carousel-hero {
    height: 85vh;
    height: calc(var(--real-height) - 8.4rem);
  }

  .carousel-control {
    opacity: 0.9;
  }
  .carousel-title {
    font-size: 23px;
    line-height: 1.42857143;
    letter-spacing: 0.25px;
  }

  #carousel-hero .carousel-inner .item .carousel-caption .carousel-caption-box {
    position: inherit;
    bottom: 1px;
    margin-bottom: 8%;
  }

  .generic-row {
    flex-direction: column;
  }
  .univers-card-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.4rem;
  }

  .univers-text {
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.42857143;
    text-align: center;
    letter-spacing: 0.15px;
    color: rgba(0, 0, 0, 0.54);
  }

  .main-container > :nth-child(6) > h4 {
    margin-bottom: 0;
    margin-top: 9rem;
  }

  .ta-center {
    padding: 2rem;
  }

  .univers-title {
    font-style: normal;
    font-weight: 600;
    font-size: 3rem;
    line-height: 1.42857143;
    text-align: center;
    letter-spacing: 0.15px;
    margin-bottom: 1rem;
  }

  #fleurs-mobile {
    display: block;
  }

  #fleurs-desktop {
    display: none;
  }
}

/* Extra Small Devices, Phones */
@media only screen and (min-width: 480px) {
  .main-container {
    padding: 0 !important;
  }

  .carousel-control {
    width: 10%;
  }
}

/* Small Devices, Tablets */
@media only screen and (min-width: 768px) {
  .hero-title {
    font-size: 4rem;
  }
  .section {
    margin: 72px 0 !important;
  }
  .carousel-title {
    font-size: 31px;
    line-height: 42px;
    letter-spacing: 0.25px;
  }
  .my-4 {
    margin: 72px 0;
  }
  .univers-title {
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 123.5%;
    margin-bottom: 1rem;
  }
  
  .univers-img {
    width: 100%;
  }

  .justify-content-space-evenly {
    justify-content: space-evenly !important;
  }

  .univers-text {
    color: rgba(0, 0, 0, 0.54);
    font-size: 2rem;
    line-height: 1.42857143;
    letter-spacing: 0.15px;
  }

  .square-image {
    width: 100%;
    height: auto;
  }
}

/* Medium Devices, Desktops */
@media only screen and (min-width: 992px) {
  .main-container {
    width: 100%;
    margin: 8.7rem 0 !important;
    padding: 0 2.5rem !important;
  }

  .main-container > div.section {
    max-width: 120rem;
    margin: auto !important;
    margin-bottom: 7.2rem !important;
    width: 100%;
    position: relative;
  }

  .generic-row {
    flex-direction: row;
  }

  .hero-title {
    font-size: 7rem;
  }
  .grid-item h3 {
    font-size: 2.5rem;
  }

  .univers-card-info {
    display: block;
  }
  .univers-title {
    font-style: normal;
    font-weight: 400;
    font-size: 3.5rem;
    line-height: 123.5%;
    letter-spacing: 0.25px;
    color: #000000;
    text-align: left;
  }
  .univers-text {
    font-weight: 400;
    font-size: 2rem;
    line-height: 1.42857143;
    letter-spacing: 0.15px;
    color: rgba(0, 0, 0, 0.54);
    margin: 24px 0;
    text-align: left;
  }

  ::-webkit-scrollbar-thumb {
    background: lightgray;
    border-radius: 10px;
  }

  .ta-center {
    padding: 0;
  }

  #fleurs-mobile {
    display: none;
  }

  #fleurs-desktop {
    display: block;
  }

  #carousel-hero {
    height: min(800px);
  }

  #carousel-hero .carousel-inner,
  #carousel-hero .carousel-inner .item,
  #carousel-hero .carousel-inner .item img {
    height: 100%;
  }

  #carousel-hero .carousel-inner .item .carousel-caption .carousel-caption-box {
    margin-bottom: 3.2rem;
  }

  #carousel-hero .carousel-title {
    margin: 1.2rem 0;
  }

  .hero-section {
    padding: 7.2rem 2.5rem;
  }
  
  .hero-text {
    font-size: 20px;
  }
}

/* Carousel banners img switchng */
@media only screen and (max-width: 991px) {
  [id^='mobile-carousel-image-'] {
    display: block !important;
  }

  [id^='desktop-carousel-image-'] {
    display: none !important;
  }
}

/* Medium Devices, Desktops */
@media only screen and (min-width: 992px) {
  [id^='mobile-carousel-image-'] {
    display: none !important;
  }

  [id^='desktop-carousel-image-'] {
    display: block !important;
  }
}
