/**
 * main.css
 *
 * 1. General HTML tags
 * 2. Masthead area
 * 3. Main content and sidebar
 * 4. Footer
 * 5. Media queries for responsive layout
 * 6. Accessibility helpers
 *
 */

/*********************************************************************
 * 1. General HTML tags
 *
 */

#@import url('https://fonts.googleapis.com/css2?family=Inter:wght@500&display=swap');

* {
	box-sizing: border-box;
}

body {
	padding: 1rem;
	#max-width: 1600px;
	#margin: 0 auto;
}

body, nav {
	#font-family: 'Times New Roman', serif;
	font-size: 100%;
	line-height: 1.8em;
	color: #444;
	font-family: Helvetica, Arial, sans-serif!important;
	#font-family: 'Inter', sans-serif;
	padding-top: 0px;

}

.bg-color {
	/* background: #fc8787;
	color: white */
}

nav {
	display: block
}

.p_wrapper {
  display: flex;
  flex-wrap: wrap;
}

.p_item {
  flex: 1;
}

.p_about {
  text-align: right;
}


a, a:visited {
	text-decoration: none;
	color: #000;
}


.hover_link{
	border-bottom: 1px solid black;
	cursor: pointer;
	padding-bottom: 0.3rem;
}

#imprint {
	position: fixed;
	right: 1rem;
	bottom: 1rem;
	width: auto;
}


#content {
	margin-top: 6rem;
	#max-width: 1200px;
	line-height: 1rem;
}

#gallery {
	margin-top: 5rem;
	line-height: 1rem;
	overflow: auto;
}


#projects {
  #flex-flow: row wrap;
	#max-width: 850px;
	font-weight: lighter;
}

.outer {
	display: block;
	line-height: 3rem;
}

.about__link {
	margin-right: 1rem;
}

a.project__link{
	font-size: 40px;
	text-decoration: none;
	color: #000;
	#width: 80px;
  height: 50px;
	display: inline-block;
	letter-spacing: -1px;
	font-weight: lighter;
}

a.project__link:hover {
	#text-decoration: line-through;
	text-decoration-thickness: 2px;
	border-bottom: 1px solid;
}

a.chocolat-image img {
	filter: grayscale(100%);
}

.about__text {
	-webkit-tap-highlight-color: transparent;
	line-height: 1.2rem;
	max-width: 1000px;
}

summary, summary:active{
	outline: none;
	-webkit-tap-highlight-color: transparent;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

summary:hover {
	cursor: pointer;
}

a.chocolat-image img:hover {
	filter: grayscale(0%);
}

.pswp__bg {
    background: #fff!important;
}

.pswp__ui--fit .pswp__top-bar, .pswp__ui--fit .pswp__caption {
    background-color: #fff!important;
}

img.pwpswp-gallery__image.pwpswp-gallery__image--plain {
		display: inline-block;
		width: 100%;
		height: 100%;
		object-fit: cover;
		background-position: center center;
}

.pwpswp-gallery__inner.pwpswp-gallery__inner--plain:after {
    clear: both;
    content: "";
    display: table;
}

.chocolat-wrapper .chocolat-pagination{
	display: none!important;
}


figure.pwpswp-gallery__item.pwpswp-gallery__item--plain{
    margin: 0;
		display: inline-block;
		width: 15%;
		margin-right: .7rem;
		height: 150px;
		padding: 0;
		overflow: hidden;
		background-repeat: no-repeat!important;
		margin-bottom: .5rem;
}

.pswp__top-bar, .pswp__caption {
	background-color: #fff!important;
}

.js_project_text {
	max-width: 60%;
	line-height: 1.1rem!important;
    /* font-size: 1.3rem; */
}

.js_project_text a {
	text-decoration: underline
}

@media only screen and (max-width: 700px) {

	.js_project_text {
		max-width: 100%;
	}

	figure.pwpswp-gallery__item.pwpswp-gallery__item--plain {
	    margin: 0;
			display: inline-block;
			width: 100%;
			margin-right: .7rem;
			height: 300px;
			padding: 0;
			overflow: hidden;
			background-repeat: no-repeat!important;
			margin-bottom: .5rem;
	}

	#imprint {
		position: relative;
		width: auto;
		margin-left: 1rem;
		margin-top: 2rem;
		color: red
	}

	.outer {
	    margin-bottom: 0px;
			line-height: 0px;
	}

	.outer a{
		line-height: 1.5em;
		font-size: 1.8rem;
		height: auto!important;
	}

	.p_wrapper {
		flex-direction: column;
	}

	.p_about{
		text-align: left
	}

}
