@import url("https://fonts.googleapis.com/css2?family=Roboto+Slab&display=swap");

/* THIS IS A COMMENT IN CSS */
/*	THEY
	CAN
	BE 
	MULTILINE */

* {
	box-sizing: border-box;
}

body {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1.5 rem;
	margin: 0;
	/* padding: 1rem; */
}

h1,
h2,
h3,
h4,
h5,
h6 {
}

h2 {
}
/* h2::after {
	content: "";
	position: absolute;
	top: 0px;
	width: calc(100% - 4rem);
	left: 2rem;
	height:100%;
	z-index: -1;
	background: rgba(255, 255, 255, 0.5);
	mix-blend-mode: normal;
} */

header {
	padding: 0;
	position: relative;
}

nav {
	background: none;
}

/* here we select all a tags inside a header tag */
header a {
}

main {
	margin-top: 1rem;
	min-height: 80vh;
}

.logo {
	height: 2rem;
	max-width: initial;
	display: inline-block;
	/* position: absolute; */
	margin-left: 1.7%;
	margin-top: 1.5%;
	z-index: 1;
}
.logo::after {
	content: "";
	clear: both;
	display: table;
}

.logo img {
	height: 100%;
}

/* 
 * Slider 
 */

.switch-link {
	margin: 1rem;
	position: absolute;
	top: 0;
	right: 0;
}
.switch-link:hover {
	cursor: pointer;
}

/* The switch - the box around the slider */
/* .switch {
	position: relative;
	display: inline-block;
	width: 44px;
	height: 20px;
	margin: 0 0.5rem;
} */
.switch {
	position: relative;
	display: inline-block;
	width: 30px;
	height: 30px;
	margin: 0 0.5rem;
}

/* Hide default HTML checkbox */
.switch input {
	opacity: 0;
	width: 0;
	height: 0;
	display: none;
}

/* The slider */
.slider {
	transition: all 2s ease;
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: none;
	-webkit-transition: 0.4s;
	transition: 0.4s;
	background: linear-gradient(to bottom right, white 50%, black 51%);
}

/* .slider:before {
	position: absolute;
	content: "";
	height: 12px;
	width: 12px;
	left: 2px;
	bottom: 2px;
	background-color: black;
	-webkit-transition: 0.4s;
	transition: 0.4s;
	background: linear-gradient(
		to bottom right,
		red 10%,
		yellow 30%,
		green 50%,
		blue 70%,
		indigo 90%
	);
} */

/* input:checked + .slider:before {
	-webkit-transform: translateX(24px);
	-ms-transform: translateX(24px);
	transform: translateX(24px);
	background: linear-gradient(to bottom right, white 50%, black 51%);
} */

input:checked + .slider {
	/* background-color: black; */
	background: linear-gradient(
		to bottom right,
		red 10%,
		yellow 30%,
		green 50%,
		blue 70%,
		indigo 90%
	);
}

/* Rounded sliders */
.slider.round {
	border-radius: 100vw;
	border: 2px solid black;
}

.slider.round:before {
	border-radius: 100vw;
}

img {
	max-width: 100%;
}

.flexbox {
	/* Mobile first */
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.flexbox .column {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.column img {
	width: 100%;
	border-radius: 5px;
	height: 100%;
	object-fit: cover;
}

section {
	position: relative;
}

section .title,
section h2 {
	position: relative;
	cursor: pointer;
	top: 0px;
	color: #333;
	font-family: "gilbert", sans-serif;
	font-size: 11vw;
	font-size: clamp(2.5rem, 11vw, 9rem);
	/* border-bottom: 0.25rem solid #deded9; */
	border-radius: 1rem;
	height: 13vw;
	border: none;
	background: none;
}

section .title img {
	position: absolute;
	top: 1.2rem;
	left: 1.1rem;
	height: 11.8vw;
	height: clamp(2.5rem, 11.8vw, 9rem);
	width: auto;
	object-fit: inherit;
}

section h2 {
	line-height: 0.75;
	border: none;
}

.title:focus > *,
.title:target > * {
	/* border: 1px solid rgba(80, 80, 80, 0.253); */
	/* color: white; */
	/* background: rgba(80, 80, 80, 0.253); */
	text-decoration: underline;
}

.contrast-mode-color .title {
	color: white;
	mix-blend-mode: exclusion;
	/* border-color: rgba(255, 209, 60, 0.253); */
}

.contrast-mode-color .title h2 {
	visibility: hidden;
}
.contrast-mode-color .title {
	mix-blend-mode: multiply;
}
.contrast-mode-color .title img {
	display: block;
}
.contrast-mode-contrast .title img {
	display: none;
}

@supports ((hanging-punctuation: first) or (-moz-orient: inline)) {
	.contrast-mode-color .title {
		mix-blend-mode: multiply;
	}
	.contrast-mode-color .title img {
		display: none;
	}
	.contrast-mode-color .title h2 {
		font-family: "gilbert-color", sans-serif;
		visibility: visible;
	}
}

section .title,
.text {
	margin: 0 2rem;
	padding: 1.15rem;
}

.text {
	margin-top: 1rem;
	max-width: 800px;
}

.tabelle-date {
	font-size: 2rem;
	line-height: 1.5rem;
	padding-bottom: 1rem;
	padding-top: 2rem;
}

.grid-container {
	display: grid;
	grid-template-columns: 60px 1fr 120px;
	grid-column-gap: 0;
	grid-row-gap: 2rem;
	padding-bottom: 1rem;
}

.grid-item {
	border-top: 0.15rem;
	border-top-color: black;
	border-top-style: solid;
	padding-top: 0.5rem;
}
.grid-item-head {
}

.workshoptext {
	padding-left: 2rem;
}

/*
mobile layout
*/

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
	section .title,
	.text {
		margin: 0 0.5rem;
		padding: 1.15rem;
		height: unset;
	}

	section .title {
		padding-bottom: 0.5rem;
	}
	section .title h2 {
		margin-bottom: 1.5rem;
	}

	.tabelle-date {
		font-size: 1.2rem;
	}
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
	.flexbox {
		flex-direction: row;
	}

	.flexbox .column {
		flex: 33%;
		max-width: 100%;
	}
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
}
