body { display: flex; flex-direction: row; justify-content: center; background-color: var(--background); font-family: var(--font-family-sans); margin: 0; padding: 0; width: 100vw; overflow-x: hidden; } main { padding: 1.5rem; width: 1280px; display: flex; flex-direction: column; } @media screen and (max-width: 1280px) { main { width: var(--width-tablet); } } @media screen and (max-width: 786px) { main { padding: 0; width: 100%; } } a { text-decoration: initial; color: var(--accent); } p { font-weight: bold; color: var(--off-black); line-height: 1.7em; font-size: var(--font-size-m); } h1, h2, h3 { color: var(--accent); font-weight: bold; } h1, h2 { font-size: var(--font-size-xl); } h3 { font-size: var(--font-size-l); } header { margin-top: 1.5vh; margin-right: 100px; display: flex; flex-direction: row; justify-content: space-between; } header a, footer a { margin: 0.6rem; margin-top: 1.8rem; font-weight: bold; color: var(--off-black); font-size: var(--font-size-m); } header a { margin: 1.2rem; } header a:first-of-type { margin-left: 0; } header img { width: 316px; } @media screen and (max-width: 1280px) { header { margin-top: 0.4rem; margin-right: 0; margin-left: 5vw; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; } header img { width: 360px; } } @media screen and (max-width: 768px) { header { width: 100%; align-items: flex-start; } header img { width: 340px; } header .header-links { justify-content: flex-start; } } .splash { display: flex; flex-direction: row; width: 100%; margin-top: 0.5rem; overflow: hidden; } .splash p { margin-bottom: 50px; } .splash h1 { margin-top: 1rem; line-height: 1.6em; } .splash-text-content { max-width: 50%; } .splash-image-content { display: flex; flex-direction: row; justify-content: flex-end; height: 520px; width: 100%; } .pyramid-image { position: relative; /* 0 pixels away from the right hand side of the container, 636px wide */ right: calc(0px + 636px); width: 636px; } .squatting-person { position: relative; top: 360px; /* 532 pixels away from the right hand side of the container, 173px wide */ right: calc(532px + 173px); width: 173px; } .splash > .button-links { display: none; } .splash-text-content h1, .splash-text-content p, .button-links, header { margin-left: 3vw; } /* on smaller screens move the button links out of the splash, below the pyramid image*/ @media screen and (max-width: 1280px) { .splash { margin-top: 0; flex-direction: column; } .splash-text-content { display: flex; flex-direction: column; max-width: initial; align-items: center; text-align: center; } .splash-text-content h1 { line-height: initial; font-size: var(--font-size-l); } .splash p { margin-bottom: 15px; max-width: 70%; } .splash-text-content > .button-links { display: none; } .splash > .button-links { margin: 40px; margin-bottom: 2rem; margin-top: 100px; display: flex; } } @media screen and (max-width: 768px) { .splash-text-content { text-align: initial; align-items: initial; } .splash p { max-width: initial; } .splash-image-content { height: 60vw; } .pyramid-image { position: relative; /* 1.5vw away from the right hand side of the container, 85vw wide */ width: 85vw; right: calc(1.5vw + 85vw); } .squatting-person { top: 42vw; right: calc(72vw + 23vw); width: 23vw; } .splash > .button-links { margin-left: 0; margin-right: 0; margin-bottom: 1rem; display: flex; } } .button-link { font-family: var(--font-family-mono); padding: 15px 22px; font-weight: bold; background: var(--light-gray); color: var(--accent); margin-right: 30px; } .button-link:last-of-type { margin-right: 0; } .button-link.primary { background: var(--accent); color: var(--white); } .background-tilt-top, .background-tilt-bottom { margin: 0; width: var(--width-desktop); } .background-tilt-top { margin-top: -1rem; } @media screen and (max-width: 1280px) { .background-tilt-top, .background-tilt-bottom { width: var(--width-tablet); } } @media screen and (max-width: 768px) { .background-tilt-top, .background-tilt-bottom { width: 100%; } } .main-content { width: 100%; margin: 0; background: var(--main-content-bg); padding-top: 30px; } .main-content-paragraph { max-width: 650px; } .box { width: 50%; background: var(--white); box-shadow: 10px 10px 0 0 var(--accent); margin: 20px; margin-right: 30px; text-align: left; } .box h1, .box h2, .box h3 { margin-left: 30px; } .box a { text-decoration: underline; } .box p { margin-left: 30px; margin-bottom: 40px; width: 85%; } .box img { margin-top: 15px; margin-right: 70px; } .arms-crossed-people-image { position: relative; top: -10px; /* 180px wide, so shift half 180px to center it. */ right: calc(0px + (180px * 0.5)); width: 180px; } .main-content-footer { background: var(--white); width: 100%; display: flex; flex-direction: column; } @media screen and (max-width: 1280px) { .arms-crossed-people-image { right: calc(0px + (150px * 0.5)); width: 150px; top: -30px; } .main-content h1 { max-width: 85%; font-size: var(--font-size-l); } .main-content-footer p { max-width: 70%; } .main-content-paragraph { max-width: 80%; } } @media screen and (max-width: 768px) { .boxes-container.horizontal { flex-direction: column; } .box { width: initial; } .arms-crossed-people-image { right: calc(0px + (120px * 0.5)); width: 120px; top: -50px; } } .logos { max-width: 60%; margin-bottom: 30px; } .darker-background { background: var(--light-gray); } .logos a { margin: 30px; } footer { margin-bottom: 100px; } .magical-flying-div-anchor { position: absolute; width: 0; height: 0; } .horizontal { display: flex; align-items: flex-start; } .horizontal.expand { width: 100%; } .vertical { display: flex; flex-direction: column; align-items: flex-start; } .vertical.expand { width: 100%; } .align-center { align-items: center; } .align-stretch { align-items: stretch; } .justify-center { justify-content: center; } .center { align-items: center; text-align: center; } .space-around { justify-content: space-around; } .space-between { justify-content: space-between; } .flex-start { justify-content: flex-start; } .flex-end { justify-content: flex-end; } .wrap { flex-wrap: wrap; } .float-right { float: right; }