header{ width: 100%; background-image: url("https://trinket-user-assets.trinket.io/151a70fadcd196e5ad828658d70fc72182534cbe-68547c3d7eb6f43d00748a37.jpg"); background-size: cover; background-attachment: fixed; height: 800px; } nav{ display: flex; justify-content: flex-end; } .menu-link{ font-size: 25px; text-decoration: none; color: white; padding: 15px; border-bottom: 2px solid transparent; transition-duration: 1.2s; } .menu-link:hover{ border-bottom: 2px solid #ff8505; } /* Co dla mniejszych ekranów */ @media screen and (max-width: 568px){ nav { flex-direction: column; align-items: flex-end; } }