*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family: 'RobotoRegular';
}

: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*/
/* WhatsApp */
#whats{
    z-index: 10;
    position: fixed;
}

@keyframes pulse{
    0%{transform: scale(1);}
    50%{opacity: 0.3;}
    100%{transform: scale(1.45); opacity: 0;}
}

.pulse{ 
    animation: pulse 1.2s infinite; 
}

.navWhats{
    display: flex;
    justify-content: flex-end;
    position: fixed;
    z-index: 9;
    bottom: 0;
    right: 0;
    padding: 5px;
}

.whatsappButton{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    z-index: 10;
    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;
}

.whatsappButton:focus{ 
    outline: none;
}

.whatsappButton i{
    color: var(--colorWhite);
    font-size: 36px;
}

.circleAnime{
    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;
}

.titleWhats{
    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;
}

.titleWhats p{ 
    font-weight: 550;
}
.titleWhats small{ 
    font-weight: 300;
}

.titleWhats small:after{
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--colorGreenTenue);
    position: absolute;
    left: 80px;
    top: 42px;
    z-index: 9;
}

.popupWhats{
    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: 9;
}

.popupWhats > div{ 
    margin-bottom: 5px; 
}

.popupWhats > .textWhats.-top{
    display: flex;
    flex-direction: column;
    padding: 15px 15px;
}

.popupWhats > .textWhats.-top p{
    width: 100%;
    font-weight: 500;
    font-size: 1em;
    background: var(--colorWhite);
    color: var(--colorBlue);
    display: flex;
    align-items: center;
    padding: 7px 10px;
    border-radius: 15px;
}

.popupWhats > .textWhats.-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); 
}

.sendWhats{
    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;
}

.sendWhats i{
    font-size: 18px;
    color: var(--colorWhite);
}

.sendWhats: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.whatsInput[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.whatsInput::placeholder{
    color: rgba(68, 68, 68, 0.705);
    opacity: 1;
}

#whats input.whatsInput[type=text]:focus{
    background-color: var(--colorWhiteGray);
}

@media (max-width: 680px){
    #whats .popupWhats p{ 
        font-size: 0.9em; 
    }
}

@media (max-width: 360px){
    .navWhats{ 
        width: 320px; 
    }
}
