:root {
	--bg-color: rgb(14, 14, 14);
	--surface-color: #1c1c1c;
	--border-color: #44444483;
	--border-hover-color: #7b7b7b;
	--text-color: rgb(255, 255, 255);
	--shadow-color: rgba(255, 255, 255, 0.124);
	--shadow-hover-color: rgba(255, 255, 255, 0.623);
	--font-family: 'Gilroy', sans-serif;
	--card-aspect-ratio: 3 / 4;
	--transition-speed: 0.2s;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	background-color: var(--bg-color);
	color: var(--text-color);
	font-family: var(--font-family);
}

.menu {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	flex-direction: column;
	padding: 40px 20px;
	gap: 40px;
}

.search {
	padding: 12px 20px;
	border-radius: 50px;
	border: 1px solid var(--border-color);
	background-color: var(--surface-color);
	color: var(--text-color);
	font-size: 1rem;
	font-family: var(--font-family);
	width: 80%;
	max-width: 500px;
	text-align: center;
	transition: all var(--transition-speed) ease;
}

.search:hover {
	border: 1px solid var(--border-color);
	background-color: var(--border-color);
}

.search:focus {
	outline: none;
	box-shadow: 0 0 10px var(--border-hover-color), 0 0 50px var(--border-hover-color);
}

.search::placeholder {
	color: #aaa;
}

.card-containers {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 20px;
}

.card {
	position: relative;
	max-width: 300px;
	aspect-ratio: var(--card-aspect-ratio);
	overflow: hidden;
	border-radius: 30px;
	box-shadow: 0 10px 30px 5px var(--shadow-color);
	z-index: 0;
	transition: transform var(--transition-speed) ease-in-out, box-shadow var(--transition-speed) ease-in-out;
}

.card:hover {
	transform: scale(1.05);
	box-shadow: 0 10px 100px 5px var(--shadow-hover-color);
}

.bg-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.blurred-layer {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
 	background-color: rgba(0, 0, 0, 0.2);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	z-index: 1;
	mask-image: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
	mask-size: 100%;
	mask-position: bottom;
	mask-repeat: no-repeat;
	-webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
	-webkit-mask-size: 100%;
	-webkit-mask-repeat: no-repeat;
}

.content {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 0 20px 20px 20px;
	z-index: 2;
}

.content h3 {
	font-family: var(--font-family);
	font-size: 2rem;
	font-weight: 800;
	margin-bottom: 8px;
	text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.content p {
	font-size: 1rem;
	margin-top: 0px;
	text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.error{
	font-size: 1.5rem;
	color: #fb3e3e;
	text-align: center;
	display: none; 
}