/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */
html {
	color: #222;
	font-size: 1em;
	line-height: 1.4;
  background: url(../bilder/space_background_purple.jpg) no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

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

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

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

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

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

textarea {
	resize: vertical;
}

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

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
.app {
	background-color: #79b4b6;
}

.title {
	position: fixed;
	top: 2%;
	left: 3vw;
	z-index: 2;
	font-size: 4vw;
	margin: 0;
	color: white;
}

.email-banner {
	position: absolute;
	right: 2%;
	top: 1%;
	background-color: white;
	padding: 0.25vw 2vw;
	transform: rotate(7deg);
	z-index: 2;
	box-shadow: 3px 5px 8px rgba(0, 0, 0, 0.2);
	-webkit-box-shadow: 3px 5px 8px rgba(0, 0, 0, 0.4);
	-moz-box-shadow: 3px 5px 8px rgba(0, 0, 0, 0.4);
}

.email-banner h2 {
	font-size: 2vw;
	font-weight: normal;
	line-height: 1em;
	margin: 1vw 0;
}

.email-banner p {
	font-size: 3vw;
	margin: 1vw 0;
}

.image-container {
	z-index: 1;
	position: fixed;
	top: 20%;
	left: 0;
	right: 0;
	bottom: 0;
	overflow: visible;
/* 	background-image: url("/bilder/kaichou_wa_maid_sama_01.png"); */
/* 	background-repeat: no-repeat; */
/* 	background-position: 3vw bottom; */
}

.image {
	position: absolute;
	/* move the element half way across the screen */
    left: 50%;
    /* allow the width to be calculated dynamically */
    width: auto;
    /* then move the element back again using a transform */
    transform: translateX(-50%);
}

.image-border {
	display: inline-block;
	border: 1.5vw solid white;
	background-color: white;
	box-shadow: 3px 5px 8px rgba(0, 0, 0, 0.2);
	-webkit-box-shadow: 3px 5px 8px rgba(0, 0, 0, 0.4);
	-moz-box-shadow: 3px 5px 8px rgba(0, 0, 0, 0.4);
}

.image img { max-width: 100%;
max-height: 35vw; }

/* ==========================================================================
   Media Queries
   ========================================================================== */
@media only screen and (min-width: 35em) {
}

@media print , ( -o-min-device-pixel-ratio : 5/4) , (
		-webkit-min-device-pixel-ratio : 1.25) , ( min-resolution : 120dpi) {
}

/* ==========================================================================
   Helper classes
   ========================================================================== */
.hidden {
	display: none !important;
	visibility: hidden;
}

.visuallyhidden {
	border: 0;
	clip: rect(0, 0, 0, 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}

.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus {
	clip: auto;
	height: auto;
	margin: 0;
	overflow: visible;
	position: static;
	width: auto;
}

.invisible {
	visibility: hidden;
}

.clearfix:before, .clearfix:after {
	content: " ";
	display: table;
}

.clearfix:after {
	clear: both;
}

.clearfix {
	*zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */
@media print {
	*, *:before, *:after {
		background: transparent !important;
		color: #000 !important;
		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) ")";
	}
	a[href^="#"]:after, a[href^="javascript:"]:after {
		content: "";
	}
	pre, blockquote {
		border: 1px solid #999;
		page-break-inside: avoid;
	}
	thead {
		display: table-header-group;
	}
	tr, img {
		page-break-inside: avoid;
	}
	img {
		max-width: 100% !important;
	}
	p, h2, h3 {
		orphans: 3;
		widows: 3;
	}
	h2, h3 {
		page-break-after: avoid;
	}
}
