* {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

body {
  background: #242f0e;
  background: linear-gradient(0deg, #242f0e 0%, #526136 100%);
  background-image: url(../assets/hero-bg.jpg);
  background-size: cover;
  background-attachment: fixed;
  color: #ffffff;
}

h2 {
  font-size: min(2rem, 7vw);
  font-weight: bold;
  position: relative;
  padding-bottom: 5px;
  text-align: center;
}

h2::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 55px;
  height: 5px;
  background-color: #B54343;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}

.gallery {
  height: 100vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;

}

.navbar-home-icon {
  z-index: 2;
  background-image: url(../assets/icons/home.svg);
  width: 56px;
  height: 56px;
  background-size: 56px;
  right: 0;
  bottom: 0;
  margin: 0;
  position: fixed;
  padding: 0;
  border: none;
  transition: 500ms;
}

.navbar-toggler {
  overflow: hidden;
  z-index: 1;
  outline: none;
  position: fixed;
  right: 0;
  bottom: 0;
  width: 80px;
  height: 80px;
  background-color: #B54343;
  border-radius: 100% 0 0 0;
  box-shadow: -5px 0 3px #00000059;
  transition: 500ms;
}

.navbar.navbar-toggler:hover .navbar-home-icon {
  width: 66px;
  height: 66px;
  background-size: 66px;
  transition: 500ms;
}

.navbar.navbar-toggler:hover {
  width: 100px;
  height: 100px;
  transition: 500ms;
}

/* Responsive image gallery rules begin*/

.gallery-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex: 1 1 auto;
  justify-content: space-between;
  margin: 20px;
}

.gallery-container>.preview-image-container {
  height: 300px;
  cursor: pointer;
  position: relative;
}

.gallery-container .preview-image-container img {
  object-fit: cover;
  width: initial;
  height: 100%;
  vertical-align: middle;
  border-radius: 20px;
}

img.preview-image {
  transform: scale(1);
}