:root {
  --content-width: 65rem;
}

@font-face {
font-family: 'Rubik';
font-style: normal;
font-weight: 400;
src: url(../fonts/Rubik-Regular.ttf) format("truetype");
}

@font-face {
font-family: 'Rubik';
font-style: light;
font-weight: 300;
src: url(../fonts/Rubik-Light.ttf) format("truetype");
}

*,
*:after,
*:before{

  box-sizing: border-box;
}

html {

  font: normal 300 16px/1.5 'Rubik', sans-serif;
  letter-spacing: .06rem;
  overflow-y: scroll;
  cursor: default;
  min-height: 100%;	
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  scroll-behavior: smooth;

}

body {

}

li {
  list-style: none;
}

a {
  color: currentColor;
  text-decoration: none;
}



a[aria-current] {
  border-bottom: 1px solid;
  padding-top: .5rem;
  padding-bottom: 0.05rem;
}



strong, b {
  font-weight: 500;
}

hr {
	width: 30%;
	margin-bottom: 2rem;
}


.arrow {
	display: inline-block;
	width: 1.5rem;
}

h1 {
	font-weight: 300;
	font-size: 1.7rem;
	line-height: 2rem;
	margin-bottom: .5rem;
}

h2 {
  font-weight: 300;
  font-size: 1.2rem;
  margin-bottom: .5rem
}



.page {
  padding: 5vh 5vw 10vh;
}
.page > * {
  max-width: var(--content-width);
  margin: 0 auto;
}

.cf::after {
  content: "";
  display: block;
  height: 0;
  overflow: hidden;
  clear: both;
}

.outerwrap {
	margin: 0 auto;
    max-width: 1900px;
    width: 100%;
}


/* -----  HEADER/MENU  ------------------------------------------------- */



.header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  position: fixed;
  z-index: 1000;
  left: 0;
  right: 0;
  top: 0;
  box-sizing: content-box;
  margin: 0 auto;
  padding: 1rem 10vw 0;
  background-color: rgba(255, 255, 255, 0.9)
}

.header.home {
  background-color: rgba(255, 255, 255, 0);
}

.header .logo {
  display: block;
  padding-left: 0;
  margin-bottom: 1.5rem;
  font-size: 2.5rem;
  
}

.header.home  .logo.white {
	color: #fff;
}




.menu {
  display: block;
  padding-top: 0.7rem;
  padding-right: 0;
  font-size: 1rem;
}

.menu li {
  margin: 0  0 0 2rem;
  text-align: right;
  display: inline-block;
}






.grid {
  font-size: 0;
}

.grid-item img {
	width: 100% ;
}

.grid:after {
  	content: "";
  	display: block;
  	clear: both;
}





/* -----  MAIN  ------------------------------------------------- */



main {
   min-height: calc(100vw - 15rem);
   margin: 6.2rem 10vw 2vh;
   position: relative;
   padding-top: 3rem;
}

main.works {
   margin: 6.2rem 8vw 2vh;
   padding-top: 1.5rem;
}

main.work {
   margin: 6.2rem 7vw 2vh;
   padding-top: 2rem;
}


.text {
  line-height: 1.5em;
  margin: 0 auto 3rem;
  font-size: 1rem;
}

.text.about {
	width: 85%;
}

.text.imprint {
   width: 70%;
}

.text.center {
	text-align: center;
}



.centerframe {
display: flex;
align-items: center;
justify-content: center;
height: 80vh;
}



.text p,
.text figure,
.text ul,
.text ol {
  margin-bottom: 1.5em;
}


.text > *:first-child {
  margin-top: 0;
}

.text a {
  position: relative;
  white-space: nowrap;
  z-index: 1;
  display: inline-block;
  border-bottom: 1px solid #000;
  }

.text figure {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.text img {
  width: 100%;
}

.text li:before {
    content: "• ";
    font-size: 0.8em;
    vertical-align: middle;
    margin-right: 0.5em;
    }


.text ul {
	    padding-left: 0;
}

.textphoto {
	padding-top: 0;
	padding-bottom: 2rem;
	width: 90%;
	margin: 0 auto;
}

.textphoto img {
	width: 100%;
}

.topframe {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}



/* -----  HOME  ------------------------------------------------- */



@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Internet Explorer */
@-ms-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.toptitle.load {
	opacity: 1
}

.toptitle.white {
   color: #fff;
}

.toptitle.upright {
  left: auto;
  right: 0;
  top: 1.5em;
  bottom: auto;
}

.toptitle.downright {
  left: auto;
  right: 0;
    text-align: right;


}

.toptitle.upleft {
  left: 0;
  right: auto;
  top: 1.5em;
  bottom: auto;
}









/* -----  WORKS  ------------------------------------------------- */


.works.grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	width: 100%;

}

#slider {
	width: 90%;
	margin: 0 auto 3rem;
}


.works.grid-item { 
	position: relative;
	width: calc(50% - 3rem);
	margin: 1.5rem 1.5rem;
}

.works-img {
	position: relative;
	width: 100%;
	height: auto;
	margin-bottom: 1rem;
	display: block;
}


.works-img:before {
	content: "";
	display:block;
	padding-top: 72%;
	}
	
.works-img img {
	position: absolute;
	top: 0px;
	bottom: 0px;
	height: 100%;
	width: 100%;
	object-fit: cover;
}	
		

.workhead {
	text-align: center;
	font-size: 1.7rem;
}

.worktitle {
	font-size: 1rem;
	text-align: center;
	margin-top: .7rem;
}

.worktext {
	width: 75%;
	font-size: .85rem;
	text-align: center;
	margin: 0 auto;
}


.video {
	position:relative;
}


.video:before,
.video:after {
	position: absolute;
    content: "";
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    padding: 0;
    margin: -29px 0 0 -29px;
    border: 3px solid #fff;
    border-radius: 100%;
    background-size: 175px;
    background-position: 12px -428px;
	box-sizing: content-box;
	background-image: url(../icons/modulobox.svg);
	background-repeat: no-repeat;
	background-color: transparent;
}


.video:after {
	opacity: 0;
	visibility: hidden;
	background-image: none;
	background-color: transparent;
	border-color: transparent;
	border-left-color: #fff;
}




/* -----  ABOUT  ------------------------------------------------- */




.footnotes {
	margin-left: 1em;
	font-size: 0.9em;
	line-height: 1.5em;
}

.footnote-ref, .footnote-backref {
	color: rgb(63, 125, 64);
	font-weight: 600;
	font-size: 0.95em;
	margin-left: 0.2em;
}






/* -----  EXHIBITIONS  ------------------------------------------------- */



.archive.grid {
	margin: 0 -1.5% 2rem;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start ;
}


.exhibition.grid-item {   
	float: left; 
	width: 33.33%;
	padding: 0 1.2% 2.5%;
}


.exhibimg {
	position: relative;
	padding: 0;
}



.exhibtext {
	font-size: .95rem;
	line-height: 1.5em;
	margin-top: 1em;
}






/* -----  FOOTER  ------------------------------------------------- */




.footerwrap {
	position: fixed;
	display: block;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #fff;
}

.footerwrap.home {
	display: none;
}

.footer {
  text-align: center;
  max-width: var(--content-width);
  margin: 0 auto;
  line-height: 1.5em;
  font-size: .75rem;
  opacity: 1;
    -webkit-transition: all 0.5s ease;
 		transition: all 0.5s ease;
}

.footer-copyright {
  margin: .75rem 2rem;
}


.footer a {
  display: inline-block;
}


.footer.smaller {
	opacity: 0;
}

.footer > a {
  margin-bottom: 1.5rem;
  border-top: 2px solid #000;
  width: 16.5rem;
  padding-top: .5rem;
}

.sociallinks  li {
  display: inline-block;
}

.social a {
  padding: .5rem 1rem;
  width: 1rem;
  text-align: center;
}
.social a:hover {
  background: #000;
  color: #fff;
}

a.back-to-top {
	display: none;
	position: fixed;
	z-index: 999;
	right: 2rem;
	bottom: 2rem;
}

