@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.9.1/font/bootstrap-icons.css");

/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

body {
  font-family: 'Open Sans', sans-serif;
  padding-bottom: 1rem;
  color: #1f1f1f;
  background-image: url(../img/background.jpg);
  background-attachment: fixed;
  box-shadow: inset 0 250px 250px -150px rgb(5, 5, 5),
              inset 0 -250px 250px -150px rgb(5, 5, 5);
  min-height: 100vh;
}

.logo {
  width: 35%; 
  margin: auto;
}

a {
  text-decoration: none;
}

sup {
  top: -0.9em;
  font-size: 0.6em;
}

.text-justify {
  text-align: justify;
}

.opacity-90 {
  opacity: .9!important;
}

.text-shadow-1 { text-shadow: 0 .125rem .25rem rgba(0, 0, 0, .25); }

footer {
  color:rgb(238, 238, 238);
}

footer a {
  color: rgb(238, 238, 238);
}

.arrow-link {
  font-size: 2rem; 
  vertical-align: bottom;
}

.about-paragraph {
  font-size: 1.1rem;
  text-align: justify;
}

.thanks-link {
  color: darkorange;
}

#contact-form textarea {
  height: 10rem;
}

.shop-card {
  height: 150px;
}

.link-max-width {
  max-width: 270px;
}

.bonne-pioche-bg {
  background-color: rgb(240,73,66);
}

.epicerie-bg {
  background-color: rgb(197, 98, 66);
}

@media (max-width: 767px) {
  .carousel-inner .carousel-item > div {
      display: none;
  }
  .carousel-inner .carousel-item > div:first-child {
      display: block;
  }

  .logo {
    width: 100%;
  }

  .about-paragraph {
    font-size: 1rem;
  }

  .link-max-width {
    max-width: 200px;
  }

  .product-card .card-body {
    height: auto;
    font-size: 0.9rem;
  }
}

.carousel-inner .carousel-item.active,
.carousel-inner .carousel-item-next,
.carousel-inner .carousel-item-prev {
  display: flex;
}

/* medium and up screens */
@media (min-width: 768px) {
  
  .carousel-inner .carousel-item-end.active,
  .carousel-inner .carousel-item-next {
    transform: translateX(25%);
  }
  
  .carousel-inner .carousel-item-start.active, 
  .carousel-inner .carousel-item-prev {
    transform: translateX(-25%);
  }
}

@media (min-width: 1100px) {
  .nav-item.polski {
    margin-left: 50px;
  }
}

.carousel-inner .carousel-item-end,
.carousel-inner .carousel-item-start { 
transform: translateX(0);
}
