@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;900&display=swap');

:root {
  --body_color: #404040;
  --text_color: #606060;
  --background: white;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 100%;
}

body {
	margin: 0;
	padding: 1rem;
	font-family: 'Roboto', sans-serif;
	font-size: 1.1em;
	color: var(--body_color, #404040);
}

a {
  color: var(--body_color, #404040);
  text-decoration: none;
} 

a:hover,
a:focus { 
  text-decoration: underline;
  opacity: .75;  
}

.header {
  text-align: center;
  position: fixed;
  margin: 0;
  padding: 0;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 998;
  background: var(--background, white);
  overflow: hidden;
}

.footer {
  font-size: 0.9em;
  padding: 1em 0 ;
  text-align: center;
}

.flex-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1024px;
  margin: 0 auto;
  margin-top: 4em;
}

/* The Picture Frame */
.gallery-frame {
  align-self: flex-end;
  margin: 5px;
  padding: .5rem;
  font-size: .9rem;
  text-align: center;
  color: var(--body_color, #404040);
  background-color: #f1f1f1;
  min-width: 160px;
  max-width: 200px;
}

/* The Images */
.gallery-img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
  transition: opacity 0.25s ease-in-out;
	cursor: pointer; /* if zoom-in is not supported */
	cursor: zoom-in;
}

.gallery-img:hover {
  opacity: .7;
}

/** LIGHTBOX MARKUP **/

.lightbox {
  /* Default to hidden */
  display: none;

  /* Overlay entire screen */
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  
  /* A bit of padding around image */
  padding: 2em;

  /* Translucent background */
  background: rgba(0, 0, 0, 0.8);
}

/* Unhide the lightbox when it's the target */
.lightbox:target {
  display: block;
  opacity: unset;
  backdrop-filter: blur(8px); /* This be the blur */
}

.lightbox span {
  /* Full width and height */
  display: block;
  width: 100%;
  height: 100%;

  /* Size and position background image */
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
	
  cursor: pointer; /* if zoom-in is not supported */
  cursor: zoom-out;

}
