diff --git a/index.html b/index.html index e9f0cc9..334185f 100644 --- a/index.html +++ b/index.html @@ -25,6 +25,40 @@ overflow: hidden; } + /* Default: Show desktop element and hide mobile element */ + .desktop-element { + display: block; + } + + .mobile-element { + display: none; + } + + .video-container { + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + overflow: hidden; + z-index: 9999; + } + + .video-container video { + width: 100%; + height: 100%; + object-fit: cover; + } + + .video-container.fade-out { + animation: fadeOut 500ms forwards; + } + + @keyframes fadeOut { + 0% { opacity: 1; } + 100% { opacity: 0; visibility: hidden; } + } + .container { text-align: center; position: relative; @@ -37,7 +71,6 @@ .logo img { min-width: 20rem; - /* max-width: 12rem; */ } h1 { @@ -60,7 +93,7 @@ p { font-family: 'Montserrat', sans-serif; - font-size: 1.0rem; + font-size: 1rem; color: #c0c0c0; max-width: 500px; margin: 0 auto; @@ -70,7 +103,6 @@ .accent-line { width: 100px; height: 4px; - /* background: linear-gradient(135deg, #b8860b, #ffd700); */ background: #B57C1A; margin: 20px auto; border-radius: 2px; @@ -109,6 +141,14 @@ } @media (max-width: 768px) { + .desktop-element { + display: none; /* Hide desktop element on small screens */ + } + + .mobile-element { + display: block; /* Show mobile element on small screens */ + } + .contact { position: relative; flex-direction: column; @@ -124,7 +164,27 @@
-