/* Hide scrollbar for Chrome, Safari and Opera */
body::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
body {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

@font-face {
  font-family: 'circular';
  src: url('fonts/CircularStd-Book.otf');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'circular';
  src: url('fonts/CircularStd-BookItalic.otf');
  font-weight: normal;
  font-style: italic;
}

*{
  -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
  font-family: 'circular';
  color: rgba(0,0,0,0.8);
}

a{
	text-decoration: none;
}

.hidden{opacity: 0}



.loading{
	transition: 1s;
}

.painting{
	flex: 1 0 20%;
	box-sizing: border-box;
}

.painting:last-child{
	flex: 0 0 25%;
}

/*.painting:nth-child(3n){
	flex: 0 0 33.33%;
}*/

.painting img{
	width:100%;
}

.gallery{
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4em;
padding: 4em;
}

.credits{
	padding: 4em; font-size:1em;
	color: rgba(0,0,0,0.4);
}

.credits *{
	color: inherit;
}

.header{
	margin: 1em;
}

.mobile{
	display: none;
}

#menu{
	position: fixed;
	width: 100vw;
	height: 100vh;
	top:0;
	left:0;

	background-color: white;

	padding: 1em;
	display: block!important;

	transition: 0.5s;

	pointer-events: none;
	opacity: 0;

}

#menu li{
	display: block;
	font-size: 1em;
}

nav{
	display: flex;
	gap: 1em;
	position: fixed;
	top:0;
	right:0;
	margin: 1em;

}



nav li{
	list-style: none;
	display: inline-block;
	text-align: right;
}	

#lightbox{
	opacity: 0;
	transition: 1s;

	position: fixed;
	width: 100vw;
	height: 100vh;
	top:0;
	left:0;
	pointer-events: none;
	z-index: 100;

	background-color: black;
}

#closeLB{
	position: fixed;
	top:0;
	right: 0;
	opacity: 0;
	pointer-events: none;
	margin: 1em;

	          display: flex;
      align-items: center;
      justify-content: center;
    width:100px;
    height:35px;
    background-color: white;
    bottom: 0;
    transition: 1s;
    transition-delay: 0.5s;
    border-radius: 50px;
    z-index: 120;


}

.contents{
	max-width: 800px;
margin: auto;
margin-top: 5em;
padding: 1em;
}

.contents h1{
	font-size: 1em;

font-style: normal;
font-weight: normal;
border-bottom: 1px solid;
}

.contents ul{
	list-style: none;
}

.contents ul li{
	margin-bottom: 0.3em;
}

.contents img{
	width:50%;
}

.contents figure{
	margin:0;
}

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




.painting{
	flex: 1 0 100%;
}
.painting:last-child{
	flex: 0 0 100%;
}

.painting:nth-child(3n){
	flex: 0 0 100%;
}

.gallery{
	gap:0;
	padding: 1em;
}

.credits{
	padding: 1em; font-size:1em
}

.desktop{
	display: none;
}

.mobile{
	display: flex;
}

.contents img{
	width:100%;
}

}