* {
	box-sizing: border-box;
}

body {
	font-family: 'Poppins', sans-serif;
	padding: 0;
	margin: 0;
	min-width: 100vw;
	background-image: linear-gradient(#060708, #1A1D21);
}

/* Utility: Fonts & colors */

h1 {
	font-size: 32px;
}

h2 {
	font-size: 32px;
}

.light {
	font-weight: 200;
}

.gray {
	color: #999999;
}

/* Utility: Buttons */

.button {
	font-size: 14px;
	text-decoration: none;
	color: #fff;
	display: inline-block;
	border: 1px solid #fff;
	border-radius: 100px;
	padding: 5px 15px;
	cursor: pointer;
	transition: 0.3s ease all;
}

.button:hover {
	background: #fff;
	background: linear-gradient(45deg,#d9e4f2,#d6ecf5 25%,#f5e5d6 51%,#f5e4d6);
	color: #000;
}

/* Sections */

#header {
	padding: 40px;
	display: flex;
	position: absolute;
	top: 0;
	width: 100%;
	align-items: center;
	z-index: 2;
}

#content {
	position: relative;
/*	min-width: 100vw;
	min-height: 100vh;
*/}

#content #wrapper {
	width: 100%;
	max-width: 1280px;
	margin: 100px auto 50px auto;
	padding: 40px;
}

#footer {
	display: flex;
	position: fixed;
	bottom: 0;
	width: 100%;
	z-index: 2;
}

/* Header */

#header .header-logo {
	flex-grow: 1;
}

#dropdown {
	position: relative;
}

#dropdown .dropdown-user {
	background: #C4C4C4 url("img/icons/user.svg");
	background-position: center;
	background-repeat: no-repeat;
	width: 50px;
	height: 50px;
	border-radius: 60px;
	display: block;
	cursor: pointer;
	margin-left: 20px;
	transition: 0.3s ease all;
}

#dropdown .dropdown-user:hover {
	background-color: #fff;
}

#dropdown .dropdown-menu {
	position: absolute;
	right: 0;
	background: #fff;
	margin-top: -3px;
	border-radius: 10px;
	padding: 10px;
	z-index: 2;
}

#dropdown .dropdown-menu a {
	padding: 10px;
	font-size: 14px;
	color: #000;
	display: block;
	text-decoration: none;
	font-weight: 500;
	transition: 0.3s ease all;
}

#dropdown .dropdown-menu a:hover {
	background: #eee;
	border-radius: 10px;
}

#dropdown .dropdown-overlay {
	position: fixed;
	z-index: 1;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
}

/* Content */

/* Tabs */

#tabs {
	display: block;
	border-bottom: 1px solid rgba(255,255,255,0.1);
}

#tabs .tab {
	color: rgba(255,255,255,0.4);
	border-bottom: 1px solid rgba(255,255,255,0);
	text-decoration: none;
	font-size: 18px;
	padding: 10px 0;
	display: inline-block;
	transition: 0.3s ease all;
	margin: 0 0 -1px 20px;
	font-weight: 300;
}

#tabs .tab:hover {
	color: rgba(255,255,255,0.7);
	border-bottom: 1px solid rgba(255,255,255,0.4);
}

#tabs .tab.active {
	color: rgba(255,255,255,1);
	border-bottom: 1px solid rgba(255,255,255,1);
}

#tabs .tabs-caps {
	font-size: 10px;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #777777;
}

/* Channels */

#channels {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	padding: 30px 0;
	margin: -15px;
}

#channels .channel {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	width: calc(33.333% - 30px);
	margin: 15px;
	height: 240px;
	padding: 20px;
	border-radius: 10px;
	text-decoration: none;
	position: relative;
	overflow: hidden;
	transition: 0.3s ease all;
}

#channels .channel.lock:after {
	content: '';
	display: block;
	width: 24px;
	height: 24px;
	background-image: url("img/icons/lock.svg");
	position: absolute;
	right: 10px;
	top: 10px;
	border-radius: 15px;
	background-size: 100%;
	opacity: 0.8;
	z-index: 3;
}

#channels .channel .channel-artwork {
	position: absolute;
	z-index: 0;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	border-radius: 10px;
	background-position: center;
	background-size: cover;
}

#channels .channel .channel-overlay {
	position: absolute;
	z-index: 1;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	transform: scale(1.01);
	background-image: linear-gradient(rgba(0,0,0,0) 30%, rgba(0,0,0,0.7) 100%);
}

#channels .channel.lock .channel-overlay {
	background-image: linear-gradient(rgba(0,0,0,0.5) 30%, rgba(0,0,0,0.9) 100%);
}

#channels .channel .channel-title {
	color: #fff;
	position: relative;
	z-index: 2;
	font-weight: 500;
	font-size: 18px;
}

#channels .channel .channel-genre {
	color: #aaa;
	margin-top: 5px;
	font-size: 12px;
	position: relative;
	z-index: 2;
	font-weight: 300;
}

#channels .channel.lock .channel-title, 
#channels .channel.lock .channel-genre {
	opacity: 0.4;
}

#channels .channel:hover {
	transform: scale(1.02);
	box-shadow: 0px 20px 40px rgba(0,0,0,0.2);
}

/* Premium */

#premium {
	position: relative;
	display: flex;
	flex-direction: row;
	background: rgba(255,255,255,0.15);
	border-radius: 10px;
	margin: 60px 100px 60px 100px;
	color: #aaa;
	padding: 30px;
	align-items: center;
}

#premium .premium-img {
	width: 50px;
	height: 50px;
	margin-right: 20px;
}

#premium .premium-text-block {
	flex-grow: 1;
}

#premium .premium-title {
	font-size: 22px;
	font-weight: 300;
	display: block;
}

#premium .premium-title strong {
	font-weight: 500;
	color: #fff;
}

#premium .premium-subtitle {
	font-weight: 300;
	font-size: 16px;
	color: #888;
}

/* Footer Nav */

#footer-navigation {
	padding: 30px;
	font-size: 14px;
	color: #fff6;
	text-align: center;
}

#footer-navigation a {
	color: #fffa;
	display: inline-block;
	margin: 0 2px;
}

/* Footer */

#footer {
	background: #060708;
	height: 80px;
	z-index: 3;
}

#footer #player {
	display: flex;
	width: 100%;
	height: 100%;
	flex-direction: row;
	align-items: center;
	padding-right: 40px;
}

#footer #player .player-artwork {
	width: 80px;
	height: 80px;
	display: block;
	position: relative;
	background-position: center;
	background-size: cover;
}

#footer #player .player-artwork:before {
	content: '';
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
	background: rgba(0,0,0,0.3);
}

#footer #player .player-artwork .player-play-button {
	position: absolute;
	width: 50px;
	height: 50px;
	background-image: url("img/icons/play.svg");
	background-size: cover;
	left: 50%;
	top: 50%;
	transform: translateX(-50%) translateY(-50%);
}

#footer #player .player-artwork .player-play-button.stop {
	background-image: url("img/icons/stop.svg");
}

#footer #player .player-title {
	flex-grow: 1;
	color: #fff;
	padding-left: 20px;
}

#footer #player .player-title .channel-title {
	color: #fff;
    position: relative;
    z-index: 2;
    font-weight: 500;
    font-size: 18px;
    display: block;
}

#footer #player .player-title .channel-genre {
	color: #aaa;
    margin-top: 5px;
    font-size: 12px;
    position: relative;
    z-index: 2;
    font-weight: 300;
}

#footer .button.lock {
	opacity: 0.5;
	padding-left: 40px;
	background-image: url("img/icons/lock.svg");
	background-position: left;
	background-repeat: no-repeat;
	background-size: 30px;
}

#footer .button.lock:hover {
	opacity: 1;
	color: #fff;
}



/* Modal */

#modal-overlay {
	display: block;
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: rgba(0,0,0,0.7);
	z-index: 3;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

#modal {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
	display: block;
	width: 	100vw;
	background: #333;
	padding: 40px 40px 20px 40px;
	z-index: 4;
	color: #fff;
	text-align: center;
	max-width: 600px;
	border-radius: 10px;
}

#modal p {
	font-size: 16px;
	font-weight: 300;
}

#modal .modal-features {
	display: inline-block;
	text-align: left;
	width: auto;
	margin: 0;
	list-style: none;
	margin-top: 10px;
}

#modal .modal-features li {
	font-size: 16px;
	color: #ccc;
	position: relative;
	margin-bottom: 5px;
	font-weight: 300;
}

#modal .modal-features li:before {
	content: "";
	width: 18px;
	height: 18px;
	background: url("img/icons/check.svg");
	background-size: cover;
	display: block;
	position: absolute;
	margin: 2px 0 0 -30px;
}

#modal .modal-disclaimer {
	font-weight: 300;
	font-size: 12px;
	color: #999;
	text-align: center;
}

#modal .modal-disclaimer a {
	color: #999;
}

/* Pricing Plans */

.pricing-plans {
	display: flex;
	flex-direction: row;
	margin: 20px -20px;
}

.pricing-plans .pricing-plan {
	border-radius: 10px;
	background: #555;
	padding: 20px;
	flex-grow: 1;
	text-align: center;
	transition: 0.3s ease all;
	width: calc(50% - 20px);
	margin: 10px;
}

.pricing-plans .pricing-plan:hover {
	background: #666;
	box-shadow: 0px 30px 60px rgba(0,0,0,0.4);
}

.pricing-plans .pricing-plan:nth-child(1) {
	margin-right: 10px;
}

.pricing-plans .pricing-plan:nth-child(2) {
	margin-left: 10px;
}

.pricing-plans .pricing-plan .pricing-plan-period {
	color: #bbb;
	font-weight: 300;
	font-size: 14px;
}

.pricing-plans .pricing-plan .pricing-plan-price {
	color: #fff;
	font-size: 32px;
	margin-bottom: 20px;
}

.pricing-plans .pricing-plan .pricing-plan-price .percent {
	background: #349b4c;
	font-size: 12px;
	color: #fff;
	padding: 2px 5px;
	border-radius: 3px;
	top: -13px;
	position: relative;
}

.pricing-plans .pricing-plan .button {
	display: inline-block !important;
}

/* Loader */

#loader {
	position: fixed;
	z-index: 1000000;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: #000 url(img/icons/spinner.svg);
	background-repeat: no-repeat;
	background-size: 60px;
	background-position: center;
}

/* Firebase UI */

#firebaseui-auth-container {
	display: none;
	position: absolute;
	z-index: 10;
	left: 50%;
	transform: translateX(-50%);
}

@media only screen and (max-width: 600px) {

	#header {
		padding: 20px;
	}

	#header .premium {
		display: none;
	}

	#content {
		width: 100%;
	}

	#content #wrapper {
		padding: 20px;
		margin-top: 80px;
	}

	#content #wrapper h1 {
		font-size: 20px;
	}

	#tabs .tabs-caps {
		display: none;
	}

	#tabs .tab {
		margin: 0 20px 0 0;
		font-size: 14px;
	}

	#channels {
		margin: -10px;
		padding: 20px 0;
	}

	#channels .channel {
		width: calc(50% - 20px);
		margin: 10px;
		height: 300px;
	}

	#premium {
		margin: 40px 0;
		text-align: center;
		flex-direction: column;
	}

	#premium .premium-img {
		margin: 0 0 20px 0;
	}

	#premium .premium-text-block {
		margin-bottom: 20px;
	}

	#premium .premium-title {
		font-size: 18px;
	}

	#footer .button {
		display: none;
	}

}