/* reset */ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {margin:0; padding:0; border:0; outline:0; font-size:100%; vertical-align:baseline; background:transparent;} body {line-height: 1;}ol, ul{list-style:none;} blockquote, q{quotes:none;} blockquote:before, blockquote:after, q:before, q:after{content:'';content:none;} :focus{outline:0;} ins{text-decoration:none;} del{text-decoration:line-through;} table{border-collapse:collapse; border-spacing:0;} section, article, header, footer, nav, aside, group { display: block; } /* end reset */ /* main */ /* use this section for styles that will stay the same across all screen sizes */ html, body { height: 100%; min-height: 100%; } #content { height: 100%; min-height: 100%; } /* force the image to stretch the size of the browser window */ #indexphoto { display: flex; flex-shrink: 0; } #content { padding-top: 0; margin: 0; background-repeat: no-repeat; background-position: top left; background-attachment: scroll; /*Add the browser prefixed CSS first*/ -webkit-background-size: 100%; -moz-background-size: 100%; -o-background-size: 100%; /*Then add the CSS property:*/ background-size: 100%; overflow: hidden; } h1 { font-family: 'Montserrat', sans-serif; color: #FFF; text-transform: uppercase; background-color: transparent; position: absolute; } @media screen and (min-width: 320px) { /* mobile phone portrait view */ #content { background-image: url('../images/whale-spray-bw-1125x2436.jpg'); } h1 { font-size: 1.50em; /* 24 / 16 */ letter-spacing: .3em; bottom: 50; left: 2%; } span.subhead { font-size: .6em; letter-spacing: .5em; } } /* end 320 query -- do not delete */ @media screen and (min-width: 768px) { /* tablet portrait view */ #content { background-image: url('../images/pt-reyes-lighthouse-800x1280.jpg'); } h1 { letter-spacing: .5em; /* 8 / 16 */ font-size: 1.80em; /* 24 / 16 */ left: 10%; position: absolute; top: 580px; } span.subhead { font-size: .8em; } } /* end 767 query -- do not delete */ @media screen and (min-width: 1280px) { /* Computer Landscape View */ #content { background-image: url('../images/green-window-2048x1536.jpg'); } h1 { letter-spacing: .5em; /* 8 / 16 */ font-size: 3em; /* 56 / 16 */ left: 2%; top: 600px; } span.subhead { font-size: .7em; /* this is relative to the h1 font-size */ } } /* end 1024 query -- do not delete */