/* 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 { margin: 0; padding: 0; font-family: 'Georgia', sans-serif; font-size: 20px; } .first-letter { color: #005BBB; font-size: 4.5rem; line-height: 0.8; font-weight: bold; float: left; text-transform: uppercase; box-sizing: border-box; margin-right: 5px; } .rest { word-break: break-word; font-size: 20px; line-height: 1.5; font-weight: 400; } .statichead { background-position: center; display: flex; flex-direction: column; align-items: center; justify-content: center; position: sticky; top: 0; /* z-index: -1;*/ } .headline { padding-top: 10px; margin: auto; background-color: #FFD500; padding-bottom: 275px; } #showcase { background-image:url('../img/header.jpeg'); height: 100vh; width: 80%; margin: auto; background-size: cover; background-position: center; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0; opacity: 0.95; position: relative; top: -250px; z-index: 1; } h1 { font-family: Lora; font-size: 2.7em; max-width: 800px; margin: auto; color: black; padding-top: 0.5em; padding-bottom: 0.4em; text-align: center; display: block; line-height: 1; } header { width: 100%; position: sticky; top: 0; z-index: -1; background-color: black; } h2 { font-family: 'Helvetica', sans-serif; font-size: 90%; max-width: 600px; margin: auto; text-align: center; padding-bottom: 0.5em; display: block; } video { width: 100%; overflow: hidden; } audio { width: 100%; height: 50px; margin: auto; } /*background color audio player*/ audio::-webkit-media-controls-panel { background-color: #FFD500; } /*play button*/ audio::-webkit-media-controls-play-button { background-color: rgba(177,212,224, .7); border-radius: 50%; } /*mute button*/ audio::-webkit-media-controls-mute-button { background-color: #B1D4E0; border-radius: 50%; } /*horizontal break*/ hr { border: 0.6px solid #005BBB; } /* mobile optimization */ .byline { width: 330px; margin: auto; overflow: hidden; } .bylinetext { width: 340px; font-size: 0.7em; color: #001832; /*margin: auto;*/ text-align: center; font-family: Helvetica; font-weight: bolder; line-height: normal; padding-bottom: 0.8em; } .bylinephoto { float: left; width: 48px; border-radius: 50%; border: 0.5px solid #005BBB; margin: auto; display: block; } .bylinephoto img { width: 100%; border-radius: 50%; } .photocred { font-size: 0.5em; color: #acacac; font-family: Helvetica; letter-spacing: .09em; line-height: normal; } .audiointro { color: #acacac; font-family: Helvetica; font-weight: bolder; letter-spacing: .07em; padding-bottom: 1.2em; padding-top: 0.8em; max-width: 500px; text-align: center; margin: auto; } .audiophoto img { width: 105px; height: 105px; border-radius: 50%; border: 0.5px solid #005BBB; margin: auto; display: block; height: auto; } .radio { background-color: #FAF9F6; } .content { width: 100%; background-color: white; overflow-x: hidden; position: relative; top: -250px; } .maintext { max-width: 780px; margin: auto; color: #2b2b2b; font-size: 20px; font-weight: 300; text-align: justify; line-height: 1.5; padding: 0%; } .tagline { color: black; font-size: 130%; line-height: 1.020; font-weight: bold; float: left; text-transform: uppercase; box-sizing: border-box; margin-right: 5px; margin-bottom: 3px; } .button { background-color: red; border: 2px solid black; color: white; padding: 16px 32px; text-align: center; text-decoration: none; display: inline-block; font-size: 16px; margin: 4px 2px; transition-duration: 0.4s; cursor: pointer; font-family: Dosis; } .button1:hover { background-color: white; color: red; border: 2px solid red; } .youtube { max-width: 100%; margin: auto; } .timeline { max-width: 100%; margin: auto; position: relative; padding-top: 20px; } .videowrapper { position: sticky; padding-top: 15px; } /* HYPERLINKS */ /* unvisited link */ a:link { color: #005BBB; text-decoration: none; font-family: Georgia; font-weight: bold; letter-spacing: -0.03em; } /* visited link */ a:visited { color: #005BBB; text-decoration: none; } /* mouse over link */ a:hover { color: #004894; text-decoration: underline; background-color: #FFD500; } /* selected link */ a:active { color: #005BBB; } /*footer*/ section.footer { background-color: #005BBB; color: white; font-family: Helvetica; padding: 30px; min-height: 20px; text-align: center; /*padding-bottom: 250px;*/ } section.footer p { max-width: 490px; margin: auto; padding: 2px 2px; font-size: 0.8em; } /*audio*/ section.audio { background-color: black; color: white; padding: 5px; width: 100%; min-height: 30px; text-align: center; font-size: 1em; } .audiotext { max-width: 700px; margin: auto; color: white; font-size: 1.1em; line-height: 1.5em; text-align: justify; /* font-size: 1.4em; font-weight: 300; line-height: 1.8em*/; } @media only screen and (max-width: 1300px) { #showcase h1 { color: red; line-height: 60px; padding-top: 5px; font-size: 50px; } #showcase h2 { display: none; } #showcase p { margin-top: -20px; font-size: 15px; justify-content: center; } .title1 { top: 10%; } .title1 h1 { font-size: 5em; } .title1 h2 { font-size: 2em; } } /* Responsive layout - when the screen is less than 600px wide */ @media only screen and (max-width: 500px) { /* #showcase h1 { color: red; line-height: 60px; padding-top: 5px; font-size: 50px; } #showcase h2 { display: none; } #showcase p{ margin-top: -20px; font-size: 15px; justify-content: center; }*/ .column { width: 100%; } .title1 { top: 0%; } .title1 h1 { font-size: 3.5em; } .title1 h2 { font-size: 1.2em; padding: 4%; } .maintext { font-size: 1em; width: 80%; }