@import url("https://use.typekit.net/mvh7pyq.css");

:root {
	  --color-text: darkgrey;
	  --color-bg: black;
	  --outer-margin: 0.5em;
	  --textshadow: 0px 0px 7px var(--color-bg);
	  --root-f-s: 16px;
	  --text-big: 2.4em;
	  --text-size: 0.6em;
	  --menu-size: 1em;
	  --smaller-text-size: 0.5em;
	  --infoWrapper-padding: calc(var(--outer-margin) / 2) 0 calc(var(--outer-margin) / 2) var(--outer-margin);
	  --font-main: "AUTHENTICSans-90", sans-serif;
	  --font-buttons: "AUTHENTICSans-Condensed-90", sans-serif;
	  --font-additional: "AUTHENTICSans-90", sans-serif;
	  --letter-sp-text: -0.025em;
	  --line-height-text: 1.2em;
	  --letter-spacing-title: -0.02em;
	  --button-svg-w: 0.7em;

	  --highlight-color: #87ef20;
	  --color-bg-2: darkgrey;

	  --color-gallery: var(--highlight-color);
	}

.hideBody{
	display: none;

}

.imgTestCont{
	position: absolute;
	z-index: 1000;
	width: 100%;
	height: 100vh;
	background: red;
	color: black;
}

.imgTestCont img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}

strong{
font-weight: bold !important;
}

*{
	-ms-overflow-style: none;  /* IE and Edge */
	scrollbar-width: none;  /* Firefox */
/*	overscroll-behavior-y: none;*/
	overscroll-behavior-x: none;
	font-display: auto;
/*	transform: translateZ(0);*/

}

html, body{
	margin: 0;
	left: 0;
	top: 0;
	width: 100vw;
	height: 100%;
	background: var(--color-bg);
	font-size: var(--root-f-s);
/*	background-image: url('../media/layout2.jpg');*/
	background-size: 100% auto;
	transform: translateZ(0);

}

.loader{
	transition: 1s opacity;
	width: 100vw;
	height: 100%;
	background: var(--color-bg);
	position: fixed;
	z-index: 200;
	opacity: 0;
	top: 0px;
	left: 0px;
	display: none;
}


*{
	color: var(--color-text);
}

@font-face {
  font-family: "Basteleur-Bold";
  src: url("../fonts/Basteleur-Bold.ttf") format("trueType")
}

@font-face {
  font-family: "monor";
  src: url("../fonts/Monor_Regular.otf") format("opentype")
}

@font-face {
  font-family: "ABCCameraPlain-Regular-Trial";
  src: url("../fonts/ABCCameraPlain-Regular-Trial.otf") format("opentype")
}

@font-face {
  font-family: "AUTHENTICSans-90";
  src: url("../fonts/AUTHENTICSans-90.otf") format("opentype")
}

@font-face {
  font-family: "AUTHENTICSans-Condensed-90";
  src: url("../fonts/AUTHENTICSans-Condensed-90.otf") format("opentype")
}

@font-face {
  font-family: "AUTHENTICSans-90";
  font-weight: bold;
  src: url("../fonts/AUTHENTICSans-130.otf") format("opentype")
}


@font-face {
  font-family: "AkzidenzGroteskPro-Regular";
  src: url("../fonts/AkzidenzGroteskPro-Regular.otf") format("opentype")
}

@font-face {
  font-family: "Atlas-Grotesk";
  src: url("../fonts/AtlasGrotesk-Regular-Cy-Gr-Trial.otf") format("opentype")
}

@font-face{
	font-family: "SuisseWorks-Book";
	src: url("../fonts/SuisseWorks-Book.otf") format("opentype")
/*	font-variation-settings: "slnt" 0, "wdth" 100, "wght" 194.2857;*/
}

@font-face{
	font-family: "SuisseIntl-Book";
	src: url("../fonts/SuisseIntl-Regular.otf") format("opentype")
/*	font-variation-settings: "slnt" 0, "wdth" 100, "wght" 194.2857;*/
}

@font-face{
	font-family: "acumin-variable";
/*	font-variation-settings: "slnt" 0, "wdth" 100, "wght" 194.2857;*/
}

@font-face{
	font-family: "NimbusSanPLig";
	font-weight: normal;
	src: url("../fonts/NimbusSanPLig.ttf") format("trueType")
/*	font-variation-settings: "slnt" 0, "wdth" 100, "wght" 194.2857;*/
}

@font-face{
	font-family: "swansea";
	font-weight: normal;
	src: url("../fonts/Swansea.ttf") format("trueType")
/*	font-variation-settings: "slnt" 0, "wdth" 100, "wght" 194.2857;*/
}
@font-face{
	font-family: "swansea";
	font-weight: bold;
	src: url("../fonts/SwanseaBold.ttf") format("trueType")
/*	font-variation-settings: "slnt" 0, "wdth" 100, "wght" 194.2857;*/
}
@font-face{
	font-family: "swansea";
	font-style: italic;
	src: url("../fonts/SwanseaItalic.ttf") format("trueType")
/*	font-variation-settings: "slnt" 0, "wdth" 100, "wght" 194.2857;*/
}

@font-face{
	font-family: "tonka";
	src: url("../fonts/Tonka_Beta_06VF.ttf") format("trueType");
/*	font-variation-settings: "wght" 100;*/

}


* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  box-sizing: border-box;
  font-weight: normal;
}

::-moz-selection { /* Code for Firefox */
  color: black;
  background: var(--highlight-color);
}

::selection {
  color: black;
  background: var(--highlight-color);
}

.nav *, .projectTop *, .mainCont *{
	font-family: var(--font-main);
	text-decoration: none;
	font-weight: normal;
	color: var(--highlight-color);
	letter-spacing: var(--letter-spacing-title);
	transition: 0.3s color;
}

.mainCont a:hover, .menu p:hover{
	color: var(--highlight-color);
}

.infoNav a:hover, .infoNav a strong:hover, .infoNav a *:hover{
	color: var(--highlight-color) !important;
}

.mainCont *.hovered{
	color: var(--color-bg-2) !important;
	transition: 1s color;
}

.info *{
	font-family: var(--font-additional);
  text-transform: none;
}


.infoText{
	flex-grow: 1;
}

.menu{
	z-index: 3;
	position: absolute;
	right: var(--outer-margin);
}
.nav .headerCont:not(.mainNav .headerCont){

}
.nav .headerCont{
  display: flex;
  justify-content: space-between;
}

.headerCont a, .header1{
	z-index: 100;
	position: relative;
}

.headerCont a:hover{
	color: var(--highlight-color);
}

.mainCont .headerCont a{
	color: var(--highlight-color);
}

.zuza a{
  z-index: 100;
  position: relative;
}

.activeMenu{
	display: flex !important;
}

.listTitle{
	cursor: pointer;
}

.listTitle::after{
  content: url(../media/back2.svg);
  width: 1em;
  height: 1em;
  margin-top: -0.1em;
  margin-left: 0.3em;
  transform: rotate(270deg);
  display: block;
  transition: 0.5s transform;
}
.listTitle.shownList::after{
  
  transform: rotate(90deg);
}

.activeMenu::before {
  content: url("../media/close.svg");
  width: 0.8em;
  height: 0.8em;
  margin-right: 0.3em;
}

.nav .mini-menu{
/*	font-size: var(--text-size);*/
	white-space: nowrap;
	z-index: 10001;
}

.galleryNav .project-info-back{
	stroke: var(--highlight-color);
}

.mini-menu.back{
	position: absolute;
  top: calc(var(--outer-margin) / 2);
  /* width: 100px; */
  /* height: 100px; */
  right: var(--outer-margin);
  z-index: 10000;
}

.mini-menu svg{
	width: 0.9em;

	transition: 0.3s stroke;
}

.to-gallery p, .to-info p{
	cursor: pointer;
}

.scrollTo.scrollToGallery{
	stroke: var(--color-bg);
}

.scrollTo.scrollToInfo{
	stroke: var(--highlight-color);
}

svg.scrollTo:hover{
	stroke: var(--highlight-color);
}

.infoNav .back svg:hover{
	stroke: var(--highlight-color);
}
.to-gallery, .to-info{

	display: flex;
	align-items: center;
  column-gap: calc(var(--outer-margin)/2);
  z-index: 100;
  position: absolute;
  bottom: calc(var(--outer-margin)/2);
  right: var(--outer-margin);
}
.to-gallery p, .to-info p{
	font-family: var(--font-buttons);
	font-size: 0.85em;
	margin: 0;
	line-height: 1em;
}

.projectNav .to-info, .galleryNav .to-gallery{
	display: none !important;
}
.scrollTo{
	transform: rotate(-90deg);
/*	width: 0.65em;*/
  /*stroke-width: 0.2em;
  fill: none;
  cursor: pointer;
  z-index: 100;
 
  position: absolute;
  bottom: 0;
  right: var(--outer-margin);
  margin: calc(var(--outer-margin) / 2) 0;*/
}

.projectCont.galleryNav .mini-buttons{
	position: absolute;
  z-index: 10000;
  right: 0;
  width: fit-content;
  height: fit-content;
}
.projectCont.galleryNav .mini-buttons svg{
	stroke: var(--color-gallery);
}
.mini-menu svg{

}
.mini-menu svg{
	width: var(--button-svg-w);
  height: auto;
  position: relative;
/*   background: red; */
  margin: 0;
  overflow: hidden;
  padding: 0;
  stroke-width: 0.2em;
  fill: none;
  cursor: pointer;
  stroke: var(--color-bg);
}

.mini-menu p{
	letter-spacing: normal !important;
}

.back svg{
	transform: rotate(90deg);
}
.infoCont .mini-menu svg{
	stroke: var(--color-bg);
}
.mainCont .mini-menu svg{
	stroke: var(--color-text);
}
.nav{
	height: 100%;
	width: 100vw;
	position: relative;
	overflow: scroll;

}

.projectlink{
	display: flex;
	color: var(--color-text);
}

.projectLinkIcon{
	width: 0.9em;
  margin-top: -0.05em;
}

.navCont.infoCont *{
	color: var(--color-bg);
}
.navCont.infoCont{
	z-index: 3;
	background: var(--color-text);
	color: var(--color-bg);
	display: flex;
	flex-direction: row !important;
  justify-content: space-between;
}

.homeBody .scrollTo.scrollToGallery{
	display: none;
}

.infoParent{
	display: flex;
	min-height: 100%;
}
.projectBody .infoWrapperParent{
	display: flex;
}
.infoWrapperParent .navContParent{
	display: grid;
}

.projectBody .project-info-back{
	display: none;
}
.homeBody .project-info-back{
	display: none;
}

.home-info-back{
	margin-top: 0.1em !important;
}

.galleryNav .home-info-back, .projectNav .home-info-back{
	stroke: var(--highlight-color);
}

.projectBody .infoWrapperParent .navContParent{
}

.navCont.shortcutsMenu{
  flex-shrink: 0;
  top: 0px;
}

.contactParent{
	display: grid;
	grid-template-columns: 1.1fr 1fr;
}

.calendarParent, .contactParent, .teachingParent{
	padding: var(--infoWrapper-padding);
}

.calendarParent table{
	width: 100%;
}

.calendarParent table tr{
	display: grid;
  grid-template-columns: 1fr 8fr 3fr 3fr;
  column-gap: calc(var(--outer-margin));
  min-height: 1.5em;
	  
}
.calendarParent table .what p, .calendarParent table .where p,.calendarParent table .when p{
	font-size: 0.42em !important;
}
.calendarParent table tr:not(.calendarParent table tr:last-of-type){
	border-bottom: 1.5px solid ;
  padding-top: 0.05em;
}
.calendarParent table td p{
	margin: calc(var(--outer-margin)/2) 0 !important;
}
.calendarParent table td strong, .calendarParent table td strong *{
	font-weight: normal !important;
}
.calendarParent table td:last-of-type{

}

.calendarParent table th{
	display: none;
}

.navContParent .navCont{
	height: fit-content;
}

.infoNav .mini-buttons{
	position: sticky;
  top: 0px;
  
}
.homeBody .infoNav .mini-buttons{
	height: fit-content;
}
.projectBody .infoNav .mini-buttons{
	height: 100%;
}

.navCont.shortcutsMenu .worksList{
	font-size: 0.7em;
}
.profileImg img{
	width: 100%;
}

.projectBody .profileImg{
	display: none;
}
.infoNav .shortcutsMenu .menu{
	display: none !important; 
}



.navCont.shortcutsMenu .worksList{
	padding-bottom: 0px;
}

.projectCont .navCont{
	position: relative;
  width: 50vw;
  flex-grow: 0;
  flex-shrink: 0;
  transition: 0.5s margin-left;
  display: flex;
  justify-content: space-between;
}



.infoWrapperParent{
  width: 100vw;
  min-height: 100%;
}

.cvParent{
	display: flex;
	padding: var(--infoWrapper-padding);
	column-gap: calc(var(--outer-margin) * 2);
}

.infoWrapper.bioD.info.infoHome, .infoWrapper .projectD{
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	column-gap: calc(var(--outer-margin) * 3);
}

.infoWrapper .title{
	margin-bottom: calc(var(--outer-margin) * 2);
}

.homeBody .shortcutsMenu .worksMenu{
/*	display: none;*/
}

.worksList{
	overflow: hidden;
	transition: 0.5s max-height;
	height: fit-content;
	max-height: 50em;
}

.worksList.collapsed{
	max-height: 0px !important;
}

.projectYear{
	font-family: var(--font-additional);
  text-transform: none;
  font-size: var(--text-size);
  margin-left: 0.5em;
}

.credits{
  position: relative;
  column-count: 2;
  display: block;
  font-size: 1em;
  font-size: 0.9em;
  padding-top: calc(var(--outer-margin) / 1.5);

}

.credits h2{
	margin-top: 0 !important;
}

.credits p{
	font-size: var(--smaller-text-size) !important;
	margin-top: 0;
	margin-bottom: 1.5em !important;
	break-inside: avoid;
}

.nav, .projectTop{
	height: 100%;
	position: relative;
	font-size: var(--text-big);
	transition: 0.5s margin-left;
}


.homeBody .nav.closedInfo{
	margin-left: -50vw;
}

.mainCont .projectlink, .mainCont .headerCont a{
}

/**/

.nav .navCont, .projectCont .navCont{
	padding: calc(var(--outer-margin)/2) var(--outer-margin);
}

.mainNav .mainCont.navCont{
	width: 100%;
  height: 100%;
  overflow: scroll;
}

.nav .menu{
  column-gap: calc(var(--outer-margin)* 1.5);
}

.worksList {
}

.nav .menu p, .worksMenu p{
	font-family: var(--font-buttons);
  font-size: var(--menu-size);
  margin: 0;
  letter-spacing: normal;
}

.worksMenu p{
	text-transform: none !important;
}

.contactParent h2.infoH, .teachingParent h2.infoH{
	margin-top: 0px !important;
}

.menu p{
	cursor: pointer;
	color: var(--highlight-color);
	line-height: 1.1em;
	line-height: 1.2em;
}

.menu p::before{
/*	content: "> ";*/
}
.menu p.activeMenu{
	font-variation-settings: "wght" 150;
}

.contactD a{
	text-decoration: underline;
}

.worksMenu p{
	  display: flex;
    line-height: 1.5em;
    margin-top: 0.5em;
    font-size: 1em;
}

.nav .info p, .nav .info h2, .navCont.infoCont p, .navCont.infoCont h2{
	font-family: var(--font-additional);
	font-variation-settings: "wght" 100;
  font-size: var(--text-size);
  text-transform: none;
  margin: 0.9em 0;
  line-height: var(--line-height-text);
  letter-spacing: -0.015em;
}

.credits strong{
/*	letter-spacing: -0.02em;*/
	letter-spacing: normal !important;
  font-family: 'AUTHENTICSans-Condensed-90';
  font-weight: normal !important;
  font-size: 1.3em;
  padding-bottom: 0.4em;
  display: inline-block;
  width: 100%;
}

ul{
	height: fit-content;
  display: block;
}

.nav a, .mainCont.navCont a{
	position: relative;
  display: block;
  width: fit-content;
  line-height: var(--line-height-text);


}

.projectBody .mainCont.navCont a{
/*	text-transform: none;*/
}

.nav a:hover, .mainCont.navCont a:hover{
	z-index: 100;
}

.header1{
	font-family: var(--font-additional);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  font-size: 2.5em;
  text-align: center;
}
.calendarD.info, .bioD.info, .projectD.info{
/*	width: 95%;*/
}
.infoText .projectD.info{
	margin-top: calc(var(--outer-margin) * 0.5);
}
.cvD{
	display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 0.8em;
    width: 94%;
}

.cvCol{
	column-count: 1;
  font-size: 0.95em;
  column-gap: calc(var(--outer-margin)* 1.5);
}

.cvCol strong{
/*	font-size: 1.2em;*/
	font-weight: normal !important;
}

.cvCol p{
	margin: 0 !important;
	font-size: var(--smaller-text-size) !important;
	margin-bottom: 0.6em !important;
}
.cvCol p::before{
/*	content: "> ";*/
	font-weight: bold;
}
.cvCol *{
	text-transform: none;
}
.cvCol h2, .calendarParent h2{
	font-size: calc(var(--menu-size)* 0.85) !important;
}
.contactParent h2, .teachingParent h2{
	font-size: calc(var(--menu-size)* 1) !important;
}



/*.teachingParent{
	column-count: 2;
	column-gap: var(--outer-margin);
}*/
.cvCol h2, .calendarParent h2, .contactParent h2, .teachingParent h2{
    font-family: var(--font-buttons) !important;
    letter-spacing: normal !important;
    margin-bottom: calc(var(--outer-margin) * 1) !important;
}

.credits h2{
	font-family: var(--font-buttons) !important;
    letter-spacing: normal !important;
}

.cvCat{
	break-inside: avoid;
  margin-bottom: calc(var(--outer-margin)* 1.2);
  
}

.cvCat:not(.cvCat:last-of-type){
  padding-bottom: calc(var(--outer-margin)* 0.2);
}

.bioText{
	margin-top: calc(var(--outer-margin) * 2);
}

.calendarParent .infoH{
	font-size: var(--menu-size) !important;
  margin: 0 0 var(--outer-margin) 0 !important;
  text-transform: none !important;
}
.cvCol h2:first-of-type, .cvCol p:first-of-type,.calendarD.info p:first-of-type,.bioD.info p:first-of-type,.projectD.info p:first-of-type{
	margin-top: 0px;
}

.cvCol a{
	text-decoration: underline;
  display: inline;
  text-underline-offset: 2px;
}

.infoCont strong{
	letter-spacing: var(--letter-sp-text);
	font-weight: bold;
}

.infoCont a:not(.title a), .infoContact a {
  text-decoration: underline;
/*  text-decoration-color: var(--highlight-color);*/
  display: inline;
  text-underline-offset: 2px;
  /* text-underline-position: from-font; */
  text-decoration-thickness: 2px;
}

.navCont.infoCont h2{
	font-variation-settings: "wght" 160;
	text-indent: 2em;
}

.infoNav{
	background: var(--color-text);
	flex-direction: column;
}

.infoNav *{
	color: var(--color-bg);
}

.homeBody .images{
	position: absolute;
}

.projectBody .images{
	position: absolute;
}

.images{
	width: 100vw;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  top: 0;
  left: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 2s;
}

.videoGallery figure{
	/*position: absolute;
    z-index: 1000;
    margin: 0;
    width: 100%;
    display: flex;
    height: 100%;
    pointer-events: all;
    position: relative;
    width: 100vw;
    height: 0;
    padding-bottom: 56.25%;
    background: green;*/
    margin: 0;
    position: absolute;
	  overflow: hidden;
	  
/*	  background: green;*/
	  
	  z-index: 101;

}

.less-16-9 .videoGallery figure{
	padding-top: 56.25%;
	width: 100%;
}
.more-16-9 .videoGallery figure{
	padding-left: 100%;
	height: 100%;
}

.videoGallery iframe{
		/*border: none;
    background: red;
    width: 100%;
    max-height: 100vh;
    position: absolute;
    height: 100%;*/
    position: absolute;
    border: none;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  max-height: 100vh;
}



.imgHolder, .imgGallery{
	width: 100vw;
	height: 100%;
	background-size: cover;
	background-position: center;
}

.imgGallery{
	overflow: hidden;
}
.imgGalleryCont .galleryParent{
	width: 100vw;
	height: 100%;
	display: flex;
	align-items: flex-start;
	justify-content: flex-end;
	flex-direction: column;
	position: absolute;
	transition: 0.5s width;
}

.caption:not(.currentGallery .caption){
	display: none;
}


.galleryParent .imgGallery{
	transition: 1.5s opacity, 0.5s width;
}
.galleryParent:not(.galleryParent.visibleGallery){
	display: none;
}


.prevnext{
	position: absolute;
  width: 100vw;
  height: 100%;
  z-index: 1;
  display: flex;
}

.prev{
	cursor: w-resize	
}
.next{
	cursor: e-resize	
}
.prev, .next{
	width: 50vw;
	height: 100%;
}

.currentGallery .caption{
	z-index: 1001;
	pointer-events: none;
/*	background: var(--color-bg);*/
}

.galleryParent img{
	/*-webkit-mask-image: url('../media/mask5.svg');
	mask-image: url('../media/mask5.svg');*/
	mask-size: 100%;
  mask-position: center;
}

.aboutProject{
/*	*/
	font-family: var(--font-buttons) !important;
	text-transform: none !important;
	letter-spacing: normal;
}

.caption{
  position: absolute;
  width: calc(100% - 3vw);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;

}
.caption{
	padding: calc(var(--outer-margin) / 2) var(--outer-margin);
}
.caption p.captionText{
	margin: calc(var(--outer-margin) / 4) 0;
}
.caption p{
	font-family: var(--font-main);
  font-size: 0.42em;
  margin: 0px;
  text-transform: none;
  color: var(--color-gallery);
}

.caption .aboutProject{
/*	font-family: var(--font-main) !important;*/
  text-decoration: none;
  font-weight: normal;
  text-transform: uppercase;
  color: var(--color-gallery);
  font-size: 0.8em;
  cursor: pointer;
  line-height: 0.9em;

}
.imgGalleryCont .imgGallery{
	width: 100vw;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	background-position: center;
}
.imgGalleryCont .imgGallery img{
	max-height: 100%;
  height: auto;
  width: auto;
  min-height: 100%;
}

.projectCont{
	width: 100vw;
	height: 100%;
	display: flex;
	overflow: hidden;
	position: relative;
}

.imgGalleryCont{
	z-index: 100;
	width: 100vw;
	height: 100%;
	flex-grow: 0;
  flex-shrink: 0;
}

.img {
  position: fixed;
  top: 0;
  left: 0;
  object-fit: cover;
	-webkit-mask-image: url('../media/mask.svg');
	mask-image: url('../media/mask.svg');
	-webkit-mask-origin: content-box;
  mask-origin: content-box;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
/*	mask-position: 50vw 0vh;*/
/*	mask-size: 70%;*/
/*	transition: mask-position 20s, mask-size 10s, min-width 2s, min-height 2s, max-width 2s, max-height 2s, opacity 1s;*/
	opacity: 1;
	display: flex;
  height: auto;
  width: auto;
  min-width: 100%;
  min-height: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.bgImage{
	width: 100vw;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
}

.projectTop{
	flex-direction: column;
	width: 100vw;
	padding: calc(var(--outer-margin) / 2) var(--outer-margin);
}

.projectText, .credits{
	margin-top: calc(var(--outer-margin)* 2);
}



.projectheader{
	display: flex;
	width: 100%;
}

.projectheader span{
	max-width: 100%;
	color: var(--color-text);
}

.scroll-container {
  height: 100%;
/*  overflow-y: hidden;
  scroll-snap-type: y mandatory;*/
  position: absolute;
}

.homeBody .scroll-container{
	 overflow-y: hidden;
  scroll-snap-type: y mandatory;
}
.projectBody .scroll-container{
	overflow-y: scroll;
  scroll-snap-type: y mandatory;
}

.scroll-area {
  scroll-snap-align: start;
  min-height: 100%;
/*  height: fit-content;*/
}

.footer{
	width: 100vw;
	height: 20vh;
	background: var(--color-bg);
	padding: calc(var(--outer-margin)/2) var(--outer-margin);
}

.footer p{
	margin: 0;
	font-size: var(--smaller-text-size);
	text-transform: none;
}

.footer *{
	color: var(--color-text);
}
@media screen and (orientation:landscape){
	.desktop-hide{
		display: none !important;
	}
	.calendarParent{
		padding-right: var(--outer-margin);
	}
	.teachingParent p{
		max-width: 50%;
	}
	/*.navCont{
		position: absolute;
		width: 100%;
		height: 100%;
		margin: 0;
		left: 0;
		top: 0;
	}*/
	/*.navCont *{
		transform: translateZ(0);
	}*/
}
@media screen and (orientation:portrait){
	.mobile-hide{
		display: none !important;
	}
	html, body{
		overflow: hidden;
	}
	.nav .navCont, .projectCont .navCont, .projectTop{
		padding: calc(var(--outer-margin)) calc(var(--outer-margin) * 2) calc(var(--outer-margin)) calc(var(--outer-margin) * 1.5)
	}
	.contactParent{
		grid-template-columns: 1fr;
/*		grid-template-rows: 1fr 1fr;*/
	}
	.infoParent{
		min-height: 100%;
	}
	.projectlink {
	    color: lightgrey;
	}

	.calendarParent table tr{
		grid-template-columns: 2fr 8fr;
	}
	.calendarParent table .what p, .calendarParent table .where p, .calendarParent table .when p{
		font-size: 0.45em !important;
	}
	.imgGalleryCont .imgGallery img {
    max-height: 100% !important;
    height: auto;
    width: auto;
     min-height: auto; 
    max-width: 100%;
    flex-grow: 0;
    flex-shrink: 0;
    display: flex;	
	}	
	.shortcutsMenu.navCont{
		padding-right: calc(var(--outer-margin)/1) !important;
	}
	.calendarParent, .contactParent,.teachingParent{
		padding: calc(var(--outer-margin) * 1.5)
	}
	.mini-menu.back{
		margin-top: 0.1em;
	}
	.infoWrapper.bioD.info.infoHome, .infoWrapper .projectD{
		display: block;
	}
	.credits{
		column-count: 1;
		font-size: 1em;
	}
	.menu{
		position: relative;
		padding: 0 var(--outer-margin) ;
		/*display: flex;
		flex-wrap: wrap;*/
	}
	/*.menu p::before{
		content: '> ';
	}*/
	.images{
		z-index: -2;

	}
	.homeBody .headerCont a{
		margin-bottom: 0.25em;
	}
	/*.galleryParent img{
		-webkit-mask-image: url(../media/mask-vert.svg);
    mask-image: url(../media/mask-vert.svg);
    mask-size: 100%;
	}*/
	.homeBody .images{
		opacity: 0.8;
	}
	.nav .headerCont{
		display: block;
	}
	:root{
		--outer-margin: 0.3em;
		--root-f-s: 13px;
		--button-svg-w: 0.8em;
	}
	.mini-buttons{
		padding-left: var(--outer-margin) var(--outer-margin) var(--outer-margin) 0;
	}

	.footer{
		padding: var(--outer-margin) calc(var(--outer-margin)* 1.5);
	}
	.caption{
		padding: var(--outer-margin);
	}
	.to-gallery, .to-info{
/*		right: calc(var(--outer-margin) * 1.5);*/
		bottom: var(--outer-margin);
	}

}