html {
  scroll-behavior: smooth;
}

.card p,
h2 {
  position: relative;
  color: #29322d;
  font-family: "EB Garamond", serif;
  font-size: 1.2em;
  margin-left: 15px;
  margin-right: 15px;
}

.card p {
  margin-top: -10px;
}

.card h2 {
  text-align: center;
}

#slider {
  display: flex;
  overflow-x: hidden;
  overflow-y: hidden;
  width: 900px;
  flex-wrap: nowrap;
  position: absolute;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  left: 0;
  right: 0;
  margin: auto;
}

.card {
  position: relative;
  width: 250px;
  height: 565px;
  background-color: #e3d1b6;
  border-radius: 10px;
  box-shadow: 0 2px 4px 0 rgb(0 0 0 / 20%);
  margin: 25px;
  display: inline-block;
  min-width: 250px;
}

.dim-product-txt {
  display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.slider-container {
  position: relative;
  margin: 15px;
}

.slide {
  display: table-cell;
  width: 100%;
}

.slide img {
  width: 100%;
  height: auto;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px,
    rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

.slide-prev,
.slide-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  background: none;
  border: none;
  outline: none;
}

.slide-prev-icon {
  width: 20px;
  transform: rotate(180deg);
}

.slide-next-icon {
  width: 20px;
}

.slide-prev {
  left: 0;
}

.slide-next {
  right: 0;
}

.dots-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 0 10px;
  border: 1px solid gray;
}

.dot.active {
  background-color: black;
}

.left-arrow,
.right-arrow {
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  border: none;
  font-size: 2em;
  cursor: pointer;
  background-color: transparent;
  color: #e3d1b6;
}

.left-arrow {
  margin-left: -500px;
}

.right-arrow {
  margin-left: 500px;
}

.product_description {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn_comanda {
  font-family: "Cinzel Decorative", cursive;
  text-decoration: none;
  color: #e3d1b6;
  background-color: #29322d;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  padding: 8px 20px;
  font-size: 0.67em;
  transition: all 0.5s;
}

.btn_comanda span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

.btn_comanda span:after {
  content: "\00bb";
  font-size: 1.5em;
  position: absolute;
  opacity: 0;
  right: -15px;
  transition: 0.5s;
  bottom: -3px;
}

.btn_comanda:hover span {
  padding-right: 15px;
}

.btn_comanda:hover span:after {
  opacity: 1;
  right: 0;
}

.btn_comanda_container {
  position: relative;
  margin-top: 7px;
  display: flex;
  justify-content: center;
  margin-bottom: 15px;
  align-items: center;
}

.btn_enlarge {
  position: absolute;
  right: 7px;
  background: transparent;
  border: none;
  display: flex;
  cursor: pointer;
  transition: 0.5s;
}

.btn_enlarge:hover .enlarge-icon {
  transform: scale(1.5);
}

.enlarge-icon {
  width: 28px;
  transition: all .2s ease-in-out;
}

.center-con {
  display: flex;
  height: 100vh;
  align-items: center;
  justify-content: center;
}

.round {
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 100%;
}

.leftround {
  transform: rotate(180deg);
  margin-top: 15px;
}

#cta {
  width: 100%;
  cursor: pointer;
  position: absolute;
}

#cta .arrow {
  left: 30%;
}
.arrow {
  position: absolute;
  bottom: 0;
  margin-left: 0px;
  width: 18px;
  height: 18px;
  background-size: contain;
  top: 15px;
}
.segunda {
  margin-left: 8px;
}
.next {
  background-image: url(..//img/assets/right-arrow-svgrepo-com2.svg);
}

@keyframes bounceAlpha {
  0% {
    opacity: 1;
    transform: translateX(0px) scale(1);
  }
  25% {
    opacity: 0;
    transform: translateX(10px) scale(0.9);
  }
  26% {
    opacity: 0;
    transform: translateX(-10px) scale(0.9);
  }
  55% {
    opacity: 1;
    transform: translateX(0px) scale(1);
  }
}

.bounceAlpha {
  animation-name: bounceAlpha;
  animation-duration: 1.4s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

.arrow.primera.bounceAlpha {
  animation-name: bounceAlpha;
  animation-duration: 1.4s;
  animation-delay: 0.2s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

.round:hover .arrow {
  animation-name: bounceAlpha;
  animation-duration: 1.4s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}
.round:hover .arrow.primera {
  animation-name: bounceAlpha;
  animation-duration: 1.4s;
  animation-delay: 0.2s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

.fade-out {
  animation: fadeOut ease 0.7s;
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.fade-in {
  animation: fadeIn ease 0.7s;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.cardModal {
  position: relative;
  background-color: #e3d1b6;
  border-radius: 10px;
  box-shadow: 0 2px 4px 0 rgb(0 0 0 / 20%);
  margin: 25px;
  display: inline-block;
  min-width: 250px;
  display: none;
}

.cardModalShow {
  display: inline-block;
  width: 400px;
  height: fit-content;
}

.container-modal {
  position: fixed;
  width: 100%;
  background-color:rgba(1, 1, 1, 0.8);
  justify-content: center;
  top: 0;
  height: 100vh;
  display: none;
  overflow: scroll;
  z-index: 10;
}

.containerModalShow {
  display: flex !important;
  min-height: 100vh;
  /*align-items: center;*/
}

.cardModal p,
h2 {
  position: relative;
  color: #29322d;
  font-family: "EB Garamond", serif;
  font-size: 1.2em;
  margin-left: 15px;
  margin-right: 15px;
}

.cardModal p {
  margin-top: -10px;
}

.cardModal h2 {
  text-align: center;
}

.container-slider {
  height: 565px;
  width: 900px;
  position: relative;
}

.slider-images-container {
  position: relative;
}

@media only screen and (orientation: portrait) {
  .container-slider {
    width: 100% !important;
    height: auto !important;
  }

  #slider {
    position: relative;
    width: 80% !important;
    top: auto;
    transform: none;
  }

  .card {
    width: 94% !important;
    margin: 10px !important;
    height: auto !important;
    min-width: 94% !important;
  }

  .card h2, p {
    font-size: 1em !important;
  }

  .btn_comanda {
    font-size: 0.57em !important;
  }

  .leaf-left {
    bottom: -25px;
    left: 0px;
  }

  
  .leaf-left>img {
    width: 50%;
  }

  .leaf-right {
    position: absolute;
    width: 250px;
    bottom: -55px;
    right: -115px;
    z-index: -1;
  }

  .leaf-right>img {
    width: 60%;
  }

  .vztprod {
    bottom: -60px;
  }

  .right-arrow {
    display: none;
  }

  .left-arrow {
    display: none;
  }

  .slide img {
    width: 60%;
  }

  .slide {
    text-align: center;
  }

  .cardModalShow {
    width: 90%;
    margin-top: 50px;
    margin-bottom: 100px;
  }

  .cardModalShow .slider-container .slide > img {
    width: 100%;
    max-width: 400px;
  }

}


