
/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

*, *:before, *:after {
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */
	margin: 0;
	padding: 0;
}

html {
	font-size: 1.25rem;
}

html, body {
	width: 100%;
	height: 100%;
}

body {
	position: relative;
	font-size: 0.9rem;
	line-height: 1.1;
	font-family: Arial, "Lucida Grande", sans-serif; 
	font-weight: normal;
	font-style: normal;
	text-decoration: none;
    color: #FFF;
    background-color: #9EACBB;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-moz-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	-webkit-animation: fadeIn 1s;
    -moz-animation: fadeIn 1s;
    -o-animation: fadeIn 1s;
    animation: fadeIn 1s;
	text-rendering: optimizeLegibility;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}

a, a:active, a:focus {
	text-decoration: none;
    color: #FFF;
    outline: none;
}

.noTouch a:hover {
	text-decoration: none;
}

button {
	font-family: Arial, "Lucida Grande", sans-serif;
	-webkit-font-smoothing: antialiased;
	margin: 0;
	padding: 0;
	border: none;
	outline: none;
	background-color: white;
}

h1 {
	position: absolute;
	visibility: hidden;
	font-size: 3rem;
}

h1, h2 {
	font-weight: normal;
	margin: 0;
}

h2 {
	font-size: 1.2rem;
}

main {
	display: block;
	padding: 0 2rem;
}

ol, ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

svg {
	width: 100%;
	height: 100%;
}



.footer {
	padding: 1.5rem 2rem;
	animation: fadeIn 3s;
	-o-animation: fadeIn 3s;
	-moz-animation: fadeIn 3s;
	-webkit-animation: fadeIn 3s;
}

.header {
	height: 7rem;
	padding: 1rem 0;
	-webkit-transition: padding 0.4s;
	-moz-transition: padding 0.4s;
	-o-transition: padding 0.4s;
	transition: padding 0.4s;
	animation: slideIn 1.5s;
	-o-animation: slideIn 1.5s;
	-moz-animation: slideIn 1.5s;
	-webkit-animation: slideIn 1.5s;
}

.icons {
	margin-left: 0.45rem;
}

.icons li {
	float: left;
}

.image {
	width: calc(100vw - 4rem);
	max-width: calc(175vh - 27rem);
	height: 0;
	max-height: calc(100vh - 16rem);
	margin: 0 auto;
	background-position: center bottom;
	background-repeat: no-repeat;
	background-size: cover;
	-webkit-transition: all 0.4s;
	-moz-transition: all 0.4s;
	-o-transition: all 0.4s;
	transition: all 0.4s;
}

.links {
	width: 10rem;
	margin: 0 auto;
}

.links:after, .icons:after {
	content: "";
	display: block;
	clear: both;
}

.links a {
	display: block;
	width: 100%;
	height: 100%;
}

.links li {
	text-align: center;
	margin-right: 0.75rem;
	margin-left: 0.75rem;
}

.linkIcon {
	width: 1.5rem;
	height: 1.5rem;
	margin: 1rem 0;
}

.logo {
	width: 12rem;
	height: 5rem;
	margin: 0 auto;
	animation: fadeIn 2s;
	-o-animation: fadeIn 2s;
	-moz-animation: fadeIn 2s;
	-webkit-animation: fadeIn 2s;
}

@keyframes fadeIn {
	0% {opacity: 0;}
	35% {opacity: 0;}
	100% {opacity: 1;}
}

@-o-keyframes fadeIn {
	0% {opacity: 0;}
	35% {opacity: 0;}
	100% {opacity: 1;}
}

@-moz-keyframes fadeIn {
	0% {opacity: 0;}
	35% {opacity: 0;}
	100% {opacity: 1;}
}

@-webkit-keyframes fadeIn {
	0% {opacity: 0;}
	35% {opacity: 0;}
	100% {opacity: 1;}
}

@keyframes slideIn {
	0% {margin-left: 16%;}
	30% {margin-left: 16%;}
	100% {margin-left: 0%;}
}

@-o-keyframes slideIn {
	0% {margin-left: 16%;}
	30% {margin-left: 16%;}
	100% {margin-left: 0%;}
}

@-moz-keyframes slideIn {
	0% {margin-left: 16%;}
	30% {margin-left: 16%;}
	100% {margin-left: 0%;}
}

@-webkit-keyframes slideIn {
	0% {margin-left: 16%;}
	30% {margin-left: 16%;}
	100% {margin-left: 0%;}
}



/* ========================================================================== */

@media (min-height: 400px) {

.image {
	height: calc(66.666666667vw - 2.666666667rem);
}

}

@media (min-height: 600px) {

.header {
	height: 9.5rem;
	padding: 3rem 0 1.5rem;
}

.image {
	width: calc(100vw - 4rem);
	max-width: calc(175vh - 22.5rem);
	height: calc(66.666666667vw - 2.666666667rem);
	max-height: calc(100vh - 15rem);
	margin: 0 auto;
	background-position: center bottom;
	background-repeat: no-repeat;
	background-size: cover;
}

}

@media (min-height: 600px) and (max-width: 639px) {

.image {
	max-width: calc(175vh - 27rem);
	max-height: calc(100vh - 18rem);
}

}

@media (min-width: 640px) {

.footer {
	max-height: 5rem;
}

.icons {
	margin-left: 0;
}

.image {
	max-width: calc(175vh - 22rem);
	max-height: calc(100vh - 13rem);
}

.links {
	width: 26.3rem;
}

.links li, .icons {
	float: left;
}

.linkIcon {
	margin-top: -0.25rem;
}

}

@media (min-height: 600px) and (min-width: 640px) {
	
.image {
	max-width: calc(175vh - 22.5rem);
	max-height: calc(100vh - 15rem);
}
	
}

@media (min-width: 1000px) {

main {
	padding: 0 3rem;
}

.image {
	width: calc(100vw - 6rem);
	height: calc(66.666666667vw - 4rem);
}

}

@media (max-height: 400px) and (min-width: 1000px) {

.image {
	height: 0;
}

}

@media (min-width: 1240px) {

.header {
	height: 12.25rem;
	padding: 4rem 0 2rem;
}

.image {
	max-width: calc(175vh - 27.375rem);
	max-height: calc(100vh - 18.25rem);
}

.logo {
	width: 15rem;
	height: 6.25rem;
}

}

@media (max-height: 460px) and (min-width: 1240px) {

.image {
	height: 0;
}

}

@media (min-height: 600px) and (min-width: 1240px) {
	
.image {
	max-width: calc(175vh - 24.875rem);
	max-height: calc(100vh - 18.25rem);
}
	
}

@media (min-width: 1600px) {

main {
	padding: 0 4rem;
}

.header {
	height: 14.75rem;
	padding: 5rem 0 2rem;
}

.image {
	width: calc(100vw - 8rem);
	max-width: calc(175vh - 29.625rem);
	height: calc(66.666666667vw - 5.333333334rem);
	max-height: calc(100vh - 19.75rem);
}

.logo {
	width: 18rem;
	height: 7.5rem;
}

}

@media (max-height: 599px) and (min-width: 1600px) {

.image {
	height: 0;
}

}

@media (min-height: 600px) and (min-width: 1600px) {
	
.image {
	max-width: calc(175vh - 30.625rem);
	max-height: calc(100vh - 21.25rem);
}
	
}


@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
