@font-face {
  font-family: 'camera';
  /* src: url('fonts/camera.eot');
  src: url('fonts/camera.eot?#iefix') format('embedded-opentype'), */
  src: url('fonts/camera.woff') format('woff'),
       url('fonts/camera.ttf') format('truetype');
       /* url('fonts/camera.svg#camera') format('svg'); */
  font-weight: normal;
  font-style: normal;
}
[class*='icon-']:before{
display: inline-block;
 font-family: 'camera';
 font-style: normal;
 font-weight: normal;
 line-height: 1;
 -webkit-font-smoothing: antialiased;
 -moz-osx-font-smoothing: grayscale
}
.icon-camera:before{content:'\0041';}
.icon-lens:before{content:'\0042';}
.icon-aperture:before{content:'\0043';}
.icon-shuterspeed:before{content:'\0044';}

body {
  /* padding: 0 2em; */
  font-family: 'Roboto', sans-serif;
}

#top {
  /* margin: 0.5em 0; */
  background-color: #ececec;
  display: flex;
  align-items: center;
  justify-content: center;
}
 #top > div {
  text-align: center;
  padding: 0 2em;
 }

.sticky {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1;
}

#top > div:nth-child(1),
#top > div:nth-child(4) {
  margin-left: auto;
}

#top > div:nth-child(4) {
  padding-left: 0;
}

.mail {
  font-size: xx-large;
  text-decoration: none;
  
}
  
#gallery {
  padding: 0 2em;
  display: grid;
  gap: 0.5em;
  grid-auto-rows: 10em;
  grid-template-columns: repeat(auto-fit, minmax(10em, 1fr));
  grid-auto-flow: dense;
  margin-top: 136px;
}

#gallery div {
  border-radius: 8px;
  background-size: cover;
  background-position: center;
}

div:nth-child(6n) {
  grid-column: span 2;
  grid-row: span 2;
}

div:nth-child(7n) {
  grid-column: span 2;
}

div:nth-child(8n) {
  grid-row: span 2;
}

figure {
    margin: 0;
    transition: 500ms ease;
    height: 100%;
}

figure > div {
    height: 100%;
    width: 100%;
}

figure:nth-child(6n) {
  grid-column: span 2;
  grid-row: span 2;
}

figure:nth-child(7n) {
  grid-column: span 2;
}

figure:nth-child(8n) {
  grid-row: span 2;
}

figure:hover {
  opacity: 1;
/*  transform: translate3d(0, 0, 0); */
  transform: scale(1.5);
 
}

/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: black;
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  width: 90%;
  max-width: 1200px;
}

/* The Close Button */
.close {
  color: white;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

.slides {
  display: none;
}

.cursor {
  cursor: pointer;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

.info {
  display: flex;
  justify-content: center;
  align-items: baseline;
}
.info p {
  margin: 0 5px;
  align-self: flex-start;
  border-right: solid 1px grey;
  padding-right: 0.5em;
}
.info p:last-child {
  border: none;
}
