@font-face {
  font-family: light;
  src: url(../fonts/Montserrat-Light.ttf);
}
@font-face {
  font-family: normal;
  src: url(../fonts/Montserrat-Regular.ttf);
}
:root {
  --green: #406950;
  --yellow: #f4ce14;
}
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
::selection {
  outline: none;
}
body {
  font-family: normal !important;
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* GALLERY */
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond&family=DM+Mono:wght@400;500&display=swap");

/* Basic styling for the gallery */
body {
  font-family: "Cormorant Garamond", sans-serif;
  margin: 0;
  padding: 0;
}

h1 {
  text-align: center;
  padding: 40px;
  margin: 0;
  color: beige;
  font-size: 3em;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 100px;
}

.gallery img {
  margin: 4px;
  cursor: pointer;
  max-width: 260px;
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
}

/* Lightbox styles */
#lightbox {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 999 !important;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255);
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

#lightbox img {
  width: 450px;
  max-width: 100vw;
  max-height: 100vh;
  position: absolute;
}

#close-btn {
  position: absolute;
  top: 80px;
  right: 30px;
  width: 40px;
  height: 40px;
  color: #000000;
  cursor: pointer;
  z-index: 999;
}
#close-btn {
  font-size: 40px;
}
#prev-btn,
#next-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#prev-btn > img,
#next-btn > img {
  background-color: transparent !important;
  width: 40%;
  box-shadow: 0 0 0;
}
#prev-btn {
  left: 10px;
}
#next-btn {
  right: 10px;
}

#prev-btn:hover,
#next-btn:hover {
  background-color: var(--yellow);
}
@media screen and (max-width: 991px) {
  .gallery img {
    width: 170px;
  }
}
@media screen and (max-width: 600px) {
  #close-btn {
    top: 40px;
  }
  #lightbox > img {
    width: 350px;
  }
}
@media screen and (max-width: 350px) {
  .gallery img {
    width: 140px;
    height: 240px;
  }
}
