/* Copyright (c) 2024 Dante Passalacqua */

*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body,
html {
	font-family: 'Inter', sans-serif;
}

.header-section {
	display: flex;
	justify-content: space-around;
	padding: 5em 0;
	background-image: url(../img/movies-background-crop.jpg);
	background-color: #404040;
	background-blend-mode: multiply;
	background-size: cover;
	background-position: center;
	color: white;
}

h1,
a {
	margin: 0;
	display: flex;
	align-items: center;
}

.search-bar {
	display: flex;
	justify-content: center;
	margin-top: -1em;
}

.search-input {
	border-top-left-radius: 5px;
	border-bottom-left-radius: 5px;
	border: 1px solid #404040;
	width: 60%;
	padding: 8px;
	outline: none;
	background-color: #f9fafb;
	font-family: 'Inter', sans-serif;
	font-weight: 500;
	background-image: url('../icons/search-icon.png');
	background-repeat: no-repeat;
	background-position: 2% 50%;
	padding-left: 5%;
}

.search-btn {
	width: 20%;
	border: 1px solid #404040;
	border-left: none;
	background-color: #f9fafb;
	outline: none;
	font-family: 'Inter', sans-serif;
	font-weight: 500;
	border-top-right-radius: 5px;
	border-bottom-right-radius: 5px;
}

.search-btn:active {
	background-color: #404040;
	color: white;
	border: none;
	outline: none;
}

.movie-content,
.movie-placehold {
	display: flex;
	flex-direction: column;
	margin-top: 2em;
	align-items: center;
	justify-content: center;
}

.movie-content img {
	width: 20%;
}

.movie-film-icon-placeholder {
	margin-top: 7em;
	max-width: 100px;
}

.movie {
	display: flex;
	max-width: 750px;
	width: 95%;
	margin-top: 1em;
	padding-bottom: 1em;
	border-bottom: 1px solid gray;
}

.movie-title {
	color: black;
	font-weight: 500;
	font-size: 1.125rem;
	margin: 0;
}

.run-time-text,
.genre-text {
	font-size: 0.75rem;
	font-weight: 400;
}

.plot-text {
	font-size: 0.875rem;
	color: #6b7280;
	line-height: 1.5;
}

.genre-text {
	margin: 0 1em;
}

.movie-data {
	margin-left: 1em;
}

.movie img {
	max-height: 150px;
	max-width: 100px;
	object-fit: cover;
}

/* Typography */

.header-main-text {
	font-weight: 800;
	font-size: 2.625rem;
}

.explore-text {
	margin-top: 0.4em;
	color: #dfdddd;
	font-size: 1.125rem;
	font-weight: 700;
}

.header-sub-text,
.header-sub-text:visited {
	font-weight: 700;
	font-size: 0.875rem;
	color: white;
	text-decoration: none;
	animation: all linear 500ms;
}

.header-sub-text:active {
	transform: scale(0.95);
}

.header-sub-text:hover {
	color: #e4e4e4;
}

.add-movie-text img {
	height: 18px;
	width: 18px;
	margin-right: 3px;
}

.add-movie-text,
.add-movie-text:visited {
	color: #363636;
	text-decoration: none;
	font-weight: 700;
	font-family: 'Inter', sans-serif;
	font-size: 0.875rem;
}

.watchlist-add-btn,
.watchlist-remove-btn {
	background: none;
	border: none;
	background-image: url('../icons/add-icon.png');
	background-repeat: no-repeat;
	background-size: 17px 17px;
	padding-left: 1.7em;
	cursor: pointer;
	font-weight: 400;
	font-family: 'Inter', sans-serif;
	margin-left: 1em;
}

.watchlist-remove-btn {
	background-image: url('../icons/delete-icon.png');
}

form {
	width: 100%;
	display: flex;
	justify-content: center;
}
