html
{
    scroll-behavior: smooth;
}

body
{
    margin: 0;
    background: rgb(255, 255, 255);
    

}

.header
{
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 16px;
    padding: 24px 32px;
    background: rgba(255, 255, 255, 0.885);
    backdrop-filter: blur(8px);
    z-index: 100;
    /*background: rgb(145, 100, 142);*/
    
    

  
}


.title-name
{
    font-size: 2.2rem;
    font-family: 'Limelight', serif;
    Color: rgb(59, 41, 64);
    
    
    
}

.title-sub
{
    font-size: 1.2rem;
    font-family: 'Mogra', serif;
    Color: rgb(59,41,64);
    padding: 8px 0px;
    
    
    
    
}

.header-links
{
    display: flex;
    flex-direction: row;
    gap: 42px;
    padding: 18px 8px;
    font-family: 'Mogra', serif;
    
}

.main-nav a
{
    text-decoration: none;
    color: rgb(59,41,64);
    font-family: "Mogra", serif;
    background: rgb(215, 206, 248);
    padding: 12px 22px;
    border-radius: 999px;
    transition: all 0.2s ease;
}

.main-nav a:hover
{
    background: rgb(191, 132, 187);
    transform: translateY(-2px);
    box-shadow: 0 0 8px rgba(74, 51, 72, 0.4);
}

.main-nav a:active
{
    transform: translateY(1px);
}

.hero
{
    position: relative;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.nebula-bg
{
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: fit-content;
    max-width: none;
    z-index: 1;
}

.room
{
    position: relative;
    z-index: 4;
    width: min(1400px, 90vw);
}




.room-layer
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: block;
    pointer-events: none;
}

.base-room
{
    position: relative;
    z-index: 1;
    width: 100%;
    display: block;
}

.window-day,
.window-night
{
    position: absolute;
    left: 7.8%;
    top: 6%;
    width: 84.0%;
    height: 87.9%;
    z-index: 3;
    pointer-events: none;
    transform: rotate(-.3deg);
}
.lamp-off
{
    position: absolute;
    left: 3.5%;
    top: 5.8%;
    width: 88%;
    height: 88%;
    z-index: 4;
    pointer-events: none;
    /*border: 2px solid red;*/
    /*background: rgba(255, 0, 0, 0.15);*/
}
.dark-overlay
{
    position: absolute;
    inset: 0;
    background: rgba(22, 15, 45, 0.35);
    z-index: 3;
    pointer-events: none;
}



.window-day,
.window-night,
.lamp-off,
.dark-overlay
{
    transition: opacity 0.3s ease;
}
.painting-art
{
    position: absolute;
    left: 7.8%;
    top: 6.7%;
    width: 84.2%;
    height: 86%;
    z-index: 2;
    pointer-events: none;
}


/*BOXESSSSSS*/
.hitbox
{
    position: absolute;
    z-index: 5;
    background: rgba(113, 28, 28, 0);
    border: 2px solid rgba(255, 254, 254, 0);
    padding: 0;
    cursor: pointer;
}

.computer-hitbox
{
    left: 48%;
    top: 24%;
    width: 12%;
    height: 14%;
}

.easel-hitbox
{
    left: 28%;
    top: 32%;
    width: 8%;
    height: 24%;
}
.photo-hitbox
{
    left: 64%;
    top: 18%;
    width: 16%;
    height: 12%;
    transform: rotate(12deg);
}

.char-hitbox
{
    left: 52.8%;
    top: 41%;
    width: 12%;
    height: 34%;
}
.skating-hitbox
{
    left: 27%;
    top: 20%;
    width: 6%;
    height: 8%;
}
.books-hitbox
{
    left: 18%;
    top: 28%;
    width: 8%;
    height: 32%;
}
.sew-hitbox
{
    left: 38%;
    top: 31%;
    width: 6%;
    height: 8%;
}

.lamp-hitbox
{
    left: 79.6%;
    top: 39%;
    width: 4%;
    height: 9%;
}

.window-hitbox
{
    left: 35%;
    top: 16%;
    width: 13%;
    height: 12%;
    transform: rotate(-16deg);
    
}

.tori-hitbox
{
    left: 47%;
    top: 65%;
    width: 5%;
    height: 10%;
}
.mimi-hitbox
{
    left: 66%;
    top: 42%;
    width: 6%;
    height: 10%;
}

.plant-hitbox
{
    left: 50%;
    top: 10%;
    width: 14%;
    height: 10%;
}






/*pill shape - hover*/
.hover-pill
{
    position: absolute;
    left: 50%;
    top: -18px;
    transform: translateX(-50%) translateY(6px);
    opacity: 0;

    background: rgb(232, 218, 248);
    color: rgb(59, 41, 64);
    border-radius: 999px;
    padding: 10px 18px;
    font-family: "Mogra", serif;
    font-size: 1rem;
    white-space: nowrap;

    box-shadow: 0 6px 16px rgba(67, 17, 129, 0.18);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}

.hitbox:hover .hover-pill,
.hitbox:focus-visible .hover-pill
{
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}


/*photos*/
.photo-slider
{
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
}

.photo-slider img
{
    width: 50%;
    max-width: 400px;
    height: auto;
    border-radius: 18px;
    display: block;
    margin: 0 auto;
}

/*art slider*/
.art-slider
{
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
}

.art-slider img
{
    width: 50%;
    max-width: 400px;
    height: auto;
    border-radius: 18px;
    display: block;
    margin: 0 auto;
}

/* speech bubbles*/
.dog-bubble
{
    position: absolute;
    left: 50%;
    bottom: 110%;
    transform: translateX(-50%) translateY(8px);
    opacity: 0;

    background: rgb(255, 245, 252);
    color: rgb(59, 41, 64);
    border-radius: 18px;
    padding: 10px 14px;
    font-family: "Mogra", serif;
    font-size: 0.95rem;
    white-space: nowrap;

    box-shadow: 0 6px 16px rgba(67, 17, 129, 0.18);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}

/* tiny bubble tail */
.dog-bubble::after
{
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 10px solid rgb(255, 245, 252);
}

.dog-bubble.show
{
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.char-bubble
{
    position: absolute;
    left: 50%;
    bottom: 110%;
    transform: translateX(-50%) translateY(8px);
    opacity: 0;

    background: rgb(255, 245, 252);
    color: rgb(59, 41, 64);
    border-radius: 18px;
    padding: 10px 16px;

    font-family: "Mogra", serif;
    font-size: 0.95rem;
    white-space: nowrap;

    box-shadow: 0 6px 16px rgba(67, 17, 129, 0.18);

    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}

.char-bubble.show
{
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.char-bubble::after
{
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 10px solid rgb(255, 245, 252);
}


/*body card styling*/
.cards-section
{
    background: white;
    padding: 70px 5vw 100px;
}

.cards-grid
{
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
    align-items: start;
}

.info-card
{
    position: relative;
    border-radius: 30px;
    background: linear-gradient(180deg, rgb(250, 247, 255), rgb(237, 229, 248));
    box-shadow:
        0 16px 30px rgba(72, 43, 92, 0.10),
        inset 1px 1px 0 rgba(255, 255, 255, 0.9),
        inset -2px -2px 8px rgba(120, 87, 149, 0.08);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.info-card:hover
{
    transform: translateY(-4px);
    box-shadow:
        0 20px 36px rgba(72, 43, 92, 0.15),
        inset 1px 1px 0 rgba(255, 255, 255, 0.95),
        inset -2px -2px 10px rgba(120, 87, 149, 0.10);
}

.card-inner
{
    padding: 28px;
}

.info-card h2,
.info-card h3
{
    margin: 0 0 12px;
    font-family: "Italiana", serif;
    color: rgb(59, 41, 64);
    line-height: 1.5;
    
}

.info-card p,
.info-card a,
.info-card li,
.info-card ul
{
    font-family: "Inria Serif", serif;
    color: rgb(59, 41, 64);
    line-height: 1.5;
}

.info-card p,
.info-card a
{
    margin: 0;
    text-decoration: none;
}

.info-card ul
{
    margin: 0;
    padding-left: 20px;
}

.info-card li
{
    margin-bottom: 6px;
}

.card-small
{
    grid-column: span 3;
    min-height: 220px;

}

.card-wide
{
    grid-column: span 6;
    min-height: 220px;
}

.card-tall
{
    grid-column: span 3;
    min-height: 220px;
}

.card-feature
{
    grid-column: span 6;
    min-height: 220px;
}


/*expanding*/
.card-toggle
{
    all: unset;
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.card-expand
{
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    border-top: 1px solid rgba(120, 87, 149, 0.15);
}

.card-expand-inner
{
    padding: 24px 28px 28px;
}

.info-card.expanded .card-expand
{
    max-height: 500px;
}



@media (max-width: 900px)
{
    .card-small,
    .card-wide,
    .card-tall,
    .card-feature
    {
        grid-column: span 12;
        min-height: auto;
    }
}




.modal-overlay
{
    position: fixed;
    inset: 0;
    background: rgba(20, 15, 35, 0.45);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    transition: opacity 0.25s ease;
}

.modal-box
{
    position: relative;
    width: min(820px, 88vw);
    max-height: 80vh;
    overflow-y: auto;
    background: white;
    border-radius: 28px;
    padding: 32px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.18);
}

.modal-close
{
    position: absolute;
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: rgb(232, 218, 248);
    color: rgb(59, 41, 64);
    font-size: 1.5rem;
    cursor: pointer;
}

.modal-box h2
{
    margin: 0 0 16px;
    font-family: "Italiana", serif;
    color: rgb(59, 41, 64);
}

.modal-box p,
.modal-box li,
.modal-box a
{
    font-family: "Inria Serif", serif;
    color: rgb(59, 41, 64);
    line-height: 1.6;
}

.modal-box ul
{
    margin: 0 0 16px 20px;
}

.tile-button
{
    cursor: pointer;
}

.hidden
{
    opacity: 0;
    pointer-events: none;
}

.nav-btn
{
    text-decoration: none;
    color: rgb(59,41,64);
    font-family: "Mogra", serif;
    background: rgb(215, 206, 248);
    padding: 12px 22px;
    border-radius: 999px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.nav-btn:hover
{
    background: rgb(191, 132, 187);
    transform: translateY(-2px);
    box-shadow: 0 0 8px rgba(74, 51, 72, 0.4);
}

.nav-btn:active
{
    transform: translateY(1px);
}


.about-photo
{
    width: 80%;
    max-width: 420px;
    height: auto;
    border-radius: 1px;
    display: block;
    margin: 1px auto;
}

.latest-photo
{
    width: 100%;
    max-width: 70px;
    height: auto;
    border-radius: 1px;
    display: block;
    margin: 1px auto;
}
.photo-photo
{
    width: 100%;
    max-width: 120px;
    height: auto;
    border-radius: 1px;
    display: block;
    margin: 1px auto;
}
.plant-photo
{
    width: 100%;
    max-width: 100px;
    height: auto;
    border-radius: 1px;
    display: block;
    margin: 1px auto;
}

.skills-layout
{
display: grid;
grid-template-columns: 1fr 1fr;
gap: 40px;
margin-top: 10px;
}

.skills-columns
{
column-count: 2;
column-gap: 30px;
margin-top: 4px;
}

.skills-block
{
break-inside: avoid;
-webkit-column-break-inside: avoid;
margin-bottom: 22px;
}

.skill-tags
{
display: flex;
flex-wrap: wrap;
gap: 4px;
padding: 0;
}

.skill-tags li
{
list-style: none;
background: rgb(232,218,248);
padding: 6px 12px;
border-radius: 999px;
font-size: 0.9rem;
}






.tile-button:hover
{
    box-shadow:
        0 22px 38px rgba(72, 43, 92, 0.16),
        inset 1px 1px 0 rgba(255, 255, 255, 0.95),
        inset -2px -2px 10px rgba(120, 87, 149, 0.10);
}

.tile-button:active
{
    transform: scale(0.99);
}




.tile-button
{
    cursor: pointer;
}

.tile-button .card-inner
{
    position: relative;
}


.tile-hint
{
    display: inline-block;
    margin-top: 14px;
    font-family: "Mogra", serif;
    font-size: 0.9rem;
    color: rgb(120, 87, 149);
    opacity: 0.85;
}


.plant-scene
{
    position: relative;
    width: 100%;
    max-width: 420px;
    margin: 20px auto 0;
    min-height: 360px;
}

.plant-img
{
    position: absolute;
    left: 50%;
    bottom: 40px;
    transform: translateX(-50%);
    width: 220px;
    height: auto;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.plant-small
{
    z-index: 2;
    opacity: 1;
}

.plant-grown
{
    z-index: 2;
    opacity: 1;
}

.hidden-plant
{
    opacity: 0;
    transform: translateX(-50%) scale(0.92);
    pointer-events: none;
}

.water-can
{
    position: absolute;
    right: -5px;
    top: 1px;
    width: 220px;
    height: auto;
    opacity: 0;
    transform: translateY(-30px) rotate(-12deg);
    transition: transform 0.8s ease, opacity 0.4s ease;
    pointer-events: none;
    z-index: 3;
}

.water-can.show
{
    opacity: 1;
}

.water-can.pour
{
    transform: translate(-82px, 20px) rotate(-35deg);
}

.plant-water-btn
{
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    border: none;
    border-radius: 999px;
    padding: 10px 18px;
    background: rgb(232,218,248);
    color: rgb(59,41,64);
    font-family: "Mogra", serif;
    cursor: pointer;
}


/*fade in for the tiles*/
.info-card
{
    position: relative;
    border-radius: 30px;
    background: linear-gradient(180deg, rgb(250, 247, 255), rgb(237, 229, 248));
    box-shadow:
        0 16px 30px rgba(72, 43, 92, 0.10),
        inset 1px 1px 0 rgba(255, 255, 255, 0.9),
        inset -2px -2px 8px rgba(120, 87, 149, 0.08);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    animation: cardFloat 4.2s ease-in-out infinite;
}

@keyframes cardFloat
{
    0% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0px); }
}

.info-card:nth-child(1) { animation-delay: 0s; }
.info-card:nth-child(2) { animation-delay: 0.4s; }
.info-card:nth-child(3) { animation-delay: 0.8s; }
.info-card:nth-child(4) { animation-delay: 0s; }
.info-card:nth-child(5) { animation-delay: 0.4s; }
.info-card:nth-child(6) { animation-delay: 0.8s; }
.info-card:nth-child(7) { animation-delay: 0s; }
.info-card:nth-child(8) { animation-delay: 0.4s; }

