@charset "UTF-8";

@font-face {
	font-family: 'BuenosAires';
	src: url('BuenosAiresWeb-Book.woff2') format('woff2'),
		url('BuenosAiresWeb-Book.woff') format('woff');
	font-weight: 300;
	font-style: normal;
}

/*
——————————————————————————————————————————
	reset						        */

*,
*::before,
*::after {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	text-size-adjust: none;
}

/*
——————————————————————————————————————————
	font / color /	custom property		*/

html,
h1,
h2 {
	font-family: 'BuenosAires';
	font-size: 1vw;
	font-weight: 300;
	font-style: normal;
	line-height: 1.25;

	--unit: calc(1rem * 1.25);
	/* leerzeile, somit verknüpft mit schriftgrösse */

	--site-margin: calc((100vh - (80 * 1.15vh)) / 2);
	/* höhe minus 80 reihen à 1.15vh, dann halbiert um hintergrund vertikal einzumitten */

	--red: rgb(254, 102, 114);
}

/*
——————————————————————————————————————————
	links                               */

a:link,
a:visited {
	color: black;
	text-decoration: underline;
	text-decoration-color: black;
}

a:hover,
a:active,
a:focus {
	color: var(--red);
	text-decoration: none;
}

/*
——————————————————————————————————————————
	scrolling					*/

.scrolling {
	-webkit-overflow-scrolling: touch;
	/* enables momentum scrolling on ios */
	-ms-overflow-style: none;
	/* hides scrollbar in internet explorer 10+ */
	scrollbar-width: none;
	/* hides scrollbar in firefox */
}

.scrolling::-webkit-scrollbar {
	display: none;
	/* hides scrollbar in safari and chrome */
}

.scrolling::-webkit-scrollbar-thumb {
	display: none;
	/* hides scrollbar in safari on ios */
}

/*
——————————————————————————————————————————
	content							*/

.content-wrapper {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
}

/* damit weisse fläche mit inhalt an hintergrund ausgerichtet werden kann */

.content {
	grid-column: 6/ span 5;
	margin-top: calc(var(--site-margin) + (7.75 * 1.15vh));
	margin-bottom: calc(var(--site-margin) + (15.5 * 1.15vh));
	padding: calc(100vw / 24);
	/* halbe kolonne */
	background-color: rgb(255, 255, 255);

}

.content__main {
	padding-bottom: calc(5 * var(--unit));
}

.content__address-and-portrait {
	display: grid;
	grid-template-columns: 2fr 1fr;
	grid-template-rows: 1fr;
	padding-bottom: calc(5 * var(--unit));
}

.content__more-info {
	font-size: 0.7rem;
	letter-spacing: 0.25rem;
}

img {
	display: block;
	border-radius: 50%;
	width: 90%;
	height: auto;
	margin-top: calc(-0.25 * var(--unit));
}

h1 {
	text-transform: uppercase;
	letter-spacing: 0.25rem;
	color: var(--red);
}

h2 {
	padding-left: 2rem;
	padding-bottom: calc(0.5 * var(--unit));
}

h1,
p,
ul {
	padding-bottom: var(--unit);
}

ul {
	list-style-type: "─";
	padding-left: 1rem;
	/* scheint der strichbreite zu entsprechen */
}


li {
	padding-left: 1rem;
}

li:last-child {
	padding-bottom: 0;
}

.address ul,
.content__more-info ul {
	list-style-type: none;
	padding-left: 0;
	padding-bottom: 0;
}

.address li,
.content__more-info li {
	padding-left: 0;
	padding-bottom: calc(0.5 * var(--unit));
}

/*	
——————————————————————————————————————————
	background							*/

.stripes {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 9fr;
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	z-index: -1;
}

.row {
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: repeat(80, 1.15vh);
	height: 10vh;
	/* zu klein definiert, damit nur 80 zeilen sichtbar sind */
}

.stripes> :nth-child(odd) {
	margin-top: calc(((100vh - (80 * 1.15vh)) / 2) + (0.25 * 1.15vh));
}

.stripes> :nth-child(even) {
	margin-top: calc(((100vh - (80 * 1.15vh)) / 2) - (0.25 * 1.15vh));
}

.odd> :nth-child(odd) {
	background-color: var(--red);
}

.even> :nth-child(even) {
	background-color: var(--red);
}

/*	
——————————————————————————————————————————
——————————————————————————————————————————
——————————————————————————————————————————
——————————————————————————————————————————
——————————————————————————————————————————
——————————————————————————————————————————
——————————————————————————————————————————
narrow viewport							*/

@media screen and (max-aspect-ratio: 1/1) {

	html,
	h1,
	h2 {
		font-size: 4.5vw;
		/* font-size: 4.9vw; */
	}

	h1 {
		max-width: min-content;
	}

	.content-wrapper {
		display: block;
	}

	.content {
		margin-top: 0;
		margin-bottom: 50vh;
		padding: calc(100vw / 12);
		/* halbe kolonne */
	}

	.content__address-and-portrait {
		grid-template-columns: 1fr;
	}

	.address {
		grid-row: 2;
	}

	.portrait {
		padding-bottom: calc(2.5 * var(--unit));
	}

	img {
		width: 50%;
		margin: 0 auto;
	}

	h1 {
		padding-bottom: calc(2.5 * var(--unit));
	}

	.stripes {
		grid-template-columns: 1fr 1fr 1fr 3fr;
		top: 50%;
		height: 50vh;
	}

	.row {
		grid-template-rows: repeat(24, 1.9vh);
	}

	.stripes> :nth-child(odd) {
		margin-top: 0;
	}

	.stripes> :nth-child(even) {
		margin-top: calc(-0.5 * 1.9vh);
	}

}