* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Pixelify Sans", sans-serif;
}

body {
    background-color: #FFF9E6;
    color: #F3B156;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: 30px;
    cursor: url("https://file.garden/aifGo_fFsE6egQzh/cursor.cur") 0 0, auto;
}

img {
    cursor: url("https://file.garden/aifGo_fFsE6egQzh/cursor.cur"), crosshair !important;
}

a,
button,
.btn,
.thumb,
.cd-cat-btn,
.scroll-arrow,
.scroll-arrow-v {
    cursor: url("https://file.garden/aifGo_fFsE6egQzh/cursor.cur") 0 0, pointer !important;
}

img,
.portfolio-image,
.about-avatar,
#large-viewer,
#cd-large-viewer,
.gif-card img,
.main-viewer,
.art-placeholder,
.gif-card {
    cursor: url("https://file.garden/aifGo_fFsE6egQzh/cursor.cur") 0 0, auto !important;
}


.portfolio-container {
    display: flex;
    flex-direction: row;
    gap: 50px;
    flex: 1;
    max-width: 1400px;
    width: fit-content;
    margin: 0 auto;
}

/* COLUMNA IZQUIERDA */
.sidebar {
    width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.logo {
    font-size: 4.5rem;
    line-height: 0.75;
    font-weight: 700;
    margin-bottom: 10px;
    margin-top: 10px;
}

.logo span {
    font-size: 1.8rem;
    letter-spacing: 6px;
    display: block;
    margin-top: 5px;
}

.subtitle {
    font-size: 1.1rem;
    margin-bottom: 20px;
    letter-spacing: 5px;
}

.nav-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    align-items: center;
}

.btn {
    display: block;
    width: 90%;
    background: linear-gradient(to bottom, #FFDA99, #F3A33B);
    color: white;
    text-decoration: none;
    text-align: center;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1rem;
    border: 2px solid #FFFFFFF;
    box-shadow: 0px 4px 0px #D96709;
    transition: transform 0.1s ease;
    letter-spacing: 6px;
}

.btn:hover {
    transform: translateY(1px);
    box-shadow: 0px 3px 0px #D96709;
}

.btn:active {
    transform: translateY(4px);
    box-shadow: 0px 0px 0px #D96709;
}

/* COLUMNA DERECHA (windooow) */

.window-header {
    background-color: #F3B156;
    color: white;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    letter-spacing: 5px;
}

.window-dots span {
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: #FFF9E6;
    border-radius: 50%;
    margin-left: 6px;
}

/* LA MARQUESINA */
.marquee-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    padding: 10px 0;
}

.marquee-text {
    display: inline-block;
    padding-left: 100%;
    font-size: 1.3rem;
    font-weight: 600;
    animation: deslizarTexto 15s linear infinite;
}

@keyframes deslizarTexto {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

/* CONTENIDO GENERAL DE LA VENTANA */
.window-content {
    padding: 25px;
    flex: 1;

    display: flex;
    justify-content: center;
    align-items: flex-start;

    overflow-y: auto;

    scrollbar-width: thin;
    scrollbar-color: #F3B156 rgba(0, 0, 0, 0.05);
}

/* CONTENEDOR DE IMÁGENES SUELTAS */
.art-placeholder {
    display: inline-flex;
    max-width: 100%;
    max-height: 100%;
    border: 4px solid #F3B156;
    border-radius: 15px;
    overflow: hidden;
}

.portfolio-image {
    max-width: 100%;
    max-height: 440px;
    width: auto;
    display: block;
    object-fit: contain;
}

/* ESTILOS ESPECÍFICOS DE ABT */
.about-layout {
    display: flex;
    flex-direction: row;
    gap: 25px;
    width: 100%;
    align-items: flex-start;
    margin-top: 10px;
}

.about-text-side {
    flex: 1.3;
    display: flex;
    flex-direction: column;
    
}

.about-hero {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    margin-bottom: 10px;
    
}

.hello-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
}

.badges-container {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.badge {
    background-color: #FFD16B;
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
    padding: 3px 10px;
    border-radius: 12px;
    text-align: center;
    width: fit-content;
    border: 1px solid #FFFFFF;
    letter-spacing: 1px;
}

.about-paragraphs p {
    font-size: 12px;
    line-height: 1.5;
    color: saddlebrown;
    margin-bottom: 15px;
    text-align: left;
}

.about-paragraphs p:last-child {
    margin-bottom: 0;
}

.highlight {
    color: #E28525;
    font-weight: 700;
}

.about-image-side {
    width: 320px;
    flex-shrink: 0;

    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.about-avatar {
    display: block;

    width: 100%;
    max-width: 320px;

    max-width: 280px;
    max-height: 350px;

    object-fit: contain;
}

/* FOOTER */
.footer {
    text-align: center;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    letter-spacing: 7px;
    color: #2E2322;
}

.social-icons {
    display: flex;
    gap: 20px;
    font-size: 1.8rem;
}


/* ===================================================
   ILUSTRATIONS
   =================================================== */

.logo-link {
    text-decoration: none;
    color: inherit;
}

.gallery-content {
    flex-direction: column;
    justify-content: flex-start !important;
    align-items: center;
    position: relative;
    gap: 10px;
}

.thumbnails-container {
    display: flex;
    flex-direction: row;
    gap: 12px;
    width: 100%;
    justify-content: center;
    padding-bottom: 5px;
}

.thumb {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border: 3px solid #F3B156;
    border-radius: 10px;
    cursor: pointer;
    background-color: transparent;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.thumb:hover {
    transform: scale(1.05);
}

.thumb.active {
    border-color: #E28525;
}

/* EL ARROW BLINKS */
.arrow-indicator {
    position: absolute;
    top: 100px;
    left: 0;
    color: #E28525;
    font-size: 1.5rem;
    transition: left 0.3s ease;
    animation: blinker 1s linear infinite;
}

/* Animación del blink */
@keyframes blinker {
    50% { opacity: 0; }
}

.main-viewer {
    flex: none;
    width: fit-content;
    max-height: 440px;
    border: 4px solid #000000;
    border-radius: 15px;
    overflow: hidden;
    background-color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
}

#large-viewer {
    max-width: 100% !important;
    max-height: 400px !important;
    width: auto !important;
    height: 400px !important;
    display: block;
    object-fit: contain;
}

/* ===================================================
   CHARACTER DESIGN 
   =================================================== */

.main-viewer.cd-viewer {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: fit-content !important;
    max-width: 100% !important;
    height: fit-content !important;
    max-height: 410px !important;
    border: 4px solid #000000;
    border-radius: 15px;
    overflow: hidden;
    background-color: #000000;
    margin-top: 0 !important;
}

#cd-large-viewer, #large-viewer {
    max-width: 100%;
    max-height: 400px;
    width: auto;
    height: 400px;
    display: block;
    object-fit: contain;
}

.cd-layout {
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    gap: 5px;
    position: relative;
}

/* FILA SUPERIOR */
.cd-top-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 15px;
}

/* Bloque de btns izquierdos */
.cd-categories {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 140px;
}

/* btn decorativo "For Adopts" */
.cd-cat-btn {
    background: linear-gradient(to bottom, #FFDA99, #F3A33B);
    color: white;
    font-size: 0.85rem;
    font-weight: bold;
    padding: 6px 12px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0px 3px 0px #D96709;
    letter-spacing: 1px;
}

.cd-cat-btn.alt {
    background: linear-gradient(to bottom, #FFDA99, #E28525);
}

.cd-carousel-horiz {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    flex: 1;
    justify-content: flex-start;
}

.horiz-thumbs {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

/* Flechas de navegación */
.scroll-arrow {
    color: #F3B156;
    font-size: 1.2rem;
    cursor: pointer;
    user-select: none;
}
.scroll-arrow:hover { color: #E28525; }

/* FLECHA DE ABAJO BLINK */
.arrow-indicator-horiz {
    position: absolute;
    top: 86px;
    left: 0;
    color: #E28525;
    font-size: 1.2rem;
    transition: left 0.2s ease;
    animation: blinkerCD 1s linear infinite;
    opacity: 0;
}

/* ZONA CENTRAL */
.cd-main-zone {
    display: grid !important;
    grid-template-columns: 1fr 110px;
    width: 100%;
    gap: 15px;
    margin-top: 15px;
    align-items: start;
}

.cd-viewer {
    flex: 1;
    width: fit-content !important;
    margin-top: 0 !important;
}

/* columna de proceso derecha */
.cd-process-side {
    width: 110px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px;
}

/* btn de "PROCESS" tieso */
.process-title-btn {
    background: linear-gradient(to bottom, #FFDA99, #F3A33B);
    color: white;
    font-size: 0.85rem;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 10px;
    width: 100%;
    text-align: center;
    box-shadow: 0px 3px 0px #D96709;
    letter-spacing: 1px;
}

.cd-carousel-vert {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    flex: 1;
}

.scroll-arrow-v {
    color: #F3B156;
    font-size: 1rem;
    cursor: pointer;
    user-select: none;
}

.vert-thumbs-wrapper {
    position: relative;
    padding-left: 20px;
}

.vert-thumbs {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* FLECHA IZQUIERDA BLINK de PROCESS */
.arrow-indicator-vert {
    position: absolute;
    left: 0;
    top: 0;
    color: #E28525;
    font-size: 1.2rem;
    transition: top 0.2s ease;
    animation: blinkerCD 1s linear infinite;
    opacity: 0;
}

/* blink animación */
@keyframes blinkerCD {
    50% { opacity: 0; }
}

/* Estado del botón de categoría seleccionado */
.cd-cat-btn.active-cat {
    transform: translateY(2px);
    box-shadow: 0px 1px 0px #D96709;
}

/* para el cambio de cursor */
.cd-cat-btn {
    cursor: pointer;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

/*btns*/
/* parte superior - horizontal */
.horiz-thumbs {
    display: flex;
    flex-direction: row;
    gap: 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    max-width: 420px;
    white-space: nowrap;
}

/* parte derecho - vertical */
.vert-thumbs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
    scroll-behavior: smooth;
    max-height: 320px;
}

.vert-thumbs-wrapper {
    position: relative;
    padding-left: 20px; 
    overflow: hidden;
}

/* barra del scrollbar */
.horiz-thumbs::-webkit-scrollbar,
.vert-thumbs::-webkit-scrollbar {
    display: none;
}
.horiz-thumbs, .vert-thumbs {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.viewer-instruction {
    font-family: 'Pixelify Sans', sans-serif;
    color: saddlebrown; 
    font-size: 14px;
    text-align: center;
    margin-top: 10px; 
    letter-spacing: 0.5px;
}


/* ===================================================
   ANIMACIÓN
   =================================================== */

.anim-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 25px !important;
    padding: 20px !important;
}

.anim-section-title {
    font-family: 'Pixelify Sans', sans-serif;
    color: #F3B156;
    font-size: 20px;
    margin-bottom: 15px;
}

/* Proyecto destacado */
.project-showcase {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    background-color: #77777;
    padding: 15px;
    border-radius: 12px;
    border: 2px dashed #F3B156;
}

@media (min-width: 768px) {
    .project-showcase {
        grid-template-columns: 1.5fr 1fr;
    }
}

.video-responsive {
    position: relative;
    padding-bottom: 56.25%; /* para q el size sea 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    border: 3px solid #F3B156;
}

.video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.project-info h3 {
    font-family: 'Pixelify Sans', sans-serif;
    color: #E28525;
    font-size: 18px;
    margin-bottom: 10px;
}

.project-info p {
    font-size: 14px;
    line-height: 1.5;
    color: #4A3E3D;
}

.anim-divider {
    border: 0;
    height: 2px;
    background: #F3B156;
    opacity: 0.5;
}

/* grid de gifs */
.gifs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
}

.gif-card {
    background-color: #000000;
    border: 3px solid #F3B156;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    aspect-ratio: 1 / 1 !important;
    box-sizing: border-box !important;
}

.gif-card img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

/* scroll */

/* scroll interno */
.window-container {
    flex: none;
width: 675px;
height: 650px;
    border: 6px solid #F3B156;
    border-radius: 20px;
    background-color: #FFF9E6;
    display: flex;
    flex-direction: column;
    letter-spacing: 1px;
}

.window-content.anim-layout {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 30px;
    padding: 25px;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    box-sizing: border-box;
    
}

/* barra de scroll */
.window-content::-webkit-scrollbar {
    width: 10px;
}

.window-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.window-content::-webkit-scrollbar-thumb {
    background: #F3B156;
    border-radius: 10px;
    border: 2px solid #FFF9E6;
}

.window-content::-webkit-scrollbar-thumb:hover {
    background: #E28525;
}

/* Soporte para el Firefox */

    
/* ===================================================
   ANIMACIÓN 2
   =================================================== */

#animation-window {
    height: 600px !important;
}

#animation-window .window-content.anim-layout {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 30px;
    padding: 25px;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    box-sizing: border-box;
}


/* ===================================================
   ABOUT
   =================================================== */

#about-window {
    display: flex;
    flex-direction: row;
    gap: 30px;

    width: 100%;
    height: 100%;

    box-sizing: border-box;
}

.about-text-side {
    flex: 1;
    min-width: 0;
}

.about-image-side {
    width: 300px;
    margin-top: 100px;
    flex-shrink: 0;
}

.about-avatar {
    display: block;
    width: 100%;
    height: auto;
}

/* ===================================================
    FOOTER, LINKS
   =================================================== */

.social-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.social-icons a {
    display: inline-block;
}

.social-gif {
    width: 32px;
    height: 32px;
    image-rendering: pixelated;
    transition: transform 0.2s ease;
}

.social-gif:hover {
    transform: translateY(-3px) scale(1.1);
}