body {
  padding: 30px 150px;
  padding-bottom: 100px;
  font-family: "Geologica";
  margin-top: 100px;
}

.navbar_links {
  color: black;
}

.header {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

@media (max-width: 1200px) {
  body {
    padding: 30px 50px;
  }
}

.title_wrap {
  margin: 20px 0;
  display: flex;
  justify-content: space-between;
}

.navigation {
  margin: 20px 0 0 0;
  display: flex;
  gap: 10px;
  font-weight: 600;
  cursor: pointer;
  align-items: center;

  .navigation_main {
    color: #1760a4;
  }
}

.top_nav {
  position: relative;
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  font-family: "Geologica";
  font-size: 16px;
  line-height: 120%;
  letter-spacing: 0%;
  vertical-align: middle;
}

.top_nav ul {
  width: 736px;
  height: 48px;
  display: flex;
  align-items: center;
  list-style: none;
}

.top_nav li {
  margin: 0 1rem;
}

.top_nav a {
  position: relative;
  color: #0b2136 !important;
  text-decoration: none;
  padding-bottom: 5px;
}

.top_nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background-color: #ebc271;
  border-radius: 12px;
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: center;
}

.top_nav a:hover::after {
  transform: scaleX(1);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
  margin: 40px auto;
  justify-content: center;
}

.gallery a {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 12px;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  border-radius: 8px;
}

.gallery a:hover img {
  transform: scale(1.05);
}

.gallery a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(21, 39, 117, 0.6) 0%,
    rgba(21, 39, 117, 0)
  );
  z-index: 1;
}

.gallery a::after {
  content: attr(data-title);
  position: absolute;
  bottom: 10px;
  left: 10px;
  color: white;
  padding: 8px;
  font-size: 14px;
  border-radius: 4px;
  text-align: left;
  z-index: 2;
}

.gallery a .icon {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 24px;
  height: 24px;
  z-index: 2;
}

.gallery-overlay {
  position: absolute;
  padding: 20px;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-family: Inter;
  font-size: 150%;
  font-weight: 500;
  border-radius: 8px;
  z-index: 2;
}

.gallery-overlay img {
  width: 14px;
  height: 11px;
}

.breadcrumb-main {
  color: #1760a4;
  font-weight: 600;
}

#breadcrumb {
  display: flex;
  align-items: center;
  font-family: Geologica, Roman;
  font-size: 16px;
  line-height: 24px;
}

#breadcrumb img {
  margin-left: 8px;
  margin-right: 8px;
}

#breadcrumb-text {
  color: #0b2136;
  font-family: Geologica, Roman;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0%;
  vertical-align: middle;
}

.photogallery {
  font-family: Geologica, Roman;
  font-weight: 500;
  font-size: 48px;
  color: #1760a4;
}

@media (max-width: 1200px) {
  body {
    padding: 30px 50px;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  body {
    padding: 20px 30px;
  }

  .gallery {
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
  }

  .title_wrap {
    display: grid !important;
  }

  .photogallery {
    font-weight: 500;
    font-size: 28px;
    color: #1760a4;
  }
}

@media (max-width: 768px) {
  body {
    padding: 20px;
  }
}
