@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap'); body { background-color: #333333; color: #ffffff; } h1 { font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 48px; margin: 50px; padding: 25px; } p { font-family: 'Monstserrat', sans-serif; margin-top: -50px; padding-left: 75px; } p a:link { color: lightgray; } p a:visited { color: lightgray; } p a:hover { color: darkgray; } p a:active { color: gray; } .grid-container { display: grid; grid-template-columns: repeat(3, 1fr); grid-gap: 20px; grid-auto-flow: dense; } .grid-item { display: flex; align-items: center; justify-content: center; } .grid-item img { max-width: 100%; height: auto; object-fit: cover; cursor: pointer; } .enlarged { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.9); z-index: 999; display: flex; align-items: center; justify-content: center; } .enlarged img { max-width: 90%; max-height: 90%; }