@import "./reset.css";
@import "./fonts/Barlow.css";
@import "./fonts/Barlow Light.css";
@import "./fonts/Owners Wide.css";
@import "./fonts/Owners Wide Light.css";
@import "./fonts/Owners Wide Medium.css";

html,
body {
	height: 100%;
}

body {
	background-color: #1e272f;
	color: #fff;
	font-family: "Owners Wide Light", sans-serif;
	line-height: 1.25;
}

p,
ul {
	font-family: "Barlow Light", sans-serif;
	font-size: 1.125em;
	margin-top: 1em;
}
p:first-child {
	margin-top: 0;
}

.M:after {
	content: "@holotablehub.com";
}

.T:before {
	content: "+49 160 ";
}

.button {
	display: inline-block;
	background: linear-gradient(to right, #80f8dc 0%, #87d6ff 100%);
	color: #1e272f;
	text-decoration: none;
	padding: 1em 2em;
	border-radius: 0.5rem;
	vertical-align: middle;

	font-family: "Owners Wide", sans-serif;
	font-size: 0.75em;
	font-weight: 600;

	img {
		height: 1.5lh;
		margin: -0.25lh 0.5em -0.25lh 0;
		vertical-align: middle;
	}

	img.single {
		height: 1.75lh;
		margin: 0;
	}

	&:has(img.single) {
		padding: 0.75em;
	}
}

.gradient {
	background: linear-gradient(to right, #80f8dc 0%, #87d6ff 100%);
	background-clip: text;
	color: transparent;
}

.gradient-border {
	border-image: linear-gradient(to right, #80f8dc 0%, #87d6ff 50%, #1e272f 100%);
	border-image-slice: 1;
}

.gradient-border:nth-child(even) {
	border-image: linear-gradient(to right, #1e272f 0%, #87d6ff 50%, #80f8dc 100%);
	border-image-slice: 1;
}

/* Navigation */

.background-nav {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 4rem;
	z-index: 1;

	background-color: #273947;
}

nav {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 4rem;
	z-index: 3;
	padding: 0 6vw;

	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;

	font-size: 1.25em;
}

nav a {
	color: inherit;
	text-decoration: none;
	text-shadow: 0 0 1px #273947;
}

nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 1em;
}

nav .logo {
	height: 1.25em;
	width: auto;
	display: block;
}

nav .center {
	justify-content: center;
}

nav .right {
	justify-content: flex-end;
}

/* Header */

header {
	min-height: 100%;
	padding: 0 6vw 6vw;
	position: relative;
	z-index: 2;

	display: flex;
	flex-direction: column;

	background-color: #1e272f;
	background-image: url("./images/background.jpg");
	background-position: center;
	background-size: cover;
}

header.compact {
	min-height: 75vh;
}

header .title {
	display: flex;
	flex-direction: column;
	justify-content: center;
	flex: 1 1 auto;

	padding: 4rem 0;
	text-align: left;

	h1 {
		margin: 0 0 1em 0;
		font-size: 3em;

		.subtitle {
			display: block;
			font-family: "Owners Wide", sans-serif;
			font-size: 1.125em;
			font-weight: 600;
		}
	}

	p {
		font-size: 1.25em;
	}

	.buttons {
		margin: 0;
		list-style: none;
		font-size: 1.5em;

		li {
			display: inline-block;
			margin: 0.5em 0.5em 0 0;
		}
	}
}

header .intro {
	text-align: right;
	max-width: 40rem;
	align-self: end;
}

header .intro p {
	text-align: right;
}

/* Main content */

section {
	padding: 0 6vw;
	border-top: 1px solid;

	text-align: center;
}

section a {
	color: #87d6ff;
	/* Gradient does not work with overflow
	color: transparent;
	background: linear-gradient(to right, #80f8dc 0%, #87d6ff 100%);
	background-clip: text;
	text-decoration: none;*/
}

section .feature-grid {
	max-width: 75rem;
	margin-left: auto;
	margin-right: auto;
}

.feature-grid {
	display: flex;
	flex-direction: row;
	gap: 4rem;
	justify-content: center;
	flex-wrap: wrap;
	margin: 4rem auto;
}

.feature-grid small {
	display: block;
	font-family: "Barlow Light", sans-serif;
	font-size: 0.8rem;
	margin-top: 0.4rem;
}

.feature-grid > .feature {
	width: calc((75rem - 3 * 4rem) / 4);
	display: flex;
	flex-direction: column;
	align-items: center;
}

.feature-grid > .feature h3 {
	font-family: "Owners Wide", sans-serif;
	font-size: 1.5rem;
	white-space: nowrap;
	margin: 0em 0 0 0;
}

.feature-grid > .feature h3 > img {
	display: block;
	height: 3em;
	object-fit: contain;
	margin: 0 auto 1em auto;
}

.feature-grid > .feature h3 > img.portrait {
	width: 8rem;
	height: 8rem;
	border-radius: 50%;
	border-color: #87d6ff;
	border-width: 1px;
	border-style: solid;
	object-fit: cover;
	margin-bottom: 1rem;
}

.feature-grid > .feature p {
	text-align: center;
}

.feature-grid > .feature ul {
	list-style: none;

	li {
		margin: 0 0 0.5em 0;
	}
}

.feature-grid > .feature .button {
	width: 100%;
}

.text-content {
	max-width: 50rem;
	margin: 4rem auto;
	text-align: center;
}

.text-content.left {
	text-align: left;
	text-align-last: left;
}

.text-content h2 {
	font-size: 1.5em;
}
.text-content h3 {
	font-size: 1.25em;
}

.text-content h2,
.text-content h3,
.text-content h4 {
	color: #87d6ff;
	margin-top: 1em;
}

.text-content p {
	margin: 1em 0;
}

.text-content ul {
	margin: 1em 0 0 1em;
}

/* Footer */

footer {
	padding: 2rem 6vw;
	border-top: 1px solid;

	font-size: 0.875rem;
	font-family: "Barlow Light", sans-serif;

	display: flex;
	justify-content: center;
	align-items: center;
	gap: 2rem;
	flex-wrap: wrap;
}

footer .links {
	display: flex;
	gap: 2em;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
}

footer .links a {
	color: inherit;
	text-decoration: none;
	white-space: nowrap;
}

footer .copyright {
	display: flex;
	gap: 0.5em;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
}

footer .copyright span {
	white-space: nowrap;
}
