@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
	outline: none;
}

ul {
	margin: 0;
	padding: 0;
}

body {
	font-size: 14px;
	background-color: #181818;
    color: #919191;
	line-height: 22px;
	font-family: 'Open Sans', sans-serif;
}

a { color: #fefefe; }
a:hover { color: #fff; }

a:active, a:focus {
	outline: 0 !important;
	border: none !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	padding: 0;
	line-height: normal;
}

a,
a:hover,
a:focus,
a:active {
	outline: none;
	text-decoration: none;
}

button,
button:focus,
button:active,
button:hover {
	outline: none;
}

p, ul {
	margin: 0;
}

ul { list-style: none; }

/* HEADER */

header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	background-color: #090909;
	font-size: 16px;
	z-index: 10005;
	transition: .5s;
}

header .header-wrapper {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	padding-top: 20px;
	padding-bottom: 20px;
}

header .logo {
	width: 100px;
}

header .logo img {
	width: 100%;
}

header .main-menu {
	margin-left: auto;
}

header .main-menu ul {
	display: flex;
	align-items: center;
}

header .main-menu ul li {
	margin-left: 30px;
}

header .main-menu ul li:first-child {
	margin-left: 0px;
}

header .main-menu ul li a {
	transition: .2s;
	color: rgba(255,255,255,.8);
}

header .main-menu ul li a.login,
header .main-menu ul li a.register {
	color: #2cb308;
}

header .main-menu ul li a:hover {
	color: #fff;
}

header .search {
	height: 40px;
	margin-left: 50px;
	flex: 1;
}

header .search .search-input {
	position: relative;
	display: flex;
	align-items: center;
}

header .search .search-input i {
	position: absolute;
	left: 10px;
	top: 11px;
}

header .search .search-input input {
	width: 50%;
	display: block;
	background-color: #192023;
	border: 0;
	border-radius: 4px;
	color: #fff;
	padding: 10px 20px 10px 40px;
	height: 40px;
}

header .search .search-input button {
	border: 0;
	height: 40px;
	padding: 0 10px;
	border-radius: 4px;
	margin-left: 5px;
	background: #1c5f70;
    color: #bdbdbd;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: .2s;
	font-size: 14px;
	line-height: 14px;
	font-weight: 600;
}

header .search .search-input button:hover {
	background-color: #287386;
	color: #fff;
}

header .search .search-input button i {
	position: relative;
	top: 2px;
	font-size: 14px;
	line-height: 14px;
	padding-right: 6px;
	color: #fff;
}

/* SITE WRAPPER */

.site-wrapper {
	display: flex;
	flex-wrap: wrap;
	padding-top: 150px;
	padding-bottom: 50px;
}

main {
	flex: 1;
}

main a {
	color: #2cb308;
	transition: .1s;
}

main a:hover {
	color: #1fc022;
}

main .panel {
	padding: 20px;
	background-color: #212121;
	border-radius: 4px;
	margin-bottom: 30px;
}

main .panel:last-child {
	margin-bottom: 0px;
}

main .panel .panel-title {
	margin-bottom: 30px;
}

main .panel .panel-title h3 {
	text-transform: uppercase;
	font-size: 17px;
	font-weight: 400;
	color: #d5bf8a;
}

main .panel .panel-title h3 span {
	font-weight: 700;
}

main .panel .panel-body {
}

.movies {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.movies .item {
	display: flex;
	flex-wrap: wrap;
	background-color: #181818;
	padding: 15px;
	border-radius: 4px;
}

.movies .item .item-image {
	width: 160px;
	height: 220px;
	border-radius: 4px;
}

.movies .item .item-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 4px;
}

.movies .item .item-content {
	flex: 1;
	padding-left: 15px;
}

.movies .item .item-content > a {
	display: inline-block;
}

.movies .item .item-content a h3 {
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 15px;
	transition: .1s;
}

.movies .item .item-content a:hover h3 {
	color: #2cb308;
}

.movies .item .item-content .desc {
	font-size: 13px;
	line-height: 18px;
}

.movies .item .item-content .details {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	margin-top: 15px;
	gap: 5px;
}

.movies .item .item-content .details li {
	background: #1c5f70;
    color: #bdbdbd;
	font-size: 12px;
	line-height: 12px;
	font-weight: 500;
	padding: 4px 8px;
	border-radius: 4px;
	display: flex;
	align-items: center;
}

.movies .item .item-content .details li i {
	position: relative;
    color: #e1be14;
	font-size: 12px;
	line-height: 12px;
	padding-right: 4px;
}

aside.sidebar {
	width: 35%;
	margin-left: 40px;
}

aside .panel {
	padding: 0px;
	margin-bottom: 30px;
	background-color: transparent;
}

aside .panel:last-child {
	margin-bottom: 0px;
}

aside .panel .panel-title h3 {
	text-transform: uppercase;
	font-size: 17px;
	font-weight: 400;
	color: #d5bf8a;
}

aside .panel .panel-title h3 span {
	font-weight: 700;
}

.movies-list {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 10px;
}

.movies-list .item {
	height: 200px;
}

.movies-list img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 4px;
}

.cats {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.cats li {
	width: calc(50% - 5px);
}

.cats li a {
	display: block;
	background-color: #212121;
	border-radius: 4px;
	font-size: 14px;
	line-height: 14px;
	padding: 9px 12px;
	color: #919191;
	transition: .1s;
	font-weight: 500;
}

.cats li a:hover {
	background-color: #2cb308;
	color: #fff;
}

.movie-single {
	display: flex;
	flex-wrap: wrap;
	padding: 20px;
    background-color: #212121;
	border-radius: 4px;
	margin-bottom: 30px;
}

.movie-single .item-image {
	width: 230px;
	height: 340px;
	border-radius: 4px;
}

.movie-single .item-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 4px;
}

.movie-single .item-content {
	flex: 1;
	padding-left: 20px;
	background-color: #181818;
    padding: 15px;
	border-radius: 4px;
	margin-left: 15px;
}

.movie-single .item-content h1 {
	font-size: 30px;
    font-weight: 600;
    color: #d5bf8a;
	margin-bottom: 15px;
}

.movie-single .item-content .movie-cats {
	margin: 15px 0;
}

.movie-single .item-content .movie-cats a {
	color: #2cb308;
	transition: .3s;
}

.movie-single .item-content .movie-cats a:hover {
	color: #fff;
}

.movie-single .item-content .details {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 5px;
}

.movie-single .item-content .details li {
	display: flex;
	align-items: center;
	background: #1c5f70;
    color: #bdbdbd;
	font-size: 13px;
	line-height: 13px;
	font-weight: 500;
	padding: 4px 8px;
	border-radius: 4px;
}

.movie-single .item-content .details li i {
	position: relative;
    color: #e1be14;
	font-size: 13px;
	line-height: 13px;
	padding-right: 4px;
}

.player {
	height: 450px;
	background-color: #090909;
	border-radius: 4px;
	position: relative;
}

.player .play {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 80px;
	height: 80px;
	border-radius: 100%;
	background-color: rgba(255,255,255,.1);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: .5s;
}

.player .play i {
	position: relative;
	top: 2px;
	font-size: 40px;
	line-height: 40px;
}

.player .play:hover {
	transform: translate(-50%, -50%) scale(1.2);
}

.movie-rate {
	display: flex;
	align-items: center;
	gap: 5px;
	flex-wrap: wrap;
}

.movie-rate div {
	display: flex;
	align-items: center;
	margin-right: 5px;
	gap: 5px;
}

.movie-rate div i {
	font-size: 20px;
	line-height: 20px;
}

.movie-rate div i.true {
    color: #e1be14;
}

.movie-rate span:last-child {
   margin-left: auto;
}

/* FOOTER */

footer {
	background-color: #090909;
	padding: 50px 0;
}

footer .logo {
	width: 150px;
	margin-bottom: 30px;
}

footer .logo img {
	width: 100%;
}

footer .desc {
	color: rgba(255,255,255,.5);
	font-size: 13px;
}

footer ul.footer-menu {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	margin-bottom: 50px;
}

footer ul.footer-menu li {
	margin-left: 20px;
}

footer ul.footer-menu li:first-child {
	margin-left: 0px;
}

footer ul.footer-menu li a {
	color: rgba(255,255,255,.7);
	transition: .2s;
}

footer ul.footer-menu li a:hover {
	color: #fff;
}

footer ul.footer-buttons {
	display: flex;
	align-items: center;
	margin-left: auto;
}

footer ul.footer-buttons li {
	margin-left: 10px;
}

footer ul.footer-buttons li:first-child {
	margin-left: 0px;
}

footer ul.footer-buttons li a {
	width: 40px;
	height: 40px;
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	background-color: #1c5f70;
    color: #bdbdbd;
	transition: .2s;
}

footer ul.footer-buttons li a:hover {
	background-color: #287386;
}

footer ul.footer-buttons li a.up {
	color: #fff;
	background-color: #1fd923;
}

footer ul.footer-buttons li i {
	font-size: 17px;
	line-height: 17px;
	color: #eee;
	transition: .2s;
}

footer ul.footer-buttons li:hover i {
	color: #fff;
}

footer ul.footer-buttons li.yt i {
	font-size: 20px;
	line-height: 20px;
}

footer .footer-bottom {
	margin-top: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	text-align: center;
	font-size: 11px;
}

footer .footer-bottom a {
	color: #2cb308;
}

.mb30 { margin-bottom: 30px !important; }
.mt30 { margin-top: 30px !important; }
.mt50 { margin-top: 50px !important; }
.mb0 { margin-bottom: 0px !important; }

@media (min-width: 0px) and (max-width: 960px) {
	
	header .logo {
		width: 100px;
	}
	
	header .main-menu {
		display: none;
	}
	
	header .search {
		width: 55%;
	}
	
	header .search .search-input input {
		width: 100%;
	}
	
	.site-wrapper {
		max-width: 100%;
		padding-top: 100px;
		padding-bottom: 50px;
	}
	
	.movies {
		grid-template-columns: 1fr 1fr;
	}
	
	.movies .item .item-image {
		width: 100%;
		height: 200px;
	}
	
	aside.sidebar {
		width: 100%;
		margin-left: 0;
	}
	
	main .panel {
		padding: 15px;
	}
	
	.movies-list {
		grid-template-columns: 1fr 1fr 1fr;
	}
	
	.movies-list .item {
		height: 160px;
	}
	
	.movies .item .item-content {
		padding-left: 0;
		margin-top: 10px;
	}
	
	.movie-single .item-image {
		width: 100%;
		height: 440px;
	}
	
	.movie-single .item-content {
		margin-left: 0;
		margin-top: 15px;
	}
	
	footer ul.footer-menu {
		width: 100%;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		margin: 0px 0 30px 0;
	}
	
	footer ul.footer-menu li {
		margin-left: 0;
		text-align: center;
		padding: 5px;
	}
	
	footer .logo {
		margin: 0 auto 30px auto;
		text-align: center;
	}
	
	footer ul.footer-buttons {
		justify-content: center;
	}
	
	footer .desc {
		text-align: center;
		margin-top: 30px;
	}
	
	.m-mt20 { margin-top: 20px !important; }
	.m-mt30 { margin-top: 30px !important; }
	
}

@media (min-width: 760px) and (max-width: 991px) {
	
	main .wrapper {
		padding: 30px;
	}
	
	.movies {
		grid-template-columns: 1fr 1fr 1fr;
	}
	
	.movies .item figure {
		height: 270px;
	}
	
}

@media (min-width: 991px) and (max-width: 1280px) {
	
	.movies {
		grid-template-columns: 1fr 1fr 1fr 1fr;
	}
	
	.movies .item figure {
		height: 310px;
	}
	
}

@media (min-width: 1280px) and (max-width: 1440px) {
	
	.movies .item figure {
		height: 310px;
	}
	
}

@media (min-width: 1280px) {
	
    .container {
		max-width: 1280px;
	}
	
}