/* 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 { width: 100%; display: block; } body, html { /* font-family: 'Lato', sans-serif; */ /* font-family: 'Raleway', sans-serif; */ font-family: 'Merriweather', serif; } h1, h2, h3, .pullquote { /* font-family: 'Open Sans', sans-serif; */ /* font-family: 'Abril Fatface', cursive; */ font-family: 'Bebas Neue', sans-serif; font-weight: 400; letter-spacing: -0.015em; } header { min-width: 100%; min-height: 100%; position: sticky; top: 0; z-index: -1; background-color: black; height: 100vh; /* 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.6; } header video { /* 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.9; display: block; height: 100%; object-fit: cover; /*min-width: 100%; min-height: 100%;*/ } /* video { width: 100% !important; height: 100% !important; } */ .sound-button { position: fixed; top: 8px; right: 6px; cursor: pointer; color: white; height: 30px; width: 30px; } .audio-track { position: fixed; z-index: 5; top: 0; right: 0; width: auto; height: 1.7rem; padding: .15rem .2rem .5rem .6rem; background: hsla(0,0%,100%,.8); border-radius: 0 0 0 1rem; cursor: pointer; } .at-text { display: inline-block; font-family: 'Raleway', sans-serif; text-transform: uppercase; font-weight: 400; font-style: normal; font-stretch: normal; font-size: .75rem; padding-right: .5rem; } .audio-player { text-align: left; padding-bottom: 20px; margin-bottom: 20px; border: 1px solid #FFFFFF; padding-left: 16px; padding-right: 16px; } .controls { padding-top: .15rem; margin-right: .3rem; width: 1.1rem; height: 1.1rem; float: right; } .full-height { height: 100%; width: 100%; display: block; } .title1 { position: absolute; width: 100%; top: 40%; color: white; text-align: center; } .title1 h1 { font-size: 2.8em; line-height: 1em; letter-spacing: 0.01em; /*margin-bottom: -4px;*/ padding-left: 20px; padding-right: 20px; } .title1 h2 { font-family: 'Raleway', sans-serif; font-weight: 400; letter-spacing: 0.08em; text-align: center; text-transform: uppercase; font-variant-numeric: normal; color: #1e1e1e; font-size: 4em; margin-bottom: -4px; } .bg-yellow { background-color: yellow; padding: 2px; } .title1 h3 { margin-top: 10%; font-size: 1.2em; font-style: italic; } .title2 { width: 100%; color: white; text-align: center; } .title2 h1 { font-size: 4.7em; margin-bottom: -4px; } .title2 h2 { font-size: 2em; } .maintext h3 { font-family: 'Raleway', sans-serif; font-weight: 600; text-align: left; font-variant-numeric: normal; font-size: 0.9em; margin-bottom: 30px; line-height: 1.4em; } .content { width: 100%; background-color: #000000; /*overflow-x: hidden;*/ } .maintext { max-width: 640px; margin: auto; color: white; font-size: 1em; line-height: 1.7em; text-align: left; /* font-size: 1.4em; font-weight: 300; line-height: 1.8em*/; padding-top: 1%; padding-bottom: 1%; } .first-character { color: yellow; float: left; font-family: 'Bebas Neue', sans-serif; font-size: 132px; line-height: 80px; padding-top: 21px; padding-right: 10px; padding-left: 0px; } .pullquote { width: 50%; color: yellow; font-size: 2em; line-height: 1em; font-style: normal; text-align: left; } .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; } .sectionhead { text-align: left; color: #FFFF00; letter-spacing: 0.014em; } .sectionsubhead { padding-top: 14px; color: white; font-size: 1.6em; letter-spacing: 0.014em; } .bigphoto { /*position: relative;*/ max-width: 1000px; /*height: 530px;*/ height: 100%; margin: auto; } .bigphoto img { /*object-fit: cover;*/ height: 100%; } .smallphoto { object-fit: cover; max-width: 49%; height: 100%; display: block; } .doublephoto { max-width: 1000px; display: grid; grid-template-columns: 1fr 1fr; grid-gap: 1%; margin: auto; } .photocaption { font-family: 'Raleway', sans-serif; font-weight: 400; font-size: 0.9em; position: relative; bottom: 6px; width: 100%; padding-left: 0%; color: white; /* background-color: rgba(0,0,0,0.4); */ } .audiocaption { font-family: 'Raleway', sans-serif; font-weight: 400; font-size: 0.9em; line-height: 1.5em; position: relative; bottom: 6px; width: 100%; padding-left: 0%; color: white; /* background-color: rgba(0,0,0,0.4); */ } .caption-byline { font-family: 'Raleway', sans-serif; font-weight: 600; font-size: 0.7em; text-transform: uppercase; letter-spacing: 0.1em; color: gray; /* background-color: rgba(0,0,0,0.4); */ } .vimeo-video { margin:auto; margin-top:-50px; margin-bottom:-40px; max-width:1000px; padding:75% 0 0 0; position:relative;" } .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; } .knightlab { max-width: 700px; margin: auto; } .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; } .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; } .strikethrough { position: relative; color: darkslategray; } .strikethrough:before { position: absolute; content: ""; left: 0; top: 38%; right: 0; border-top: 4px solid; border-color: #FF0000; -webkit-transform:rotate(-10deg); -moz-transform:rotate(-10deg); -ms-transform:rotate(-10deg); -o-transform:rotate(-10deg); transform:rotate(-10deg); } [data-tooltip] { display: inline-block; position: relative; cursor: help; /*padding: 4px;*/ } /* Tooltip styling */ [data-tooltip]:before { content: attr(data-tooltip); display: none; position: absolute; background: #FFFF00; color: #1e1e1e; padding: 4px 8px; font-size: 14px; line-height: 1.4em; min-width: 150px; text-align: center; border-radius: 4px; font-family: 'Raleway', sans-serif; font-weight: 400; font-size: 0.9em; line-height: 1.5em; } /* Dynamic horizontal centering */ [data-tooltip-position="top"]:before, [data-tooltip-position="bottom"]:before { left: 50%; -ms-transform: translateX(-50%); -moz-transform: translateX(-50%); -webkit-transform: translateX(-50%); transform: translateX(-50%); } /* Dynamic vertical centering */ [data-tooltip-position="right"]:before, [data-tooltip-position="left"]:before { top: 50%; -ms-transform: translateY(-50%); -moz-transform: translateY(-50%); -webkit-transform: translateY(-50%); transform: translateY(-50%); } [data-tooltip-position="top"]:before { bottom: 100%; margin-bottom: 6px; } [data-tooltip-position="right"]:before { left: 100%; margin-left: 6px; } [data-tooltip-position="bottom"]:before { top: 100%; margin-top: 6px; } [data-tooltip-position="left"]:before { right: 100%; margin-right: 6px; } /* Tooltip arrow styling/placement */ [data-tooltip]:after { content: ''; display: none; position: absolute; width: 0; height: 0; border-color: transparent; border-style: solid; } /* Dynamic horizontal centering for the tooltip */ [data-tooltip-position="top"]:after, [data-tooltip-position="bottom"]:after { left: 50%; margin-left: -6px; } /* Dynamic vertical centering for the tooltip */ [data-tooltip-position="right"]:after, [data-tooltip-position="left"]:after { top: 50%; margin-top: -6px; } [data-tooltip-position="top"]:after { bottom: 100%; border-width: 6px 6px 0; border-top-color: #FFFF00; } [data-tooltip-position="right"]:after { left: 100%; border-width: 6px 6px 6px 0; border-right-color: #FFFF00; } [data-tooltip-position="bottom"]:after { top: 100%; border-width: 0 6px 6px; border-bottom-color: #FFFF00; } [data-tooltip-position="left"]:after { right: 100%; border-width: 6px 0 6px 6px; border-left-color: #FFFF00; } /* Show the tooltip when hovering */ [data-tooltip]:hover:before, [data-tooltip]:hover:after { display: block; z-index: 50; } footer { background-color: black; color: gray; padding: 0%; text-align: right; padding-bottom: 10px; } footer h3 { font-family: 'Raleway', sans-serif; font-weight: 600; text-align: left; font-variant-numeric: normal; padding-left: 20px; padding-right: 20px; font-size: 0.9em; margin-bottom: 30px; line-height: 1.4em; margin: auto; max-width: 640px; } /*media query for responsive design */ @media only screen and (max-width: 800px) { .pullquote { display: none; } .photocaption { padding-left: 20px; padding-right: 20px; } .title1 h1 { padding-left: 40px; padding-right: 40px; } } @media only screen and (max-width: 640px) { .title1 { position: absolute; width: 100%; top: 38%; color: white; text-align: center; } .title1 h1 { font-size: 2.2em; line-height: 1em; padding-left: 40px; padding-right: 40px; } .title1 h2 { font-family: 'Raleway', sans-serif; text-align: center; text-transform: uppercase; font-variant-numeric: normal; color: #1e1e1e; font-size: 2.05em; margin-bottom: -8px; } .title1 h3 { font-size: 0.9em; } .maintext { font-size: 1em; line-height: 1.7em; text-align: left; margin: 0px 20px; } .doublephoto { grid-template-columns: 1fr; } .photocaption { padding-left: 20px; padding-right: 20px; } .vimeo-video { margin-top:-30px; margin-bottom:-20px; } .voxgrid { grid-template-columns: 50% 50%; } .person audio { background-color: black; } } /* icon: https://fortawesome.github.io/Font-Awesome/icons/ */ /* Animation: https://daneden.github.io/animate.css/ */ .arrow-container{ width: 100px; height: 100px; margin: 0 auto; position: absolute; bottom: 10px; left: 0; right: 0; } .arrow-1{ width: 100px; height: 100px; background: yellow; opacity: 0.5; border-radius: 50%; position: absolute; } .arrow-2{ width: 60px; height: 60px; background: yellow; border-radius: 50%; position: absolute; top: 20px; left: 20px; z-index: 1; display: table; } .arrow-2:before{ width: 52px; height: 52px; content: ""; border: 2px solid #1e1e1e; border-radius: 50%; position: absolute; top: 2px; left: 2px; } .arrow-2 i.fa{ font-size: 30px; display: table-cell; vertical-align: middle; text-align: center; color: yellow; } /* Custom Animate.css */ .animated.hinge { -webkit-animation-duration: 2s; animation-duration: 2s; } @-webkit-keyframes zoomIn { 0% { opacity: 0; -webkit-transform: scale3d(.4, .4, .4); transform: scale3d(.4, .4, .4); } 50% { opacity: 0.5; } 100% { opacity: 0; } } @keyframes zoomIn { 0% { opacity: 0; -webkit-transform: scale3d(.4, .4, .4); transform: scale3d(.4, .4, .4); } 50% { opacity: 0.5; } 100% { opacity: 0; } } .zoomIn { -webkit-animation-name: zoomIn; animation-name: zoomIn; }