h1 { text-transform: uppercase; } h1 { font-size: 2em } h2, h3, h4, h5, h6 { font-weight: bold; } h2, .subheader { font-weight: bold; font-size: 1.5em; } h3 { font-size: 1em } h4 { font-size: 0.9em } h5 { font-size: 0.8em } h6 { font-size: 0.8em } .subheader { font-size: 1.1em; padding-bottom: 10px; } .content { padding: 50px; overflow-y: scroll; } .image { height: 100vh; background-position: center; background-size: cover; padding: 0; margin: 0; } .image > img { width: 100%; height: 100vh; object-fit: cover; } .name { font-size: 3em; } .location { font-size: 1.5em; font-weight: bold; } @media screen and (min-width: 768px) { .content { max-height: 100vh; } } @media screen and (max-width: 767px) { .image { height: 50vh } .image > img { height: 50vh } .content { overflow-y: auto; } }