@font-face {
    font-family: "RobotoRegular";
    src: url(../fonts/Roboto-Regular.ttf);
}

:root {
    --colorGreen: rgb(37, 211, 101);
    --colorGreenSecundary: rgb(119, 187, 74);
    --colorGreenTenue: rgb(43, 211, 43);
    --colorGreenTenueSecundary: rgb(37, 211, 102);
    --colorBarOpenWhats: rgb(9, 94, 84);
    --colorBlue: rgb(47, 78, 111);
    --colorWhite: rgb(255, 255, 255);
    --colorWhiteSecundary: rgb(241, 241, 241);
    --colorWhiteGray: rgb(248, 248, 248);
    --colorGray: rgb(51, 51, 51);
}

#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;
}

.nav-bottom {
    display: flex;
    justify-content: flex-end;
    position: fixed;
    z-index: 9;
    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 p {
    font-weight: 550;
}

.title small {
    font-weight: 300;
}

.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: 9;
}

.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: 9;
}

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

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

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

.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 svg {
    font-size: 16px;
    color: var(--colorGray);
    transition: 0.6s;
}

.closePopup:hover svg {
    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: 360px) {
    .nav-bottom {
        width: 320px;
    }
}