@import url('https://fonts.googleapis.com/css2?family=Sono:wght,MONO@200..800,1&display=swap');

body {
	font-family: "Sono";
	font-size: 1.7vmin;
	text-align: center;
	color: #481e03;
	background-color: #bfcdd2;
	overflow: hidden;
	scrollbar-width: thin;
    	opacity: 0;
    	transition: opacity 0.8s ease;
  }

body.loaded {
    	opacity: 1;
  }


a {
	color: #4f5d75;
	text-decoration: none;
  	transition: 0.5s;
}

a:hover {
	color: #E6ECEC;
}

h1 {
	color: #4f5d75;
	font-size: 2.5vmin;
}

video {
	display: block;
  	margin: 0 auto;
	width: auto;
  	max-width: 100%;
  	max-height: 90vh;
	height: auto;
}

hr {
	border-top: 1px;
	margin-top: 1em;
	margin-bottom: 1em;
	background-color: #481e03;
}

figcaption {
	font-size: 2vmin;
}


/* text boxes */
.boxes {
    	position: absolute;
    	width: 28%;
    	max-height: 55%;
    	top: 28%;
    	right: 22%;
   	 display: flex;
   	 flex-direction: column;
	text-align: left;
	scrollbar-width: none;
}

.boxes2 {
	position: absolute;
	width: 45%;
    	max-height: 55%;
    	top: 29%;
    	right: 25%;
   	 display: flex;
   	 flex-direction: column;
	text-align: left;
	scrollbar-width: none;

}


/* <----------------------image map { color: green; } ----------------------> */
.map {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.map img {
width: 95%;
	pointer-events: auto;
}


/* <----------------------tabs { color: green; } ----------------------> */
.tab {
	position: sticky;
	top: 0;
	z-index: 5;
	background-color: #bfcdd2;
	padding-bottom: 0.5em;
}

.scroll-content {
    	overflow-y: auto;
    	overflow-x: hidden;
    	flex: 1;
    	text-align: left;
    	scrollbar-width: none;
}

/* Style the buttons that are used to open the tab content */
.tab button {
 	background-color: inherit;
  	float: left;
  	border: none;
  	outline: none;
  	cursor: pointer;
  	padding: 1.5vmin 1.5vmin;
  	transition: 0.3s;
	font-family: "Sono";
	font-size: 2vmin;
	color: #481e03;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #E6ECEC;
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: #E6ECEC;
}

/* Style the tab content */
.tabcontent {
  	display: none;
  	padding: 6px 12px;
  	border-top: none;
	animation: fadeEffect 1s;
}


/* <----------------------images { color: green; } ----------------------> */
/* gallery */

.gallery {
 	position: absolute;
	left: 29%;
	top: 23.5%;
	width: 21.5%;
	height: 60%; 
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 2px;
}

.gallery img {
	border-style: solid;
	border-color: #481e03;
	border-width: 0.1em;
	object-fit: cover;
	width: 100%;
	height: 120px;
	loading: eager;
}

.gallerypinga{
    	position: absolute;
	left: 27.5%;
	top: 15%;
	width: 24.5%;
	height: 60%; 
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 2px;
}

.gallerypinga img {
	border-style: solid;
	border-color: #481e03;
	border-width: 0.1em;
	object-fit: cover;
	width: 40%;
	height: 47%;
	loading: eager;
}


section .aboutgallery img {
	float: none;
	margin: 0;
	display: block;
}

.rightgallery .scroll-content img {
	width: 25%;
	float: right;
	margin-left: 1em;
}


	
/* following lightbox styles written by David Everitt: https://github.com/DaveEveritt/css-lightbox { color: red; } */

/* Hides the lightbox and contents, sets their styles */
.lightbox {
  	opacity: 0;
  	position: fixed;
  	width: 100%;
  	height: 100%;
  	top: -100%;
  	left: 0;
  	background: rgba(10,10,10,.75);
  	transition: opacity .5s ease-in-out;
	z-index: 15;

  /* replace "opacity" with "all" to activate a dropdown animation */
	}

	.lightbox figure {
  	box-sizing: border-box;
  	width: auto;
  	max-height: 100%;
  	margin: 1% auto;
  	padding: 10px 20px;
  	background: inherit;
  	box-shadow: 0 0 40px 0 #000;
	}

.lightbox figcaption {
  	display: block;
  	text-align: center;
  	font-size: 1.5em;
	color: #C0CCD2;
  	margin-top: .75em;
}

.lightbox img {
  	display: block;
  	margin: 0 auto;
	width: auto;
  	max-width: 100%;
  	max-height: 90vh;
	height: auto;
}
	
.lightbox .close {
	position: absolute;
 	display: block;
 	box-sizing: border-box;
 	width: 1em;
 	height: 1em;
 	text-align: center;
 	padding: 2px;
 	text-decoration: none;
 	font-weight: bold;
 	color: white;
  	background: var(--mid-grey);
}

.lightbox .close:hover {
	background: var(--dark-grey);
}

/* Shows the lightbox only when targeted */
.lightbox:target {
  	opacity: 1;
  	outline: none;
  	top: 0;
}
.lightbox:target figure {
  	display: block;
}

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


/* <----------------------Responsive { color: green; } ----------------------> */

/* Hide element if the viewport width is 600px or less (desktop view)*/
@media screen and (max-width: 600px) {
  #notmobile {
    display: none;
  }
}

/* Hide element if the viewport width is 600px or more (mobile view)*/
@media screen and (min-width: 600px) {
  #notdesktop {
	display: none;
  }
}


/* <----------------------Mobile view { color: green; } ----------------------> */
@media screen and (max-width: 600px) {
p {
	font-size: 4vmin;
	font-weight: 500;
	color: #4f5d75;
}

h6 {
	font-size: 4vmin;
	font-weight: 600;
}

.homepg {
	position: relative;
	top: 25em;
	z-index: -1;
}

.boxesmobile {
    	position: absolute;
    	width: 97%;
    	top: 20%;
	height: 60%;
	margin: auto;
   	display: flex;
   	flex-direction: column;
	text-align: left;
	font-size: 3vmin;
	animation: fadeEffect 1s;
	scrollbar-width: none;
}

.boxesmobile2 {
	position: absolute;
	width: 97%;
    	top: 20%;
	height: 60%;
   	overflow-y: auto;
    	overflow-x: hidden;
	margin: auto;
   	display: flex;
   	flex-direction: column;
	text-align: left;
	scrollbar-width: none;
	z-index: 3;
}

.boxeslucy {
    	position: absolute;
    	width: 97%;
    	top: 9%;
	height: 60%;
	margin: auto;
   	display: flex;
   	flex-direction: column;
	text-align: left;
	font-size: 3vmin;
	scrollbar-width: none;
}

.boxessophie {
    	position: absolute;
    	width: 97%;
    	top: 9%;
	height: 60%;
	margin: auto;
   	display: flex;
   	flex-direction: column;
	text-align: left;
	font-size: 3vmin;
	scrollbar-width: none;
}

.boxessophie .tabcontent img {
	width: 100%;
	margin-top: 0.8em;
}

.boxesmobile .tabcontent img {
	width: 100%;
	margin-top: 0.8em;
}

.boxeslucy .tabcontent img {
	width: 100%;
	margin-top: 0.8em;
}

#mobexhibition img {
	width: 100%;
}
.boxesmobile .tabcontent h1 {
	font-size: 3vmin;
}

.boxesmobile2 .tabcontent h1 {
	font-size: 3vmin;
} 
.boxesmobile2 .tabcontent {
	font-size: 2.5vmin;
}

.boxesmobile .tabcontent {
	animation: fadeEffect 1s;
}

.boxeslucy .tabcontent {
	animation: fadeEffect 1s;
}

.back {
	position: fixed;
	font-size: 5vmin;
}

/* links */
.elle {
	position: fixed;
	top: 8em;
	rotate: -7deg;
	left: 10em;
	z-index: 1;
}

.lucya {
	position: fixed;
	top: 1.5em;
	rotate: 10deg;
	right: 25em;
	z-index: 1;
}

.lucyb {
	position: fixed;
	top: 65em;
	left: 7em;
	rotate: 9deg;
	z-index: 1;
}

.pinga {
	position: fixed;
	bottom: 0.5em;
	left: 18em;
	rotate: 18deg;
	z-index: 1;
}

.sophiez {
	position: fixed;
	top: 13em;
	right: 10em;
	rotate: 5deg;
	z-index: 10;
}

.sophieb {
	position: fixed;
	top: 75em;
	right: 10em;
	rotate: -5deg;
	z-index: 1;
}

.info {
	position: fixed;
	top: 29em;
	right: 17.7em;
	z-index: 1;
	rotate: 15deg;
	color: #4f5d75;
}
}