diff --git a/static/style.css b/static/style.css index 39aa4d2153bee2bce64be8a67421afb88191c887..2429cfa3d59fa53fa878e7fec369e065de4f2655 100644 --- a/static/style.css +++ b/static/style.css @@ -529,8 +529,8 @@ a[href^="#ref"] { /* Styling all hyperlinks */ #moving-bacterium { width: 100%; height: 100%; - transform: translateX(20px); /* Shift the animation 20px to the right */ - transform: translateY(-40px); + transform: translateX(20px); + transform: translateY(-50px); } } @@ -546,9 +546,7 @@ a[href^="#ref"] { /* Styling all hyperlinks */ #moving-bacterium { width: 100%; height: 100%; - margin-top: 200px; - transform: translateY(40px); - transform: translateY(-40px); + transform: translateX(0); } }