div.body_grid { max-width: 1920px; margin-left: auto; margin-right: auto; display: grid; column-gap: 6em; padding: 20px 60px 40px; transition-property: max-width; transition: 300ms; } div.body_grid h1 { font-size: clamp(1.5rem, 1.0817rem + 2.0915vw, 3.5rem); } .mono { font-family: 'iA Writer Duo S', monospace; padding-bottom: 24px; } .mono + p { padding-bottom: 24px; } span.purple_accent { color: #7e57c2; } /* ===== CSS BODY GRID LAYOUT ===== */ div.body_grid { grid-template-columns: 1fr 1fr; grid-template-areas: 'hero_copy hero_image' 'server_image server_copy' 'keyserver_company keyserver_company' 'keyserver_copy read_the_docs'; } div.hero_copy { grid-area: hero_copy; align-self: center; } div.hero_image { grid-area: hero_image; object-fit: scale-down; align-self: center; } div.server_image { grid-area: server_image; object-fit: scale-down; align-self: center; } div.server_copy { grid-area: server_copy; align-self: center; } div.keyserver_company { grid-area: keyserver_company; text-align: center; padding-top: 80px; } .keyserver_company > h1 { padding-bottom: 24px; } div.read_the_docs { grid-area: read_the_docs; align-self: center; padding-bottom: 40px; } /* ===== LAYOUT HACKS ===== */ div.body_grid > div + .starting_section { padding-top: 80px; } .section { padding-top: 80px; } /* ===== MEDIUM BREAKPOINT ===== */ @media (max-width: 1499px) { div.body_grid { padding-left: 60px; padding-right: 60px; } } /* ===== SMALLEST BREAKPOINT ===== */ @media (max-width: 1099px) { /* ===== COMMON CSS GRID LAYOUT ===== */ div.body_grid, div.app_landing_grid { grid-template-columns: minmax(auto, 540px); justify-content: center; padding: 0 3% 2vh; } /* ===== CSS BODY GRID LAYOUT ===== */ div.body_grid { grid-template-areas: 'hero_image' 'hero_copy' 'server_image' 'server_copy' 'keyserver_company' 'keyserver_copy' 'read_the_docs'; } div.keyserver_company { text-align: left; padding-top: 60px; } div.keyserver_copy { padding-bottom: 0; } div.read_the_docs { padding-top: 20px; padding-bottom: 0; } /* ===== LAYOUT HACKS ===== */ .section { padding-top: 20px; } }