body { background-color: #000000; color: #ffffff; font-family: monospace; margin: 1rem; } a { color: #80b3ff; } a:hover, a:focus { color: #b3d1ff; } .gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; width: 50vw; } .gallery img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; } @media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); width: 100%; } } @media (max-width: 500px) { .gallery { grid-template-columns: 1fr; width: 100%; } }