/* HEADER */

    header {
    	background-image: url(../img/);
    	padding: 70px 0px 60px 0px;
    	border-bottom: 1px solid transparent;
    	border-top: 1px solid transparent;
    	-webkit-perspective: 62.5rem;
    	-moz-perspective: 62.5rem;
    	-ms-perspective: 62.5rem;
    	perspective: 62.5rem;
    	text-align: center;
    	margin-bottom: 0rem;
    	overflow: hidden;
    }

    header h2 {
    	font-family: Times, serif;
    	font-size: 18px;
    	text-align: center;
    	font-weight: normal;
    	color: #000;
    	margin: 0px 0px 0px 0px;
    }



    header h2 a, a:visited {
    	color: #000;
	text-decoration: none;
    }

    header h2 a:hover {
    	color: #6666FF;
	text-decoration: none;
    }


    header .rotation {
    	-webkit-animation: swivel 30s linear;
    	-moz-animation: swivel 30s linear;
    	-o-animation: swivel 30s linear;
    	-ms-animation: swivel 30s linear;
    	animation: swivel 30s linear;

    	-webkit-animation-iteration-count: infinite;
    	-moz-animation-iteration-count: infinite;
    	-o-animation-iteration-count: infinite;
    	-ms-animation-iteration-count: infinite;
    	animation-iteration-count: infinite;

    	-webkit-transform-style: preserve-3d;
    	-moz-transform-style: preserve-3d;
    	-o-transform-style: preserve-3d;
    	-ms-transform-style: preserve-3d;
    	transform-style: preserve-3d;
    	z-index: 100;
    }


 /* SCROLL TO TOP */

    body .scroll-to-top {
        position: fixed;
        bottom: 1em;
        right: 1em;
        color: #000;
        background-image: url(../img/);
        padding: 0.0em .0em;
        font-size: 1.8em;
        cursor: pointer;
        opacity: 0;
        -webkit-transform: scale(1.2);
        -moz-transform: scale (1.2);
        -ms-transform: scale (1.2);
        -o-transform: scale (1.2);
        transform: scale (1.2);
        -webkit-transition: all 500ms;
        -moz-transition: all 500ms;
        -o-transition: all 500ms;
        transition: all 500ms;
    }

    body .scroll-to-top.shown {
        opacity: 1;
        box-shadow: 10px 10px 8px rgba(50, 50, 50, 0);
    	-webkit-transform: scale(1);
    	-moz-transform: scale(1);
    	-ms-transform: scale(1);
    	-o-transform: scale(1);
    	transform: scale(1);
    }

    #topz {
	position:fixed;
	top: 0;
	margin: 0 auto;
	height: 70px;
	background-color: #ffffff;
	z-index: 100;
    }

    #topz h1 {
	font-family: 'Droid Sans Mono', sans-serif;
	color: #000;
	font-size: 12px;
	text-align: center;
    }


 /* IMAGE STYLING */

    .grey {
	padding: 14px;
	vertical-align: middle;
	max-width: 240px;
	height: auto;
	display: inline-block;
	opacity: 1.0;
	cursor:pointer;
	-webkit-transition: opacity 0.4s ease;
	-moz-transition: opacity 0.4s ease;
	-ms-transition: opacity 0.4s ease;
	-o-transition: opacity 0.4s ease;
	transition: opacity 0.4s ease;
    }

    .grey:hover {
    	opacity: .75;
	cursor:pointer;
	-webkit-transition: opacity 0.4s ease;
	-moz-transition: opacity 0.4s ease;
	-ms-transition: opacity 0.4s ease;
	-o-transition: opacity 0.4s ease;
	transition: opacity 0.4s ease;
    }

    .white {
	padding: 14px;
	vertical-align: middle;
	max-width: 280px;
	height: auto;
	display: inline-block;
	opacity: 1.0;
	cursor:pointer;
	-webkit-transition: opacity 0.4s ease;
	-moz-transition: opacity 0.4s ease;
	-ms-transition: opacity 0.4s ease;
	-o-transition: opacity 0.4s ease;
	transition: opacity 0.4s ease;
    }

    .white:hover {
    	opacity: .75;
	cursor:pointer;
	-webkit-transition: opacity 0.4s ease;
	-moz-transition: opacity 0.4s ease;
	-ms-transition: opacity 0.4s ease;
	-o-transition: opacity 0.4s ease;
	transition: opacity 0.4s ease;
    }



 /* SECTIONS */

    section {
    	margin-bottom: 0rem;
    	float: left;
    	-webkit-box-sizing: border-box;
    	-moz-box-sizing: border-box;
    	box-sizing: border-box;
    	width: 100%;
    	text-align: center;
    }

    section > div {
    	margin: 0 auto;
    	max-width: 78em;
    	padding: 0% 1% 12% 1%;
    }

    section > div > .gigo {
    	margin: 0 auto;
    	width: 100%;
    	padding: 0% 0% 0% 0%;
    }

 /* CONTACT */

    #contact {
    
    }

    #contact .endz {
    	margin: 0 auto;
    	text-align: center;
    	max-width: 54rem;
    	padding: 3% 10% 12% 10%;
    }

    #contact .endz {
    	margin: 0 auto;
    	text-align: center;
    	max-width: 54rem;
    	padding: 3% 10% 12% 10%;
    }

     .endz p {
    	font-family: Times, serif;
    	font-size: 18px;
    	text-align: center;
    	color: #000;
        line-height: .5em;
    	padding: 3px 0px 3px 0px;
    }

    #contact p.notes {
    	text-align: center;
    	color: #000;
    	padding: 6px 0px 2px 0px;
    }

    .smoka {
    	margin-left: -12px;
    }

    #contact a, a:visited {
    	color: #000;
    	text-decoration: none;
    	-webkit-transition: all 0.2s ease-in-out;
    	-moz-transition: all 0.2s ease-in-out;
    	-o-transition: all 0.2s ease-in-out;
    	-ms-transition: all 0.2s ease-in-out;
    	-webkit-transition: all 0.2s ease-in-out;
    }

    #contact a:hover {
    	color: #6666FF;
    	text-decoration: none;
    }

    #contact h2 {
    	color: #000;
    	font-family: 'Astloch', cursive;
    	font-weight: 400;
    	font-size: 2.62em;
    	margin-bottom: 10px;
    }

    #contact h2 a, a:visited {
    	color: #000;
    }

    #contact h2 a:hover {
    	color: #6666FF;
    }


 /* CSS ANIMATION */


@-moz-keyframes swivel {
  
    0% {
        -webkit-transform: rotate3d(0, 1, 0, 90deg);
        -moz-transform: rotate3d(0, 1, 0, 90deg);
        -o-transform: rotate3d(0, 1, 0, 90deg);
        -ms-transform: rotate3d(0, 1, 0, 90deg);
        transform: rotate3d(0, 1, 0, 90deg);
    }

    100% {
        -webkit-transform: rotate3d(0, 1, 0, -90deg);
        -moz-transform: rotate3d(0, 1, 0, -90deg);
        -o-transform: rotate3d(0, 1, 0, -90deg);
        -ms-transform: rotate3d(0, 1, 0, -90deg);
        transform: rotate3d(0, 1, 0, -90deg);
    }
}

@-webkit-keyframes swivel {
    0% {
        -webkit-transform: rotate3d(0, 1, 0, 40deg);
        -moz-transform: rotate3d(0, 1, 0, 40deg);
        -o-transform: rotate3d(0, 1, 0, 40deg);
        -ms-transform: rotate3d(0, 1, 0, 40deg);
        transform: rotate3d(0, 1, 0, 40deg);
    }

    100% {
        -webkit-transform: rotate3d(0, 1, 0, -40deg);
        -moz-transform: rotate3d(0, 1, 0, -40deg);
        -o-transform: rotate3d(0, 1, 0, -40deg);
        -ms-transform: rotate3d(0, 1, 0, -40deg);
        transform: rotate3d(0, 1, 0, -40deg);
    }
}

@-o-keyframes swivel {
    0% {
        -webkit-transform: rotate3d(0, 1, 0, 40deg);
        -moz-transform: rotate3d(0, 1, 0, 40deg);
        -o-transform: rotate3d(0, 1, 0, 40deg);
        -ms-transform: rotate3d(0, 1, 0, 40deg);
        transform: rotate3d(0, 1, 0, 40deg);
    }

    100% {
        -webkit-transform: rotate3d(0, 1, 0, -40deg);
        -moz-transform: rotate3d(0, 1, 0, -40deg);
        -o-transform: rotate3d(0, 1, 0, -40deg);
        -ms-transform: rotate3d(0, 1, 0, -40deg);
        transform: rotate3d(0, 1, 0, -40deg);
    }
}

@-ms-keyframes swivel {
    0% {
        -webkit-transform: rotate3d(0, 1, 0, 40deg);
        -moz-transform: rotate3d(0, 1, 0, 40deg);
        -o-transform: rotate3d(0, 1, 0, 40deg);
        -ms-transform: rotate3d(0, 1, 0, 40deg);
        transform: rotate3d(0, 1, 0, 40deg);
    }

    100% {
        -webkit-transform: rotate3d(0, 1, 0, -40deg);
        -moz-transform: rotate3d(0, 1, 0, -40deg);
        -o-transform: rotate3d(0, 1, 0, -40deg);
        -ms-transform: rotate3d(0, 1, 0, -40deg);
        transform: rotate3d(0, 1, 0, -40deg);
    }
}

@keyframes swivel {
    0% {
        -webkit-transform: rotate3d(0, 1, 0, -360deg);
        -moz-transform: rotate3d(0, 1, 0, -360deg);
        -o-transform: rotate3d(0, 1, 0, -360deg);
        -ms-transform: rotate3d(0, 1, 0, -360deg);
        transform: rotate3d(0, 0, 0, -360deg);
    }

 100% {
        -webkit-transform: rotate3d(0, 1, 0, 360deg);
        -moz-transform: rotate3d(0, 1, 0, 360deg);
        -o-transform: rotate3d(0, 1, 0, 360deg);
        -ms-transform: rotate3d(0, 1, 0, 360deg);
        transform: rotate3d(0, 1, 0, 360deg);
    }
}


 /* RESPONSIVE + MEDIA QUERIES */
 
@media only screen and (min-width: 320px) and (max-width: 667px) {

body .scroll-to-top {
        position: fixed;
        bottom: .5em;
        right: .25em;
}

    .grey {
	padding: 10px;
	vertical-align: middle;
	max-width: 130px;
}

    #contact .endz {
    	margin: 0 auto;
    	text-align: center;
    	max-width: 54rem;
    	padding: 3% 10% 18% 10%;
    }

    #contact .endz {
    	margin: 0 auto;
    	text-align: center;
    	max-width: 54rem;
    	padding: 3% 10% 28% 10%;
    }

     .endz p {
    	font-family: Times, serif;
    	font-size: 16px;
    	text-align: center;
    	color: #000;
        line-height: .5em;
    	padding: 3px 0px 3px 0px;
    }


}
