/* =========================
   TITLE / HEADER
========================= */

.title-block {
    position: relative;
    width: 100%;
    height: 200px;
    border: 1px solid black;
    background-image: url(sources/img/gk2\ \(2\).jpg);
    background-size: cover;
    background-position: center 20%;
    overflow: visible;
    transform: scaleX(-1);
}

.title-block h1 {
    position: absolute;
    left: 48rem;
    top: -3rem;
    margin: 2rem;
    padding: 3rem 5rem;
    font-family: 'Linebeam', Arial, sans-serif;
    font-size: 48px;
    color: rgb(117, 117, 255);
    transform: scaleX(-1);
    animation: breath 1.6s ease-in-out infinite;
}

@keyframes breath {
    0% { transform: scaleX(-1) scale(1); }
    50% { transform: scaleX(-1) scale(1.24); }
    100% { transform: scaleX(-1) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
    .title-block h1 { animation: none; }
}

.title-marquee {
    display: block;
    width: 100%;
    margin-top: 0.5rem;
    text-align: center;
    border: 1px solid black;
    background-color: white;
}

.mobile-note {
    display: none;
}

@media (max-width: 900px) {
    .mobile-note {
        display: block;
        text-align: center;
        font-family: monospace;
        font-size: 12px;
        border: 1px dashed black;
        margin: 0.5rem;
        padding: 0.4rem;
        background: #fff;
    }
}



/* =========================
   FONTS
========================= */

@font-face {
    font-family: 'Chubby Relief';
    src: url('sources/fonts/Chubby Relief.ttf') format('truetype');
}

@font-face {
    font-family: 'KA1';
    src: url('sources/fonts/ka1.ttf') format('truetype');
}

@font-face {
    font-family: 'Linebeam';
    src: url('sources/fonts/Linebeam.ttf') format('truetype');
}

@font-face {
    font-family: 'DayDream';
    src: url('sources/fonts/DayDream.ttf') format('truetype');
}

:root {
    --site-font: 'DayDream', 'Linebeam', 'Chubby Relief', 'KA1', Arial, sans-serif;
}


/* =========================
   BODY / BACKGROUND
========================= */

body {
    min-width: 1100px;
    background-color: rgb(229, 237, 229);
    background-image: url(sources/img/bg.png);
    background-repeat: repeat;
    animation: diagonalDown 90s linear infinite;
    cursor: url(sources/snoopy.cur), auto;
}

@keyframes diagonalDown {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

html {
    scroll-behavior: smooth;
}


/* =========================
   MAIN LAYOUT
========================= */

main {
    width: 1100px;       /* ancho fijo tipo PC */
    margin: 3rem auto;
    padding: 0.4rem;
    border: 8px outset rgb(186, 186, 186);
    background-color: white;
}


.contenido {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.main-column {
    flex: 1;
    min-width: 0;
}




/* =========================
   SIDEBAR / LINKS
========================= */

.links {
    width: 220px;
    flex: 0 0 220px;
    position: sticky;
    top: 1rem;
    margin-top: 1rem;
    border: 3px solid black;
    background-image: url(sources/img/bglinks.jpg);
    background-size: cover;
}

.links h2 {
    background-color: rgb(255, 199, 32);
    text-align: center;
    padding-inline: 3rem;
    font-family: 'Linebeam', var(--site-font);
    font-size: 15px;
}

.links ul {
    list-style: none;
    padding: 0;
}

.links li {
    display: flex;
    align-items: center;
    margin: 0.5rem 0;
    padding: 0.3rem;
    background: linear-gradient(90deg, rgb(155, 220, 233) 60%, transparent);
}

.links img {
    width: 18px;
}

.links a {
    text-decoration: none;
    color: black;
    font-family: "Times New Roman", serif;
    font-size: 13px;
    margin-left: 0.5rem;
}


/* =========================
   CONTENT BLOCKS
========================= */

.content {
    margin-top: 1rem;
    padding: 1rem;
    border: 3px solid black;
    background-color: white;
}

.content p {
    font-family: monospace;
}

.content h3 {
    font-family: 'DayDream', var(--site-font);
    font-size: 20px;
}

.content2 h2 {
    font-family: 'DayDream', var(--site-font);
    font-size: 13px;
    margin-bottom: 0.5rem;
}

.content2 p {
    font-family: monospace;

}

#about {
    border: 3px solid black;
    border-radius: 8px;
    padding: 20px;
}


/* =========================
   PHOTODUMP (90s / 00s)
========================= */

#photodump {
    display: block;
}

.photodump-header {
    margin-bottom: 1rem;
}

.photodump-grid {
    display: grid;
    grid-template-columns: repeat(2, 220px);
    gap: 12px;
    width: 70%;
    padding-left: 10%;
    padding-top: 5%;
    padding-bottom: 5%;
    border-top: solid 30px rgb(87, 87, 87);
    border-bottom: solid 30px rgb(87, 87, 87);
    border-left: solid 3px rgb(87, 87, 87);
    border-right: solid 3px rgb(87, 87, 87);
    border-radius: 8px;
}

.photodump-grid img {
    width: 150px;
    height: auto;
    border: 3px outset black;
    background: white;
    padding: 3px;
    box-sizing: border-box;
}


/* =========================
   INTERESTS
========================= */

.interests-list {
    list-style: none;
    padding-left: 0;
}

.interests-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: monospace;
}

.interests-list img {
    width: 20px;
}

.divider {
    width: 50%;
}




/* =========================
   PERSONAJE / SPEECH BUBBLE
========================= */

.hirono {
    border-radius: 8px;
    margin-left: 15px;
    position: absolute;
    right: 12rem;
    top: 39.7rem;
    width: 50px;
    z-index: 10;
}

.personaje {
    position: absolute;
    right: 5rem;
    top: 180px;
    height: 300px;
    z-index: 10;
    pointer-events: auto;
}

.speech-bubble {
    position: absolute;
    right: 12rem;
    top: 130px;
    background: white;
    border: 2px solid black;
    padding: 0.6rem 1rem;
    font-family: monospace;
    font-size: 12px;
    display: none;
    z-index: 20;
}

.speech-bubble::after {
    content: "";
    position: absolute;
    bottom: -10px;
    right: 30px;
    border-width: 10px 10px 0 10px;
    border-style: solid;
    border-color: black transparent transparent transparent;
}


/* =========================
   MARQUEE / BLINKIES
========================= */

.b-marquee {
    width: 98%;
    margin-top: 0.5rem;
    padding-top: 0.3rem;
    border: 5px outset rgb(167, 167, 167);
    background-image: url(sources/img/sky.gif);
    background-size: cover;
    white-space: nowrap;
    overflow: hidden;
}

.b-marquee img {
    display: inline-block;
    margin: 0 1rem;
}


/* =========================
   CURSOR LINKS
========================= */

a:hover,
a:active,
.links a:hover,
.links a:active {
    cursor: url('sources/snoopy.cur'), pointer;
}

img {
    max-width: none;
}

/* =========================
   ACTUALIZACION CONTENIDO
========================= */
.Actualizacion_Contenido {
    margin-top: 2rem;
    padding: 1rem;
    border: 3px solid black;
    background-color: rgb(240, 240, 240);
}