.card__api {
    position: fixed;
    bottom: 88px;
    width: 350px;
    max-width: calc(100vw - 32px);
    transition: opacity 0.3s ease, visibility 0.3s ease;
    box-shadow: 0px 0px 21px black;
    z-index: 1000;
    border-radius: 10px;
    right: 16px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.card__api .card__api--top {
    display: flex;
    background: #004800;
    padding: 5px 5px 10px;
    border-radius: 5px 5px 0 0;
    display: block;
}

.card__top--title {
    padding: 0 5px 0 15px;
}

.card__top--title h3 {
    margin: 10px 0 0;
    color: #e6e6e6;
    font-family: sans-serif;
    letter-spacing: 1px;
    font-size: 18px;
    text-align: initial;
}

.card__top--title p {
    margin: 0px;
    color: #e6e6e6;
    font-family: sans-serif;
    font-size: 15px;
}

#icon__x {
    cursor: pointer;
    position: fixed;
    bottom: 15px;
    width: 50px;
    height: 50px;
    z-index: 1000;
    right: 16px;
    display: none;
    align-items: center;
    border: 0;
    color: #ffffff;
    display: none;
    font-size: 26px;
    justify-content: center;
    line-height: 1;
    padding: 0;
}

#icon__x span {
    font-family: sans-serif;
    font-weight: 700;
}

.card--x {
    height: 25px;
    font-size: 20px;
    width: 25px;
    text-align: center;
    cursor: pointer;
    font-family: monospace;
    transition: 0.4s;
    margin: -60px 0 0 20px;
    right: 0;
    position: absolute;
    color: #e6e6e6;
}

.card--x:hover {
    transform: scale(1.5);
}

#icon__whats {
    border-radius: 50%;
    transform: scale(1);
    animation: pulse 2s infinite;
    position: fixed;
    bottom: 15px;
    z-index: 1000;
    width: 50px;
    height: 50px;
    right: 16px;
    align-items: center;
    border: 0;
    color: #ffffff;
    display: flex;
    font-size: 30px;
    justify-content: center;
    line-height: 1;
    padding: 0;
}

.card__api .card__api--body {
    padding: 20px 55px 20px 0px;
    display: grid;
    background-image: url(https://i.pinimg.com/originals/34/8f/c9/348fc9806e32bba0fb4c42e799ddf880.jpg) !important;
    display: block;
}

.card__api .card__api--body--right {
    display: grid;
    margin-left: 15px;
    border-radius: 7px;
    background: #ffffff;
}

.card__api .card__api--body--right p {
    font-family: sans-serif;
    margin: 10px 0 -10px 15px;
    text-align: initial;
    color: #000000;
}

.card__api .card__api--body--right span {
    justify-self: right;
    padding: 5px 7px 3px;
    font-size: 12px;
    font-family: sans-serif;
    color: #000000;
}

.card__api .card__api--footer {
    border-radius: 0 0 5px 5px;
    display: grid;
    background: #e6e6e6;
}

.card__api .card__api--footer .btn {
    font-size: 15px;
    width: 60%;
    height: auto;
    padding: 10px;
    margin: 15px auto 0px;
    text-decoration-line: none;
    border-radius: 10px;
    text-align: center;
    color: #ffffff;
    background: #004800;
}

.card__api .card__api--footer .segundo {
    background: #004800;
}

.card__api .card__api--footer span {
    font-size: 10px;
    margin: 0px auto 5px;
    color: rgb(0, 0, 0);
}

.card__api .card__api--footer a {
    font-size: 10px;
    color: rgb(0, 0, 0);
    text-align: center;
    margin: 0 auto;
    text-decoration: none;
}

#icon__whats {
    background: #25d366;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(1, 168, 132);
    transform: scale(1);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(1, 168, 132, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}

#icon__x {
    background: black;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgb(168, 1, 1);
    transform: scale(1);
    animation: pulseFechar 2s infinite;
}

.card__api.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

@keyframes pulseFechar {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(168, 1, 1, 0.5);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}

@media(max-width: 480px) {
    .card__api {
        width: auto;
        right: 12px;
        left: 12px;
        bottom: 84px;
    }

    .card__top--title h3 {
        font-size: 15px;
    }

    .card__top--title p {
        font-size: 14px;
    }

    .card__api .card__api--body {
        padding: 20px 40px 20px 0px;
    }

    .card__api .card__api--body--right {
        padding: 0px;
    }

    .card--x {
        margin: -50px 0 0 20px;
    }

    #icon__whats,
    #icon__x {
        right: 12px;
        bottom: 12px;
    }
}
