diff --git a/src/app/header/header.component.css b/src/app/header/header.component.css index e31239f..45f46ed 100644 --- a/src/app/header/header.component.css +++ b/src/app/header/header.component.css @@ -1,9 +1,67 @@ header { display: flex; - width: 100%; + justify-content: center; + align-items: center; + height: 60px; + background-color: white; + padding: 0 20px; + position: relative; } -.header { - height: 60px; - background-color: greenyellow; +header::after { + content: ""; + position: absolute; + bottom: 0; + left: 0; + width: 100%; + height: 4px; + background: linear-gradient(to right, rgba(99,102,241,0), rgba(219,39,119,1), rgba(99,102,241,0)); +} + +.header-inner { + display: flex; + align-items: center; + gap: 15px; +} + +.header img { + height: 120px; + width: auto; + object-fit: contain; +} + +.header-text { + display: flex; + align-items: center; + gap: 10px; +} + +.header-text h1 { + font-size: 4rem; + font-weight: 700; + color: black; + margin: 0; + line-height: 1; + animation: fadeUp 1s ease forwards; +} + +.header-text p { + font-size: 1.5rem; + font-weight: 700; + padding-bottom: 5px; +} + +.gradient-text { + background: linear-gradient(to right, #6366f1, #db2777); + -webkit-background-clip: text; + -webkit-text-fill-color: transparent; +} + +@keyframes fadeUp { + from { opacity: 0; transform: translateY(10px); } + to { opacity: 1; transform: translateY(0); } +} + +.animate-fadeUp { + animation: fadeUp 1.2s ease forwards; } diff --git a/src/app/header/header.component.html b/src/app/header/header.component.html index f45fd70..d353b1a 100644 --- a/src/app/header/header.component.html +++ b/src/app/header/header.component.html @@ -1,2 +1,12 @@
+
+ + +
+

InfiniMotion

+

+ Absolut war gestern,
Bewegung ist heute! +

+
+