/* PAGE-SPECIFIC STYLES FOR THE PROJECTS PAGE */
/*-- -------------------------- -->
<---          Gallery           -->
<--- -------------------------- -*/
/* Mobile - 360px - Contains hover animation */
@media only screen and (min-width: 0rem) {
  #gallery {
    position: relative;
    /* Prevents overflow from the image going off screen */
    overflow: hidden;
    padding: var(--sectionPadding);
    /* Centers button */
    text-align: center;
  }
  #gallery .cs-container {
    margin: auto;
    max-width: 82.625em;
    width: 100%;
  }
  #gallery .cs-image-group {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin: 0 auto 3.75rem;
    max-width: auto;
    width: 100%;
    padding: 0;
    /* used rem so it doesn't scale with the font size of on parent */
    font-size: min(1.1vw, 1em);
    gap: 1.875em;
  }
  #gallery .cs-row {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 1.875em;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 8px 24px;
  }
  #gallery .cs-picture {
    position: relative;
    display: block;
  }
  #gallery .cs-picture img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
  #gallery .cs-row-1 .cs-picture1 {
    height: 53em;
    width: 27em;
  }
  #gallery .cs-row-1 .cs-picture2 {
    height: 53em;
    width: 27em;
  }
  #gallery .cs-row-1 .cs-picture3 {
    height: 53em;
    width: 27em;
  }
  #gallery .cs-row-2 .cs-picture1 {
    height: 53em;
    width: 27em;
  }
  #gallery .cs-row-2 .cs-picture2 {
    height: 53em;
    width: 27em;
  }
  #gallery .cs-row-2 .cs-picture3 {
    height: 53em;
    width: 27em;
  }
  #gallery .cs-row-3 .cs-picture1 {
    height: 53em;
    width: 27em;
  }
  #gallery .cs-row-3 .cs-picture2 {
    height: 53em;
    width: 27em;
  }
  #gallery .cs-row-3 .cs-picture3 {
    height: 53em;
    width: 27em;
  }
}
/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #description {
    padding: var(--sectionPadding);
  }
  #description .cs-container {
    width: 100%;
    max-width: 80rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    row-gap: 2.5rem;
  }
  #description .cs-left {
    position: relative;
    height: 39.75em;
    width: 39.4375em;
    font-size: min(2.31vw, 0.7em);
  }
  #description .cs-picture {
    position: absolute;
    border-radius: 1.5em;
    overflow: hidden;
  }
  #description .cs-picture img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
  #description .cs-picture1 {
    top: 0;
    left: 0;
    height: 36.3125em;
    width: 32.625em;
  }
  #description .cs-picture2 {
    bottom: 0;
    right: 0;
    border: clamp(0.375em, 1.5vw, 0.75em) solid #fff;
    background-color: #fff;
    height: 25em;
    width: 25.875em;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 40px;
  }
  #description .cs-right {
    max-width: 33.875rem;
    margin: auto;
  }
  #description .cs-topper {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    text-align: left;
  }
  #description .cs-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: left;
  }
  #description .cs-text {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: left;
  }
  #description .cs-list {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
  }
}

/* Desktop - 1024px */
@media only screen and (min-width: 64rem) {
  #description .cs-container {
    flex-flow: row;
    justify-content: space-between;
    gap: 3.25rem;
  }
  #description .cs-left {
    font-size: min(1.2vw, 1em);
    flex: none;
  }
  #description .cs-right {
    margin: 0;
  }
}

/* Ensure logo colors do not change in dark mode */
body.dark-mode .cs-logo img {
  filter: none;
}

#gallery-new {
    width: 100%;
    padding-bottom: 4vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

#gallery-new .cs-container {
    max-width: 80rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#gallery-new .cs-container .cs-button-solid {
  margin-top: 2rem;
}

#gallery-new .cs-image-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem; /* Consistente entre columnas y filas */
}

#gallery-new .cs-picture img,
#gallery-new .cs-picture2 img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#gallery-new .cs-picture:hover img {
    box-shadow: rgba(0, 0, 0, 0.4) 0px 12px 24px; /* Efecto hover más notable */
    transform: scale(1.3); /* Efecto hover más notable */
}
#gallery-new .cs-picture2:hover img {
    box-shadow: rgba(0, 0, 0, 0.4) 0px 12px 24px; /* Efecto hover más notable */
    transform: scale(1.1); /* Efecto hover más notable */
}

@media (min-width: 601px) {
    #gallery-new .cs-picture img {
        width: 27.6vw; /* Tamaño base pequeño */
        height: auto;
    }
    #gallery-new .cs-picture2 img {
        width: 18vw; /* Tamaño base pequeño para cs-picture2 */
        height: auto;
    }
}

/*# sourceMappingURL=projects.css.map */
