@import url('https://fonts.googleapis.com/css?family=Fredoka+One|Open+Sans:300,400,700,800|Patua+One');

html {
    -webkit-text-size-adjust: 100%; /* Prevent font scaling in landscape while allowing user zoom */
}

body {
	margin: 70px 10px 20px 10px;
	background-color: rgb(40,72,116);
	background-image: url('/assets/stars.png');
	background-position: center top;
	background-attachment: fixed;
	cursor: default;
	font-family: 'Open Sans', sans-serif;
}

div {
	box-sizing: border-box;
}

.logo::before {
	content: '';
	display: block;
	padding-top: 35%;
}

.logo {
	display: block;
	max-width: 250px;
	background-image: url('/assets/fth_label.png');
	background-size: 100%;
	background-position: center center;
	background-repeat: no-repeat;
	left: 0;
	right: 0;
	margin-left: auto;
	margin-right: auto;
}

.fth_logo:before {
	content: '';
	display: block;
	padding-top: 100%;
}

.fth_logo {
	display: block;
	left: 0;
	right: 0;
	margin-left: auto;
	margin-right: auto;
	max-width: 400px;
	background-image: url('/assets/fth_web.png');
	background-position: center center;
	background-repeat: no-repeat;
	background-size: 100%;
	margin-bottom: 20px;
	margin-top: 40px;
}

.nav {
	position: fixed;
	display: flex;
	flex-direction: column;
	left: 10px;
	top: 0;
	right: 10px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 10px;
	max-width: 735px;
	text-align: center;
	z-index: 100;
}

.nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	width: 100%;
}

.nav ul li {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
}

.nav ul li:first-child a {
	border-radius: 0px 0px 0px 5px;
}
.nav ul li:last-child a {
	border-radius: 0px 0px 5px 0px;
}


.nav ul li a {
	font-size: 16px;
	display: flex;
	flex-direction: column;
	float: 1 1 auto;
	justify-content: center;
	color: rgb(200,200,200);
	text-decoration: none;
	font-weight: lighter;
	background: rgba(20,20,20,.9);
	transition: color 300ms linear, background 300ms linear;
	padding: 12px 4px 12px 4px;
}
.nav ul li a:hover {
	color: rgb(255,255,255);
	background: rgba(220,0,6,.9);
}

.main_canvas {
	display: block;
	left: 0;
	right: 0;
	margin-left: auto;
	margin-right: auto;
	max-width: 735px;
}

.relep	{
	display: block;
	max-width: 715px;
	left: 0;
	right: 0;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 20px;
	text-decoration: none;
	color: rgb(230,230,230);
	text-align: center;
	font-size: 2vmin;
	font-weight: bold;
	transition: transform 200ms linear;
	padding: 5px;
	font-style: italic;
	border: 1px dashed rgb(230,230,230);
	border-radius: 2px;
}
.relep:hover, .relep:active	{
	color: rgb(255,255,255);
	border-color: rgb(255,255,255);
	transform: scale(1.1);
}

.main_canvas .episode {
	display: block;
	vertical-align: top;
	background: rgb(255,255,255);
	margin-bottom: 10px;
	border-radius: 5px;
}

.main_canvas .episode .thumbnail:before {
	content: '';
	display: block;
	padding-top: 56%;
}

.main_canvas .episode .thumbnail {
	position: relative;
	display: block;
	left: 0;
	right: 0;
	margin-left: auto;
	margin-right: auto;
	background: rgb(10,10,10);
	margin-bottom: 5px;
}

.main_canvas .episode .actions {
	display: block;
	text-align: center;
}

.main_canvas .episode .actions a {
	display: inline-block;
	padding: 10px;
	font-size: 14px;
	font-weight: bold;
	background: rgba(40,72,116,1);
	color: rgb(255,255,255);
	text-decoration: none;
	min-width: 85px;
	margin: 5px;
	border-radius: 4px;
	transition: transform 200ms linear;
}
.main_canvas .episode .actions a:hover {
	transform: scale(1.1);
}

.main_canvas .episode .actions a.watch {
	background: rgba(220,0,6,1);
}

.main_canvas .episode .actions a.listen {
	background: rgba(255,205,1,1);
	color: rgb(0,0,0);
}

.main_canvas .episode .title {
	display: block;
	font-size: 19px;
	font-family: 'Fredoka One';
	vertical-align: top;
	color: rgb(220,0,6);
	padding: 15px;
}

.main_canvas .episode .description {
	display: block;
	font-size: 14px;
	font-weight: normal;
	text-align: justify;
	padding: 10px 15px 15px 15px;
}

.title {
	display: block;
	left: 0;
	right: 0;
	margin-left: auto;
	margin-right: auto;
	color: rgb(240,240,240);
	font-size: 3vmax;
	font-weight: lighter;
	text-align: center;
	margin-bottom: 20px;
}

.products {
	display: block;
	max-width: 735px;
	left: 0;
	right: 0;
	margin-left: auto;
	margin-right: auto;
}

.products ul {
	display: block;
	margin: 0;
	padding: 0;
}

.products ul li {
	display: block;
	width: 100%;
	list-style: none;
	margin: 0 0 40px 0;
	padding: 0;
	text-align: right;
}

.products ul li .note		{
	display: block;
	font-size: 1.5vmin;
}

.products ul li a {
	position: relative;	
	text-decoration: none;
	color: auto;
}

.products ul li a .product_type {
	display: block;
	font-size: 3.1vmin;
	font-family: 'Fredoka One';
	background: rgb(250,250,250);
	border-radius: 5px 5px 0px 0px;
	padding: 15px;
	color: rgb(220,0,6);
	text-align: center;
}

.products ul li a .buy {
	position: absolute;
	right: 15px;
	bottom: 15px;
	display: block;
	margin-top: 5px;
	width: 150px;
	color: rgb(220,0,6);
	background: rgba(255,255,255,.8);
	border: 1px dashed rgb(220,0,6);
	border-radius: 5px;
	padding: 4px 10px 4px 10px;
	font-size: 15px;
	text-align: center;
	font-style: italic;
	transition: transform 400ms linear;
	transform-origin: bottom right;
}

.products ul li a:hover .buy {
	transform: scale(1.1);
}

.products ul li a .img_container:before	{
	content: '';
	display: block;
	padding-top: 100%;
}
.products ul li a .img_container	{
	display: block;
	width: 100%;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: 100%;
	border-radius: 0px 0px 5px 5px;
	transition: background 400ms linear;
}
.products ul li a:hover .img_container	{
	background-size: 110%;
}
.products ul li a img {
	width: 100%;
	height: auto;
	border-radius: 0px 0px 5px 5px;
}

.footer {
	display: block;
	left: 0;
	right: 0;
	margin-left: auto;
	margin-right: auto;
	max-width: 735px;
	color: rgb(200,200,200);
	text-align: center;
	padding: 10px;
	font-size: 10px;
}

.footer .links {
	display: block;
	margin-bottom: 10px;
}

.footer .links a {
	margin-left: 5px;
	margin-right: 5px;
	font-size: 15px;
}

.footer a {
	color: rgb(255,255,255);
	text-decoration: none;
}
.footer a:hover {
	text-decoration: underline;
}

@media all and (min-width: 600px) {
	
}