@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@300;700;800&display=swap');

*{
    margin: 0; 
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}
.header{
    right: 0;
    top: 0;
    width: 100%;
    font-family: 'Roboto Mono', monospace;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    padding: 30px 9%;
}
.navlinks{
    float: right; 
    width: 100%;
    align-items: center;
    display: flex;
    gap: 2rem;
}
.navlinks a{
    color: black; 
    font-size: 15pt;
    margin-top: 0;
    margin-right: 50px;
    margin-left: 100px;
}

.navlinks a:hover{
    border-bottom: 2px solid black;
}

.homeimgs{
    position: relative;
    width: 100%;
    top: 0;
    left: 0;
}

.hero{
    position: relative;
    width: 100%;
    overflow: hidden;
}

.welcome_message{
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: #ffffff;
    text-align: right;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
    max-width: 900px;
    width: 90%;
    font-family: 'Imperial Script', monospace;
    font-weight: 400;
    font-style: normal;
    font-size: 40pt;
    padding: 1rem 2rem;
}

.biggie{
    position: relative;
    width: 100%;
    top: 8%;
    right: 0;
    z-index: 0;
}

.lil0{
    position: absolute;
    width: 80%;
    top: 10%;
    right: 0%;
    z-index: 0;
}

/* 009 media page */
.media-hero{
    padding: 0 7% 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.hero-visual{
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 16px 36px rgba(0,0,0,0.12);
}

.hero-img{
    width: 100%;
    display: block;
    transition: transform 0.4s ease, opacity 0.35s ease;
}

.hero-img.fade-in{
    opacity: 0.85;
    transform: translateY(8px);
}

.media-slider{
    max-width: 980px;
}

.media-intro, .media_intro{
    width: 100%;
    font-family: 'Roboto Mono', monospace;
    text-align: left;
}

.media-intro h1,
.media_intro h1{
    font-size: 24pt;
    margin-bottom: 6px;
    font-family: "Permanent Marker", cursive;
    letter-spacing: 0.02em;
}

.media-intro p,
.media_intro p{
    font-size: 12pt;
    color: #2e2b26;
    margin-bottom: 8px;
}

.media-note{
    font-family: 'Roboto Mono', monospace;
    font-size: 12pt;
    color: #2e2b26;
    margin-top: 12px;
    text-align: center;
}


.korean-media-note{
    font-family: 'Nanum Pen Script', cursive;
    font-size: 18pt;
    color: #2e2b26;
    margin-top: 12px;
    text-align: center;
}

.media-nav{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: rgba(255,255,255,0.8);
    color: #0f1115;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    font-size: 18px;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.media-nav.prev{ left: 12px; }
.media-nav.next{ right: 12px; }

.media-nav:hover{
    background: white;
}

.media-slider:hover .media-nav{
    opacity: 1;
}

.media-play{
    margin-top: 12px;
    align-self: center;
    padding: 10px 16px;
    border: 1px solid #0f1115;
    background: #0f1115;
    color: white;
    font-family: 'Roboto Mono', monospace;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

.media-play:hover{
    background: white;
    color: #0f1115;
}

/* Korean text */
:lang(ko), .korean-text{
    font-family: 'Nanum Pen Script', cursive;
}

/* Responsive tweaks */
@media (max-width: 900px){
    .header{
        padding: 20px 5%;
    }
    .navlinks{
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }
    .navlinks a{
        margin: 0;
        padding: 8px 12px;
        font-size: 13pt;
    }
    .hero{
        min-height: 60vh;
    }
    .welcome_message{
        top: 12%;
        text-align: center;
        font-size: 30pt;
        width: 100%;
    }
    .lil0{
        width: 110%;
        right: -5%;
        top: 5%;
    }
    iframe{
        width: 90% !important;
        max-width: 420px !important;
    }
}

@media (max-width: 540px){
    .welcome_message{
        font-size: 24pt;
        top: 16%;
        padding: 0 1rem;
    }
    .hero{
        min-height: 70vh;
    }
}

/* About */
.About{
    padding: 0 7%
}

.tableOfContents .bullet{
    display: inline-block;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: black;
    margin-right: 10px;
}
.tableOfContents .title{
    border: none;
    background-color: white;
    font-family: "Permanent Marker", cursive;
    font-weight: 200;
    font-style: normal;
    font-size: 24pt;
    cursor: pointer;
}
.active, .tableOfContents .title:hover {
    background-color: #f9f9f9;
  }

.tableOfContents .content{
    display: none;
    overflow: hidden;
    font-family: 'Roboto Mono', monospace;
    font-weight: 400;
    font-style: normal;
    font-size: 11pt;
    padding: 0 3%
}

.tableOfContents .shortcontent{
    font-family: 'Roboto Mono', monospace;
    font-weight: 400;
    font-style: normal;
    font-size: 11pt;
    padding: 0 3%
}

.nerd{
    font-family: "Indie Flower", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 16pt;
}
.ifknow{
    font-family: "Shadows Into Light", cursive;
    font-weight: 600;
    font-style: normal;
    font-size: 20pt;
}
.spread{
    font-family: "Kalam", cursive;
    font-weight: 700;
    font-style: normal;
    font-size: 20pt;
}
.tableOfContents .sidenote{
    border: none;
    background-color: white;
    font-family: "Indie Flower", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 14pt;
    cursor: pointer;
    padding: 10px 3%;
}
.sidenotecontent{
    display: none;
    overflow: hidden;
    font-family: "Indie Flower", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 14pt;
    padding: 0 3%;
}
.know {
    font-family: "Kalam", cursive;
    font-weight: 700;
    font-style: normal;
    font-size: 14pt;
}
.me {
    font-family: "Kalam", cursive;
    font-weight: 700;
    font-style: normal;
    font-size: 14pt;
}
.mystyle {
    font-family: "Kalam", cursive;
    font-weight: 700;
    font-style: normal;
    font-size: 14pt;
}
.core {
    font-family: "Kalam", cursive;
    font-weight: 700;
    font-style: normal;
    font-size: 14pt;
}
.tableOfContents .subtitle{
    border: none;
    background-color: white;
    font-family: "Kalam";
    font-weight: 600;
    font-style: normal;
    font-size: 20pt;
    padding: 0 3%
}
.active, .tableOfContents .subtitle:hover {
    background-color: #f9f9f9;
  }

.sidetitle{
    font-family: "Indie Flower", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 16pt;
}

.collapsible {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
  }
  
  /* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
  .active, .collapsible:hover {
    background-color: #ccc;
  }
  
  /* Style the collapsible content. Note: hidden by default */
.collapsible .content {
    padding: 0 18px;
    display: none;
    overflow: hidden;
    background-color: #f1f1f1;
  }

/* Projects */
.projects{
    padding: 0 7% 60px;
    font-family: 'Roboto Mono', monospace;
}

.project-intro h1{
    font-size: 26pt;
    margin-bottom: 8px;
}

.project-intro p{
    font-size: 12pt;
    max-width: 720px;
}

.project-grid{
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.project-filters{
    margin-top: 14px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 11pt;
}

.project-filters label{
    display: flex;
    align-items: center;
    gap: 6px;
}

.project-filters select{
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid #d4cbb6;
    background: #fffdf7;
    font-family: 'Roboto Mono', monospace;
}

.postcard{
    background: #fffdf7;
    border: 1px solid #e2d9c3;
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
    overflow: hidden;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
/*
.postcard::after{
    content: "";
    position: absolute;
    inset: 16px 16px auto auto;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 2px dashed rgba(0,0,0,0.15);
    transform: rotate(-8deg);
}
    */
.postcard::after{
    content:"";
    position:absolute;
    inset:16px 16px auto auto;
    width:80px;
    height:80px;
    background: url('stamp.png') center/contain no-repeat;
    transform: rotate(-8deg);
    opacity: 0.9;
    border: none; /* remove the dashed ring */
}


.postcard:hover{
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0,0,0,0.12);
}

.postcard-img{
    height: 180px;
    background-size: cover;
    background-position: center;
    filter: saturate(0.9);
    border: none;
    width: 100%;
    cursor: pointer;
}

.fallback-img{
    background: linear-gradient(135deg, #f5e3c8, #e7d6b1);
}

.postcard-body{
    padding: 16px 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.postcard-meta{
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 10pt;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    gap: 8px;
    flex-wrap: wrap;
}

.stamp{
    background-color: #0f1115;
    color: white;
    padding: 6px 10px;
    border-radius: 6px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.16);
}

.tag{
    color: #5a4c3b;
}

.postcard h2{
    font-size: 16pt;
}

.postcard p{
    font-size: 11pt;
    line-height: 1.5;
}

.postcard-link{
    align-self: flex-start;
    color: black;
    font-weight: 600;
    border-bottom: 2px solid black;
    padding-bottom: 2px;
}

/* Lightbox */
.no-scroll{
    overflow: hidden;
}

.lightbox{
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.lightbox[aria-hidden="false"]{
    pointer-events: auto;
    opacity: 1;
}

.lightbox-backdrop{
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(2px);
}

.lightbox-inner{
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    z-index: 2;
}

.lightbox-img{
    max-width: 80vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 12px 36px rgba(0,0,0,0.4);
    background: #0f1115;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.lightbox-img.slide-out{
    opacity: 0;
    transform: translateX(-24px);
}

.lightbox-img.slide-in.from-right{
    transform: translateX(24px);
}

.lightbox-img.slide-in.from-left{
    transform: translateX(-24px);
}

.lightbox-nav,
.lightbox-close{
    position: relative;
    z-index: 3;
    border: none;
    background: rgba(255,255,255,0.85);
    color: #0f1115;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.lightbox-nav:hover,
.lightbox-close:hover{
    background: white;
}

.lightbox-close{
    position: absolute;
    top: -52px;
    right: -4px;
    font-size: 26px;
}

/* 01 page photo gallery */
.photo-gallery{
    padding: 0 7% 60px;
    font-family: 'Roboto Mono', monospace;
}

.photo-gallery__intro h1{
    font-size: 24pt;
    margin-bottom: 6px;
}

.photo-gallery__intro p{
    font-size: 12pt;
    margin-bottom: 18px;
}

.photo-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.photo-card{
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.photo-card figcaption{
    font-family: 'Roboto Mono', monospace;
    font-size: 13pt;
    color: #4a4238;
    font-weight: 700;
}

.photo-grid img{
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(0,0,0,0.08);
    background: #f4f4f4;
    cursor: pointer;
}

  .contactinfo{
    font-family: 'Roboto Mono', monospace;
    font-weight: 400;
    font-style: normal;
    font-size: 12pt;
    padding: 0 5%
  }

/* Writing manifesto */
.writing{
    padding: 0 7% 80px;
    font-family: 'Roboto Mono', monospace;
}

.writing-intro{
    max-width: 840px;
    margin-bottom: 18px;
}

.writing-intro .eyebrow{
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 10pt;
    color: #6b6052;
}

.writing-intro h1{
    font-size: 28pt;
    margin: 6px 0 10px;
}

.writing-intro .lede{
    font-size: 12pt;
    color: #2e2b26;
}

.writing-content{
    max-width: 840px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    line-height: 1.7;
    font-size: 12pt;
    color: #16140f;
}

.writing-content strong{
    font-weight: 1600;
}

.writing-content .dropcap{
    float: left;
    font-size: 34pt;
    line-height: 1;
    padding-right: 10px;
    padding-top: 4px;
    font-family: "Permanent Marker", cursive;
}
