/* ##################### Fonts */
/* Roboto */ 
@font-face {
    font-family: 'Roboto';
    src: url('../inc/fonts/Roboto-Light.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
	font-display: swap;
}
/* Lilita One */ 
@font-face {
    font-family: 'Lilita One';
 	src: url('../inc/fonts/LilitaOne-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
	font-display: swap;
}
*{
	box-sizing: border-box;
	-webkit-font-smoothing: antialiased;
	font-smoothing: antialiased;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -moz-tap-highlight-color: rgba(0, 0, 0, 0);
	tap-highlight-color: rgba(0, 0, 0, 0);
	scrollbar-width: thin;
	scrollbar-color:  #000 #fff;
}
::-moz-selection {
    color: #fff;
    background: #000;
}
::selection {
    color: #fff;
    background: #000;
}
::-webkit-scrollbar {
	width: 7px;
}
::-webkit-scrollbar-track {
	background:  #000;
}
::-webkit-scrollbar-thumb {
	background: #fff;
}
::-webkit-scrollbar-thumb:hover {
	background: #ccc;
}
html, body{
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	overflow-x: hidden;
	line-height: 1.4;
}
html{
	scroll-behavior: smooth;
}
body{
	font-family: 'Roboto', sans-serif;
	font-weight: 300;
}
h1, h2, h3, h4, h5, h6{
	font-family: 'Lilita One', cursive;
	margin: 0 0 0.5em 0;
}
a{
	transition: 0.5s all;
}
button{
	outline: none;
	border: none;
	border-radius: 0;
	background-color: transparent;
	cursor: pointer;
}
input{
	outline: none;
	border: none;
}
.wrapper{
	display: flex;
	position: relative;
	flex-direction: column;
	align-items: center;
	height: 100%;
	width: 100%;
	flex-grow: 1;
	background-color: #f00;
	color: #fff;
	justify-content: center;
	overflow: hidden;
}
.icey_canvas_bg{
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	z-index: 0;
}
/* ##### Temp Front */
.icey_content_front{
	display: flex;
	flex-direction: column;
	position: relative;
	z-index: 1;
	text-align: center;
	pointer-events: none;
}
.icey_content_front h1{
	font-size: calc(1em + 1 * 5cqi + 2vw);
	margin-bottom: 0;
}
.icey_content_front h2{
	font-size: calc(1em + 0.5 * 5cqi + 2vw);
	margin-bottom: 0;
	text-wrap: balance;
}

/* ##### Player */
.pot_player_wrapper{
	position: absolute;
	z-index: 1;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}
.pot_player_wrapper .pot_player{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.pot_controls {
    position: fixed;
    top: 0;
    right: clamp(-700px, -30vw, -300px);
	width: clamp(300px, 30vw, 700px);
    background-color: #fff;
    z-index: 10;
    transition: 0.5s opacity 0.5s, 0.5s right ease-out;
    height: 100vh;
    height: 100dvh;
}
.pot_player_menu_active .pot_controls{
	right: 0;
	transition: 0.5s opacity 0.5s, 0.5s right ease-in;
}
.pot_controls .pot_controls_toggle {
    position: absolute;
    height: 40px;
    background-color: #fff;
    top: 0px;
	padding: 0;
    left: 1px;
    color: #000;
    transform: translate(-100%, -0%);
    font-weight: bold;
    width: 25%;
}
.pot_player_controls{
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	background-color: #ccc;
	height: 40px;
	align-items: center;
}
.pot_player_controls button{
	font-weight: bold;
	flex-grow: 1;
	height: 100%;
	padding: 0;
	transition: 0.5s all;
	width: 25%;
}
.pot_player_controls button:hover{
	background-color: #000;
	color: #fff;
}
.pot_search_wrapper{
	position: relative;
	display: flex;
	flex-direction: column;
	widows: 100%;
}
.pot_search {
    padding: 7px 10px;
    background-color: #fff;
}
.pot_search_clear {
    position: absolute;
    right: 15px;
    top: 8px;
    width: 15px;
    height: 15px;
    background-color: #f00;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    z-index: 1;
    transition: 0.3s opacity;
}
.pot_search_clear.icey_active{
	opacity: 1;
	pointer-events: all;
}
.pot_playlist, .pot_search_results{
	display: flex;
	flex-direction: column;
	padding: 10px;
	transition: 0.5s opacity, 0.5s height, 0.5s padding;
	height: 50vh;
	height: 50dvh;
	opacity: 1;
	background-color: #000;
	overflow-y: auto;
	overflow-x: hidden;
	gap: 10px;
}
.pot_playlist{
	padding-top: 20px;
}
.pot_playlist:empty, .pot_search_results:empty{
	opacity: 0;
	height: 0;
	padding: 0px;
	transition: 0.5s opacity, 0.5s height, 0.5s padding 0.5s;
}
.pot_playlist_video {
	width: 100%;
    background-color: #fff;
    display: flex;
    flex-direction: row;
	padding: 0;
}
.pot_playlist_video *{
	pointer-events: none;
}
.pot_playlist_video_thumb{
	display: flex;
	flex-direction: column;
	width: 30%;
	background-color: #000;
}
.pot_playlist_video_thumb img{
	object-fit: cover;
	width: 100%;
	height: 90px;
}
.pot_playlist_video_info {
    display: flex;
    flex-direction: column;
    column-gap: 10px;
    flex-grow: 1;
    align-items: flex-start;
    padding: 15px;
    text-align: left;
	width: 70%;
}
.pot_playlist_video_info h3{
	font-size: 1em;
}
.pot_playlist_video_info .description {
    font-size: 0.8em;
    text-overflow: ellipsis;
	white-space: nowrap;
    height: 1.2em;
    overflow: hidden;
	width: 100%;
}
.pot_player_top, .pot_player_bottom{
	position: absolute;
	z-index: 1;
	left: 0;
	top: 0;
	width: 100%;
	height: 60px;
	background-color: rgba(0, 0, 0, 1);
}
.pot_player_bottom{
	height: 180px;
	top: calc(100% - 180px);
}
.pot_duration_wrapper {
    position: absolute;
    left: -5px;
    top: 45px;
    height: calc(100dvh - 50px);
    background-color: #fff;
    padding: 3px;
    z-index: 3;
    cursor: pointer;
    transition: 0.5s opacity 0.5s;
    transform: translate(-100%, 0px);
}
.pot_duration_touch{
	position: absolute;
	top: 0;
	left: -15px;
	width: calc(100% + 20px);
	height: 100%;
	pointer-events: all;
	background-color: rgba(255, 255, 255, 0);
}
.pot_duration_scrubber {
    position: relative;
    width: 5px;
    height: 0px;
    background-color: coral;
	cursor: pointer;
    transition: 0.5s width ease-out;
}

/* ###################### Media Queries/Responsive */
.wrapper:fullscreen .pot_controls{
	opacity: 0;
}
.wrapper:fullscreen .pot_controls:hover{
	opacity: 1;
	transition: 0.5s opacity, 0.5s right ease-out;
}

@media (prefers-color-scheme: dark) {
}
@media (prefers-color-scheme: light) {
}
/* ###################### Desktop - Only */
@media only screen and (min-width: 1024px){
	body .icey_only_mobile{
		display: none !important;
	}
	body{
		overflow-y: scroll;
		overflow-x: hidden;
	}
}
/* ###################### Tablet */
@media only screen and (max-width: 1024px){
	body .icey_only_mobile{
		display: block;
	}
	body .icey_not_mobile{
		display: none !important;
	}
}
/* ###################### Phone */
@media only screen and (max-width: 767px){
}