/* styles.css Project: Author: Date: Helpful links: Web colors: https://en.wikipedia.org/wiki/Web_colors#X11_color_names Color picker tool: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Colors/Color_picker_tool http://colorpicker.com */ /*@import url('https://fonts.googleapis.com/css2?family=Lato&family=Montserrat&family=Open+Sans&family=Roboto&display=swap'); */ * { box-sizing: border-box; } .topimg video{ min-width: 100vw; } img { width: 100%; display: block; } body, html { font-family: georgia; overflow-x: hidden; } h1{ font-family: Roboto; text-align: center; } h2, h3, .pullquote { font-family: Roboto; text-align: center; color: darkslategray; } header { width: 100%; position: sticky; top: 0; z-index: -1; background-color: black; /*max-height: 600px;*/ } .title1 { font-size: 1.3em; position: absolute; width: 100%; top: 20%; color: white; text-align: center; padding: 3%; word-spacing: 6px; line-height: 60px; } .sealvideo{ max-width: 4000; text-align: center; } .title1 h1{ font-size: 1.8em; } .title1 h2 { font-size: 1.3em; color: white; } .title1 h3 { margin-top: 10%; font-size: 1em; font-style: italic; color: white; } .title2 { width: 100%; color: black; text-align: justify; /* padding: 3% 10%; */ margin: auto; } .caption{ position: absolute; color: white; background-color: rgba(0, 0, 0, 0.4); width: 100%; padding-left: 1%; box-sizing: border-box; } .title2 h2 { font-size: 1.5em; } .content { width: 100%; background-color: white; overflow-x: hidden; } .maintext { max-width: 850px; margin: auto; color: black; font-size: 1.1em; line-height: 1.7em; text-align: justify; /* font-size: 1.4em; font-weight: 300; line-height: 1.8em*/; padding: 1%; } .title3 h2 .title4 .name { font-size: 0.7em; text-align: center; line-height: 0.1em; padding-bottom: 30px; } .left { float: left; padding-right: 20px; margin-left: -40px; } .right { float: right; padding-left: 20px; margin-right: -40px; } .center { float: center; /* margin-left: -20px;*/ } .sidecap { text-align: center; margin-top: -10px; } .sectionhead { text-align: center; color: darkslategray; } .bigphoto { position: relative; height: 530px; } .bigphoto img { object-fit: cover; height: 100%; } .bigphoto video { object-fit: cover; height: 100%; width: 100%; } .photocaption { position: absolute; bottom: 0px; width: 100%; padding-left: 1%; color: white; background-color: rgba(0,0,0,0.4); } .photogrid { display: grid; grid-template-columns: auto auto; grid-gap: 5px; } .gridpic { position: relative; } .gridpic img { /*width: 80%;*/ } .gridpic .photocaption { display: none; } .knightlab { max-width: 1500px; margin: auto; } .map{ left: 0; top: 0; right: 0; /* padding-bottom: 50%; height: 0;*/ max-width: 3000px; margin: auto; text-align: center; } .calamarivideo{ max-width: 500px; /*position: absolute;*/ text-align: center; object-fit: cover; width: 100%; } .clickhere { font-style: italic; font-size: 0.7em; text-align: right; padding-right: 1%; } .headshot { position: relative; text-align: center; } .voxpop { max-width: 500px; margin: auto; } .voxgrid { display: grid; grid-template-columns: 1fr 1fr /*1fr 1fr*/; grid-gap: 10px; } .person { border-radius: 5px; box-shadow: 2px 3px 3px lightslategrey; overflow: hidden; } .person audio { width: 100%; display: block; } .headshot { position: relative; text-align: center; } .vox{ display: none; font-size: 0.7em; } footer { background-color: black; color: white; padding: 1%; text-align: right; } /*media query for responsive design */ @media only screen and (max-width: 800px) { .pullquote { display: none; } } @media only screen and (max-width: 640px) { ./*title1 { top: 1%; } .title1 h1 { font-size: 2em; } .title1 h2 { display: none; } .title1 h3 { font-size: 0.9em; } body{ overflow-x: hidden; } .maintext { font-size: 1.2em; line-height: 1.6em; text-align: left; margin: 0px 20px; } .voxgrid { grid-template-columns: 50% 50%; } .person audio { background-color: black; */ } }