/* 
  ! Fuentes a utilizar 
*/
@import url('https://fonts.googleapis.com/css2?family=Inder&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root{
  --primary-color: #FF4444;
  --secundary-color: #FEF3B8;
  --primary-text-color: #fff;
  --nav-link-text-color: #9C412D;
  --modal-user-color: rgba(255,68,68,.71);
  --primary-font: 'Inder';
  --secondary-font: 'Poppins';
}
*{
  font-size: 10px;
  font-family: var(--secondary-font),sans-serif;
}

img {
  width: 100%;
  height: 100%;
}

h1, h2, h3, h4, h5 {
  font-family: var(--primary-font),var(--secondary-font), sans-serif;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
}

.slideshow-container {
  width: 100%;
  height: 610px;
  position: relative;
  margin: auto;
}

.slideshow-container div {
  height: 100%;
  width: 100%;
}

.cover-img {
  object-fit: cover;
}

.mySlides {
  display: none;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -30px;
  padding: 0.2rem;
  border-radius: 250px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  user-select: none;
  -webkit-border-radius: 250px;
  -moz-border-radius: 250px;
  -ms-border-radius: 250px;
  -o-border-radius: 250px;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  margin-right: 12px;
}
.prev {
  margin-left: 12px;
}

.prev i,
.next i {
  font-size: 4.5rem;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: var(--primary-color);
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

.container-father {
  margin: 0 18rem;
}

.container {
  display: grid;
  grid-template-rows: auto auto;
  margin-top: 72px;
  grid-gap: 20px;
  max-width: 100%;
}

.subtitulo {
  font-size: 2.5rem;
  width: 530px;
  padding-bottom: 7px;
  border-bottom: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.center {
  margin: 0 auto;
  text-align: center;
}

.box-shadow {
  box-shadow: 0 2px 14px 5px rgb(20 20 20 / 5%), 0 2px 14px 5px rgb(20 20 20 / 5%);
  background-color: #ffffff;
}

.container-categoria {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-evenly;
  align-items: center;
  padding: 0 30px;
}

.item-categoria {
  background-color: var(--primary-color);
  margin: 15px 5px;
  border-radius: 8px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
  transition-duration: 500ms;
}

.item-categoria h2 {
  font-size: 1.6rem;
  color: var(--primary-text-color);
  font-weight: 400;
  text-align: center;
  padding: 4px;
}

.item-categoria:hover {
  box-shadow: 0 2px 14px 5px rgb(20 20 20 / 5%), 0 2px 14px 5px rgb(20 20 20 / 5%), 0 2px 14px 5px rgb(20 20 20 / 5%), 0 2px 14px 5px rgb(20 20 20 / 5%);
}

.item-categoria div {
  width: 230px;
  height: 200px;
  
}

.img-categoria {
  border-radius: 8px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
}

.promociones-top {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px;
}

.promociones-arrows {
  display: grid;
  grid-template-columns: auto auto;
  grid-gap: 10px;
  max-width: 100%;
  padding: 4px 6px;
  border: 1px solid rgb(224, 224, 224);
  border-radius: 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
}

.promociones__prev,
.promociones__next {
  background-color: #fdaaaa;
  cursor: pointer;
  transition-duration: 500ms;
  border-radius: 250px;
  -webkit-border-radius: 250px;
  -moz-border-radius: 250px;
  -ms-border-radius: 250px;
  -o-border-radius: 250px;
}

.promociones__prev i,
.promociones__next i {
  font-size: 2.6rem;
  font-weight: bold;
  color: #fff;
}

.promociones__prev:hover,
.promociones__next:hover {
  background-color: var(--primary-color);
}

.promociones-container {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-evenly;
  align-items: center;
}


.promociones-item {
  max-width: 350px;
  min-width: 300px;
  border-radius: 10px;
  margin: 15px 5px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
  transition-duration: 500ms;
}

.promociones-item:hover {
  box-shadow: 0 2px 14px 5px rgb(20 20 20 / 5%), 0 2px 14px 5px rgb(20 20 20 / 5%), 0 2px 14px 5px rgb(20 20 20 / 5%);
}

.promociones-item__img {
  height: 250px;
}

.img-promociones {
  border-radius: 10px 10px 0 0;
  -webkit-border-radius: 10px 10px 0 0;
  -moz-border-radius: 10px 10px 0 0;
  -ms-border-radius: 10px 10px 0 0;
  -o-border-radius: 10px 10px 0 0;
}

.promociones-item__container {
  /* margin: 5px 10px; */
  display: grid;
  grid-template-rows: auto auto auto;
  grid-gap: 13px;
  max-width: 100%;
  padding: 6px 14px;
}

.promociones-item__container h3 {
  font-size: 2rem;
  font-weight: 400;
}

.promociones-item__container ul li {
  font-size: 1.4rem;
  color: #8f8f8f;
  padding: 2px;
}

.promociones-item__container-section {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  padding-top: 10px;
}

.promociones-item__container-section button {
  /* font-weight: 600; */
  border: none;
  background-color: var(--primary-color);
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 500;
  padding: 8px 20px;
  transition-duration: 500ms;
}

.promociones-item__container-section button:focus, 
.promociones-item__container-section button:hover {
  box-shadow: 0 2px 40px 8px rgb(15 15 15 / 15%);
  -webkit-box-shadow: 0 2px 40px 8px rgb(15 15 15 / 15%);
  background-color: #ffffff;
  color: var(--primary-color);
}

.promociones-item__container-section h6 {
  font-size: 2.2rem;
  font-weight: 500;
}

.promociones-item__container-section h6 span {
  font-weight: 400;
}

.container-bottom {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-evenly;
  align-items: center;
  padding: 60px 20px;
}

.item-bottom {
  display: grid;
  grid-template-rows: auto auto;
  gap: 8px;
  background-color: var(--primary-color);
  color: var(--primary-text-color);
  width: 200px;
  padding: 20px 0;
  margin: 10px 5px;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}

.item-bottom__img {
  width: 55px;
  height: 56px;
  margin: 0 auto;
  /* height: 52px; */
}

.item-bottom h5 {
  font-size: 1.4rem;
  font-weight: 300;
  text-align: center;
}

@media only screen and (max-width: 370px) {
  .item-categoria {
    margin: 5px;
  }
}

@media only screen and (max-width: 420px) {
  .main .container-father {
    margin: 0 10px;
  }

  .promociones-top {
    flex-flow: nowrap;
  }
}

@media only screen and (max-width: 500px) {
  .slideshow-container {
    height: 150px !important;
  }

  * {
    font-size: 8px;
  }

  .promociones-item {
    min-width: 200px;
  }
}

@media only screen and (max-width: 600px) {
  .item-categoria div {
    width: 165px;
    height: 135px;
  }

  .container .container-categoria {
    padding: 0;
  }
}

@media only screen and (max-width: 840px) {
  .main .slideshow-container {
    height: 250px;
  }

  .subtitulo {
    width: auto;
  }

  main .container-father {
    margin: 0 3rem;
  }
  .container-categoria {
    padding: 0 10px;
  }

  .prev i, .next i {
    font-size: 3.5rem;
  }

  .prev, .next {
    padding: 0;
  }
}

@media only screen and (max-width: 900px) {
  .item-bottom {
    width: 165px;
  }
}

@media only screen and (max-width: 1200px) {
  main .slideshow-container {
    height: 350px;
  }
}

@media only screen and (max-width: 1480px) {
  .slideshow-container {
    height: 480px;
  }

  .container-father {
    margin: 0 10rem;
  }
}
