@import url("https://fonts.googleapis.com/css?family=Roboto");
/* offset-x > | offset-y ^| blur-radius | spread-radius | color */
@keyframes pulse {
  0% {
    transform: scale(1, 1);
  }
  50% {
    opacity: 0.3;
  }
  100% {
    transform: scale(1.45);
    opacity: 0;
  }
}
.pulse {
  -webkit-animation-name: pulse;
  animation-name: pulse;
}

.nav-bottom {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-content: flex-end;
  width: auto;
  height: auto;
  position: fixed;
  z-index: 8;
  bottom: 0px;
  right: 0px;
  padding: 5px;
  margin: 0px;
}
@media (max-width: 360px) {
  .nav-bottom {
    width: 320px;
  }
}

.whatsapp-button {
  display: flex;
  justify-content: center;
  align-content: center;
  width: 60px;
  height: 60px;
  z-index: 8;
  transition: .3s;
  margin: 10px;
  padding: 7px;
  border: none;
  outline: none;
  cursor: pointer;
  border-radius: 50%;
  background-color: white;
  /* offset-x > | offset-y ^| blur-radius | spread-radius | color */
  -webkit-box-shadow: 1px 1px 6px 0px rgba(68, 68, 68, 0.705);
  -moz-box-shadow: 1px 1px 6px 0px rgba(68, 68, 68, 0.705);
  box-shadow: 1px 1px 6px 0px rgba(68, 68, 68, 0.705);
}

.circle-anime {
  display: flex;
  position: absolute;
  justify-content: center;
  align-content: center;
  width: 60px;
  height: 60px;
  top: 15px;
  right: 15px;
  border-radius: 50%;
  transition: .3s;
  background-color: #77bb4a;
  animation: pulse 1.2s 4.0s ease 4;
}

.popup-whatsapp {
  display: none;
  position: absolute;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: auto;
  height: auto;
  padding: 10px;
  bottom: 85px;
  right: 6px;
  transition: .5s;
  border-radius: 10px;
  background-color: white;
  /* offset-x > | offset-y ^| blur-radius | spread-radius | color */
  -webkit-box-shadow: 2px 1px 6px 0px rgba(68, 68, 68, 0.705);
  -moz-box-shadow: 2px 1px 6px 0px rgba(68, 68, 68, 0.705);
  box-shadow: 2px 1px 6px 0px rgba(68, 68, 68, 0.705);
  animation: slideInRight .6s 0.0s both;
}
.popup-whatsapp > div {
  margin: 5px;
}
@media (max-width: 680px) {
  .popup-whatsapp p {
    font-size: 0.9em;
  }
}
.popup-whatsapp > .content-whatsapp.-top {
  display: flex;
  flex-direction: column;
}
.popup-whatsapp > .content-whatsapp.-top p {
  color: #585858;
  font-family: 'Roboto';
  font-weight: 400;
  font-size: 1.0em;
}
.popup-whatsapp > .content-whatsapp.-bottom {
  display: flex;
  flex-direction: row;
}

.closePopup {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  margin: 0px 0px 15px 0px;
  border-radius: 50%;
  border: none;
  outline: none;
  cursor: pointer;
  background-color: #4cc370;
  -webkit-box-shadow: 1px 1px 2px 0px rgba(68, 68, 68, 0.705);
  -moz-box-shadow: 1px 1px 2px 0px rgba(68, 68, 68, 0.705);
  box-shadow: 1px 1px 2px 0px rgba(68, 68, 68, 0.705);
}
.closePopup:hover {
  background-color: #3d9e5a;
  transition: .3s;
}

.send-msPopup {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #ffffff;
  margin: 0px 0px 0px 5px;
  border: none;
  outline: none;
  cursor: pointer;
  position: absolute;
  top: 50%; /* Centra verticalmente en el input */
  right: 10px; /* Coloca el botón a la derecha */
  -webkit-box-shadow: 1px 1px 2px 0px rgba(68, 68, 68, 0.705);
  -moz-box-shadow: 1px 1px 2px 0px rgba(68, 68, 68, 0.705);
  box-shadow: 1px 1px 2px 0px rgba(68, 68, 68, 0.705);
}
.send-msPopup:hover {
  background-color: #ffffff;
  transition: .3s;
}

.is-active-whatsapp-popup {
  display: flex;
  animation: slideInRight .6s 0.0s both;
  background-color: #fafafa;
}

input.whats-input[type=text] {
  width: 250px;
  height: 40px;
  box-sizing: border-box;
  border: 0px solid #ffffff;
  border-radius: 20px;
  font-size: 1em;
  background-color: #ffffff;
  padding: 0px 0px 0px 10px;
  -webkit-transition: width 0.3s ease-in-out;
  transition: width 0.3s ease-in-out;
  outline: none;
  transition: .3s;
}
@media (max-width: 420px) {
  input.whats-input[type=text] {
    width: 225px;
  }
}
input.whats-input::placeholder {
  /* Most modern browsers support this now. */
  color: rgba(68, 68, 68, 0.705);
  opacity: 1;
}
input.whats-input[type=text]:focus {
  background-color: #f8f8f8;
  -webkit-transition: width 0.3s ease-in-out;
  transition: width 0.3s ease-in-out;
  transition: .3s;
}

.icon-whatsapp-small {
  width: 24px;
  height: 24px;
}

.icon-whatsapp {
  width: 45px;
  height: 45px;
}

.icon-font-color {
  color: #ffffff!important;
}

.icon-font-color--black {
  color: #000000!important;
}
.icon-font-color, .icon-font-color--black {
  font-size: inherit !important; /* Esto asegura que el tamaño se mantenga intacto */
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .popup-whatsapp {
      width: 280px;
  }
  .whatsapp-button {
      padding: 12px;
      font-size: 22px;
  }
}

@media (max-width: 700px) {
  .popup-whatsapp {
      width: 260px;
  }
  .whatsapp-button {
      padding: 10px;
      font-size: 20px;
  }
}

@media (max-width: 400px) {
  .popup-whatsapp {
      width: 240px;
      bottom: 70px;
      right: 10px;
  }
  .whatsapp-button {
      padding: 8px;
      font-size: 18px;
  }
  .circle-anime {
      width: 50px;
      height: 50px;
  }
}

@media (max-width: 300px) {
  .popup-whatsapp {
      width: 220px;
      bottom: 60px;
      right: 5px;
  }
  .whatsapp-button {
      padding: 6px;
      font-size: 16px;
  }
  .circle-anime {
      width: 40px;
      height: 40px;
  }
}



/* Media Queries */

@media (max-width: 900px) {
  .whatsapp-button {
    width: 50px;
    height: 50px;
    padding: 5px;
  }

  .circle-anime {
    width: 50px;
    height: 50px;
    top: 10px;
    right: 10px;
  }

  .popup-whatsapp {
    width: 240px;
  }

  input.whats-input[type=text] {
    width: 220px;
  }
}

@media (max-width: 700px) {
  .whatsapp-button {
    width: 50px;
    height: 50px;
    padding: 5px;
  }

  .circle-anime {
    width: 45px;
    height: 45px;
    top: 10px;
    right: 10px;
  }

  .popup-whatsapp {
    width: 200px;
  }

  input.whats-input[type=text] {
    width: 190px;
  }
}

@media (max-width: 500px) {
  .whatsapp-button {
    width: 45px;
    height: 45px;
    padding: 4px;
  }

  .circle-anime {
    width: 40px;
    height: 40px;
    top: 5px;
    right: 5px;
  }

  .popup-whatsapp {
    width: 180px;
  }

  input.whats-input[type=text] {
    width: 170px;
  }
}

@media (max-width: 400px) {
  .whatsapp-button {
    width: 40px;
    height: 40px;
    padding: 3px;
  }

  .circle-anime {
    width: 35px;
    height: 35px;
    top: 5px;
    right: 5px;
  }

  .popup-whatsapp {
    width: 160px;
  }

  input.whats-input[type=text] {
    width: 150px;
  }
}

@media (max-width: 300px) {
  .whatsapp-button {
    width: 35px;
    height: 35px;
    padding: 2px;
  }

  .circle-anime {
    width: 30px;
    height: 30px;
    top: 5px;
    right: 5px;
  }

  .popup-whatsapp {
    width: 140px;
  }

  input.whats-input[type=text] {
    width: 130px;
  }
}

@media (max-width: 200px) {
  .whatsapp-button {
    width: 30px;
    height: 30px;
    padding: 2px;
  }

  .circle-anime {
    width: 25px;
    height: 25px;
    top: 5px;
    right: 5px;
  }

  .popup-whatsapp {
    display: none;
  }
}


/* Media Queries para íconos adaptativos */

@media (max-width: 900px) {
  .icon-whatsapp-small {
    width: 22px;
    height: 22px;
  }

  .icon-whatsapp {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 700px) {
  .icon-whatsapp-small {
    width: 20px;
    height: 20px;
  }

  .icon-whatsapp {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 500px) {
  .icon-whatsapp-small {
    width: 18px;
    height: 18px;
  }

  .icon-whatsapp {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 400px) {
  .icon-whatsapp-small {
    width: 16px;
    height: 16px;
  }

  .icon-whatsapp {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 300px) {
  .icon-whatsapp-small {
    width: 14px;
    height: 14px;
  }

  .icon-whatsapp {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 200px) {
  .icon-whatsapp-small {
    width: 12px;
    height: 12px;
  }

  .icon-whatsapp {
    width: 24px;
    height: 24px;
  }
}