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

*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	text-decoration: none;
}

:root{
	--dark: #141414;
	--red: #E50914;
	--logo-font: 'Bebas Neue', cursive;
	--font-subtitle: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
	--text-font: 'Open Sans', arial, sans-serif;
	--opacity: #0000008b;
}

/* Base elements */

body{
	background-color: var(--dark);
	font-family: var(--text-font);
	color: #fff;
}

header .container{
	display: flex;
	flex-direction: row; /* default for display: flex; */
	align-items: center;
	justify-content: space-between;
	margin: 0 24px;
}

header .logo{
	margin-left: 5px;
	color: var(--red);
	font-family: var(--logo-font);
	font-size: 50px;
}

header nav a{
	color: #AAA;
	margin-right: 10px;
}

header nav a:hover{
	color: #fff;
	transition: linear .2s;
}

/* Main movie */

.main-movie{
	background: linear-gradient(90deg, var(--opacity), var(--opacity)), url("../images/scream-cover.jpg") right top no-repeat;
	background-size: cover;
	height: 450px;
	display: flex;
	flex-direction: column; /* justify-content always follows flex-direction */
	justify-content: center;
	align-items: flex-start;
}

.main-movie .container{
	margin: 30px;
}

.main-movie .title{
	margin-top: 15%;
	font-size: 40px;
	font-family: var(--font-subtitle);
}

.main-movie .description{
	margin: 15px 0 30px 0;
	max-width: 70%;
	text-shadow:  0 0 10px #000;
}

.button{
	background-color: rgba(0, 0, 0, .5);
	color: #fff;
	border: none;
	padding: 12px 25px;
	margin-right: 15px;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
}

.button:hover{
	color: #000;
	background-color: #fff;
	transition: linear .3s;
}

.button i{
	margin-right: 10px;
}

.movies-carousel{
	margin-top: 40px;
}

.box-movie{
	height: 100%;
	width: 100%;
	display: block;
	cursor: pointer;
}