/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

@import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Shippori+Mincho&display=swap");

:root {
  --bs-light-rgb: 245, 240, 229;
  --color-primary: #e7520a;
  --color-secondary: #f5f0e5;
  --color-tertiary: #a5d4ae;
  --color-tertiary-dark: #97c2a7;

  --sb-track-color: #f5f0e5;
  --sb-thumb-color: #e7520a;
  --sb-size: 14px;
}

html {
  font-size: 16px;
}

body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;

  &::-webkit-scrollbar {
    width: var(--sb-size);
  }

  &::-webkit-scrollbar-track {
    background: var(--sb-track-color);
    border-radius: 3px;
  }

  &::-webkit-scrollbar-thumb {
    background: var(--sb-thumb-color);
    border-radius: 3px;
  }
}

@supports not selector(::-webkit-scrollbar) {
  body {
    scrollbar-color: var(--sb-thumb-color) var(--sb-track-color);
  }
}

.rounded-full {
  border-radius: 25px;
}

.btn-orange {
  padding: 5px 25px;
  background-color: var(--color-primary);
  border-color: var(--color-primary);

  &:hover {
    background-color: #fff;
    border-color: var(--color-primary);
    color: var(--color-primary);
  }
}

.btn-light {
  padding: 5px 25px;
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);

  &:hover {
    background-color: #fff;
    border-color: var(--color-secondary);
    color: var(--color-secondary);
  }
}

.form-control,
.form-select {
  padding: 0.775rem 1.75rem;
}

.fa-linkedin-in {
  color: var(--color-primary);
  -webkit-text-stroke-width: 1.5px;
  -webkit-text-stroke-color: white;
}

.bg-orange {
  background-color: var(--color-primary);
}

.bg-green {
  background-color: var(--color-tertiary);
}

.text-orange {
  color: var(--color-primary);
}

.card-bg-light {
  background-color: var(--color-secondary);
}

.lh-1-2 {
  line-height: 1.2;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
a {
  font-family: "Nunito", sans-serif;
}

.font-shippori {
  font-family: "Shippori Mincho", sans-serif;
}

.header-logo {
  width: 10rem;
}

.banner-logo {
  width: 14em;
}

.mt-80 {
  margin-top: 80px;
}

.mb-80 {
  margin-bottom: 80px;
}

.padding-section {
  padding: 80px 0;
}

.banner-text {
  color: #fff;
  margin: 30px 0 0;
  position: relative;
  z-index: 3;
}

.banner-image {
  position: relative;
  z-index: 3;
}

.title {
  font-size: 4.5rem;
  font-weight: 800;
}

.element-1 {
  width: 35rem;
  top: 10px;
  right: -18%;
  z-index: 1;
}

.element-2 {
  width: 25rem;
  bottom: 0px;
  right: 40%;
  z-index: 1;
}

.element-3 {
  width: 30rem;
  top: 0px;
  left: -12%;
  z-index: 1;
}

.element-4 {
  width: 38rem;
  top: 0px;
  left: 50%;
  z-index: 1;
}

.big-card {
  margin: 100px;
  padding: 50px 120px;
}

.card-border-rounded-square {
  border: unset;
  border-radius: 100px 0 100px 0;
}

.card-border-rounded-square-alt {
  border: unset;
  border-radius: 0 100px 0 100px;
}

.square-alternative {
  border-top-left-radius: 0;
  padding: 100px 16px 25px;

  img {
    width: 14rem;
    position: absolute;
    top: -120px;
    left: 10px;
  }
}

.elemento-1 {
  width: 8rem;
  top: -45px;
  right: 0;
}

.elemento-2 {
  width: 12rem;
  left: -50px;
  bottom: -50px;
}

.bg-fondo {
  background-image: url("../images/fondo.webp");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.carousel1 {
  .quote-img {
    width: 6rem;
    position: absolute;
    top: -50px;
  }

  .card-border-rounded-square {
    width: 45rem;
    padding: 100px;
    -webkit-box-shadow: 9px 10px 18px -7px rgba(0, 0, 0, 0.5);
    box-shadow: 9px 10px 18px -7px rgba(0, 0, 0, 0.5);
  }
}

.slick-dots {
  li {
    button {
      &:before {
        font-size: 12px;
        filter: drop-shadow(2px 2px 8px #000000);
        -webkit-filter: drop-shadow(2px 2px 8px #000000);
        -moz-filter: drop-shadow(2px 2px 8px #000000);
        color: #fff;
        opacity: 1;
      }

      &:hover {
        &:before {
          color: var(--color-primary);
        }
      }
    }

    &.slick-active button:before {
      color: var(--color-primary);
    }
  }
}

/* ---- whatsapp ----*/
@-webkit-keyframes whatsapp_animation {
  0% {
    opacity: 0;
    right: 0;
    bottom: 4%;
  }

  100% {
    opacity: 1;
    right: 4%;
    bottom: 4%;
  }
}
@keyframes whatsapp_animation {
  0% {
    opacity: 0;
    right: 0;
    bottom: 4%;
  }

  100% {
    opacity: 1;
    right: 4%;
    bottom: 4%;
  }
}

@-webkit-keyframes whatsapp_rotation {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(-360deg);
    transform: rotate(-360deg);
  }
}

@keyframes whatsapp_rotation {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(-360deg);
    transform: rotate(-360deg);
  }
}

.w-flotante {
  opacity: 0;
  background-color: green;
  width: 4rem;
  height: 4rem;
  position: fixed;
  bottom: 4%;
  right: 4%;
  border-radius: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  z-index: 1000;
  /* animation */
  -webkit-animation-name: whatsapp_animation;
  animation-name: whatsapp_animation;
  -webkit-animation-duration: 2s;
  animation-duration: 2s;
  -webkit-animation-delay: 2s;
  animation-delay: 2s;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;

  &:hover {
    background-color: #2879ff;
  }

  .whatsapp {
    color: white;
    font-size: 2.5rem;
    /* animation */
    -webkit-animation-name: whatsapp_rotation;
    animation-name: whatsapp_rotation;
    -webkit-animation-duration: 2s;
    animation-duration: 2s;
    -webkit-animation-delay: 2s;
    animation-delay: 2s;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
  }
}

.card {
  .icon-img {
    width: 6rem;
  }
}

.green-line {
  background-color: var(--color-tertiary);
  width: 85px;
  height: 4px;
  margin: 10px 0;
}

.nosotros {
  .card {
    img {
      -o-object-fit: cover;
      object-fit: cover;
      height: 100%;
      width: 100%;
    }
  }
}

.accordion-item {
  background: transparent;
}

.accordion-header {
  border-radius: 10px !important;
  overflow: hidden;
  margin-bottom: 10px;
}

.accordion-button {
  background-color: var(--color-tertiary);
}

.accordion-button:not(.collapsed) {
  background-color: var(--color-tertiary-dark);
}

.accordion-body {
  background-color: #fff;
  border-radius: 10px;
  margin-bottom: 10px;
}

/* responsive */
@media (max-width: 1199px) {
  html {
    font-size: 14px;
  }
  .title {
    font-size: 4rem;
  }
}

@media (max-width: 991px) {
  .big-card {
    margin: 0 0 100px;
  }

  .carousel1 {
    .big-card {
      margin: 100px 20px;
    }
  }

  .estim-build {
    .card-3,
    .card-4 {
      margin-top: 150px;
    }
    .square-alternative {
      img {
        width: 17rem;
      }
    }
  }
}

@media (max-width: 767px) {
  .estim-build {
    .card-2 {
      margin-top: 150px;
    }
  }
  .title {
    text-align: center;
  }
}

@media (max-width: 575px) {
  .big-card {
    padding: 50px;
  }

  .carousel1 {
    .big-card {
      padding: 50px;
    }
    .quote-img {
      width: 4rem;
      top: -25px;
    }
  }

  .element-1 {
    right: -80%;
  }

  .element-3 {
    left: -75%;
  }

  .title {
    font-size: 3rem;
  }
}
