/* 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; } img, video { width: 100%; display: block; } body, html { font-family: 'Optima', sans-serif; } h1, h2, h3, .pullquote { font-family: 'Didot', serif; } header { width: 100%; position: relative; top: 0; z-index: -1; background-color: black; /*max-height: 600px;*/ } header img { /* this opacity makes the header image dark so you can read the headline text more easily. remove the opacity if you do not have your headline on top of the image.*/ opacity: 0.75; } header video { object-fit: cover; height: 100%; width: 100%; } .dropcap { float: left; line-height: 75%; width: .7em; font-size: 400%; font-family: Didot, serif; } .warning { border: 4px solid firebrick; padding: 0px 20px; color: firebrick; font-style: italic; } .title1 { position: absolute; width: 100%; top: -8%; color: white; text-align: center; padding: 3%; } .title1 h1 { font-family: Didot, serif; font-size: 5.0em; margin-bottom: -1%; } .title1 h2 { font-family: Optima, sans-serif;,; margin-top: 2%; font-size: 1.6em; } .title1 h3 { font-family: Optima, sans-serif; margin-top: 2%; font-size: 1.0em; font-style: italic; } .title2 { width: 100%; color: darkslategray; text-align: center; padding: 0; display: none; /* border: 2px solid red;*/ } .title2 h1 { font-family: Didot, serif; font-size: 3.5em; margin-bottom: -4px; } .title2 h2 { font-family: Optima, sans-serif; font-size: 1.4em; /*margin-bottom: -20px;*/ /* border: 2px solid purple;*/ } .title2 h3 { font-family: Optima, sans-serif; /* margin-top: 10%;*/ margin-bottom: 0; font-size: 1.0em; font-style: italic; } .content { width: 100%; background-color: white; overflow-x: hidden; } .maintext { font-family: Optima, sans-serif; max-width: 640px; margin: auto; color: darkslategray; font-size: 1.1em; line-height: 1.7em; text-align: justify; /* font-size: 1.4em; font-weight: 300; line-height: 1.8em*/; padding: 1%; } .maintext h1 { font-family: Didot, serif; } .maintext h2 { font-family: Didot, serif; font-size: 1.8em; } .maintext h3 { font-family: Didot, serif; } .joshitextbox { width: 100%; background-color: #A2E0CE; } .pullquote { font-family: Didot, serif; width: 60%; font-size: 1.4em; line-height: 1.6em; font-style: italic; text-align: left; } .name { font-size: 0.7em; text-align: center; line-height: 0.1em; padding-bottom: 30px; } .sidepic { width: 60%; padding-bottom: 4px; } .sidepic p { font-size: 0.8em; text-align: left; line-height: 1.5em; margin-top: 8px; margin-bottom: 3px; font-style: italic; } .left { float: left; padding-right: 20px; margin-left: -60px; } .right { float: right; padding-left: 20px; margin-right: -60px; } .centerpic { max-width: 500px; margin: auto; } .centerpic p { font-size: 0.8em; text-align: center; margin-top: 0px; font-style: italic; } .sectionhead { text-align: center; color: darkslategray; line-height: 1.4; } .sectionhead2 { text-align: center; color: darkslategray; line-height: 1.4; margin-bottom: -50px; position: relative; } .bigphoto { position: relative; /* height: 530px*/; } .bigphoto img { object-fit: cover; height: 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 .photocaption { display: none; } .cycle-slideshow { max-width: 700px; margin: auto; } .knighttextbox { width: 100%; background-color: #FFC766; } .knightlab { max-width: 900px; padding-top: 20px; margin: auto; /* border: 30px solid #FFB0AB;*/ } .soundboard { font-family: Optima, sans-serif; width: 100%; padding-top: 20px; padding-bottom: 20px; padding-left: 20%; padding-right: 20%; margin: auto; color: darkslategrey; background-color: #B8B0EB; } .soundboard h1 { font-family: Didot, serif; } .soundboard h2 { font-family: Didot, serif; } .soundboard h3 { font-family: Optima, sans-serif; } .sectionhead-sound { text-align: center; color: darkslategray; line-height: 1.4; } .sectionhead-sound h1 { font-size: 1.8em; } } .googlemap { overflow:hidden; padding-bottom:56.25%; position:relative; height:0; max-width: 700px; margin: auto; } .googlemap iframe { left:0; top:0; height:100%; width:100%; position:absolute; } .newmap { max-width: 700px; text-align: center; margin: auto; /*border: 1px solid purple; */ } .maptitle { font-family: Didot, serif; border: 0px; width: 380px; text-align: center; font-style: bold; position: center; margin: auto; font-size: 1.5em ; } .legend { border: 1px solid darkslategray; background-color: snow; padding: 3px 5px 3px 5px; width: 220px; margin-top: -10px; position: relative; margin-left: auto; margin-right: 2%; } .legend p { font-family: Optima, sans-serif; font-size: 0.7em; text-align: left; line-height: 1.6em; margin-top: 4px; margin-bottom: 4px; } .square { width: 20px; height: 20px; background-color: darkgreen; float: left; margin-right: 10px; } .squaresmall { display: none; width: 10px; height: 10px; background-color: darkgreen; float: left; margin-right: 5px; } .legendsmall { display: none; } .green { background-color: #B8F08E; } .blue { background-color: #A2E0CE; } .red { background-color: #FFB0AB; } .purple { background-color: #B8B0EB; } .orange { background-color: #FFC766; } /*.newmap iframe { left:0; top:0; height:100%; width:100%; position:absolute; }*/ .youtubebox { width: 100%; padding: 20px; background-color: #FFB0AB; } .youtube { max-width: 700px; margin: auto; } .responsivecontainer { position: relative; padding-bottom: 56.25%; padding-top: 30px; height: 0; overflow: hidden; } .responsivecontainer iframe, .responsivecontainer object, .responsivecontainer embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } .clickhere { font-style: italic; font-size: 0.7em; text-align: right; padding-right: 1%; } .voxpop { max-width: 700px; margin: auto; } .voxgrid { display: grid; grid-template-columns: 25% 25% 25% 25%; grid-gap: 5px; } .person { border-radius: 5px; box-shadow: 2px 3px 3px lightslategrey; overflow: hidden; } .person audio { width: 100%; } .headshot { position: relative; text-align: center; } .infographic { max-width: 700px; margin: auto; } footer { background-color: black; color: white; padding: 1%; text-align: right; } .overlay { position: fixed; top: 0px; left: 0px; width: 100%; height: 100%; background-color: white; overflow-y: scroll; display: none; } .modal { width: 50%; margin: 1% auto; cursor: pointer; } .clicker { cursor: pointer; } /*media query for responsive design */ @media only screen and (max-width: 800px) { .pullquote { /* display: none;*/ width: 100%; margin: 0px; padding: 0px; } } @media only screen and (max-width: 640px) { header img { /* this opacity makes the header image dark so you can read the headline text more easily. remove the opacity if you do not have your headline on top of the image.*/ opacity: 1.0; } .title1 { top: 1%; display: none; } .title1 h1 { font-size: 3em; } /* .title1 h2 { display: none; }*/ .title1 h3 { font-size: 0.9em; } .title2 { display: block; margin-top: -3%; padding: 0% 2% 0% 2%; } .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; } .sidepic { width: 100%; margin: 0px; margin-bottom: 10px; padding: 0px; } .sidepic p { font-size: 0.6em; text-align: left; line-height: 1.3em; margin-top: 8px; margin-bottom: 8px; font-style: italic; } .legend { display: none; } .legendsmall { font-style: Optima, sans-serif; display: block; border: 1px solid darkslategray; background-color: snow; padding: 2px 4px 2px 4px; width: 150px; margin-top: 0px; position: relative; margin-left: auto; margin-right: 2%; } .squaresmall { display: block; } .legendsmall p { font-size: 0.5em; text-align: left; margin-top: 4px; margin-bottom: 4px; font-style: italic; } .soundboard { padding: 5%; text-align: left; } .soundboard-buttons { text-align: center; }