/* ***********************************************************************
* FUENTES
* ************************************************************************/
@font-face {
  font-family: 'Roboto-Bold';
  src: url('./../cookies/fonts/Roboto-Bold.ttf') format('truetype');
}
@font-face {
  font-family: 'Roboto-Regular';
  src: url('./../cookies/fonts/Roboto-Regular.ttf') format('truetype');
}
@font-face {
  font-family: 'Roboto-Medium';
  src: url('./../cookies/fonts/Roboto-Medium.ttf') format('truetype');
}
@font-face {
  font-family: 'Georgia';
  src: url('./../fonts/georgia.ttf') format('truetype');
}
@font-face {
  font-family: 'Avenir';
  src: url('./../fonts/avenir-roman.ttf') format('truetype');
}
@font-face {
  font-family: 'Avenir-Medium';
  src: url('./../fonts/avenir-medium.ttf') format('truetype');
}
@font-face {
  font-family: 'Avenir-Light';
  src: url('./../fonts/avenir-light.ttf') format('truetype');
}
/* ***********************************************************************
* BASE
* ************************************************************************/
body {
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
h1 {
  color: #ffffff;
  font-family: 'Georgia';
  font-size: clamp(28px, 4vw - 1rem, 51px);
}
h2 {
  color: #ffffff;
  font-family: 'Avenir';
  font-size: clamp(18px, 4vw - 1rem, 28px);
}
h2.comment {
  color: #ffffff;
  font-family: 'Avenir';
  font-size: clamp(16px, 4vw - 1rem, 22px);
}
h3 {
  color: #6cae50;
  font-family: 'Georgia';
  font-size: clamp(28px, 4vw - 1rem, 40px);
}
h4 {
  color: #4c4c4c;
  font-family: Helvetica, sans-serif;
  font-size: clamp(14px, 4vw - 1rem, 16px);
}
p {
  color: #4c4c4c;
  font-family: 'Avenir';
  font-size: 18px;
}
p > strong {
  font-weight: 700;
}
::selection {
  background-color: #6cae50;
  color: #ffffff;
}
img {
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-user-select: none;
  user-select: none;
}
.container {
  max-width: 1440px;
}

.paragraph {
  width: 560px;
}
@media (width <= 992px) {
  .paragraph {
    width: 100%;
  }
}
.picture img {
  min-height: 500px;
  object-fit: cover;
  width: 100%;
}
.button {
  width: 100%;
}
.button button {
  background-color: transparent;
  border: 2px solid #6cae50;
  color: #6cae50;
  font-family: 'Georgia';
  font-size: clamp(16px, 4vw - 1rem, 22px);
  padding-block: 8px;
  text-transform: uppercase;
  transition: transform 600ms ease;
  width: 100%;
}
.button button:hover {
  background-color: #6cae50;
  color: #ffffff;
  transform: scale(1.015);
}
@media (width <= 992px) {
  .button button {
    width: 100%;
  }
}
/* ***********************************************************************
* HEADER
* ************************************************************************/
#header {
  background: url(./../images/header.jpg) 50% 50% / cover;
  height: 100vh;
  min-height: 900px;
  position: relative;
}
#header::after {
  position: absolute;
  content: '';
  background-color: rgba(0, 0, 0, 0.4);
  inset: 0;
  z-index: 0;
}
@media (width <= 1200px) {
  #header {
    height: 50vh;
    min-height: 500px;
  }
}
#header .title,
#header .logo,
#header .form {
  z-index: 1;
}
#header .title {
  bottom: 10%;
  left: 5%;
  position: absolute;
}
#header .pastilla {
  display: inline-block;
  background-color: #6cae50;
  color: white;
  font-weight: bold;
  font-size: 30px;
  padding: 5px 20px;
}
@media (max-width: 1200px) {
  #header .pastilla {
    font-size: 16px;
  }
}
@media (width <= 768px) {
  #header .title {
    bottom: 2%;
    left: 2%;
  }
}
@keyframes title__fade {
  from {
    opacity: 0;
    transform: translateY(-100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.title__fade {
  animation: title__fade 500ms ease-out;
  animation-delay: 600ms;
  animation-fill-mode: forwards;
  opacity: 0;
}
/* ***********************************************************************
* FORM
* ************************************************************************/
.form {
  background-color: #ffffff;
  width: 420px;
  padding: 36px;
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
}
#footer-form {
  background: url(./../images/footer.jpg) 50% 50% / cover;
  min-height: 720px;
  position: relative;
}
@media (width <= 1200px) {
  .form {
    padding: 18px;
    position: initial;
    width: 100%;
    transform: translateY(0);
  }
}
.form p {
  color: #6cae50;
  font-family: 'Georgia';
  font-size: 30px;
}
.form span {
  color: #4c4c4c;
  font-family: 'Avenir-Medium';
  font-size: 16px;
}
.form form .input-style {
  margin-bottom: 28px;
}
.form form .input-style input {
  border: 0;
  border-bottom: 1px solid #000000;
  caret-color: #000000;
  color: #000000;
  font-family: 'Avenir-Light';
  font-size: 14px;
  padding: 4px 2px;
  position: relative;
  transition: 350ms ease-in;
  width: 100%;
}
.form form .input-style input::placeholder {
  color: #000000;
  font-family: 'Avenir-Light';
  font-size: 14px;
}
.form form .input-style input:focus {
  border: 0;
  outline: 2px solid #000000;
}
.form form .checkbox {
  align-items: end;
  display: flex;
  margin-bottom: 8px;
}
.form form .checkbox:first-of-type {
  margin-top: 24px;
}
.form form .checkbox input[type='checkbox'] {
  appearance: none;
  background-color: none;
  border: 1px solid #000000;
  border-radius: 0.05em;
  cursor: pointer;
  display: grid;
  height: 1em;
  margin: 0;
  place-content: center;
  transform: translateY(-0.075em);
  width: 1em;
}
.form form .checkbox input[type='checkbox']::before {
  box-shadow: inset 1em 1em #6cae50;
  content: '';
  height: 8px;
  transform: scale(0);
  transition: 120ms transform ease-in-out;
  width: 8px;
}
.form form .checkbox input[type='checkbox']:checked::before {
  transform: scale(1);
}
.form form .checkbox span {
  font-family: 'Avenir-Light';
  font-size: 11px;
  margin-left: 6px;
}

.form .submits {
  display: flex;
  justify-content: space-between;
}
@media (width <= 992px) {
  .form .submits {
    display: block;
  }
}
.form .submit {
  margin-top: 24px;
}
.form .submit input {
  background-color: #6cae50;
  border: 1px solid #6cae50;
  color: #ffffff;
  font-family: 'Georgia';
  font-size: 16px;
  letter-spacing: 0.2rem;
  padding-block: 5px;
  padding-inline: 18px;
  transition: opacity 500ms ease-in;
  width: 100%;
}
.form .submit input:hover {
  opacity: 0.8;
}
/* ***********************************************************************
* SECTIONS
* ************************************************************************/
.box-container {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(5, 1fr);
}
@media (width <= 992px) {
  .box-container {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (width <= 768px) {
  .box-container {
    grid-template-columns: repeat(1, 1fr);
  }
}
.box-container .box {
  align-items: center;
  background-color: rgb(108 174 80 / 20%);
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding-bottom: 18px;
  padding-top: 36px;
  transition: transform 300ms ease;
}
.box-container .box:hover {
  transform: scale(1.025);
}
.box-container .box:last-of-type {
  background-color: #627748;
}
.box-container .box p {
  color: #6cae50;
  font-family: 'Avenir';
  margin-top: 36px;
  text-align: center;
}
.box-container .box span {
  color: #ffffff;
  font-family: 'Georgia';
  margin-top: 36px;
}
.box-container .box:last-of-type p {
  color: #ffffff;
}
.border-container {
  border-bottom: 4px solid #627748;
  border-right: 4px solid #627748;
  border-top: 4px solid #627748;
  padding: 24px 48px;
}
@media (width <= 992px) {
  .border-container {
    border-bottom: 0;
    border-right: 0;
    border-top: 0;
    padding: 12px;
  }
}
/* ***********************************************************************
* CAROUSEL + RENDERS
* ************************************************************************/
#renders .owl-carousel {
  width: 150%;
}
#renders .owl-carousel .owl-nav {
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  display: flex;
  justify-content: space-between;
  right: 10%;
  padding: 0 40px;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 13%;
}
@media (width <= 992px) {
  #renders .owl-carousel {
    width: 100%;
  }
  #renders .owl-carousel .owl-nav {
    display: none;
  }
}
#renders .owl-carousel .owl-nav button {
  border: none;
  outline: none;
  pointer-events: all;
  width: 40px;
}
#renders .owl-carousel .owl-nav button img {
  width: 100%;
}
#renders .owl-carousel .owl-nav button:nth-child(2) {
  transform: rotate(180deg);
}
#renders .owl-carousel .item {
  max-height: 451px;
  min-height: 451px;
  opacity: 0.4;
  position: relative;
  transition: 0.8s;
}
#renders .owl-carousel .item img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}
#renders .owl-carousel .owl-stage-outer .owl-stage .owl-item.active {
  opacity: 1;
}
#renders .owl-carousel .owl-stage-outer .owl-stage .owl-item.active .item {
  opacity: 1;
  transition: 0.4s;
}
#renders .owl-dots {
  bottom: 8%;
  display: none;
  flex-wrap: wrap;
  justify-content: space-between;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  width: max-content;
}
@media (width <= 992px) {
  #renders .owl-dots {
    display: flex;
  }
}
#renders .owl-dots .owl-dot {
  border: 2px solid #6cae50;
  border-radius: 15px;
  height: 15px;
  margin: 5px 10px;
  width: 15px;
}
#renders .owl-dots .owl-dot.active {
  background: #6cae50;
}
#renders .owl-dots .owl-dot :focus {
  outline: none;
}
/* .custom-nav button {
        background-color: #ffffff;
        border: none;
        margin: 0 8px;
        outline: none;
        pointer-events: all;
        width: 60px;
      }
.custom-nav button img {
        width: 100%;
      }
.custom-nav button:nth-child(2) {
        transform: rotate(180deg);
      } */
@media (width <= 992px) {
  #renders .owl-carousel .owl-nav {
    padding: 0;
  }
  #renders .owl-carousel .owl-nav button img {
    width: 70%;
  }
}
/* ***********************************************************************
* TABLA
* ************************************************************************/
#tabla p {
  margin-top: 18px;
  font-size: 14px;
  font-family: 'Avenir';
}
#tabla .modal-content {
  border-radius: 0;
}

#tabla .modal-content .close {
  margin-top: -5px;
  font-size: 30px;
  opacity: 0.8;
}

#tabla .modal-content .close img {
  width: 32px;
  height: 32px;
}

#tabla .modal-content .close:hover,
#tabla .modal-content .close:focus {
  opacity: 1;
}

#tabla .modal-header {
  border: 0;
}

#tabla .modal-body {
  padding: 10px 5%;
}

#tabla table {
  color: #91b676;
}

#tabla table th,
#tabla table td {
  font-family: 'Montserrat';
  font-weight: 400;
  text-align: center;
}

#tabla table th {
  border: solid 1px #91b676;
  font-family: 'Montserrat';
  font-weight: 700;
  padding: 10px 0;
}
#tabla table td {
  border: solid 1px #91b676;
  font-family: 'Montserrat';
  padding: 8px 0;
  text-align: center;
}
@media (width <= 480px) {
  #tabla table th {
    font-size: 11px;
  }
  #tabla table td {
    font-size: 10px;
  }
}
#tabla .modal-content .close {
  margin-top: -5px;
  font-size: 30px;
  opacity: 0.8;
  border: 0;
  background-color: transparent;
}
#tabla .modal-header {
  justify-content: end;
}

/* ***********************************************************************
* FOOTER
* ************************************************************************/
footer {
  background-color: #6cae50;
  padding-top: 18px;
}
footer p {
  color: #ffffff;
  font-size: 0.8rem;
}
footer a {
  color: inherit;
  cursor: pointer;
  display: inline-block;
  font-family: 'Roboto-Medium', sans-serif;
  overflow: hidden;
  position: relative;
  text-decoration: none;
}
footer a:after {
  background: #ffffff;
  bottom: 0;
  content: '';
  height: 2px;
  left: -100%;
  position: absolute;
  transition: left 600ms ease;
  width: 100%;
}
footer a:hover:after {
  left: 0;
}
/* ***********************************************************************
* PÁGINA DE COMPROBANTE
* ************************************************************************/
#comprobante {
  align-items: center;
  background-color: rgb(255, 255, 255);
  display: flex;
  flex-direction: column;
  height: 100vh;
  justify-content: center;
}
#comprobante img {
  height: 148px;
}
#comprobante h1 {
  color: #000000;
  padding: 24px 0;
  text-align: center;
  width: 470px;
}
#comprobante p {
  color: #1c1b1a;
  font-size: 20px;
  text-align: center;
  width: 520px;
}
#comprobante h4 {
  border-bottom: 2px solid rgb(28, 27, 26);
  color: rgb(28, 27, 26);
  font-family: 'Roboto-Regular', sans-serif;
  font-size: 16px;
  padding-bottom: 8px;
  padding-top: 24px;
  text-decoration-color: transparent;
}
#comprobante a {
  color: rgb(34, 34, 34);
  text-decoration: none;
}
#footer p {
  font-size: 0.8rem;
}
#footer a {
  font-family: 'Roboto-Medium';
}
@media (width <= 992px) {
  #comprobante h1,
  #comprobante p {
    width: 100%;
  }
}
/* ***********************************************************************
* MODAL DE POLÍTICA DE PRIVACIDAD
* ************************************************************************/
#informacion .modal-header h5 {
  color: #333333;
  font-family: 'Roboto-Bold';
  font-size: 1rem;
  letter-spacing: 0.02rem;
  text-transform: capitalize;
}
#informacion .modal-content {
  -moz-box-shadow: 0px 17px 19px -8px rgba(0, 0, 0, 0.6);
  -webkit-box-shadow: 0px 17px 19px -8px rgba(0, 0, 0, 0.6);
  box-shadow: 0px 17px 19px -8px rgba(0, 0, 0, 0.6);
}
#informacion .modal-body p,
#informacion ul li {
  color: #222222;
  font-family: 'Roboto-Regular';
  font-size: 0.9rem;
  line-height: normal;
  text-align: left;
  width: 100%;
}
/* ***********************************************************************
* ANIMATIONS
* ************************************************************************/
/*? Animación para que las imágenes aparezcan progresivamente en móvil */
@keyframes animated__picture {
  from {
    opacity: 0;
    scale: 25%;
  }
  to {
    opacity: 1;
    scale: 100%;
  }
}
@media (width <= 768px) {
  .animated__picture img {
    animation-fill-mode: both;
    animation-name: animated__picture;
    animation-range: entry 10% cover 30%;
    animation-timeline: --image;
    height: auto;
    view-timeline-axis: block;
    view-timeline-name: --image;
    width: 100%;
  }
}
/* Capitalize the first letter of each word */

.text-capitalize-first::first-letter {
  text-transform: uppercase;
}
.text-capitalize-first {
  text-transform: lowercase;
}