@font-face {
  font-family: 'Inter';
  src: url('/fonts/Inter-Light.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  color: #2D5F7A;
  -webkit-tap-highlight-color: transparent;
}
html.pre-translated body {
  visibility: hidden;
}

html {
  font-size: 16px;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}


body.loading #allPhotos,
body.loading #categories {
  display: none;
}


.navbar {
  display: block;
  text-align: center;
  padding-top: 10px;
}

.logo img {
  height: 60px;
  cursor: pointer;
}

.logo {
  cursor: default;
}

.dropdown {
  margin: 0 10px 0;
  }
.menu-button {
  display: block;
  width: 100%;
  border: none;
  padding: 10px;
  margin-top: 5px;
  background-color: #f2f2f257;
border: 0.4px solid #cfcfcf82;
  text-align: center;
  cursor: pointer;
  font-size: 0.8rem;
}

.drop-list {
  display: none;
}

.drop-list li {
  padding: 15px;
  border-block-end: 1px solid rgba(203, 201, 201, 0.161);
  cursor: default;
}

.drop-list a {
  display: block;
  width: 100%;
  height: 100%;
  cursor: default;

}

.drop-list li:hover {
  background-color: rgba(203, 201, 201, 0.161);
}


.nav-link.active {
  color: #6db17a;
}

.has-submenu {
  position: relative;
}

.icon-caret {
  position: absolute;
  text-align: center;
  padding: 19px;
  right: 0;
  top: 1px;
  width: 50px !important;
  height: 50px;
  transition: transform 0.3s ease;
  transform-origin: center;
  transition: transform 0.3s ease;
  transform: rotate(-90deg);
}

.icon-caret.open {
  transform: rotate(0deg);
}

.submenu {
  display: none;
  list-style-type: none;
  margin: 0;
  padding: 0;
  top: 100%;
  left: 0;
  background-color: none;
}

.submenu.open {
  display: block;
  z-index: 1;
}

.submenu a {
  margin: 0;
  padding: 5px;
  color: #7a807db3;
  font-size: 0.875rem;
}

.submenu li {
  margin: 5px;
  padding: 0;
  color: #7a807db3;
  border-block-end: none;
  transition: transform 0.2s ease;
}


.vertical-nav {
  display: grid;
  margin: 20px auto;
  padding: 30px 10px 30px;
  gap: 10px;
}

.vertical-nav img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-ratio-23-32-32,
.img-ratio-32x2v2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.img-ratio-32x2v1 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.img-ratio-32x3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}


.img-ratio-32_23 {
  display: grid;
  grid-template-columns: 5fr 2fr;
  gap: 10px;
}


.tall {
  grid-row: span 2;
}

.wide32x3,
.wide32_23 {
  grid-column: span 2;
}

.img-ratio-square {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 10px;
}

.section-nav {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 1.5%;
  overflow: hidden;
  text-decoration: none;
  color: white;
  transition: transform 0.2s;
}

.categories-section {
  display: grid;
  grid-template-columns: 1fr;
  margin: 20px auto;
  padding: 10px;
}

.hidden {
  display: none;
}

.category {
  text-align: center;
  cursor: pointer;
}

.category img {
  width: 100%;
  height: auto;
  transition: transform 0.3s;
}

.section-nav span {
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  background-color: #f7f7f72e;
  color: white;
  padding: 10px;
  transition: opacity 0.3s;
}

.section-nav:hover span {
  opacity: 0;
}


.scroll-to-top-btn {
  display: flex;
  position: fixed;
  bottom: 30px;
  right: -60px;
  width: 50px;
  height: 50px;
  border: none;
  background-color: rgba(215, 230, 230, 0.415);
  color: rgba(0, 0, 0, 0.579);
  font-size: 26px;
  cursor: pointer;
  justify-content: center;
  align-items: center;
  opacity: 0.7;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  transition: opacity 0.3s, transform 0.6s;
}

.scroll-to-top-btn span {
  color: black;
}

.scroll-to-top-btn:hover {
  background-color: #cdcfce;
  color: #7a797995;
  transform: scale(1.1);
}

.scroll-to-top-btn.visible {
  display: flex;
  opacity: 1;
  transform: translateX(-90px);
}

.scroll-to-top-btn.hidden {
  opacity: 0;
  transform: translateX(0);
}

.fullscreen-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  z-index: 1000;
  justify-content: space-between;
  align-items: center;
  touch-action: manipulation;
}

.modal-content {
  display: flex;
  position: relative;
  padding: 70px 0 70px;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

#fullscreen-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.nav-btn {
  position: absolute;
  width: 50px;
  height: 100px;
  background: rgba(0, 0, 0, .12);
  border: none;
  font-size: 2em;
  cursor: pointer;
  z-index: 1001;
  -webkit-tap-highlight-color: transparent;
  outline: none;
  user-select: none;
}

.nav-btn span {
  color: white;
}

#prev-btn {
  left: 0;
}

#next-btn {
  background: rgba(0, 0, 0, .12);
  position: absolute;
  right: 0;
  font-weight: lighter;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 10px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  font-size: 1.7em;
  font-weight: 200;
  line-height: 1;
  cursor: default;
  z-index: 1002;
  transition: transform 0.2s ease;
}

.close-btn:hover {
  transform: scale(1.1);
}

.close-btn svg {
  transition: transform 0.2s, color 0.2s;
}

.close-btn svg:hover {
  transform: scale(1.15);
}

.share-btn-content {
  padding: 0 5px 0;
}

.share-btn {
  width: 40px;
  height: 40px;
  text-align: center;
  background: none;
  border: none;
  cursor: default;
  transition: transform 0.2s ease, color 0.2s ease;
}

.share-btn svg {
  transition: transform 0.2s ease, color 0.2s ease;
}

.share-btn svg:hover {
  transform: scale(1.15);
}

.share-btn-modal {
  position: absolute;
  top: 20px;
  right: 53px;
  width: 40px;
  height: 40px;
  text-align: center;
  background: none;
  border: none;
  cursor: default;
  z-index: 1002;
  transition: transform 0.2s ease, color 0.2s ease;
}

.share-btn-modal svg {
  transition: transform 0.2s ease, color 0.2s ease;
}

.share-btn-modal svg:hover {
  transform: scale(1.15);
}



.nav-btn:focus {
  outline: none;
}


.nav-btn:active {
  background-color: transparent;
  transition: none;
}

.social-icons {
  display: flex;
  justify-content: center;
  margin-top: auto;
  padding-top: 70px;
  padding-bottom: 10px;
}


.inst-you-link a {
  display: block;
  line-height: 0;
  align-content: center;
}
.bi-youtube {
  padding-top: 3px;
}

.container-link-policy {
  position: relative;
  display: flex;
  flex: 1;
  margin-left: 15px;
}

.link-policy {
  position: absolute;
  display: none;
  flex-direction: column;
  align-content: center;
  bottom: 120%;
  padding-bottom: 10px;
}
.link-policy span {
  white-space: nowrap;
  color: #959595;
  transition: color 0.2s;
  font-size: 14px;
}
.link-policy span:hover {
color: #292929;
}
.link-policy a {
  padding-bottom: 5px;
}

.toggle-icon-document {
  cursor: pointer;
  width: 28px;
  height: 28px;
}

.icon-container {
  cursor: pointer;
  width: 32px;
  height: 32px;
}

.icon-container svg path {
  transition: fill 0.3s ease;
}

.icon-container:hover svg path {
  fill: #4A90E2;
}

.indent {
  margin: 10px 0 10px;
  text-align: center;
  font-size: 12px;
}

.indent span {
  color: #555555a9;
  padding-bottom: 20px;
}


.share-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1001;
  justify-content: center;
  align-items: center;
}

.share-modal-content {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  width: 350px;
  position: relative;
}

.url-block {
  display: flex;
  align-items: center;
  position: relative;
  margin-bottom: 20px;
}

#current-url {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
}

.copy-icon-container {
  position: relative;
  margin-left: 10px;
  cursor: pointer;
}

#copy-icon {
  font-size: 18px;
  color: #2D5F7A;
  transition: color 0.2s;
}

#copy-icon:hover {
  color: #6db179;
}


.switch-wrapper {
  display: flex;
  flex-direction: column;
  align-items: end;
  gap: 5px;
  padding: 20px 40px 0;
}


.switch-label {
  font-size: 14px;
  color: #888080;
  font-weight: lighter;
  cursor: default;
}

input:checked+.switch-label {
  color: #2D5F7A;
}


.switch {
  position: relative;
  display: inline-block;
  width: 70px;
  height: 28px;
}


.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}


.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  font-size: 12px;
  font-weight: bold;
  color: white;
}


.slider-text {
  pointer-events: none;
}


.slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}


input:checked+.slider {
  background-color: #2D5F7A;
}

input:checked+.slider:before {
  transform: translateX(42px);
}


input:checked+.slider .slider-text {
  content: "ON";
}

.tooltip {
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
}

.slider-on,
.slider-off {
  position: absolute;
  pointer-events: none;
  transition: opacity 0.4s;
  font-size: 12px;
  font-weight: lighter;
  color: white;
}

.slider-on {
  left: 10px;
  opacity: 0;
}

.slider-off {
  right: 8px;
  opacity: 1;
}


input:checked+.slider .slider-on {
  opacity: 1;
}

input:checked+.slider .slider-off {
  opacity: 0;
}


.social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-links a {
  color: #2D5F7A;
  font-size: 1.3rem;
  text-decoration: none;
}

.social-links a:hover {
  color: #6db179;
}

.share-modal-content h3 {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #333;
  cursor: default;
}

@media (
  min-width: 768px) {
  .navbar {
    all: unset;
  }

  .menu-button {
    display: none;
  }

  .has-submenu {
    margin-right: 15px;
}

  .navbar {
    display: grid;
    grid-template-areas:
      'logo drop-list';
    padding-top: 10px;
    padding-right: 80px;
    margin-left: 20px;
    align-items: center;
  }

  .scroll-to-top-btn {
    width: 100px;
    right: -110px;
  }

  .scroll-to-top-btn.visible {
    transform: translateX(-180px);
  }

  .drop-list li {
    border-block-end: none;
    transition: transform 0.3s ease, color 0.3s ease;
  }

  .drop-list li:hover {
    background-color: white;
  }

  .logo img {
    transition: transform 0.3s ease;
  }

  .logo :hover {
    transform: scale(1.2);
  }

  .icon-caret {
    transform: unset;
    transition: unset;
    right: -20px;
  }

  .icon-caret.open {
    transform: rotate(180deg);
  }

  .submenu {
    position: absolute;
    list-style-type: none;
    margin: 0;
    padding: 0;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fcfbfb;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2),
      
      0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .submenu a {
    text-align: center;
  }

  .submenu li {
    margin: 0;
    padding: 0;
    color: #7a807db3;
    border-block-end: none;
    transition: none;
  }

  .submenu li :hover {
    background-color: #f1f0f0d4;
  }

  
  .nav-link {
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
  }

  
  .nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #6db17a;
    transition: width 0.3s ease, left 0.3s ease;
    transform: translateX(-50%);
  }

  
  .nav-link:hover::after {
    width: 100%;
    left: 50%;
  }

  .vertical-nav {
    padding: 30px 60px 30px;
  }

  .tall,
  .img-ratio-23-32-32 {
    all: unset;
  }

  .img-ratio-32x3,
  .img-ratio-32x2v1 {
    grid-template-columns: 1fr 1fr;
  }

  .img-ratio-32x3 {
    grid-template-columns: 1fr 2fr;
  }

  .img-ratio-23-32-32 {
    display: grid;
    grid-template-columns: 1fr 2.5fr 2.5fr;
    gap: 10px;
  }

  .switch-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 40px 0;
  }

  .section-nav {
    margin-bottom: 0px;
  }

  #allPhotos.hidden {
    display: none !important;
  }

  #categories.hidden {
    display: none !important;
  }

  .categories-section {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 25px;
  }

  .modal-content {
    padding: 5px 0 5px;
  }

  .share-btn {
    top: 65px;
    right: 10px;
  }

}
@media (min-width: 932px) {
   .modal-content {
    padding: 75px 60px 75px;
  }
}

@media (min-width: 1024px) {

  .wide32x3,
  .wide32_23 {
    all: unset;
  }

  .img-ratio-32x3 {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .img-ratio-32_23 {
    grid-template-columns: 2.5fr 1fr 2.5fr 2.5fr;
  }


  .categories-section {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    padding: 25px;
  }


}

@media (min-width: 1600px) {
  .share-btn {
    right: 60px;
  }

  .close-btn {
    right: 60px;
  }
}



.social-indent-container {
  margin-top: auto;
}