body{
  font-family: "polymath", sans-serif;
	font-weight: 400;
	font-style: normal;
  overflow-x: hidden;
}

.fs-18{
  font-size: 18px;
  line-height: normal;
}

.fs-20{
  font-size: 20px;
  line-height: normal;
}

.fs-30{
  font-size: 30px;
  line-height: normal;
}

.carrusel.slider{
  display:flex;
  align-items: center;
}

#index.index h1,
#index.index .h1{
	font-size: 70px;
	font-weight: 500;
}

.index .looking-for {
  display: flex;
  align-items: center;
  gap: 3px;
  color: var(--color-gris-medio)
}

.about .looking-for {
  display: flex;
  align-items: center;
  gap: 3px;
  color: var(--color-gris-medio)
}

.arrow-outline {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-left: 2px solid #5F6368;
  border-bottom: 2px solid #5F6368;
  transform: rotate(-45deg);
  margin-left: 6px;
  margin-right: 6px;
  margin-top: -3px;
}

.rot-text {
  display: inline-block;
  vertical-align: middle;
  width: auto; 
  text-align: left;
  transition: opacity 0.6s ease;
  opacity: 1;
}
.rot-text.fade-out {
  opacity: 0;
}
.rot-text.fade-in {
  opacity: 1;
}



/* Layout horizontal tipo toggle */
.toggle-menu {
  display: inline-flex;
  padding: 0;
  margin: 0;
  list-style: none;
  border: 2px solid #f2f2f2;
  border-radius: 30px;
  overflow: hidden;
  width: 10vw;
}

.toggle-menu .nav-item {
  flex: 1;
}

.toggle-menu .nav-link {
  display: block;
  text-align: center;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  color: #555;
  text-decoration: none;
  font-weight: 500;
}

.toggle-menu .nav-link.active {
  background-color: #F2F2F2; 
  color: #000000;
  font-weight: bold;
  border-radius: 30px;
  overflow: hidden;
}

.categoriesContainer{
  display:flex;
  gap:50px;
  justify-content: center;
  width: 100%;
}
.categoriesContainer li{
  border: 1px solid #f2f2f2;
  padding: .5rem 1rem;
  border-radius: 40px;
}
.wrapperCategories{
  position:absolute;
  width:100%;
  background: linear-gradient(to bottom, white 35%, transparent 100%);
  height:30vh;
  opacity: 0;           
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
  transform: translateY(-20px) scale(0.95);
  
}

.wrapperCategories.show {
  opacity: 1;           
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

#showCategories{
  cursor:pointer;
}

.project-item[style*="display: none"] {
    opacity: 0;
}

.project-item[style*="display: block"] {
    opacity: 1;
}

.project-item.hidden {
    opacity: 0;
    pointer-events: none;
    position: absolute !important;
    left: 0 !important;
    top:0 !important;
}
.grid{
  display: block;
}

.category-btn.active {
  color: #EC4C24;              
  border-color: #EC4C24;       
}
 .project-item img { display: block; width: 100%; height: auto; }
 .grid-sizer { width: 33.3333%; }


 #index.about .rot-text{
  color:var(--color-gris-medio) !important;
 }

.details-page {
  background-color: var(--color-gris-bg);
 }

/* Página saliente */
/* html.is-changing .transition-slide {
  transition: transform 2s cubic-bezier(0.5, 0, 0.15, 1);
}

.transition-slide.is-next-container {
  transform: translateX(100%);
}

.transition-slide.is-previous-container {
  transform: translateX(-100%);
}

html.to-left .transition-slide.is-next-container {
  transform: translateX(-100%);
}

html.to-left .transition-slide.is-previous-container {
  transform: translateX(100%);
} */

 .details-page{
    position: absolute; 
    top: 0;
    left: 0;
    z-index: 1234;
    pointer-events: none;
}

[data-barba="wrapper"] {
  overflow-x: hidden;  
}
/* .wptest, .wrapperMain{
  position: relative;
} */
[data-barba="container"] {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  will-change: transform, opacity;
}


header{
  position: relative;
    z-index: 9;
}