From fed840d3522392065e42dac1112f8dcf66aa446c Mon Sep 17 00:00:00 2001
From: Shraddha <shraddharaghuram@student.tudelft.nl>
Date: Tue, 27 Aug 2024 12:49:12 +0000
Subject: [PATCH] Update file homepage.css

---
 static/homepage.css | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/static/homepage.css b/static/homepage.css
index b60e08a..c38f81e 100644
--- a/static/homepage.css
+++ b/static/homepage.css
@@ -698,6 +698,8 @@
     height: 65px;
     opacity: 0;
     transition: all 0.5s linear;
+    left: 50%; /* Position the element 50% from the left */
+    transform: translateX(-50%); /* Shift the element back by 50% of its own width */
 }
 .homepage-content8 {
     top: 5700px;
@@ -706,6 +708,8 @@
     /* transform: translateX(-110%); */
     opacity: 0;
     transition: all 0.5s linear;
+    left: 50%; /* Position the element 50% from the left */
+    transform: translateX(-50%); /* Shift the element back by 50% of its own width */
 }
 /* .homepage-content7{
     top: 4502px;
-- 
GitLab