@media (prefers-color-scheme: dark) { :root { --light: var(--gruvbox-fg); --fg: var(--light); --bg: var(--dark); } img, video { opacity: .75; transition: opacity .5s ease-in-out; } img:hover, video:hover { opacity: 1; } }