diff --git a/home.txt b/home.txt index 8563e4a..983f100 100644 --- a/home.txt +++ b/home.txt @@ -10,7 +10,7 @@ .home-header { position: relative; width: 100vw; - height: 80vh; + height: 70vh; min-height: 400px; margin-left: calc(-50vw + 50%); margin-right: calc(-50vw + 50%); @@ -87,31 +87,74 @@ gap: 10px; } - .btn-primary { +.btn-primary, + .btn-secondary { + position: relative; display: inline-flex; align-items: center; - gap: 6px; - padding: 10px 22px; + justify-content: center; + overflow: hidden; border-radius: 100px; - background: var(--btn-primary-bg); - color: var(--btn-primary-text) !important; - font-size: 13.5px; - font-weight: 600; text-decoration: none !important; - transition: transform 0.15s ease; + transition: transform 0.2s ease, opacity 0.26s ease-out; + } + + .btn-primary { + color: light-dark(#000000, #ffffff) !important; } .btn-secondary { - display: inline-flex; + color: var(--text) !important; + } + + .btn-primary:hover, + .btn-secondary:hover { + transform: translateY(-1px); + } + + .glass-surface__filter { + width: 100%; + height: 100%; + pointer-events: none; + position: absolute; + inset: 0; + opacity: 0; + z-index: -1; + } + + .glass-surface__content { + width: 100%; + height: 100%; + display: flex; align-items: center; - padding: 10px 20px; - border-radius: 100px; + justify-content: center; + gap: 6px; + padding: 10px 22px; + border-radius: inherit; + position: relative; + z-index: 1; font-size: 13.5px; font-weight: 600; - text-decoration: none !important; - backdrop-filter: blur(25px) saturate(2); - -webkit-backdrop-filter: blur(25px) saturate(2); - transition: transform 0.15s ease; + } + + .btn-secondary .glass-surface__content { + padding: 10px 20px; + } + + .glass-surface--svg { + background: transparent !important; + border: none !important; + box-shadow: none !important; + backdrop-filter: var(--filter-id, url(#glass-filter)) saturate(var(--glass-saturation, 1)) !important; + -webkit-backdrop-filter: var(--filter-id, url(#glass-filter)) saturate(var(--glass-saturation, 1)) !important; + } + + .glass-surface--fallback { + background: transparent!important; + -webkit-backdrop-filter: blur(12px); + backdrop-filter: blur(12px); + border: transparent !important; + box-shadow: none !important; } @keyframes fadeVideoBg { @@ -247,18 +290,24 @@ opacity: 0.75; } - .hero-greeting { - margin: 0 0 14px; - padding: 6px 16px; - border-radius: 100px; - background: var(--hover-bg); - backdrop-filter: blur(16px); - -webkit-backdrop-filter: blur(16px); - color: var(--text); - font-size: 13px; - font-weight: 600; - letter-spacing: 0.01em; -} +.hero-greeting { + position: relative; + display: inline-flex; + align-items: center; + justify-content: center; + overflow: hidden; + margin: 0 0 14px; + border-radius: 100px; + color: var(--text); + letter-spacing: 0.01em; + } + + .hero-greeting .glass-surface__content { + padding: 6px 16px; + font-size: 13px; + font-weight: 600; + letter-spacing: 0.01em; + } .hero-resume { max-width: min(90vw, 360px); @@ -319,15 +368,15 @@