
/*   
Theme Name: Manuel Schneidewinds Webseite
Author: Christian Bär
Author URI: www.christianbaer.net
*/



:root {
	--black: black;
	--white: white;
	--blue: blue;
	--purple: purple;
	
	--grey: gray;

	font-size: clamp(18px, 1.6vw, 40px);
	color:  black;
}

* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box
}

html {
	-ms-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
	background-color: #fff;
	color: #fff;
	scroll-behavior: smooth;
}

article, aside, details, figcaption, figure, .footer, header, hgroup, main, nav, section, summary, img {
	display: block;
	margin: 0;
}
button{
	font-size: 1em;
	font-family: 'Times New Roman', Times, serif;

}
audio, canvas, video {
	display: inline-block;
	vertical-align: baseline
}

h1, h2, h3  {
	line-height: 1em;
	font-size: 2em;
	margin: 0;
	padding: 0;
	margin-bottom: 0.5rem;
	font-weight: bold;
}

ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	line-height: 1.1em;
}

u {
	text-decoration: underline;
	display: inline-block;
}

a {
	text-decoration: none;
	color: var(--black);
	cursor: pointer;
}

a:hover, a:active,  .current-menu-item {
	cursor: pointer;
	color: var(--blue);
	text-decoration: underline;

}

body {
	display: flex;
	/* to adjust the footer */
	flex-direction: column;
 	/* to adjust the footer */
	height: 100%;
	min-height: 100vh;
	margin: 0;
	font-size: 1em;
	line-height: 1em;
	font-family: 'Times New Roman', Times, serif;
		color: var(--brown);
		scroll-behavior: smooth;
}

header{
	width: 100%;

display: flex;
flex-wrap: wrap;
height: auto;

}

nav {
	position: fixed;
	z-index: 100;
	top: 0;
	left: 0;
	height: auto;	
	width: auto;
	display: flex;

}

nav a {
	padding: 1vw;
}

.info {
	position: relative;
	top: 0;
	left: 0;
	width: 100%;
	height: auto;
	padding: 1vw;
	padding-top: 2em;
	
}

article.work {
	position: relative;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
		margin-bottom: 1.5em;


	
}

.work img {
	height: auto;
	max-height: 100svh;
	min-height: 50svh;
	width: auto;
	min-width: 30vw;
	max-width: 100svw;
	object-fit: contain;
	margin: 0px auto 0px auto;
}

.carousel-cell{
	width: auto;
	height: auto;
		min-height: 50svh;
}

.flickity-prev-next-button.previous:after{
  content: "<";
  font-size: 1em;
}
.flickity-prev-next-button.next:after{
  content: ">";
  font-size: 1em;
}

.work-details {
	display: block; 
	position: relative;

	position: sticky;
	bottom: 0;
	padding: 1vw;
	padding-top: 0.5vw;
	
}

footer{
		width: 100%;

display: flex;
flex-wrap: wrap;
height: auto;


}

footer > *{
	padding: 1vw;
}


