@media screen and (max-width: 600px) { #title { font-size: 4em; } #subtitle { font-size: 2em; text-align: center; } #small-subtitle { font-size: 1em; text-align: center; } .heading { text-align: center; font-size: 2em; margin-bottom: 1%; } .subheading { font-size: 1.25em; margin-top: 3%; margin-bottom: 1%; font-weight: 800; } .menu-subheading { font-size: 1em; margin-top: 3%; margin-bottom: 1%; } .staff-subheading { font-size: 1em; margin-top: 3%; margin-bottom: 1%; } .column-title { font-size: 1em; text-align: center; vertical-align: center; padding: 20px 0px 20px 0px; border-bottom: solid 1px #839496; margin-bottom: 15px; } .column-item { font-size: 0.85em; color: gray; padding: 10px 0px 10px 0px; text-align: center; height: 50px; border-bottom: solid 1px #839496; } .main-container { width: 70%; margin-top: 5%; margin-bottom: 5%; margin-left: auto; margin-right: auto; } } @media screen and (min-width: 600px) { #title { font-size: 5em; } #subtitle { font-size: 1em; text-align: center; } #small-subtitle { font-size: 1em; text-align: center; } .heading { text-align: center; font-size: 3em; margin-bottom: 1%; } .subheading { font-size: 1.5em; margin-top: 3%; margin-bottom: 1%; font-weight: 800; } .menu-subheading { font-size: 1.1em; margin-top: 3%; margin-bottom: 1%; } .staff-subheading { font-size: 1.1em; margin-bottom: 1%; } .column-title { font-size: 1.5em; text-align: center; vertical-align: center; padding: 20px 0px 20px 0px; border-bottom: solid 1px #839496; margin-bottom: 15px; } .column-item { font-size: 1.25em; color: #002b36; text-align: center; height: 80px; border-bottom: solid 1px #839496; } .main-container { width: 70%; margin-top: 5%; margin-bottom: 5%; margin-left: auto; margin-right: auto; } } html, body { font-family: "Open Sans", sans-serif; font-weight: 300; font-size: 12pt; margin: 0 auto; color: #202020; } h3 { font-weight: bold; padding-bottom: 10px; } hr { width: 75%; } a { text-decoration: none; color: #0e73c0; } a:hover { text-decoration: underline; } table { width: 100%; } table, th, td { border: 1px solid gray; height: 75px; } th { font-weight: bold; text-align: center; } td { text-align: center; } .container { margin-top: 1%; text-align: center; font-size: 13px; } .staff-container { margin-right: 10px; margin-left: 10px; } #title-container { margin-top: 10%; margin-bottom: 1%; } #class-number { text-align: center; } #menu { text-align: center; } #picture { width: 100px; height: 100px; } #name { text-align: center; } div.staff-grid { margin: 8px; float: left; width: 180px; } div.staff-grid :hover {} div.staff-grid img { width: 100%; height: auto; border-radius: 10px; } div.description { padding: 10px; text-align: center; font-weight: medium; font-size: 11pt; }