@charset "utf-8";
/* CSS Document */

main {
	width:100%;
	max-width:1300px;
	height:auto;
	min-height:calc(100% - 60px);
	margin:0 auto;
}

.title-box span {
	font-family: "Roboto", sans-serif;
	font-size: 26px;
	font-weight: 600;
	color: #555;
	margin-left:calc(10% / 7);
}

.movies-box {
	width: 100%;
	padding-bottom:80px;
	display:flex;
	justify-content:flex-start;
	align-content: flex-start;
	flex-wrap:wrap;
}

.movies-box > a {
	width:15%;
	margin-top:20px;
	margin-left:calc(10% / 7);
	cursor:pointer;
}

.image-container {
	height:0;
	padding-bottom:150%;
	position:relative;
	overflow:hidden;
}

.image-container img {
	width:100%;
	height:100%;
	position:absolute;
	left:0;
	top:0;
}

.movie-audio {
	position:absolute;
	left:3px;
	top:3px;
	z-index:5;
	background-color:#00D5FF;
	font-family: "Roboto", sans-serif;
	font-size:14px;
	font-weight:600;
	color:#333;
	padding:2px 5px 1px 5px;
	min-width:30px;
	text-align:center;
	border-radius:5px;
}

.movie-title-box {
	width:100%;
	height:auto;
	font-family: "Roboto Condensed", sans-serif;
	font-size:18px;
	font-weight:500;
	color:#DDD;
	padding:10px 3px 5px 3px;
	box-sizing:border-box;
	display:flex;
	justify-content:center;
	transition:color 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
.movies-box a:hover .movie-title-box {
	color: #00D5FF;
}
}

.modal {
    display: none;
    position: fixed;
    z-index: 10;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
	width:96%;
	max-width:400px;
	height:auto;
	max-height:98%;
	background-color: #111;
	margin:auto;
	overflow-y: auto;
	padding: 20px 0;
	box-sizing: border-box;
	display: flex;
	flex-direction:column;
	border-radius: 7px;
	position:relative;
}

.modal-content::-webkit-scrollbar {
	width:8px;
}

.modal-content::-webkit-scrollbar-track {
    background:#333;
} 

.modal-content::-webkit-scrollbar-thumb {
    background:#222;
}

.modal-content {
    scrollbar-color: #222 #333;
    scrollbar-width: thin;
}

.modal-close {
	all: unset;
	font-family: "Roboto", sans-serif;
	font-weight:400;
	position: absolute;
	top: 12px;
	right: 12px;
	font-size: 46px;
	display: inline-block;
    line-height: 0.5;
	cursor: pointer;
	color:#DDD;
	transition:color 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
.modal-close:hover {
	color: #EEE;
}
}

.poster-box img {
	width:40%;
	display:block;
	margin:0 auto;
}

.movie-title {
	font-family: "Roboto Condensed", sans-serif;
	font-size: 18px;
	font-weight: 500;
	color: #CCC;
	padding:10px 5px 0 5px;
	box-sizing:border-box;
	display:flex;
	justify-content:center;
}

.movie-infos {
	padding:5px 5px 0 5px;
	box-sizing:border-box;
	display:flex;
	justify-content:center;
	flex-wrap:wrap;
}

.movie-country {
	font-family: "Roboto Condensed", sans-serif;
	font-size: 18px;
	font-weight: 400;
	color: #888;
	margin:0 4px;
}

.movie-year {
	font-family: "Roboto Condensed", sans-serif;
	font-size: 18px;
	font-weight: 400;
	color: #888;
	margin:0 4px;
}

.movie-runtime {
	font-family: "Roboto Condensed", sans-serif;
	font-size: 18px;
	font-weight: 400;
	color: #888;
	margin:0 4px;
}

.movie-genre {
	padding: 5px 5px 0 5px;
	box-sizing:border-box;
	display:flex;
	justify-content:center;
	flex-wrap:wrap;
}

.movie-genre a {
	font-family: "Roboto Condensed", sans-serif;
	font-size: 16px;
	font-weight: 400;
	color: #888;
	margin:0 4px;
	padding:2px 8px;
	border:1px solid #888;
	text-decoration:none;
	border-radius:40px;
	transition:color 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
.movie-genre a:hover {
	color: #AAA;
}
}

.tmdb-link {
	font-family: "Roboto Condensed", sans-serif;
	font-size: 16px;
	font-weight: 500;
	color: #AAA;
	width:46%;
	background-color:#333;
	margin:10px auto 0 auto;
	padding:4px 0;
	text-align:center;
	text-decoration:none;
	border-radius:40px;
	transition:background-color 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
.tmdb-link:hover {
	background-color:#444;
}
}

.movie-links {
	display:flex;
	flex-direction:column;
	padding-top:15px;
}

.movie-links span {
	font-family: "Roboto", sans-serif;
	font-size: 18px;
	font-weight: 500;
	color: #777;
	text-align:center;
}

.watch-link {
	font-family: "Roboto", sans-serif;
	font-size: 16px;
	font-weight: 500;
	color: #CCC;
	text-align:center;
	width:90%;
	background-color:#000;
	padding:6px 0;
	border-radius:40px;
	margin: 12px auto 0 auto;
	text-decoration:none;
	transition:background-color 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
.watch-link:hover {
	background-color: #060606;
}
}
