.header {
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	position: relative;
}

.header__name_container {
	position: absolute;
	top: 1rem;
	left: 1rem;
}

.header__main_background {
	z-index: -10;
}

.header__background, .header__main_background {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	transition: opacity 0.5s;
	z-index: -1;
}

.header__background_image, .header__main_background_image {
	height: 100%;
	width: 100%;
	object-fit: cover;
}

.header__container {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.header__title {
	font-size: 3rem;
}

.header__categories {
	display: flex;
	flex-direction: column;
	list-style: none;
	text-align: center;
	gap: 0.5rem;
	align-items: center;
}

.header__category {
	position: relative;
	flex: 0 0 auto;
	font-size: 1.2rem;
}

.header__category::after {
	position: absolute;
	top: 95%;
	left: 5%;
	height: 5%;
	width: 90%;
	background-color: white;
	content: "";
}

@media (min-width: 768px) {
	.header__categories {
		flex-direction: row;
		gap: 1rem;
	}
	
	.header__category::after {
		position: absolute;
		top: 90%;
		left: 0;
		height: 10%;
		width: 1rem;
		background-color: white;
		content: "";
		transition: width 0.2s;
	}

	.header__category:hover::after {
		width: 100%;
	}
}


