body {
	font-family:  'Roboto', 'Segoe UI', 'Radio Canada', 'Open Sans', sans-serif;
	font-size: 0.9em;
	background-color: rgb(12, 12, 12);
}

.skeleton {
	--skeleton-bg-color: rgb(27, 27, 27);
	background-color: rgb(15, 15, 15);
	position: relative;
	animation: skeleton-load 1s ease-in-out infinite alternate;
}

.media-container .skeleton {
	height: 10px;
	border-radius: 3px;
	margin: 5px;
	width: 95%;
	border-radius: 5px;
	opacity: .6;
}

.skeleton-last-child {
	width: 50%;
	margin-bottom: 10px;
}

@keyframes skeleton-load {
	0% {
		background-color: rgb(15, 15, 15);
	}
	100% {
		background-color: rgb(20, 20, 20);
	}
}

.skeleton div {
	border-radius: 5px;
}

.skeleton .details {
	background: none;
}

.skeleton .media-name {
	width: 40%;
	max-height: 25px;
	min-height: 10px;
	height: 0.05%;
	margin-bottom: 10px;
	border-radius: 5px;
	background-color: var(--skeleton-bg-color);
}

.skeleton .media-type-nd-release-date {
	width: 100%;
	max-height: 15px;
	min-height: 7px;
	height: 0.03%;
	background-color: var(--skeleton-bg-color);
}

.skeleton .full-details-link {
	height: 1.7em;
	width: 30%;
	background-color: var(--skeleton-bg-color);
}

.trending-genres span {
	display: inline-block;
	max-height: 35px;
	min-height: 15px;
	height: 0.08%;
	width: 20%;
	margin-right: 10px;
	background-color: var(--skeleton-bg-color);
	border-radius: 5px;
}

.overview div {
	width: 100%;
	max-height: 15px;
	min-height: 7px;
	height: 0.03%;
	margin-bottom: 5px;
	background-color: var(--skeleton-bg-color);
}

.overview-first-element {
	margin-top: 10px;
}

.overview span {
	display: inline-block;
	width: 45%;
	max-height: 15px;
	min-height: 7px;
	height: 0.03%;
	margin-bottom: 5px;
	border-radius: 5px;
	background-color: var(--skeleton-bg-color);
}

#trending-movies-container {
	box-sizing: content-box;
	--container-width: 75vw;
	margin: 60px auto 0;
	display: flex;
	position: relative;
	width: var(--container-width);
	height: calc(var(--container-width) / 1.8);
	min-height: 250px;
	overflow: hidden;
	padding: 0;
	border-radius: 10px
}

#move-left {
	position: absolute;
	font-size: 2em;
	bottom: 0;
	left: 0;
	z-index: 3;
	padding: 0 5px;
	color: rgb(220, 220, 220);
	transition: 0.5s;
	cursor: pointer;	
}

#move-right {
	position: absolute;
	font-size: 2em;
	bottom: 0;
	right: 0;
	z-index: 3;
	padding: 0 5px;
	color: rgb(220, 220, 220);
	transition: 0.5s;
	cursor: pointer;
}

#move-left:hover {
	background: rgba(245, 93, 66, 0.8);
}

#move-right:hover {
	background: rgba(245, 93, 66, 0.8);
}

.trending-movie {
	width: 100%;
	height: 100%;
	display: block;
	position: relative;
	flex-grow: 0;
	flex-shrink: 0;
	margin: 0;
	padding: 0;
	transition: 0.5s;
	background-size: 100% 100%;
}

.trending-movie img {
	width: 100%;
	height: 100%;
}

.trending-txt {
	position: absolute;
	top: 20px;
	left: 5%;
	font-size: 1.3em;
	color: white;
	background: rgba(0, 0, 0, 0.2);
	padding: 5px;
	border-radius: 5px;
	z-index: 3;
}

.details {
	display: inline-block;
	padding: 10px;
	color: rgb(230, 230, 230);
	position: absolute;
	left: 0;
	bottom: 0;
	width: 45%;
	overflow-x: hidden;
	background: rgba(10, 10, 10, 0.3);
	border-radius: 0 10px 0 0;
}

.media-name {
	display: block;
	font-size: 2em;
	text-decoration: none;
	color: inherit;
	width: 100%;
	font-weight: 500;
	margin-top: 0;
	margin-bottom: 5px;
	text-align: left;
}

.media-type-nd-release-date {
	display: flex;
	margin-bottom: 10px;
}

.media-type-nd-release-date div {
	margin-right: 15px;
}

.trending-genres {
	display: flex;
	flex-wrap: wrap;
}

.trending-genres div {
	margin-top: 5px;
	font-weight: 400;
	color: rgb(220, 220, 220);
	background: rgba(250, 80, 40, 0.7);
	padding: 3px;
	border-radius: 5px;
	margin-right: 5px;
}

.full-details-link {
	display: inline-block;
	text-align: center;
	font-size: 1.3em;
	text-decoration: none;
	padding: 6px 5px;
	border-radius: 5px;
	margin-top: 10px;
	margin-right: 20px;
	color: rgb(220, 220, 220);
	background: rgba(250, 80, 40, 0.7);
}

.material-symbols-rounded {
	line-height: 0;
}

#ratings-nd-reviews {
	display: flex;
	justify-content: space-evenly;
}

#ratings-nd-reviews div {
	font-weight: 500;
	font-size: 1.2em;
}

#ratings-nd-reviews h2 {
	text-align: center;
	margin: 0;
	font-weight: 400;
}

#overview {
	color: rgb(230, 230, 230);
}

#bottom-status {
	display: flex;
	justify-content: space-evenly;
	width: 10%;
	min-width: 50px;
	height: 3px;
	margin: 10px auto 20px;
}

#bottom-status div {
	width: 25%;
	background-color: rgb(80, 80, 80);
	border-radius: 3px;
	transition: 0.5s;
}

#bottom-status #current {
	background-color: rgba(245, 93, 66, 0.8);
	transition: 0.5s;
}

#movies {
	width: 100%;
}

#section-names {
	width: 100%;
	padding: 0 5% 5px;
	display: flex;
	align-items: center;
	position: sticky;
	top: 40px;
	z-index: 2;
	background: rgb(18, 18, 18);
}

#section-names a {
	display: inline-block;
	text-decoration: none;
	position: relative;
	margin: 0 4% 0 0;
	color: rgb(200, 200, 200);
	transition: 0.5s;
	cursor: pointer;
	padding: 5px 0;
}

#current-section {
	font-weight: 500;
	font-size: 1.3em;
	color: rgb(200, 200, 200);
}

#current-section span {
	position: absolute;
	width: 35%;
	top: 94%;
	left: 25%;
	right: -25%;
	height: 3px;
	border-radius: 3px;
	background: rgba(245, 93, 66, 0.8);
}

.sections {
	width: 100%;
	overflow-x: hidden;
}

#top-picks h3{
	color: rgb(220, 220, 220);
	font-weight: 500;
	margin: 0;
	padding: 5px 0 0;
	background: rgb(18, 18, 18);
}

.sub-sections-wrapper {
	padding: 0 5%;
	background: rgb(18, 18, 18);
}

.sub-sections {
	width: 100%;
	display: flex;
	align-items: flex-start;
	overflow-x: auto;
	padding: 10px 0;
}

.sub-sections::-webkit-scrollbar {
	height: 10px;
}

.sub-sections::-webkit-scrollbar-track {
	background: rgb(20, 20, 20);
}

.sub-sections::-webkit-scrollbar-thumb {
	background: rgb(50, 50, 50);
	border-radius: 3px;
}

.media-container {
	background-color: rgb(24, 24, 24);
	color: rgb(220, 220, 220);
	flex-grow: 0;
	flex-shrink: 0;
	min-height: 250px;
	border-radius: 10px;
	border: 0px;
}

.sub-sections .media-container {
	--media-container-width: 14.5vw;
	margin-right: 1vw;
	width: var(--media-container-width);
	min-width: 190px;
}

.poster-img-container {
	--border-size-if-broken: 2px;
	display: block;
	border-radius: 10px 10px 0 0;
	min-height: 250px;
	background-size: 100% 100%;
	overflow: hidden;
}

.poster-img {
	display: block;
	width: calc(100% + var(--border-size-if-broken));
	height: calc(100% + var(--border-size-if-broken));
	margin: -1px;
}

.sub-sections .poster-img-container {
	min-width: 190px;
	min-height: 285px;
	width: var(--media-container-width);
	height: calc(var(--media-container-width) * 1.5);
}

#recent-shows, #upcoming {
	--film-container-width: 14.3vw;
	display: none;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	padding: 0 5%;
	background: rgb(18, 18, 18);
}

#recent-shows .media-container {
	margin-top: 20px;
	width: var(--film-container-width);
}

#upcoming .media-container {
	margin-top: 20px;
	width: var(--film-container-width);
}

#recent-shows .poster-img-container {
	width: var(--film-container-width);
	height: calc(var(--film-container-width) * 1.5);
}

#upcoming .poster-img-container {
	width: var(--film-container-width);
	height: calc(var(--film-container-width) * 1.5);
}

.ending h2 {
	text-align: center;
	padding: 5px;
}

.ending a {
	text-decoration: none;
	text-align: center;
	padding: 5px;
}

.ending {
	height: 300px;
}

#upcoming .little-details {
	height: calc(var(--film-container-width) * 0.2);
}

#recent-shows .little-details {
	height: calc(var(--film-container-width) * 0.2);
}

.sub-sections .little-details {
	height: calc(var(--media-container-width) * 0.2);
}

.sub-sections .name {
	height: calc(var(--media-container-width) * 0.2);
}

#recent-shows .name {
	height: calc(var(--film-container-width) * 0.2);
}

#upcoming .name {
	height: calc(var(--film-container-width) * 0.2);
}

#footer {
	padding: 10px 5%;
	color: rgb(220, 220, 220);
	background-color: rgb(12, 12, 12);
	font-size: 1em;
}

#footer #container {
	display: flex;
	justify-content: center;
}

#footer div {
	padding: 0 5px;
	text-align: center;
	line-height: 2;
}

.name {
	display: block;
	width: 100%;
	text-decoration: none;
	padding: 5px 5px 0;
	line-height: 1;
	font-weight: 500;
	color: inherit;
	background: rgb(27, 27, 27);
	min-height: 40px;
}

.little-details {
	font-size: 0.9em;
	color: rgb(180, 180, 180);
	background: rgb(27, 27, 27);
	border-radius: 0 0 10px 10px;
	padding: 0 5px 5px;
	min-height: 50px;
}

.little-details span {
	color: rgba(245, 93, 66, 0.8);
}

.little-details div {
	display: inline;
}

@media screen and (max-width: 1000px) {
	#trending-movies-container {
		--container-width: 90vw;
	}

	#recent-shows .media-container {
		--film-container-width: 20vw;
	}

	#upcoming .media-container {
		--film-container-width: 20vw;
	}
}

@media screen and (max-width: 800px) {
	.details {
		min-height: 230px;
		max-height: unset;
		min-width: 320px;
	}

	#recent-shows .media-container {
		--film-container-width: 27vw;
	}

	#upcoming .media-container {
		--film-container-width: 27vw;
	}
}

@media screen and (max-width: 700px) {
	#bottom-status {
		display: flex;
		justify-content: space-evenly;
		width: 100%;
		padding: 0 40%;
		margin: 0 0 20px;
	}

	#bottom-status div {
		max-width: 30px;
		height: 3px;
	}

	#trending-movies-container {
		margin: 65px 0 0;
		--container-width: 100vw;
		border-radius: 0;
		padding: 15px 0;
	}

	#move-left, #move-right {
		display: none;
	}

	.media-type-nd-release-date {
		margin-bottom: 0;
	}

	.media-name {
		font-size: 1.5em;
	}

	.details {
		position: absolute;
		height: unset;
		min-height: unset;
		max-height: unset;
		bottom: 0;
		width: 100%;
		border-radius: 0;
		background: linear-gradient(to bottom, rgba(15, 15, 15, 0.2),  rgb(15, 15, 15) 20%);
		overflow: hidden;
	}

	.overview {
		display: none;
	}

	.trending-genres {
		display: none;
	}

	.full-details-link {
		display: none;
		margin-top: -20px;
		font-size: 1.1em;
		padding: 6px 5px;
	}

	#section-names {
		padding: 0 15px;
		top: 60px;
	}

	.sub-sections-wrapper {
		padding: 0 15px;
	}

	#recent-shows, #upcoming {
		padding: 0 15px;
	}
}

@media screen and (max-width: 660px) {
	#trending-movies-container {
		max-height: 80vh;
	}
}

@media screen and (max-height: 550px) {
	#menu-options {
		height: 100%;
	}
}

@media screen and (max-width: 550px) {
	#recent-shows .media-container {
		--film-container-width: 43vw;
	}

	#upcoming .media-container {
		--film-container-width: 43vw;
	}
}

@media screen and (max-width: 500px) {
	#details {
		display: none;
	}

	#section-names div {
		margin: 0 6% 0 0;
	}

}

@media screen and (max-width: 450px) {
	.sub-sections .media-container {
		margin-right: 4%;
	}

	#footer {
		padding: 10px;
	}

	#footer #container {
		display: block;
		padding: 0px auto;
	}

	#container div {
		display: inline-block;
	}
}

@media screen and (max-width: 400px) {
	#recent-shows .media-container {
		--film-container-width: 100%;
	}

	#upcoming .media-container {
		--film-container-width: 100%;
	}

	.name {
		font-size: 1.1em;
		padding: 5px 5px 0;
		font-weight: 500;
	}

	.little-details {
		font-size: 1em;
	}

	#recent-shows .name {
		min-height: 30px;
	}

	#upcoming .little-details {
		min-height: 30px;
	}

	#recent-shows .name {
		min-height: 30px;
	}

	#upcoming .little-details {
		min-height: 30px;
	}
}
