/*general styles*/
html {
  scroll-behavior: smooth;
}

body.page-exit {
  opacity: 0;
  transition: opacity 0.7s ease;
}
body {
  opacity: 1;
  transition: opacity 0.25s ease;
}
/*IMG*/
.blurred {
  filter: blur(10px);
  transition: filter 0.5s ease;
}
.blurred.loaded {
  filter: blur(0);
}

/*INDEX*/
/* .bebas-neue-regular {
  font-family: "Bebas Neue", serif;
  font-weight: 400;
  font-style: normal;
}
 */

.carousel-item {
  height: 67vh;
  overflow: hidden;
}
.carousel-item img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}
/*NAV*/
.plus-jakarta-sans {
  font-family: "Plus Jakarta Sans", serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}

.navbar-brand {
  transition: opacity 0.3s ease-in-out;
}
.navbar-brand:hover {
  opacity: 0.6;
}

.navbar-brand {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-item {
  text-transform: uppercase;
  font-size: 1.2rem;
}

.nav-item:hover {
  color: #555;
}

.navbar-toggler {
  border: none;
  background: none;
  outline: none;
  padding: 0;
}
.navbar-toggler:focus,
.navbar-toggler:active {
  border: none;
  outline: none;
  box-shadow: none;
}
/* hamburger icon */
.navbar-toggler-icon {
  background-image: none;
  height: 3px;
  background-color: black;
  position: relative;
}

/* top and bottom lines of the hamburger */
.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  background-color: black;
  position: absolute;
  left: 0;
}

.navbar-toggler-icon::before {
  top: -8px;
}

.navbar-toggler-icon::after {
  bottom: -8px;
}

.dropdown-menu {
  background-color: white;
  text-transform: none;
}

.dropdown-item:hover {
  background-color: #f3f3f3;
}
.dropdown-item:active {
  color: black;
}
.langwrap {
  display: flex;
  flex-direction: column;
}
.langWrap a:hover {
  color: black;
}
.langWrap a {
  transition: all 300ms ease;
  font-size: 1.2rem;
}

.langWrap a:first-child {
  margin-right: 10px;
}
.active {
  color: black;
  font-weight: bolder;
}
/*EXHIBICIONES*/
.nadarLink,
.tejidosLink,
.panLink,
.aguasLink,
.tierraLink {
  color: black;
  transition: color 0.3s ease-in-out;
}
.nadarLink:hover,
.tejidosLink:hover,
.panLink:hover,
.aguasLink:hover,
.tierraLink:hover {
  color: #686767 !important;
}
#links {
  width: 30%;
}
/*OBRA*/
.coralLink,
.lorquianasLink,
.puntoLink,
.luzLink {
  color: black;
  transition: color 0.3s ease-in-out;
}
.coralLink:hover,
.lorquianasLink:hover,
.puntoLink:hover,
.luzLink:hover {
  color: #686767 !important;
}
#linksWorks {
  width: 25%;
}

/*GALLERIES*/
.gallery {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  width: 90%;
  margin: 0 auto;
}
.gallery a {
  height: 200px;
  width: 200px;
  margin: 5px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2rem 3rem 0 rgba(0, 0, 0, 0.07);
}
.gallery a img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

/* lightGallery background color */
.lg-backdrop {
  background-color: white !important;
}

/* Override LightGallery grab cursor */
.lg-outer.lg-grab img.lg-object {
  cursor: pointer !important; /* Or use 'default' */
}

/* Remove the upper and lower gray transparent rectangles */
.lg-toolbar,
.lg-sub-html {
  background: none !important; /* Remove background */
  box-shadow: none !important; /* Remove shadows if any */
}

/* close button and other icons in dark gray */
.lg-toolbar .lg-icon,
.lg-controls .lg-next,
.lg-controls .lg-prev {
  color: darkgray !important; /* Set icon color to dark gray */
}
/* text */
.lg-sub-html {
  color: darkgrey !important;
  font-family: "Roboto", sans-serif;
}
.lg-sub-html h4 {
  font-size: 1.4rem !important;
  font-weight: 200;
}
.lg-sub-html p {
  font-size: 1.2rem !important;
}
/*LORQUIANAS*/
.footer-logo .img-logo {
  transition: opacity 0.3s ease-in-out;
}
.footer-logo:hover .img-logo {
  opacity: 0.6;
}

/*FOOTER*/
.social-links {
  list-style: none;
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 2.4rem;
  color: #767676;
  transition: all 0.3s;
}
.social-icon {
  height: 1.4rem;
  width: 1.4rem;
}
.footer-link:link,
.footer-link:visited {
  text-decoration: none;
  color: #767676;
  font-size: 1.4rem;
  transition: all 0.3s;
}
.footer-link:hover,
.footer-link:active {
  color: #555;
}
footer {
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
}

/*MEDIA QUERIES*/
@media (max-width: 2560px) {
  .scroll-to-top {
    position: fixed;
    bottom: 40px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #333;
    color: #fff;
    text-align: center;
    line-height: 50px;
    font-size: 24px;
    font-family: Arial, sans-serif;
    border-radius: 50%;
    text-decoration: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    opacity: 1;
    visibility: visible;
  }

  .scroll-to-top:hover {
    background-color: #555;
  }

  .scroll-to-top:hover {
    background-color: #555;
  }

  .scroll-to-top.hidden {
    opacity: 0;
    visibility: hidden;
  }
}
@media (max-width: 1024px) {
  .scroll-to-top {
    position: fixed;
    bottom: 40px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #333;
    color: #fff;
    text-align: center;
    line-height: 50px;
    font-size: 24px;
    font-family: Arial, sans-serif;
    border-radius: 50%;
    text-decoration: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    opacity: 1;
    visibility: visible;
  }

  .scroll-to-top:hover {
    background-color: #555;
  }

  .scroll-to-top:hover {
    background-color: #555;
  }

  .scroll-to-top.hidden {
    opacity: 0;
    visibility: hidden;
  }
}

@media (max-width: 768px) {
  h1.sobreMi {
    font-size: 2rem;
  }

  .description {
    font-size: 1.2rem;
  }
  .scroll-to-top {
    position: fixed;
    bottom: 40px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #333;
    color: #fff;
    text-align: center;
    line-height: 50px;
    font-size: 24px;
    font-family: Arial, sans-serif;
    border-radius: 50%;
    text-decoration: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    opacity: 1;
    visibility: visible;
  }

  .scroll-to-top:hover {
    background-color: #555;
  }

  .scroll-to-top:hover {
    background-color: #555;
  }

  .scroll-to-top.hidden {
    opacity: 0;
    visibility: hidden;
  }
}
@media (max-width: 576px) {
  #demarchi {
    font-size: 1.2rem;
    margin-bottom: 0;
  }
  #links,
  #linksWorks {
    width: 70%;
  }
  #demarchiFooter {
    letter-spacing: 0.5rem;
  }
}
@media (max-width: 425px) {
  #links,
  #linksWorks {
    width: 70%;
  }
  #demarchi {
    font-size: 1.2rem;
    margin-bottom: 0;
  }
  .navbar-brand {
    height: 20px;
  }
  .lg-sub-html h4 {
    font-size: 1.2rem !important;
    font-weight: 200;
  }
  .lg-sub-html p {
    font-size: 1rem !important;
  }
}
@media (max-width: 375px) {
  #links,
  #linksWorks {
    width: 70%;
  }
  #demarchi {
    font-size: 1.1rem;
    margin-bottom: 0;
  }
}
@media (max-width: 320px) {
  #demarchi {
    font-size: 1rem;
    margin-bottom: 0;
  }
  #links,
  #linksWorks {
    width: 70%;
  }
}
