body {
    background: #0d0d0d;
    color: #e6e6e6;
    font-family: Consolas, Monaco, 'Courier New', monospace;
    margin: 0;
    padding: 0;
}

.terminal {
    width: 80%;
    margin: 50px auto;
    background: #111;
    border-radius: 10px;
    box-shadow: 0 0 20px #000;
    overflow: hidden;
}

.header {
    background: #2b2b2b;
    padding: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.header span {
    width: 15px;
    height: 15px;
    border-radius: 50%;
}

.red { background: #ff5f56; }
.yellow { background: #ffbd2e; }
.green { background: #27c93f; }

.header p {
    margin-left: 20px;
    color: #bbb;
}

.output {
    padding: 20px;
    height: 60vh;
    overflow-y: auto;
    white-space: pre-wrap;
}

.input-line {
    display: flex;
    align-items: center;
    padding: 20px;
    background: #0f0f0f;
}

.prompt {
    margin-right: 10px;
    color: #3af;
}

input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
}

.command {
    color: #3af;
}

.error {
    color: #ff5f56;
}

.success {
    color: #3cff78;
}

/* Colores en la terminal */
.color-name {
    color: #4af;
    font-weight: bold;
}

.color-stack {
    color: #6f6;
}

.color-link a {
    color: #ffb86c;  /* naranja suave */
    text-decoration: none;
}

.color-link a:hover {
    color: #ffd9a3;  /* más claro al pasar */
}


.color-desc {
    color: #ccc;
}

.color-about {
    color: #ffb86c !important;  /* amarillo suave / naranja tenue */
    font-weight: 400;
}

#about-photo {
    position: fixed;
    top: 50%;
    right: 3%;             /* antes estaba right: 20px — muy al borde */
    transform: translateY(-50%);
    width: 260px;
    height: 260px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.08);
}

/* cuando aparece */
#about-photo.show {
    opacity: 1;
    right: 15%;        /* ESTE ES EL CAMBIO QUE LA MUEVE MÁS AL CENTRO */
}


#footer-tech {
    margin-top: 25px;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.12);
    text-align: center;
    opacity: 0.85;
}

.footer-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
    margin-bottom: 12px;
}

/* Ajuste ideal para PNG */
.footer-icons img {
    width: 20px;          /* antes 38px */
    height: auto;
    opacity: 0.7;
    transition: transform 0.2s ease, opacity 0.2s ease, filter 0.2s ease;
    filter: drop-shadow(0 0 2px rgba(0,255,0,0.12));
}

.footer-icons img:hover {
    transform: scale(1.12);   /* antes 1.18 */
    opacity: 1;
    filter: drop-shadow(0 0 20px rgba(114, 241, 114, 0.4));
}


.footer-text {
    font-size: 0.8rem;
    opacity: 0.6;
}

/* ===============================
   RESPONSIVE
================================ */

/* Tablets */
@media (max-width: 1024px) {
    .terminal {
        width: 90%;
        margin: 30px auto;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .terminal {
        width: 95%;
        margin: 15px auto;
        border-radius: 6px;
    }

    .output {
        height: 55vh;
        padding: 15px;
        font-size: 0.9rem;
    }

    .input-line {
        padding: 12px;
    }

    .prompt {
        font-size: 0.85rem;
    }

    input {
        font-size: 0.9rem;
    }
}

/* Ocultar foto en mobile */
@media (max-width: 768px) {
    #about-photo {
        display: none;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 6px;
    }

    .header p {
        font-size: 0.75rem;
        margin-left: 10px;
    }

    .header span {
        width: 12px;
        height: 12px;
    }
}


@media (max-width: 768px) {
    #footer-tech {
        padding: 15px 10px;
    }

    .footer-icons {
        gap: 12px;
    }

    .footer-icons img {
        width: 30px;
    }

    .footer-text {
        font-size: 0.7rem;
    }
}

/* Mobile chico */
@media (max-width: 480px) {
    .footer-icons img {
        width: 26px;
    }
}


@media (max-width: 480px) {
    body {
        padding-bottom: 80px;
    }

    .output {
        height: 50vh;
    }
}

.color-edu-title {
    color: #ffb86c;
    font-weight: 500;
}

.color-edu-item {
    color: #cfcfcf;
}

.color-edu-inst {
    color: #6f6;
    font-weight: 500;
}

.color-prompt {
    color: #4885f5;
    font-weight: 600;
}
