#menu .submenu {
    font-family: "Gilda Display", Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-size: 10px;
    margin-top: 3vh;
}

#menu .submenu li {
    margin-bottom: 2vh;
}

.scroll-spy.active {
    color: coral;
}

.scroll-spy2 h3 {
    border-left: 2px solid transparent;
}

.scroll-spy2.active h3 {
    border-left: 2px solid coral;
}

/* MAIN */
#project .h1-box h1 {
    font-size: 25vw;
    line-height: 0.6;
    letter-spacing: -5px;
}

#project .h1-box {
    position: fixed;
    bottom: 0;
    left: -1vw;

    width: 101vw;
    overflow: hidden;

    z-index: 9;
}

/* UI/UX DESIGN */
.uiux-design, .graphic-design {
    width: 100%;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    position: relative;

    padding-bottom: 5vh;
    margin-bottom: 5vh;

    border-bottom: 2px solid rgba(114, 94, 83, 0.1);
}

.local-nav {
    width: 10%;
    position: sticky;
    top: 31.5vh;

    z-index: 99;
}

.article-container {
    width: 90%;
}

.section2025, .section2024 {
    scroll-margin-top: 15vh; /* adjust the default anchor scrolling behavior */
}

.t-h2 {
    display: none;
}

#project h2 {
    font-size: clamp(10px, 5vw, 16px);
    letter-spacing: 1px;

    text-align: center;

    margin-top: 20vh;

    transform: translateX(-5vw);
}

#project h3 {
    font-family: "Gilda Display", Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-size: clamp(10px, 5vw, 16px);
    font-weight: 300;

    writing-mode: vertical-rl;
    text-orientation: upright;

    margin-left: 2.5vw;

    align-self: flex-start;
}

article {
    width: 100%;
    margin-bottom: 20vh;

    position: relative;
}

.page {
    width: 90%;
    padding-bottom: 5vh;
    margin-top: 11vh;

    box-shadow: 10px 10px 10px rgba(114, 94, 83, 0.3);
}

#project h4 {
    font-family: "Gilda Display", Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-size: 10vw;
    font-weight: 300;

    text-transform: uppercase;
    padding-left: 5vw;

    transform: translateY(-2.7vh);
}

#project .bold-point {
    margin-top: 3vh;
    padding-left: 5vw;

    display: flex;
    flex-wrap: wrap;

    font-weight: 400;

    transform: translateY(-2.7vh);
}

#project .bold-point li {
    padding-right: 5vw;
    padding-bottom: 1vh;
}

.uiux-design .img-box {
    width: 90vw;
    height: 50vw;
    overflow: hidden;

    margin-left: auto;
    margin-right: 0;

    margin-top: 5vh;

    transform: translateY(-2.7vh);
}

.uiux-design .img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

#project .text-box p {
    width: 75%;
    margin-top: 5vh;
    margin-bottom: 5vh;
    margin-left: 3vw;
    padding-left: 2vw;

    font-family: "Rosario", Verdana, Geneva, Tahoma, sans-serif;
    font-size: 14px;
    font-weight: 300;

    border-left: 5px solid coral;

    transform: translateY(-2.7vh);
}

.uiux-design img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


/* ARTICLE 2 */
.article2 .flex-box {
    width: 90vw;

    display: flex;
    justify-content: space-between;

    margin-left: auto;
    margin-right: 0;

    transform: translateY(-2.7vh);
}

.article2 .img-box-t {
    width: 52vw;
    height: 75vw;
    overflow: hidden;

    margin-top: 2vh;
}

.article2 .img-box-m {
    width: 33vw;
    height: 75vw;
    overflow: hidden;

    margin-top: 2vh;
    margin-right: 0;
}

#project .bold-point2 {
    display: block;
}

#project .bold-point li:nth-of-type(1) {
    padding-bottom: 2vh;
}


/* GRAPHIC DESIGN */
#project .graphic-design .img-box {
    margin-left: auto;
    margin-right: 0;

    margin-top: 5vh;

    transform: translateY(-2.7vh);

    cursor: pointer;
}

.vl {
    width: 90vw;
    overflow: hidden;
}

.hr-wide {
    width: 90vw;
    height: 120vw;
    overflow-x: scroll;
    overflow-y: hidden
}

.vl img {
    width: 100%;
    object-fit: cover;
    object-position: center;
}

#project .graphic-design .hr-wide img {
    height: 100%;
    object-fit: cover;
    object-position: left;
}


/* LIGHTBOX */
#lightbox {
    position: fixed;
    inset: 0;

    display: none;
    justify-content: center;
    align-items: center;

    z-index: 999;

    padding: 40px;

    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);

    opacity: 0;
}

#lightbox-img {
    max-width: 90vw;
    max-height: 90vh;
}

#lightbox.active {
    animation: lightboxFadeIn 0.35s ease forwards;
}

#lightbox.active #lightbox-img {
    animation: lightboxZoomIn 0.35s ease forwards;
}

#lightbox.closing {
    animation: lightboxFadeOut 0.35s ease forwards;
}

#lightbox.closing #lightbox-img {
    animation: lightboxZoomOut 0.35s ease forwards;
}

@keyframes lightboxFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes lightboxFadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes lightboxZoomIn {
    from { transform: scale(0.95); }
    to { transform: scale(1); }
}

@keyframes lightboxZoomOut {
    from { transform: scale(1); }
    to { transform: scale(0.95); }
}


/* FOOTER */
footer {
    margin-top: 40vh;
}



/* RESPONSIVE DESIGN */
@media (min-width: 376px) {
    #menu .submenu {
        font-size: 12px;
    }

    #project .h1-box h1 {
        font-size: 25vw;
    }

    .uiux-design h2 {
        font-size: clamp(10px, 5vw, 24px);
    }

    #project h3 {
        font-size: clamp(10px, 5vw, 20px);
    }

    #project h4 {
        font-size: 11vw;
    }

    #project .bold-point {
        font-size: 12px;
    }

    #project .text-box p {
        font-size: 16px;
    }
}

/* FOR TABLET */
@media (min-width: 768px) {
    #project .h1-box h1 {
        font-size: 20vw;
    }

    #project .h1-box {
        left: auto;
        right: -3vw;

        width: 90vw;
    }

    .scroll-spy h2 {
        border-left: 3px solid transparent;
    }

    .scroll-spy.active h2 {
        border-left: 3px solid coral;
        color: black;
    }

    .scroll-spy2 h3 {
        border-left: 2px solid transparent;
    }

    .scroll-spy2.active h3 {
        border-left: 2px solid transparent;
        color: coral;
    }

    /* UI/UX DESIGN */
    .uiux-design, .graphic-design {
        width: 100%;
        margin-top: 10vh;

        border-bottom: none;

        scroll-margin-top: 10vh;
    }

    .uiux-design {
        scroll-margin-top: 22vh;
    }

    .local-nav {
        width: 21%;

        position: fixed;
        top: 18.5vh;

        margin-left: 30px;
    }

    .local-nav.hide-on-footer {
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease-in-out;
    }

    .graphic-design .local-nav {
        top: 40vh;
    }

    .article-container {
        width: 70%;

        margin-right: 0;
        margin-left: auto;
    }

    .section2025, .section2024 {
        scroll-margin-top: 15vh;
    }

    .m-h2 {
        display: none;
    }

    #project .t-h2 {
        display: block;

        font-size: clamp(10px, 2vw, 16px);
        text-align: left;

        margin-top: 0.8vh;
        margin-bottom: 5vh;

        padding-left: 5px;

        transform: none;
    }

    #project h3 {
        width: min-content;
        font-size: 16px ;
        writing-mode: horizontal-tb;
        letter-spacing: 1px;

        margin-top: 3vh;
        margin-left: auto;

        text-align: right;
    }

    #project h4 {
        font-size: 8vw;
    }

    #project .bold-point {
        font-size: 14px;
    }

    .uiux-design .img-box {
        width: 70vw;
        height: 38vw;
    }

    #project .text-box p {
        font-size: 16px;

        margin-left: 5vw;
        padding-left: 1vw;
    }

    .article2 .flex-box {
        width: 70vw;
    }

    .article2 .img-box-t {
        width: 40vw;
        height: 58vw;
    }

    .article2 .img-box-m {
        width: 27vw;
        height: 58vw;
    }

    .vl {
        width: 70vw;
        overflow: hidden;
    }

    .hr-wide {
        width: 70vw;
        height: 100vw;
        overflow-x: scroll;
        overflow-y: hidden
    }

}

/* FOR LAPTOP */
@media (min-width: 1024px) {
    .local-nav {
        width: 15%;
        top: 25vh;
        margin-left: 50px;
    }

    #project .t-h2 {
        font-size: clamp(10px, 2vw, 14px);
    }

    #project h3 {
        font-size: 12px;
    }

    .page {
        margin-top: 17vh;
    }

    #project h4 {
        font-size: 6vw;
        padding-left: 0;
    }

    #project .bold-point {
        padding-left: 0;
    }

    #project .bold-point2 {
        display: flex;
    }

    #project .graphic-design .vl {
        margin-left: 0;
        margin-right: auto;
    }

    .vl:not(.vl-lg) {
        width: auto;
        height: 80vh;
    }

    .vl:not(.vl-lg) img {
        width: auto;
        height: 100%;
    }

    .hr-wide {
        width: 70vw;
        height: auto;
        overflow-x: hidden;
    }

    .hr-wide img {
        width: 100%;
        height: auto;
    }
}

@media (min-width: 1440px) {
    #project .h1-box h1 {
        font-size: 15vw;
    }

    .local-nav {
        width: 13%;
    }

    #project .h1-box {
        right: -1vw;

        width: 65vw;
    }

    #project h4 {
        font-size: 5vw;
    }

    .article2 .img-box-t {
        width: 42vw;
        height: 58vw;
    }

    .article2 .img-box-m {
        width: 27vw;
        height: 58vw;
    }

    #project .graphic-design .vl:not(.vl-lg) {
        margin-left: 8vw;
    }
}

@media (min-width: 1920px) {
    #project .t-h2 {
        font-size: clamp(10px, 2vw, 20px);
    }

    #project h3 {
        font-size: 18px;
    }

    #project .bold-point {
        font-size: 18px;
    }

    #project .text-box p {
        font-size: 20px;
        width: 30vw;
    }
}