.body { margin: 0; overflow-x: hidden; height: 100%; padding: 0; background: linear-gradient(90deg, #2193b0 0%, #6dd5ed 100%); } .container { position: absolute; right: 32px; left: 50px; font-size: 24px; display: flex; align-items: center; justify-content: space-between; color: #ffffff; } .menu-link { border-radius: 32px; background: linear-gradient(90deg, #2193b0 0%, #6dd5ed 100%); font-family: "Asul", serif; font-weight: 700; font-style: normal; color: #ffffff; font-size: 28px; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15); border: none; cursor: pointer; transition: transform 0.15s, box-shadow 0.15s, background 0.3s, opacity 0.2s; letter-spacing: 1px; outline: none; display: inline-flex; align-items: center; justify-content: center; margin-left: 16px; text-decoration: none; padding: 12px 24px; height: 19px; vertical-align: middle; } .menu-link:hover, .menu-link:focus { background: linear-gradient(90deg, #11998e 0%, #38ef7d 100%); transform: translateY(-3px) scale(1.03); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18); opacity: 1; } /* Dim other menu links when one is hovered */ .menu-link:hover, .menu-link:focus { opacity: 1; } .menu-link { opacity: 1; } .menu-link:hover ~ .menu-link, .menu-link:focus ~ .menu-link, .menu-link:hover, .menu-link:focus { opacity: 1; } /* New: Dim all other menu links when any is hovered */ .container:hover .menu-link { opacity: 0.5; } .container .menu-link:hover, .container .menu-link:focus { opacity: 1; } .logo { height: 150px; width: 200px; padding-top: 10px; padding-left: 0px; filter: drop-shadow(0 6px 24px rgba(33, 147, 176, 0.4)); } .Titel { font-family: sans-serif; font-weight: 700; font-style: normal; color: #ffffff; position: absolute; font-size: 110px; left: 50px; top: 100px; width: 1100px; white-space: pre-line; } .title-2 { color: #6dd5ed; } .Pfeil { color: #ffffff; font-size: 60px; position: absolute; bottom: 40px; left: 50%; animation: Pfeil 1000ms infinite alternate-reverse; } @keyframes Pfeil { 0% { transform: translateY(0px); } 100% { transform: translateY(16px); } } .Background { position: absolute; top: 0; left: 0; width: 100%; height: 100vh; background: linear-gradient( 120deg, rgba(33, 147, 176, 0.85) 0%, rgba(109, 213, 237, 0.85) 100% ), url("https://images.unsplash.com/photo-1506744038136-46273834b3fb?auto=format&fit=crop&w=1500&q=80") center/cover no-repeat; background-blend-mode: overlay; background-size: cover; background-position: center; filter: brightness(0.7) blur(1.5px); z-index: -1; pointer-events: none; transition: filter 0.5s; } .Background:hover { filter: brightness(0.8) blur(0.5px); } .green-background { position: absolute; margin-top: 846px; width: 100%; min-height: 100%; padding: 0; background: linear-gradient(90deg, #2193b0 0%, #6dd5ed 100%); background-size: cover; background-position: center; filter: brightness(0.6); z-index: -1; pointer-events: none; } .Book-now { border-radius: 32px; background: linear-gradient(90deg, #2193b0 0%, #6dd5ed 100%); position: absolute; height: 64px; left: 40px; top: 690px; width: 400px; font-family: "Asul", serif; font-weight: 700; font-style: normal; display: flex; align-items: center; justify-content: center; word-spacing: 8px; color: #ffffff; font-size: 28px; box-shadow: 0 6px 24px rgba(33, 147, 176, 0.15); border: none; cursor: pointer; transition: transform 0.15s, box-shadow 0.15s, background 0.3s; letter-spacing: 1px; outline: none; } .Book-now:hover, .Book-now:focus { background: linear-gradient(90deg, #11998e 0%, #38ef7d 100%); transform: translateY(-3px) scale(1.03); box-shadow: 0 12px 32px rgba(33, 147, 176, 0.18); }