/* 
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com 
Twitter: @rich_clark
*/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
 margin:0;
 padding:0;
 border:0;
 outline:0;
 font-size:100%;
 vertical-align:baseline;
 background:transparent;
}

body {
 line-height:1;
 background-color: #ffda00;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section { 
 display:block;
}

nav ul {
 list-style:none;
}

blockquote, q {
 quotes:none;
}

blockquote:before, blockquote:after,
q:before, q:after {
 content:'';
 content:none;
}

a {
 margin:0;
 padding:0;
 font-size:100%;
 vertical-align:baseline;
 background:transparent;
}

/* change colours to suit your needs */
ins {
 background-color:#ff9;
 color:#000;
 text-decoration:none;
}

/* change colours to suit your needs */
mark {
 background-color:#ff9;
 color:#000; 
 font-style:italic;
 font-weight:bold;
}

del {
 text-decoration: line-through;
}

abbr[title], dfn[title] {
 border-bottom:1px dotted;
 cursor:help;
}

table {
 border-collapse:collapse;
 border-spacing:0;
}

/* change border colour to suit your needs */
hr {
 display:block;
 height:1px;
 border:0; 
 border-top:1px solid #cccccc;
 margin:1em 0;
 padding:0;
}

input, select {
 vertical-align:middle;
}


body {
    font-family: 'Alata', Arial, Helvetica, sans-serif;
    font-size: 1.5rem;
}

.header {
    background-color: white;
    border: 1rem solid #FFDA00;
   
}

.logo-home {
    background-image: url('/images/p-industries-logo-3-no-words.gif');
    background-repeat: no-repeat;
    background-size: cover;
    width: 10rem;
    height: 10rem;
    margin: 0 auto;
}

@media only screen and (max-width: 800px) {

    .header {
    padding: 1rem 1rem;
    border: 0.5rem solid #FFDA00;
    }

 

    .headertext {
        max-width: 100%;
        font-size: 1.5rem;
    }

    .homewrapper {
        padding:1rem;
        padding-top: 2rem;
        background-color: #ffda00;

    }
}
@media only screen and (min-width: 800px) {

    .header {
        padding: 2.5rem 6rem;
        }
    
        .logo-home {

            position: absolute;
            top: 2rem;
            right: 2rem;
        }
    
        .headertext {
            max-width: 40rem;
            font-size: 1.5rem;
        }
    
        .homewrapper {
            padding:3rem;
            padding-top: 2rem;
            background-color: #ffda00;
    
        }

}



.cover {
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
    border-radius: 1.5em;
}

h1 {
    font-size: 3rem;
    margin: 1rem 0;
    line-height: 1em;
    font-family: 'Calistoga', cursive;
    color: #d11067;
}

h1.home {
    text-align: center;
}

h2 {
    font-size: 1.5rem;
    margin: 1rem 0;
    line-height: 1em;

}

.categories {
    list-style: none;
    margin: 0;
    font-size: 1rem;
    font-weight: bold;
    color: #ea6005 ;
}

h1.title {
    margin-top: 0.5rem;
    margin-bottom: 0.3rem;
    font-size: 2rem;
}

h2.meta, h2.year {
    margin: 0rem 0;
    color: #ea6005;
}

h2.year {
    font-size: 1.2rem;
}

a:hover h1.title, a:hover h2.meta, a:hover h2.year {
    color: #1ebd43;

}


p {
    margin: 1.5rem 0;
    line-height: 1.8rem;
}

.video {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	margin-top: 25px;
	height: 0;
}
.video iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
  border: 0;
}

.projects {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-gap: 2rem;
    list-style: none;
}

.projects img {
    width: 100%;
    height: auto;
    border-radius: 1em;
}

.projects img:hover {
    transform: scale(0.99);
}

ul.categories li {
    display: inline;
}
ul.categories li a{
    background-color: #ffb300;
    padding: 0.1rem 0.5rem 0.2rem 0.5rem;
    border-radius: 10px;
    line-height: 2rem;
    white-space: nowrap;
    text-decoration: none;
}

ul.categories li a:hover {
    background-color:#fabb27;
}

ul.categories li a.active {
    color:#fff;
    background-color: #1ebd43;
}

.projects a{
    text-decoration: none;
}

a {
    color: #ea6005;
}

a:hover {
    color: #1ebd43;
}

/* Project Page */


.projectheader {
    height: 2rem;
    padding: 1.5rem;
    position: fixed;
    background-color: white;
    width: 100%;
    z-index: 2;
    }

.logo-project {
    background-image: url('/assets/images/p-industries-logo-3-no-words.gif');
    background-repeat: no-repeat;
    background-size: cover;
    position: fixed;
    top: 10px;
    right: 10px;
    width: 3.6rem;
    height: 3.6rem;
}

@media only screen and (max-width: 800px){
    .projectwrapper {
        padding: 0rem;
        max-width: 800px;
        background-color: #ffda00;
    margin: 0 auto;
    margin-top: 4rem;
    
    }
}


@media only screen and (min-width: 800px){
    .projectwrapper {
        padding: 2rem;
        max-width: 800px;
        background-color: #ffda00;
    margin: 0 auto;
    margin-top: 6rem;
    
    }
}
.projectwrapper h1.title {
    font-size: 4rem;
}

.projectwrapper h2.meta {
    font-size: 2rem;
}

.projectwrapper h2.year {
    font-size: 1.6rem;
    margin-bottom: 2rem;
}

.project-nav {
	display: flex;
	justify-content: space-between;
	margin: 1rem 0;
}

.project-nav a {
    text-decoration: none;
}

.newer {
    float: right;
    text-align: right;
}

.older {
	float: left;
}

a span.no-underline {
    text-decoration: none;
    display: inline-block;
}

.player {
    margin: 1em 0 2em 0;
}