/*
   Base styles for layout of zamphatta.com
   Updated: January 13, 2014 @ 22:47 EST

*/

html,body {
	margin: 0;
	padding: 0;
	background: white;
	color: black;
	font-family: Arial,sans-serif;
}

a:link,a:visited {
	background: inherit;
	color: #1E90FF;
	text-decoration: none;
}

a:hover {
	background: inherit;
	color: blue;
	text-decoration: overline underline;
}

h1 a:link, h1 a:visited, h1 a:hover {
	background: inherit;
	color: #696969;
	text-decoration: none;
}

header h1 a:link, header h1 a:visited, header h1 a:hover {
	background: inherit;
	color: #F5FFFA;
	text-decoration: none;
}

header {
	margin: 0 auto;
	min-width: 320px;
	max-width: 1920px;
}

/* height: 60px; */
header section {
	display: block;
	height: 60px;
	border-bottom: 1px solid black;
	background: url('http://static.zamphatta.com/img/z-header.jpg');
}


/* font-size: 400%; */
header h1 {
	font-size: 400%;
	font-family: Arial,'Droid Sans',ubuntu,sans-serif;
	background: transparent;
	color: white;
	margin: 0 0 0 4%;
	padding: 0;
	text-shadow: 3px 3px 14px black;
	font-weight: normal;
}

header nav ul {
	margin: 0 2% 0 auto;
	padding:0;
	width: 40%;
}

header nav li {
	display: inline;
	list-style-type: none;
	padding-right: 8%;
	font-size: 180%;
}

/* article style */
article {
	width: 80%;
	margin: 0 auto;
}

/* contact form styles */

form#contact {
	width: 408px;
}

form#contact ul {
	margin: 0;
	padding: 0;
}

form#contact li {
	list-style-type: none;
}

#contact label, #contact input[type='text'], #contact input[type='email'] {
	display: block;
	float: left;
	margin-bottom: 8px;
}


#contact input[type='text'], #contact input[type='email'] {
	width: 250px;
	border: 1px solid black;
}

#contact label {
	display: block;
	text-align: right;
	width: 110px;
	padding-right: 6px;
}


#contact button {
	width: 100%;
}


/* footer stuff */
footer {
	margin: 40px 0 0 0;
	padding: 12px;
	border-top: 1px solid silver;
	background: #FFF0F5;
	color: inherit;
	clear: both;
}

footer nav ul li {
	display: inline;
	list-style-type: none;
	padding-right: 20px;
	font-size: 160%;
}

footer p {
	text-align: center;
}


/* stuff mainly for responsive web design */

@media screen and (min-width: 320px) {

    header section {
        height: 30px;
    }

    header h1 {
        font-size: 200%;
    }

    header nav ul {
        margin: 0 1% 0 auto;
        width: 60%;
    }

    header nav li {
        display: inline;
        list-style-type: none;
        padding: 2%;
        font-size: 200%;
    }
    
    article {
        width: 90%;
    }

    #gpgkey {
        font-size: 50%;
    }

/* contact form styles */

    form#contact {
	width: 300px;
    }

    form#contact ul {
	margin: 0;
	padding: 0;
    }

    form#contact li {
	list-style-type: none;
    }

    #contact label, #contact input[type='text'], #contact input[type='email'] {
	display: block;
	float: none;
	margin-bottom: 2px;
    }


    #contact input[type='text'], #contact input[type='email'],#contact textarea {
	width: 280px;
	border: 1px solid black;
    }

    #contact label {
	display: block;
	text-align: justify;
	width: 110px;
	padding: 6px 0 0 0;
        margin: 6px 0 0 0;
    }

    #contact button {
	width: 280px;
    }


    footer {
        font-size: 130%;
    }
}

@media screen and (min-width: 480px) {

    header section {
        height: 40px;
    }

    header h1 {
        font-size: 280%;
    }

    header nav ul {
        margin: 0 1% 0 auto;
        width: 40%;
    }

    header nav li {
        display: inline;
        list-style-type: none;
        padding-right: 4%;
        font-size: 190%;
    }

    article {
        width: 90%;
    }

    pre#gpgkey {
        font-size: 60%;
    }

    form#contact {
	width: 400px;
    }

    form#contact ul {
	margin: 0;
	padding: 0;
    }

    form#contact li {
	list-style-type: none;
    }

    #contact label, #contact input[type='text'], #contact input[type='email'] {
	display: block;
	float: left;
	margin-bottom: 8px;
    }

    #contact input[type='text'], #contact input[type='email'], #contact textarea {
	width: 283px;
	border: 1px solid black;
    }

    #contact label {
	display: block;
	text-align: right;
	float: left;
	width: 84px;
	padding-right: 6px;
        margin: 0;
    }

    #contact button, #contact .helptext {
	display: block;
	margin: 0 0 0 90px;
	width: 283px;
    }

    footer {
	font-size: 120%
    }

}


@media screen and (min-width: 600px) {

    header section {
        height: 50px;
    }

    header h1 {
        font-size: 330%;
    }

    header nav ul {
        margin: 0 1% 0 auto;
        width: 30%;
    }

    header nav li {
        display: inline;
        list-style-type: none;
        padding-right: 4%;
        font-size: 190%;
    }

    article {
        width: 90%;
    }

    pre#gpgkey {
        font-size: small;
    }

    form#contact {
	width: 510px;
    }

    #contact label,#contact input[type='text'],#contact input[type='email'] {
	margin-bottom: 8px;
    }

    #contact input[type='text'],#contact input[type='email'],#contact textarea {
	width: 400px;
	border: 1px solid black;
    }

    #contact label {
	width: 84px;
	padding-right: 6px;
        margin: 0;
    }

    #contact button, #contact .helptext {
	display: block;
	margin: 0 0 0 90px;
	width: 400px;
    }


    footer {
        font-size: 110%;
    }
}

@media screen and (min-width: 768px) {

    header section {
        height: 60px;
    }

    header h1 {
        font-size: 400%;
    }

    header nav ul {
        margin: 0 2% 0 auto;
        width: 30%;
    }

    header nav li {
        display: inline;
        list-style-type: none;
        padding-right: 8%;
        font-size: 180%;
    }

    article {
        width: 85%;
    }

    pre#gpgkey {
        font-size: small;
    }

    article, input, textarea, button {
        font-size: 110%;
    }

    form#contact {
	width: 660px;
    }

    #contact label,#contact input[type='text'],#contact input[type='email'] {
	margin-bottom: 8px;
    }


    #contact input[type='text'],#contact input[type='email'],#contact textarea {
	width: 520px;
	border: 1px solid black;
    }

    #contact label {
	width: 110px;
	padding-right: 6px;
    }

    #contact button, #contact .helptext {
	display: block;
	margin: 0 0 0 116px;
	width: 520px;
    }

    footer {
        font-size: 110%;
    }

}

@media screen and (min-width: 900px) {

    article {
        width: 75%;
    }

    pre#gpgkey {
        font-size: 100%;
    }

}

/* skipping 1200 for now */

@media screen and (min-width: 1900px) {

    header section {
        height: 80px;
    }

    header h1 {
        font-size: 545%;
    }

    header nav ul {
        margin: 0 2% 0 auto;
        width: 30%;
    }

    header nav li {
        display: inline;
        list-style-type: none;
        padding-right: 8%;
        font-size: 220%;
    }

    article {
        width: 80%;
        font-size: 140%;
    }

    form#contact {
	width: 940px;
    }

    label,input,textarea {
	font-size: 120%;
    }
    #contact label,#contact input[type='text'],#contact input[type='email'] {
	margin-bottom: 8px;
    }

    #contact input[type='text'],#contact input[type='email'],#contact textarea {
	width: 770px;
	border: 1px solid black;
    }

    #contact label {
	width: 140px;
	padding-right: 6px;
    }

    #contact button, #contact .helptext {
	display: block;
	margin: 0 0 0 148px;
	width: 770px;
    }


    footer {
        font-size: 100%;
    }

}

