Blog
S
t
a
y
u
p
t
o
d
a
t
e
Dive deeper into the extraordinary world of Ashwagandha. Let us be your guide.
[ 
Our Blog.
January 23, 2025
Read more
](https://avoicevitality.com/dlaczego-ashwagandha-na-bazie-alkoholu-nie-dziala/) [ 
Our Blog.
January 21, 2025
Read more
](https://avoicevitality.com/ashwagandha-a-nerwica/) [ 
Our Blog.
November 29, 2024
Read more
](https://avoicevitality.com/ashwagandha-tabletki/) [ 
Our Blog.
November 23, 2024
Read more
](https://avoicevitality.com/niedoczynnosc-tarczycy-a-ashwagandha/) [ 
Our Blog.
November 16, 2024
Read more
](https://avoicevitality.com/jak-ashwagandha-pomaga-w-redukcji-przewleklego-stresu-randomizowane-badanie-kontrolowane/) [ 
Our Blog.
November 15, 2024
Read more
](https://avoicevitality.com/ashwagandha-w-walce-z-choroba-alzheimera/)
Don't hesitate to ask them. Contact us.
[ Contact us
function isInViewport(element) {
}
document.addEventListener('DOMContentLoaded', function() {
document.addEventListener("scroll", function() {
});
});
// Add the following code to check if the element is already in view on page load
const initialElement = document.querySelector(".buttonContainer");
if (isInViewport(initialElement) && !initialElement.classList.contains("bounce2")) {
}](https://avoicevitality.com/kontakt/)
t
a
y
u
p
t
o
d
a
t
e
Stay up to date
Dive deeper into the extraordinary world of Ashwagandha. Let us be your guide.
[ 
Our Blog.
January 23, 2025
Why doesn't alcohol-based Ashwagandha work as well?
Read more
](https://avoicevitality.com/dlaczego-ashwagandha-na-bazie-alkoholu-nie-dziala/) [ 
Our Blog.
January 21, 2025
Ashwagandha and Neurosis
Read more
](https://avoicevitality.com/ashwagandha-a-nerwica/) [ 
Our Blog.
November 29, 2024
Ashwagandha Tablets
Read more
](https://avoicevitality.com/ashwagandha-tabletki/) [ 
Our Blog.
November 23, 2024
Hypothyroidism and Ashwagandha
Read more
](https://avoicevitality.com/niedoczynnosc-tarczycy-a-ashwagandha/) [ 
Our Blog.
November 16, 2024
How Ashwagandha helps reduce chronic stress: Results of a randomized controlled trial
Read more
](https://avoicevitality.com/jak-ashwagandha-pomaga-w-redukcji-przewleklego-stresu-randomizowane-badanie-kontrolowane/) [ 
Our Blog.
November 15, 2024
Ashwagandha in the Fight Against Alzheimer's Disease
Read more
](https://avoicevitality.com/ashwagandha-w-walce-z-choroba-alzheimera/)
Still have questions?
Don't hesitate to ask them. Contact us.
[ Contact us
function isInViewport(element) {
const rect = element.getBoundingClientRect();
return (
rect.top >= 0 &&
rect.left >= 0 &&
rect.bottom <= (window.innerHeight || document.documentElement.clientHeight) &&
rect.right <= (window.innerWidth || document.documentElement.clientWidth)
);
}
document.addEventListener('DOMContentLoaded', function() {
const container = document.querySelector('.buttonContainer');
const button = container.querySelector('.animatedCircleButton');
const initialPos = { x: 0, y: 0 }; // initial button position (transform offset)
container.addEventListener('mousemove', (e) => {
const rect = button.getBoundingClientRect();
// Button center
const centerX = rect.left + rect.width / 2;
const centerY = rect.top + rect.height / 2;
// Difference between button center and cursor position
let diffX = e.clientX - centerX;
let diffY = e.clientY - centerY;
// Limit the difference to a maximum of 10px
diffX = Math.sign(diffX) * Math.min(Math.abs(diffX), 15);
diffY = Math.sign(diffY) * Math.min(Math.abs(diffY), 15);
button.style.transform = `translate(${diffX}px, ${diffY}px)`;
});
// Reset transformation after cursor leaves
container.addEventListener('mouseleave', () => {
button.style.transform = `translate(${initialPos.x}px, ${initialPos.y}px)`;
});
document.addEventListener("scroll", function() {
const element = document.querySelector(".buttonContainer");
if (isInViewport(element) && !element.classList.contains("bounce2")) {
element.classList.add("bounce2");
}
});
});
// Add the following code to check if the element is already in view on page load
const initialElement = document.querySelector(".buttonContainer");
if (isInViewport(initialElement) && !initialElement.classList.contains("bounce2")) {
initialElement.classList.add("bounce2");
}](https://avoicevitality.com/kontakt/)