div.heading { background-image: url("/img/colormatic_banner.png"); 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 42px; border-radius: 16px; 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: 800px) { div.project-grid-container { width: 90%; } } 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; min-width: 40%; max-width: 50%; } @media screen and (max-width: 800px) { div.project-grid-container div.project-grid-box { min-width: 90%; max-width: 90%; } } div.project-grid-container div.project-grid-box div.project-grid-box-contents { display: flex; }