@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,400;0,600;1,600&display=swap');

body {
	display: block;
	margin: auto !important;
	position: relative;
	font-family: 'Source Sans Pro', monospace;
	font-size: 15px;
	background-color: #000000 !important;
	text-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
	-webkit-font-smoothing: antialiased;
	background-size: cover !important;
	background-attachment: fixed;
	display: grid;
	justify-content: center;
	transition: background 1s;
}

footer {
	height: 50px;
	width: 55vw;
	margin: auto;
	padding-top: 10px;
}

footer:before {
	box-shadow: inset 0 0 2000px rgba(255, 255, 255, .25);
	filter: blur(10px);
}

#footwrapper {
	border: 1px solid #fff;
	border-radius: 15px;
	box-shadow: 0 0 1rem 0 rgba(0, 0, 0, 0.2);
	background-color: rgba(255, 255, 255, .75);
	backdrop-filter: blur(5px);
	padding: 5px 2px;
	color: black;
	display:flex;
	justify-content: center;
}

h1 {
	margin-top: 2% !important;
	width: 70%;
	margin: auto;
	font-weight: 300;
	font-size: 35px;
	text-align: center;
	background-color: white;
	border-radius: 15px;
	display: inline-block;
	font-family: 'Source Sans Pro', monospace;
}

#pagetitle {
	letter-spacing: 14px;
}

input[type=button] {
	margin: 0 10px 0 0;
	padding: 6px 10px;
	background: #e0e0e0;
	border: 0 none;
	width: auto;
	display: inline-block;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	-webkit-font-smoothing: antialiased;
}

.buttons {
	margin: 0 0 25px 0;
}

input[type=button]:hover {
	background: #dadada;
}

.wrapper {
	border: 1px solid #fff;
	border-radius: 15px;
	box-shadow: 0 0 1rem 0 rgba(73, 73, 73, 0.2);
	position: relative;
	background-color: rgba(255, 255, 255, 0.6);
	backdrop-filter: blur(20px);
	color: rgb(0, 0, 0);
	border-bottom: 1px solid #e8e8e8;
	padding: 30px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	width: 60vw;
	margin: auto;
}

.wrapper:before {
	box-shadow: inset 0 0 2000px rgba(255, 255, 255, .5);
	filter: blur(20px);
	content: '';
	height: 100%;
}

#tmdb-logo {
	height: 13px;
	padding-left: 5px;
	display: inline-flex;
}

#display-poster {
	float: left;
	padding-right: 15px;
	border-radius: 10px;
	border: 1px solid rgb(163, 163, 163);
	padding: 4px;
	margin-right: 10px;
}

#title {
	font-size: large;
	font-weight: bold;		
}

#moviename {
	float: left;
	padding-right: 30px;
}

#textselection {
	overflow: hidden;
}

#pagesection {
	border-radius: 10px;
	border: 1px solid #000;
	padding: 15px;
}

#selectedmoviecast {
	float: left;
}

#movienameandreleasedate {
	height: 50px;
}

.movieenddescriptortext, #movieendtimeoutput {
	font-size: larger;
}

.img-fluid {
	float: left;
	padding-right: 3%;
	max-width: 35% !important;
}

.col-lg-4, .item {
	width: 100% !important;
}

#selecteddetails {
	overflow: auto;
}

.ts-dropdown-content {
	max-height: 500px !important;
}

.ts-wrapper {
	border-radius: 10px !important;
}

.ts-control {
	border-radius: inherit !important;
}

#myBtn {
	vertical-align: middle;
	margin-top: auto !important;
	margin-bottom: auto !important;
}

#displaypostercontainer {
	height: 300px;
	width: 225px;
	max-height: 300px;
	max-width: 225px;
	margin-right: 5px;
	background-size: contain !important;
	background-repeat: no-repeat !important;
	transition: background 1s;
	float: left;
	background-image: url('../assets/images/noselection250w.png');
}

#calbutton {
	cursor: pointer;
}

/* The Modal (background) */
.modal {
	display: none;
	/* Hidden by default */
	position: fixed;
	/* Stay in place */
	z-index: 1;
	/* Sit on top */
	padding-top: 100px;
	/* Location of the box */
	left: 0;
	top: 0;
	width: 100%;
	/* Full width */
	height: 100%;
	/* Full height */
	overflow: auto;
	/* Enable scroll if needed */
	background-color: rgb(0, 0, 0);
	/* Fallback color */
	background-color: rgba(0, 0, 0, 0.4);
	/* Black w/ opacity */
}

/* Modal Content */
.modal-content {
	background-color: #fefefe;
	margin: auto;
	padding: 20px;
	border: 1px solid #888;
	width: 40vw;
	text-align: center;
}

/* The Close Button */
.close {
	color: #aaaaaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
}

.close:hover,
.close:focus {
	color: #000;
	text-decoration: none;
	cursor: pointer;
}

#myBtn {
	border: #000 !important;
	border-radius: 2px;
	background-color: rgb(170, 170, 0) !important;
	position: fixed;
	bottom: 7px;
	left: 7px;
	border-radius: 50%;
	transition: 0.3s;
	opacity: .5;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.4), 0 6px 20px 0 rgba(0, 0, 0, 0.8);
	z-index: 100;
	height: 58px;
	width: 58px;
	display: flex;
	justify-content: center;
	vertical-align: middle;
}

#myBtn:hover {
	opacity: 1;
}

#popupicon {
	vertical-align: middle;
	margin-top: auto !important;
	margin-bottom: auto !important;
}

@media only screen and (min-width : 320px) and (max-width : 1079px) {
	h1 {
		margin: auto;
		width: 90%;
		display: block;
		font-size: 25px;
		text-align: center;
	}

	body {
		width: 100%;
		display: block;
		margin-top: 10px;
		margin-bottom: 10px;
		min-width: 100vw !important;
	}

	.wrapper, footer {
		margin: 2px !important;
		min-width: 99vw !important;
	}

	.wrapper>* {
		padding-left: 10px;
		padding-right: 10px;
	}

	.ts-dropdown-content {
		max-height: 375px !important;
	}

	#selectandcast {
		flex: auto;
	}
	
	#mobilebreak {
		display: unset;
	}
	
	#displaypostercontainer {
		display: flex;
		flex: auto;
		margin: auto !important;
		max-width: 100%;
		float: unset;
	}

	footer {
		margin-bottom: 100px !important;
	}

	#footwrapper {
		justify-content: center;
	}
}
