/* 
body {
    font-family: 'Poppins', sans-serif;
} */

.text-primary {
  color: #009546 !important;
}

body {
  /* background-color: #E9E9E9; */
  /* background-color: #fff06a; */
  background-color: #fde37c;
}

a {
  text-decoration: none;
  font-size: 17;
}

p {
  font-size: 17;
}

footer a:hover {
  color: #009546 !important;
}

i {
  font-size: 25px;
}

/* Navbar */

.navbar {
  background-color: white;
  height: 80px;
  margin: 20px;
  border-radius: 16px;
  padding: 0.5 rem;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3);
}

.navbar-brand {
  /* font-weight: 500;
    color: #009970;
    font-size: 24px; */
  transition: 0.3s color;
}

.logo img {
  cursor: pointer;
  height: 60px;
  transition: all 0.3s;
}
.logo img:hover {
  transform: scale(1.2);
}

.login-button {
  background-color: #89c53f;
  color: #666777;
  font-size: 14px;
  padding: 8px 20px;
  border-radius: 50px;
  text-decoration: none;
  transition: 0.3s background-color;
  font-weight: 500;
  text-align: center;
}

.login-button i {
  margin-left: 10px;
}

a .login-button:hover {
  color: #000;
}
.login-button i:hover {
  color: #000;
}

.login-button:hover {
  background-color: #89c53f;
  color: #000;
}

.navbar-toggler {
  border: none;
  font-size: 1.25rem;
}

.navbar-toggler:focus,
.btn-close:focus {
  outline: none;
  box-shadow: none;
}

.nav-link {
  color: #666777;
  font-weight: 500;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: #000;
}

@media (min-width: 991px) {
  /* Paginación */
  .pagination ul {
    padding-left: 40%;
  }
}

.pagination {
  margin-top: 20px;
  width: 100%;
  padding-left: 5%;
}

.pagination .btn {
  margin: 0 5px;
  color: white;
  text-align: center;
  align-items: center;
  font-weight: 500;
}

.page-item .page-link {
  background-color: #e9e9e9;
  color: #1c5434;
}

/* Barra de búsqueda */

.search-bar {
  background-color: white;
  padding-left: 100px;
  display: flex;
  align-items: center;
}
  
  .search-bar input[type="text"] {
    width: 100%;
    box-sizing: border-box;
    border: 2px solid #ccc;
    border-radius: 12px;
  }
  
  .search-bar button {
    font-family: poppins;
    font-weight: 500;
    margin-left: 10px;
    border: none;
    border-radius: 12px;
    padding: 5px 10px;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  .search-bar button:hover {
    background-color: #76b32e;
  }

/* Productos */
/* 
.container .row .col .card img{
    height: 200px;
    object-fit: cover;
    border-radius: 16px;
} */

.product_container {
  padding: 4vh 4vw;
  font-size: 1rem;
}

/* .product_container{
    padding: 120px 50px;
} */

.card {
  /* background-color: #CFCFCF; */
  transition: transform 0.6s ease;
  border-radius: 12px;
  box-shadow: 4px 4px 8px 0 rgba(0, 0, 0, 0.2);
  margin-bottom: 5px;
  overflow: hidden;
  width: 100%;
  transition: transform 0.6s ease;
}

.card:hover {
  transform: scale(1.02);
}

.card-body {
  background-color: #e9e9e9;
  /* background-color: #ffffff; */
  color: black;
  border-radius: 0 0 12px 12px;
  min-height: 20px;
}

.card-title {
  color: #1c5434;
  text-align: center;
  margin: 0;
  font-size: 0.9em;
  font-weight: bold;
}

/* Product Details */

.product_detail_container {
  text-align: center;
  margin-bottom: 50px;
}

.wpp {
  width: 50%;
  height: auto;
  object-fit: cover;
  /* display: block; */
  background-color: #25d366;
  color: white;
  border-radius: 12px;
}

.wpp:hover {
  background-color: #128c7e;
  color: white;
}

.wpp i {
  color: white;
  text-align: center;
  align-items: center;
}

@media (max-width: 991px) {

  .detail_container {
    margin: 17vh 2vw;
    background-color: #f8f8f8;
  }

  .product_detail_container h2 {
    padding: 5vh 0;
    font-size: 2.2em;
    text-align: center;
  }

  .product_detail_container p {
    padding: 2vh 5vw;
    font-size: 1.3em;
    text-align: justify;
  }

  .product_detail_container {
    text-align: center;
    margin-bottom: 5px;
  }

  .carousel_upper {
    width: 100vw;
  }

  .carousel-control-prev span,
  .carousel-control-next span {
    background-color: #000;
    border-color: #000;
  }
}

@media (min-width: 991px) {
  .nav-link::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 2px;
    background-color: #009546;
    visibility: hidden;
    transition: 0.3s ease-in-out;
  }

  .nav-link:hover::before {
    width: 100%;
    visibility: visible;
  }

  .card-title {
    color: #1c5434;
    text-align: center;
    margin: 0;
    font-size: 1.1em;
    font-weight: bold;
  }

  .product_container {
    padding: 120px 50px;
  }

  .detail_container {
    margin: 17vh 10vw;
    background-color: #f8f8f8;
  }

  .product_detail_container h2 {
    padding: 5vh 0;
    font-size: 2.5em;
    text-align: center;
    align-items: center;
  }

  .product_detail_container p {
    padding: 2vh 1vw;
    font-size: 1.4em;
    text-align: justify;
  }

  .carousel_upper {
    width: 34vw;
  }
}
