@font-face {
	font-family: 'IBM Plex Sans';
	src: url("https://d33wubrfki0l68.cloudfront.net/ae3da6c57aa97bbc18c4a64664e1850afbc6e8d8/cb34f/ibmplexsans.eot");
	src: url("https://d33wubrfki0l68.cloudfront.net/ae3da6c57aa97bbc18c4a64664e1850afbc6e8d8/cb34f/ibmplexsans.eot#iefix") format('embedded-opentype'),
		 url("https://d33wubrfki0l68.cloudfront.net/87bf59db2240d8c87ef3cb73021e8e52c43ec07c/aef42/ibmplexsans.woff2") format('woff2'),
		 url("https://d33wubrfki0l68.cloudfront.net/3d8b5e77066a62486f97d5f33b1e4c31a8376db4/0212a/ibmplexsans.woff") format('woff'),
		 url("https://d33wubrfki0l68.cloudfront.net/67402bd8fa8054e705e3d9818b27cb19de4154dc/2ff15/ibmplexsans.ttf") format('truetype'),
		 url("https://d33wubrfki0l68.cloudfront.net/8936b2c070186eab75aa59c6d9368b2e3576945e/b9555/ibmplexsans.svg#IBMPlexSans") format('svg');
	font-weight: normal;
	font-style: normal;
}

:root {
	--viewport-height: 100vh;
	--background-height: 100vh;
}

*, *::before, *::after {
	box-sizing: border-box;
}

html {
	font-family: 'IBM Plex Sans', sans-serif;
	font-weight: 400;
	font-size: 18px;
	-webkit-text-size-adjust: 100%;
	font-variant-ligatures: none;
	-webkit-font-variant-ligatures: none;
	text-rendering: optimizeLegibility;
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
}

body {
	color: black;
	background-color: white;
	margin: 0;
	min-height: var(--viewport-height);
	overflow-x: hidden;
}

p {
	line-height: 1.625;
	margin: 0 0 1rem 0;
}

a,
a:link,
a:active,
a:visited {
	color: black;
	text-decoration: none;
	padding-bottom: 0;
	background: linear-gradient(to top, rgba(0, 0, 255, .1) 30%, transparent 20%);
}

a:hover {
	background: blue;
	color: white;
}

strong {
	font-weight: 600;
}

p span.p {
	display: block;
	margin-bottom: 1rem;
}

/* Wrapper - 50/50 split layout */
#wrapper {
	display: flex;
	flex-direction: row;
	min-height: var(--viewport-height);
}

/* Left side - Background image */
#bg {
	position: fixed;
	top: 0;
	left: 0;
	width: 50%;
	height: var(--background-height);
	background-color: #f0f0f0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	z-index: 0;
}

#bg .slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 0;
	transition: opacity 1.5s ease-out;
}

#bg .slide.visible {
	opacity: 1;
}

/* Right side - Content */
#main {
	width: 50%;
	margin-left: 50%;
	min-height: var(--viewport-height);
	display: flex;
	background-color: white;
	position: relative;
	z-index: 1;
}

#main > .inner {
	padding: 3rem;
	max-width: 40rem;
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: var(--viewport-height);
}

#home {
	color: blue;
	background: none;
	font-size: 2.5rem;
	display: inline-block;
}

#home:hover {
	background: none;
	color: blue;
}

.content {
	margin-top: auto;
}

.content p:last-child {
	margin-bottom: 0;
}

.intro {
	font-size: 1.35rem;
	line-height: 1.5;
	margin-bottom: 2.5rem;
}

.details {
	font-size: 0.9rem;
	line-height: 1.5;
	margin-bottom: 0.5rem;
}

.contact {
	margin-top: 2rem;
	margin-bottom: 0.75rem;
}

.lang-switcher {
	margin-top: 0;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.lang-switcher a {
	background: linear-gradient(to top, rgba(0, 0, 255, .1) 30%, transparent 20%);
	padding-bottom: 0;
	transition: all 0.2s;
}

.lang-switcher a:hover {
	background: blue;
	color: white;
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
	html {
		font-size: 16px;
	}

	#main > .inner {
		padding: 2.5rem;
	}
}

/* Responsive - Mobile */
@media (max-width: 768px) {
	html {
		font-size: 16px;
	}

	body {
		display: flex;
		flex-direction: column;
	}

	#wrapper {
		flex-direction: column;
		min-height: auto;
	}

	#bg {
		position: relative;
		top: 0;
		left: 0;
		flex-grow: 1;
		flex-shrink: 0;
		max-height: 68vh;
		overflow: hidden;
		width: 100%;
	}

	#main {
		width: 100%;
		margin-left: 0;
		min-height: auto;
		flex-grow: 1;
	}

	#main > .inner {
		padding: 2.5rem 2rem;
		max-width: 100%;
		min-height: auto;
		display: flex;
		flex-direction: column;
	}
	
	#main > .inner > p:first-child {
		order: 2;
		margin-top: 3rem;
	}
	
	#home {
		font-size: 3rem;
		margin-bottom: 0.5rem;
		color: blue;
	}
	
	.content {
		order: 1;
	}
	
	.intro {
		font-size: 1.3rem;
		line-height: 1.6;
		margin-bottom: 2.5rem;
	}
	
	.details {
		font-size: 1.1rem;
		line-height: 1.6;
		margin-bottom: 0.5rem;
	}
	
	.contact {
		margin-top: 2rem;
		font-size: 1.1rem;
		margin-bottom: 0.75rem;
	}
	
	.lang-switcher {
		margin-top: 0;
	}
	
	p {
		margin: 0 0 1.75rem 0;
	}
}

/* Responsive - Small mobile */
@media (max-width: 480px) {
	html {
		font-size: 15px;
	}

	#bg {
		max-height: 68vh;
	}

	#main > .inner {
		padding: 2rem 1.5rem;
	}

	#home {
		font-size: 2.5rem;
		margin-bottom: 1.5rem;
	}
}
