div.heading { background-image: url("/img/colormatic_banner.svg"); background-size: cover; background-repeat: no-repeat; height: 300px; display: flex; align-items: center; justify-content: center; } div.heading h1 { color: white; background-color: #00000088; padding: 28px 38px; border-radius: 16px; font-size: 180%; box-shadow: 1px 1px 8px #00000033; backdrop-filter: blur(5px); } div.project-grid-container { display: flex; width: 80%; margin-left: auto; margin-right: auto; flex-wrap: wrap; justify-content: center; } @media screen and (max-width: 900px) { div.project-grid-container { width: 90%; } div.heading { height: 200px; } div.heading h1 { font-size: 100%; } } div.project-grid-container div.project-grid-box { flex: 1; color: #383c3f; margin: 16px; border: solid 1px #00000033; border-radius: 8px; box-shadow: 1px 1px 8px #00000033; padding: 16px; text-align: center; color: var(--text-color); min-width: 40%; max-width: 50%; background-color: #ffffff22; backdrop-filter: blur(3px); } div.project-grid-container div.project-grid-box h1 a { color: var(--text-color); text-decoration: none; } div.project-grid-container div.project-grid-box div.project-grid-box-contents { /* Yes, this absurdly long element selector is a joke */ display: flex; justify-content: center; } div.project-grid-container div.project-grid-box img { max-width: 150px; max-height: 100px; margin: 12px; border-radius: 8px; } @media screen and (max-width: 900px) { div.project-grid-container div.project-grid-box { min-width: 90%; max-width: 90%; } div.project-grid-container div.project-grid-box img { max-width: 100px; } }