/* 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; background-color: black; } audio { display: block; } /*link style*/ a { text-decoration: none; color: red; } a:visited { color: red; } a:hover, a:active { color: red; } body, html { font-family: 'Lato', sans-serif; color: black; background-color: black; } h0{ font-size: 0.8em; color: white; width: 100%; text-align: center; position: relative; top: 45vh; margin-left: 650px; } h1, h2, h3, .pullquote { font-family: 'Open Sans', sans-serif; color: white; margin-bottom: 30px; } h4{ color: red; text-align: center; font-style: italic; } header { width: 100%; position: fixed; top: 0; z-index: 1; background-color: black; /*max-height: 600px;*/ } .videos { width: 86.5%; margin: auto; } 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: 1.7; } h1{ margin-left: 400px; } .replace{ margin-left: 2px; } .oneput{ margin-left: 600px; } .entersite { position: fixed; top: 0px; left: 0px; background-color: black; width: 100%; height: 100vh; z-index: 3; } .clickheretoenter { color: white; width: 100%; text-align: center; font-size: 3em; position: relative; top: 45vh; cursor: pointer; margin-bottom: 30px; } .play { /*border: 2px solid hotpink;*/ height: 100vh; width: 100%; color: black; text-shadow: 2px 2px 2px grey; position: relative; margin-bottom: 90px; } /*.play p { position: absolute; top: 0px; left: 0px; }*/ .play0 { height: 1px; } .videobox{ /*border:2px;*/ /*padding:1px 3.5px 0.001px 0.99px;*/ width:50%; float: left; border-radius: 10px; /*margin-bottom: 10px;*/ } .everything { z-index:3; position: relative; } .left { float: left; padding-left: 20px; margin-left: -40px; } .sidepic { width: 60%; text-align: left; } .title2 { width: 80%; margin: auto; margin-bottom: 330px; color: white; text-align: center; position: relative; padding: 3% 10%; background-color: rgba(0,0,0,0.7); } .whatamidoing{ width: 80%; margin: auto; margin-bottom: 330px; color: white; text-align: center; position: relative; padding: 3% 10%; background-color: rgba(0,0,0,0.7); z-index: 4; margin-top: 100vh; font-size: 1.5em; } .whatamidoing1{ width: 80%; margin: auto; margin-bottom: 330px; color: white; text-align: center; position: relative; padding: 3% 10%; background-color: rgba(0,0,0,0.7); z-index: 4; font-size: 1.5em; } .title1{ width: 80%; margin: auto; margin-bottom: 600px; color: white; text-align: center; font-size: 2em; /*padding: 2% 6%;*/ line-height: 2em; background-color: rgba(0,0,0,0.7); } .title1 h1{ margin-left: 60px; font-size: 3.3em; } .title2 h2 { font-size: 2em; } .title2 h3 { margin-top: 10%; margin-bottom: 0; font-size: 1.1em; font-style: italic; } .title1 h1{ margin-top: 10%; margin-bottom: 0; font-size: 1.1em; font-style: italic; } .content { width: 100%; background-color: black; overflow-x: hidden; } .maintext { max-width: 640px; margin: auto; color: white; font-size: 1.2em; line-height: 1.7em; text-align: justify; /* font-size: 1.4em; font-weight: 300; line-height: 1.8em*/; padding: 1%; position: relative; z-index: 4; } .everything2 { background-color: black; width: 100%; z-index: 4; position: relative; padding-bottom: 50px; } .pullquote { width: 50%; font-size: 1.4em; line-height: 1.6em; font-style: italic; text-align: left; } .firsttitle{ font-size: 1.5em; text-align: center; color: red; margin-top: -15px; } .secondtitle{ font-size: 1.5em; text-align: center; color: red; margin-top: -15px; } .thirdtitle{ font-size: 1.5em; text-align: center; color: red; margin-top: -25px; /* margin-left: 60px;*/ } .name { font-size: 0.7em; text-align: center; line-height: 0.1em; padding-bottom: 30px; } .evtitle{ font-size: 2.0em; text-align: center; color: red; margin-top: -15px; } .nugget{ width: 50%; margin: auto; border-radius: 10px; } .nugget img{ width: 100%; border-radius: 10px; } .explainervideo{ margin-bottom: 15px; width:70%; margin-left: 250px; } .left { float: left; padding-right: 20px; margin-left: -40px; } .right { float: right; padding-left: 20px; margin-right: -40px; } .sidepic { width: 50%; } .sidepic audio { width: 100%; margin-top: 5px; } .sidecap { margin-top: 0px; font-size: 0.8em; font-style: italic; text-align: center; } .sidecaption{ margin-top: 0px; font-size: 0.8em; text-align: center; margin-bottom: 40px; } .sidecaption1{ margin-top: 0px; font-size: 0.8em; text-align: center; margin-bottom: 40px; font-style: italic; } .sidecaption2{ margin-top: 0px; font-size: 0.8em; text-align: center; font-style: italic; margin-bottom: 40; } .sidecaption3{ margin-top: 0px; font-size: 1em; text-align: center; font-style: italic; margin-bottom: 40; color: white; } .sectionhead { text-align: center; color: darkslategray; } .pic { /*position: sticky;*/ /*height: 730px;*/ width:100%; } .pic img { /*object-fit: cover;*/ width: 100%; } .vote{ margin: auto; width: 50%; } .image{ margin-left: 30%; width: 40%; } .image img{ width: 100%; } .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: 3%; text-align: center; color: white; text-shadow: 3px 7px 10px #000 /* background-color: rgba(0,0,0,0.4); */ } .audio-player { text-align: left; padding-bottom: 20px; margin-bottom: 70px; border: 3px solid #FFFFFF; padding-left: 16px; padding-right: 16px; border-radius: 3px 3px 4px 5px; } .audioclip{ margin-left: 25%; width: 100%; } .quiz{ margin-left: 270px; } .sectionsubhead { padding-top: -7px; color: yellow; font-size: 1.2em; text-align: center margin-bottom: 30px; margin-right: 30px; } .clickhere { font-style: italic; font-size: 0.7em; text-align: right; padding-right: 1%; } .popup { cursor: pointer; } .infographic { max-width: 800px; margin: auto; } /* Slideshow container */ .slideshow-container { max-width: 1000px; position: relative; margin: auto; } /* Hide the images by default */ .mySlides { display: none; } .mySlides img { width: 100%; } /* Next & previous buttons */ .prev, .next { cursor: pointer; position: absolute; top: 50%; width: auto; margin-top: -22px; padding: 16px; color: white; font-weight: bold; font-size: 18px; transition: 0.6s ease; border-radius: 0 3px 3px 0; } /* Position the "next button" to the right */ .next { right: 0; border-radius: 3px 0 0 3px; } /* On hover, add a black background color with a little bit see-through */ .prev:hover, .next:hover { background-color: rgba(0,0,0,0.8); } /* Caption text */ .slidetext { color: #f2f2f2; font-size: 15px; padding: 12px; position: absolute; bottom: 0px; width: 100%; text-align: center; background-color: rgba(0, 0, 0, 0.7); } /* Number text (1/3 etc) */ .numbertext { color: #f2f2f2; font-size: 12px; padding: 8px 12px; position: absolute; top: 0; } /* The dots/bullets/indicators */ .dots { margin-top: 10px; width: 100%; display: flex; justify-content: center; } .dot { cursor: pointer; height: 15px; width: 15px; margin: 0 2px; background-color: #bbb; border-radius: 50%; display: inline-block; transition: background-color 0.6s ease; text-align: center; } .active, .dot:hover { background-color: #717171; } .fade { -webkit-animation-name: fade; -webkit-animation-duration: 1.5s; animation-name: fade; animation-duration: 1.5s; } @-webkit-keyframes fade { from {opacity: .4} to {opacity: 1} } @keyframes fade { from {opacity: .4} to {opacity: 1} } /*footer */ footer { background-color: black; color: white; padding: 1%; text-align: right; position: relative; z-index: 4; } /*popup modal*/ .overlay { position: fixed; top: 0px; left: 0px; height: 100%; width: 100%; background-color: rgba(0, 0, 0, 0.9); overflow-y: scroll; display: none; z-index: 10; } .modal { width: 70%; margin: 2% auto; } .closer { position: absolute; right: 1vh; top: 1vh; width: 10%; cursor: pointer; } /*media query for responsive design */ @media only screen and (max-width: 900px) { .title1 { top: 5%; } h1{ margin: auto; margin-bottom: 10px; padding: 2%; } .oneput{ margin: auto; margin-left: 20px; } .clickheretoenter{ margin-top: 60px; } .title1 h1 { font-size: 1em; } .title2 h2{ font-size: 1.5em; } .videos{ width: 100%; } .explainervideo{ margin: auto; width: 100%; } .vote{ margin: auto; width: 50%; } .whatamidoing{ font-size: 1.3em; line-height: 1.4; } .whatamidoing1{ font-size: 1.3em; line-height: 1.4em; } .quiz{ width: 129%; margin-left: 2px; } } @media only screen and (max-width: 800px) { .pullquote { width: 100%; margin: 0px; padding: 0px; text-align: center; display: none; /* remove this line if you want the pullquotes to display on mobile*/ } .left, .right { margin: 0px; padding: 10px; } .sidepic { width: 100%; margin: 0px; padding: 0px; } .popup { margin-bottom: 15px; } .popup .sidecap { display: none; } } @media only screen and (max-width: 640px) { h1{ font-size: 1em; margin-left: 60px; } .videobox { float: none; width: 100%; } .videos{ width: 48%; } .title1 h1 { font-size: 0.4em; } .title2 h1 { font-size: 2em; } .title2 h2 { font-size: 1em; } .title2 h3 { font-size: 1em; } .maintext { font-size: 1.1em; line-height: 1.6em; text-align: left; margin: 0px 15px; } .clickheretoenter{ font-size: 1.9em; } .audioclip{ width: 100%; } .explainervideo{ margin-right: 50%; } .vote{ width: 100%; } .modal { width: 97%; margin: 10% auto; } }