.whatsapp {
    text-decoration: none;
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 2;
    display: flex;
    gap: 0.5rem;
}

@keyframes slideRight {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(0);
    }
}

@keyframes slideLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(100%);
    }
}
.whatsapp__text-wrapper {
    display: none;
    justify-content: center;
    align-items: center;
    background-color: var(--clr-light);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.15);
    color: var(--clr-gray);
    font-size: var(--text-sm);
    animation: slideRight 1s;
}
.whatsapp__text-wrapper--visible {
    display: flex;
}

.whatsapp__btn {
    z-index: 3;
    background-color: #25d366;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
}
.whatsapp__btn-icon {
    width: 2rem;
    height: 2rem;
    fill: var(--clr-light);
}

@media (width >= 640px) {
    .whatsapp {
        bottom: 1.25rem;
        right: 1.25rem;
    }
    .whatsapp__btn {
        width: 3.75rem;
        height: 3.75rem;
    }
    .whatsapp__btn-icon {
        width: 2.5rem;
        height: 2.5rem;
    }
}

@media (width >= 1024px) {
    .whatsapp {
        bottom: 1.5rem;
        right: 1.5rem;
    }
    .whatsapp__btn {
        width: 4rem;
        height: 4rem;
    }
    .whatsapp__btn-icon {
        width: 2.75rem;
        height: 2.75rem;
    }
    .whatsapp__text-wrapper {
        font-size: var(--text-base);
    }
}

@media (width >= 1536px) {
    .whatsapp {
        bottom: 1.875rem;
        right: 1.875rem;
    }
    .whatsapp__btn {
        width: 4.25rem;
        height: 4.25rem;
    }
    .whatsapp__btn-icon {
        width: 3rem;
        height: 3rem;
    }
    .whatsapp__text-wrapper {
        font-size: var(--text-base);
    }
}
