*{
  font-family: "Roboto", sans-serif;
}

:root{
  --colorGreen: rgb(37, 211, 101); /*#25d365*/
  --colorGreenSecundary: rgb(119, 187, 74); /*#77bb4a*/
  --colorGreenTenue: rgb(43, 211, 43); /*#2bd32b*/
  --colorGreenTenueSecundary: rgb(37, 211, 102); /*#25d366*/
  --colorBarOpenWhats: rgb(9, 94, 84); /*#095e54*/
  --colorBlue: rgb(47, 78, 111); /*#2f4e6f*/
  --colorWhite: rgb(255, 255, 255);
  --colorWhiteSecundary: rgb(241, 241, 241); /*#f1f1f1*/
  --colorWhiteGray: rgb(248, 248, 248); /*#f8f8f8*/
  --colorGray: rgb(51, 51, 51); /*#333333*/
}

/*xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*/

#whats {
  z-index: 999;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    opacity: 0.3;
  }
  100% {
    transform: scale(1.45);
    opacity: 0;
  }
}

.pulse{
  animation: pulse 1.2s infinite;
}

.nav-bottom{
  display: flex;
  justify-content: flex-end;
  position: fixed;
  z-index: 1000;
  bottom: 0;
  right: 0;
  padding: 5px;
}

.whatsapp-button{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  z-index: 1001;
  transition: 0.3s;
  margin: 10px;
  padding: 7px;
  border: none;
  border-radius: 50%;
  background-color: var(--colorGreen);
  box-shadow: 1px 1px 6px 0px rgba(68, 68, 68, 0.705);
  cursor: pointer;
}

.whatsapp-button:focus{
  outline: none;
}

.whatsapp-button i{
  color: var(--colorWhite);
  font-size: 36px;
}

.circle-anime{
  display: flex;
  position: absolute;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  top: 15px;
  right: 15px;
  border-radius: 50%;
  background-color: var(--colorGreenSecundary);
  animation: pulse 1.2s ease infinite;
}

.title{
  width: 100%;
  font-family: 'RobotoRegular';
  background: var(--colorBarOpenWhats);
  color: var(--colorWhite);
  padding: 10px 20px;
  height: 72px;
  line-height: 12px;
  border-radius: 9px 9px 0 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.title small{
  font-weight: 200;
}

.title small:after{
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--colorGreenTenue);
  position: absolute;
  left: 75px;
  top: 42px;
  z-index: 1000;
}

.popup-whatsapp{
  display: none;
  position: absolute;
  flex-direction: column;
  justify-content: flex-start;
  width: auto;
  bottom: 100px;
  right: 30px;
  transition: 0.5s;
  border-radius: 10px;
  background-color: var(--colorWhiteSecundary);
  box-shadow: 2px 1px 6px 0px rgba(68, 68, 68, 0.705);
  animation: slideInRight 0.6s both;
  border: 1px solid var(--colorWhiteSecundary);
  z-index: 1002;
}

.popup-whatsapp > div{
  margin-bottom: 5px;
}

.popup-whatsapp > .content-whatsapp.-top{
  display: flex;
  flex-direction: column;
  padding: 15px 20px;
}

.popup-whatsapp > .content-whatsapp.-top p{
  width: 265px;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 1em;
  background: var(--colorWhite);
  color: var(--colorBlue);
  display: flex;
  align-items: center;
  padding: 5px;
  border-radius: 15px;
}

.popup-whatsapp > .content-whatsapp.-top p:after{
  content: "";
  width: 0;
  height: 0;
  border-right: 7px solid var(--colorWhite);
  border-bottom: 12px solid transparent;
  position: absolute;
  left: 8px;
  top: 90px;
}

.popup-whatsapp > .content-whatsapp.-bottom{
  display: flex;
  flex-direction: row;
}

.closePopup{
  position: absolute;
  right: 15px;
  top: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--colorWhiteSecundary);
  color: var(--colorBlue);
  box-shadow: 1px 1px 2px 0px rgba(68, 68, 68, 0.705);
  cursor: pointer;
  border: none;
}

.closePopup:hover{
  background-color: var(--colorWhiteSecundary);
  transition: 0.3s;
}

.closePopup i{
  font-size: 16px;
  color: var(--colorGray);
  transition: .6s;
}

.closePopup:hover i{
  transform: rotate(360deg);
}

.send-msPopup{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--colorGreenTenueSecundary);
  border: none;
  box-shadow: 1px 1px 2px 0px rgba(68, 68, 68, 0.705);
  cursor: pointer;
  overflow: hidden;
}

.send-msPopup:before{
  content: "";
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 10px solid var(--colorWhiteSecundary);
  position: absolute;
  bottom: -11px;
  right: 10px;
}

.send-msPopup i{
  font-size: 18px;
  color: var(--colorWhite);
}

.send-msPopup:hover i {
  animation: rotateThenTranslate 1.3s forwards; 
}

@keyframes rotateThenTranslate {
  0% {
    transform: rotate(0deg);
  }
  30% {
    transform: rotate(50deg);
  }
  100% {
    transform: translate(50px);
  }
}

.is-active-whatsapp-popup{
  display: flex;
  animation: slideInRight 0.6s both;
}

#whats input.whats-input[type=text]{
  width: 250px;
  height: 40px;
  border: 0;
  border-radius: 20px;
  font-size: 1em;
  background-color: var(--colorWhite);
  padding: 0 10px;
  outline: none;
  transition: 0.3s;
}

#whats input.whats-input::placeholder{
  color: rgba(68, 68, 68, 0.705);
  opacity: 1;
}

#whats input.whats-input[type=text]:focus{
  background-color: var(--colorWhiteGray);
}

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

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

.icon-font-color{
  color: var(--colorWhite);
}

.icon-font-color--black{
  color: var(--colorGray);
}

.send-msPopup i{
  cursor: auto;
}

@media (max-width: 680px){
  #whats .popup-whatsapp p {
    font-size: 0.9em;
  }
}

@media (max-width: 420px) {
  #whats input.whats-input[type=text]{
    width: 225px;
  }
}

@media (max-width: 360px){
  .nav-bottom {
    width: 320px;
  }
}