header
{
	--element-width: calc(100% - 40rem);
	position: relative;
	font-weight: 400;
	font-size: 1.15rem;
	box-sizing: border-box;
	height: var(--header-height);
	line-height: var(--header-height);
	width: 100vw;
	height: 10rem;
	background-color: rgb(60, 60, 60);
	z-index: 20;
}

#home-icon
{
	position: relative;
	z-index: 40;
	height: 100%;
	vertical-align: middle;
	padding-left: 4rem;
	padding-top: 2rem;
}

#home-icon > img
{
	position: relative;
	height: 5rem;
	width: auto;
}

#header-white
{
	position: absolute;
	right: -100rem;
	top: 0;
	border-bottom-left-radius: 3rem;
	transform: skew(30deg);
	height: 80%;
	width: calc(var(--element-width) + 100rem);
	background-color: white;
}

#header-orange
{
	position: absolute;
	right: -100rem;
	top: 0;
	border-bottom-left-radius: 3rem;
	transform: skew(30deg);
	height: calc(80% - 1rem);
	width: calc(var(--element-width) - 1rem + 100rem);
	background-color: #f29100;
}

#header-transparent
{
	position: absolute;
	right: -100rem;
	top: 0;
	border-bottom-left-radius: 3rem;
	transform: skew(30deg);
	height: 100%;
	width: calc(var(--element-width) - 20rem + 100rem);
	background-color: rgba(255, 255, 255, 0.15);
}

#home-icon:visited
{
	color: white;
	text-decoration: none;
}

#language-selector
{
	display: none;
	position: absolute;
	left: 10rem;
	top: 1rem;
	line-height: initial;
	color: white;
	z-index: 40;
	padding: 0.45rem 0.55rem;
	background-color: rgba(0, 0, 0, 0.5);
}

#language-selector > a
{
	color: white;
	text-decoration: none;
}

#hamburger > img
{
	z-index: 85;
	display: none;
	height: 3rem;
	margin-top: 0.25rem;
}

#hamburger > img:hover
{
	cursor: pointer;
}

#hamburger > input
{
	display: none;
}

#hamburger > #dark-background
{
	z-index: 80;
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	position: fixed;
	width: 100vw;
	visibility: hidden;
	opacity: 0;
	background-color: black;
	transition: opacity 0.1s linear;
}

.header_item
{
	z-index: 100;
	position: relative;
	margin: 1rem;
	text-decoration: none;
	color: white;
	padding: 0.45rem 0.55rem;
	background: linear-gradient(to right, var(--faktum-red) 50%, rgba(0, 0, 0, 0.5) 50%);
    background-size: 200% 100%;
    background-position: right;
	background-repeat: no-repeat;
	transition: background-position 0.25s ease;
}

.header_item_current, .header_item:hover
{
	background-position: left;
}

@media (min-width: 2000px)
{
	#language-selector
	{
		left: 11rem;
	}
}

@media (max-width: 1100px)
{
}

@media (max-width: 650px)
{
	header
	{
		--element-width: calc(100% - 23rem);
		height: 6rem;
	}

	#home-icon
	{
		padding-left: 2rem;
		padding-top: 1rem;
	}

	#home-icon > img
	{
		height: 3rem;
	}

	#language-selector
	{
		left: 8rem;
	}
}
