/*
YUI 3.5.0 (build 5089)
Copyright 2012 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
html{color:#000;background:#FFF}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0}table{border-collapse:collapse;border-spacing:0}fieldset,img{border:0}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal}ol,ul{list-style:none}caption,th{text-align:left}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}q:before,q:after{content:''}abbr,acronym{border:0;font-variant:normal}sup{vertical-align:text-top}sub{vertical-align:text-bottom}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit}input,textarea,select{*font-size:100%}legend{color:#000}#yui3-css-stamp.cssreset{display:none}

body {
    font-family: 'Jost', sans-serif;
	position: relative;
    background: url('./bg.jpg') 50% 50% fixed;
    background-size: cover;
	min-height: 100%;
}

a.button {
    display: inline-block;
    color: #ffffff;
    background-color: #b22234;
    font-weight: bold;
    text-decoration: none;
    padding: 0.5rem 1.5rem;
	box-sizing: border-box;
	height: 2.5rem;
	line-height: 1.5rem;
    border-radius: 10rem;
    text-transform: uppercase;
	text-align: center;
}

a.button.round {
    padding: 0.5rem 0;
	width: 2.5rem;
	font-size: 1.25rem;
}

a.button:active {
	background: #3c3b6e;
}

header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
    padding: 0.5rem;
    display: flex;
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
}

header > * {
    white-space: nowrap;
    padding: 0.5rem;
    align-self: center;
}

header > h1 {
    font-size: 2rem;
	line-height: 3rem;
    width: 100%;
}

main {
    padding: 13rem 4rem 6rem 4rem;
}

main > #card {
    background: rgba(255, 255, 255, 0.95);
    width: 40rem;
    padding: 1.5rem 2rem;
    margin: 0 auto;
    display: flex;
    min-height: 16rem;
    box-shadow: 0 3rem 5rem 0 rgba(0,0,0,0.5);
}

main > #card > * {
    width: 100%;
}

main > #card > #card_side_a {
    align-self: center;
}

main > #card > * > h2 {
    text-align: center;
    font-size: 2rem;
}

main > #card > * > h3 {
    font-size: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #cccccc;
    margin-bottom: 1rem;
}

main > #card > * > ul {
    list-style: disc inside;
}

main > #card > * > ul > li {
    margin-bottom: 0.25rem;
}

main > #card > * > .card-button {
    text-align: center;
    margin-top: 1rem;
    padding-top: 1rem;
}

main > #card > #card_side_b > .card-button {
    border-top: 1px solid #cccccc;
}

main > #card > * > #card_side_b_comments:empty {
    display: none;
}

main > #card > * > #card_side_b_comments {
    margin-top: 1rem;
    color: #808080;
}

footer {
	position: absolute;
	bottom: 0;
	width: 100%;
	padding: 0.5rem 0;
}

footer > #yt {
	padding: 0.5rem 0 0.5rem 4rem;
	width: 14rem;
	height: 2rem;
	line-height: 1rem;
	background: url('yt.png') 0.5rem 50% no-repeat;
	background-size: auto 2rem;
	display: block;
	text-decoration: none;
	color: #ffffff;
	margin: 0 auto;
	text-shadow: 1px 1px 0 rgba(0,0,0,0.5)
}

@media only screen and (max-width: 960px) {
	main {
		padding: 7rem 2rem 6rem 2rem;
	}
	
	main > #card {
		width: auto;
		min-height: 24rem;
	}
	
	header > h1 {
		font-size: 1.2rem;
		line-height: 3rem;

	}
}