@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Serif:wght@400;700&display=swap'); html { box-sizing: border-box; font-family: sans-serif; } *, *::before, *::after { box-sizing: inherit; } body { position: absolute; top: 0; left: 0; height: 100%; width: 100%; margin: 0; } .left, .right { position: absolute; top: 0; bottom: 0; } .right { right: 0; background: url("../images/pic1.jpg"); background-size: cover; background-position: center; width: 60%; } .left { left: 0; text-align: right; width: 40%; } .left h1 { position: absolute; padding-right: 1em; height: 1em; line-height: 1em; font-size: 4rem; margin: 0; width: 100%; font-family: IBM Plex Serif, serif; } .left h1:first-of-type { top: calc( 50% - 1em ); font-weight: 700; } .left h1:last-of-type { bottom: calc( 50% - 1em ); font-weight: 400; } footer { position: absolute; bottom: 0; width: 100%; background: black; color: white; text-align: center; } footer ul { list-style: none; padding: 1em; } footer li span { font-weight: 800; margin-right: 1em; } footer a { color: lightgray; text-decoration: none; transition: color 50ms; } footer a:hover { color: white; }