@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@900&display=swap'); body { background: #FBF6EF; } body::before { content: ''; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-image: url('/resources/Textures/olga-thelavart-vS3idIiYxX0-unsplash.jpg'); background-repeat: repeat; background-size: 300px; background-position: center; background-blend-mode: multiply; opacity: 0.7; z-index: -1; } a { color: #726d6d; /*text-decoration: none;*/ /*font: 400 20px "Ubuntu Mono", monospace;*/ } p { font-family: "inter", sans-serif; line-height: 1.5; } h1 { font-family: Montserrat, sans-serif; font-size: 40px; padding-bottom: 20px } h2 { margin-top: 20px; margin-bottom: 20px; font-family: "Ubuntu Mono", monospace; font-size: 28px; /*font-weight: bold;*/ } /*HEADER & NAV*/ /* Hide mobile navs on desktop */ .nav-m-home, .nav-m-page { display: none; } .header { width: 100%; background: rgba(251, 246, 239, 0); position: fixed; top: 0; left: 0; z-index: 999; transition: background .3s; /*border-bottom: 2px solid rgba(0, 0, 0, 0.1);*/ } .nav { background-color: transparent; padding: 30px 50px 15px 50px; overflow: auto; } .nav::-webkit-scrollbar { width: 0; } .nav ul { list-style: none; padding: 0; margin: 0; display: flex; width: 100%; /* align-items: center; */ /* justify-content: space-between; */ } .nav li { font: 400 15px "Ubuntu Mono", monospace; display: flex; /* Use flexbox to align content vertically and horizontally */ align-items: center; /* Center the content vertically */ margin: 0 5px; /* Add spacing between the list items */ color: black; border-radius: 20px; /* Create rounded corners to make it look like a pillow */ background-color: transparent; /* Set the background color for the list items */ /*border: 2px solid transparent;*/ transition: all 0.3s ease; } .nav li.active { background-color: white; color: orange; filter: drop-shadow(0 2px 15px rgba(105, 105, 105, 0.1)); text-decoration: line-through; transition: all 0.3s ease; } .nav li:hover { color: orange; /*text-decoration: none;*/ background-color: transparent; transition: all 0.3s ease; } .nav li.active:hover { background-color: white; transition: all 0.3s ease; } /* .nav li:last-child { margin-left: auto; } */ .nav li.placeholder { margin-left: auto; margin-right: auto; } .nav a { display: block; padding: 5px 15px; text-decoration: none; border-radius: 20px; color: inherit; } .section { display: none; /*padding: 6.5rem 0 1rem;*/ padding: 100px 50px 0 50px; } .section.active { display: block; /*width: 100vw;*/ /*overflow: hidden;*/ /*background-color: white;*/ /*border: 2px solid green;*/ } .section .page { display: flex; /*flex-direction: row*/ justify-content: flex-start; gap: 60px; /*background-color: white;*/ /*border: 2px solid black*/ /*width: 100%;*/ box-sizing: border-box; } .container { padding: 0; position: relative; box-sizing: border-box; } .column { width: fit-content; } /*.box > * {*/ /* border:1px solid green;*/ /*}*/ /*.container > * {*/ /* border:1px solid red;*/ /*}*/ /*.column > * {*/ /* border:1px solid blue;*/ /*}*/ .sticker { position: absolute; z-index: 998; padding: 10px; bottom: 0; /*scale: 0.25;*/ width: 12vw; height: auto; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.5)); } .space { margin: 0; padding: 0; height: 100px; } /*intro*/ .description { color: #000000; text-align: right; font: 400 20px "Ubuntu Mono", monospace; position: relative; left: 10vw; bottom: -45vh; width: 20vw; /*border: 2px solid rebeccapurple;*/ } .name { display: flex; flex-direction: row; align-items: flex-end; justify-content: center; width: 100%; height: 75vh; margin: 25vh 0 0 0; position: fixed; /*top: 10vh;*/ bottom: 0; overflow-x: clip; /*border: 2px solid black;*/ } .en { display: flex; flex-direction: column; align-items: flex-end; justify-content: flex-start; flex-shrink: 0; position: relative; } .name-en { display: flex; flex-direction: row; gap: 10px; align-items: flex-start; justify-content: flex-end; flex-shrink: 0; position: relative; } .guo { color: #000000; text-align: left; font: 900 16.5vw "Montserrat", sans-serif; position: relative; } .name-label { color: #000000; text-align: left; font: 900 2vw "Montserrat", sans-serif; position: absolute; left: 3vw; top: 0px; } .cn { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; flex-shrink: 0; position: relative; } .name-cn { display: flex; flex-direction: column; gap: 10px; margin: -0vw 0 0; align-items: flex-start; justify-content: flex-start; flex-shrink: 0; position: relative; color: #000000; text-align: left; font: 900 14.5vw "Montserrat", sans-serif; } .infocard { position: sticky; top: 120px; width: 25vw; max-width: 400px; font: 400 16px "Ubuntu Mono", monospace; padding: 0 10px 10px 10px; /*border: 20px solid rgba(0, 0, 0, 0.1);*/ border-radius: 15px; /*background-color: #282827;*/ filter: drop-shadow(0 2px 20px rgba(28, 28, 28, 0.15)); background-color: rgba(255, 255, 255, 0.71); backdrop-filter: blur(1px); /*overflow-y: scroll;*/ max-height: 90vh; display: flex; flex-direction: column; /*justify-content: center;*/ align-items: center; box-sizing: border-box; } .infocard .content { display: flex; flex-direction: column; justify-content: center; align-items: center; } .infocard-identity { display: flex; flex-direction: column; align-items: center; } .infocard h2 { font-size: 24px; font-weight: 700; letter-spacing: 0.03em; line-height: 1.4; margin: 0 0 12px 0; color: #2a2a2a; } .infocard .content p { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 13.5px; line-height: 1.5; color: #444; margin: 20px 0 0 0; } .infocard .content p strong { display: block; margin-top: 10px; font-size: 13px; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; color: #333; font-weight: 600; line-height: 1.65; } .infocard .img { width: 80%; border-radius: 8px } .edu-card { position: relative; max-width: 100%; border-radius: 8px; /*border-left: 4px solid white;*/ padding: 5px 30px 5px 30px; background: linear-gradient(to right, #3e1d7a 40%, transparent); margin-top: 20px; margin-bottom: 20px; color: white; font-family: "inter", sans-serif; } .edu-card.nyu { background: linear-gradient(to right, #3e1d7a 40%, transparent), url("../resources/ExternalImages/courant_institute_cover.jpg"); } .edu-card.nyush { background: linear-gradient(to right, #3e1d7a 40%, transparent), url("../resources/ExternalImages/nyu_shanghai.jpg"); } .edu-card.jdfz { background: linear-gradient(to right, #651034 40%, transparent), url("../resources/ExternalImages/jdfz.jpg"); background-size: cover; } table { width: 100%; border-collapse: collapse; } table a { color: #7e38c8; text-decoration: underline; } th, td { /*padding: 8px;*/ padding: 15px 8px; text-align: left; border-bottom: 1px solid rgba(148, 148, 148, 0.16); width: fit-content; font-family: "Ubuntu Mono", monospace; } th { font-family: "Ubuntu Mono", monospace; /*background-color: rgba(148, 148, 148, 0.16);*/ } /*expander*/ .expander { background-color: white; border-radius: 8px; border: 0 solid white; margin-bottom: 10px; /*overflow: hidden;*/ transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); } .expander-header { padding: 20px; cursor: pointer; font-family: "Ubuntu Mono", monospace; font-size: 16px; display: flex; justify-content: space-between; align-items: center; gap: 5px; /*transition: color 0.3s ease;*/ } /* Push everything except the first element to the right */ .expander-header > .expander-badge:first-of-type { margin-left: auto; } .expander:hover .expander-header{ /*background-color: orange;*/ /*color: white;*/ color: orange; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); } .expander:hover .expander-header.nyu{ /*background-color: #57068c;*/ /*color: white;*/ color: #57068c; } .expander-badge { position: relative; padding: 4px 8px; background-color: #555; color: #fff; font-size: 12px; border-radius: 4px; transition: all 0.3s ease; width: fit-content; font-family: "Ubuntu Mono", monospace; } .expander-badge.nyu { background-color: mediumpurple; } .expander-badge.acm { background-color: orange; } .expander-badge.cvf { background-color: steelblue; } .expander-badge.leaderboard { /* background-color: #61afca; */ background-color: #57068c; } /*.expander-content {*/ /* display: none;*/ /* padding: 10px;*/ /* transition: max-height 0.3s ease;*/ /*}*/ .expander-content { max-height: 0; overflow: hidden; transition: all 0.5s step-start; } .expander.show { background-color: rgba(251, 246, 239, 0); /*background-color: #FBF6EF;*/ /*border: 2px solid whitesmoke;*/ border-top: 2px solid orange; border-radius: 0; padding-top: 30px; } .expander.nyu.show { border-top: 2px solid #57068c; } .expander.show .expander-content { display: block; position: relative; max-height: 10000px; overflow: visible; /*background-color: #FBF6EF;*/ } .expander.show .expander-header{ font-size: 30px; transition: all 0.3s ease; padding: 0; } .expander-content-column { display: flex; justify-content: space-between; gap: 40px; /*padding: 5px 20px 20px 20px;*/ padding: 20px 0 40px 0; } .expander-content-column .column { flex-basis: 100%; } .expander-content-column .durf { max-width: 500px } .expander-content-column .iframe { border-radius: 10px; box-shadow: 0 2px 15px rgba(52,52,52,0.2); width: 60vw; height: 600px; } .expander-image { display: flex; flex-direction: row; gap: 10px; align-items: center; justify-content: center; flex-shrink: 0; position: relative; background: snow; border-radius: 10px; /*box-shadow: 0 2px 15px rgba(52,52,52,0.2);*/ /*border: 2px solid rgba(52, 52, 52, 0.2);*/ margin-bottom: 30px; } .expander .case { list-style: none; display: flex; gap: 10px } .expander .pill { padding: 5px 15px; background-color: orange; color: #fff; /*font-size: 12px;*/ text-decoration: none; border-radius: 5px; /*margin-right: 10px;*/ font-family: "Ubuntu Mono", monospace; border: 2px solid transparent; transition: border 0.3s ease; } .expander .pill:hover { border: 2px solid black; transition: all 0.3s ease; } .expander .pill.code { background-color: #57068c; /*background-color: black;*/ } .expander .pill.paper { background-color: tomato; } .expander .pill.video { background-color: mediumpurple; } .expander .pill.dataset { background-color: orange; } .expander .pill.demo { background-color: #FFC83D; } .expander .pill.projectpage { background-color: #270e83; } .expander .info { font-family: 'Ubuntu Mono', monospace; background-color: beige; color: rgb(120, 93, 58); } .expander .success { background-color: #d4edda; border-color: #c3e6cb; color: #155724; font-family: 'Ubuntu Mono', monospace; } .grid { display: grid; grid-template-columns: repeat(2, 1fr); /* Adjust the number to change the number of columns */ grid-gap: 40px; /* Adjust the gap size between grid cells */ padding-bottom: 40px; /*background-color: #8e8e8e;*/ width: auto; /*border: 2px solid black;*/ } .grid-item { display: flex; gap: 30px; padding: 5px 20px 30px 20px; /*padding: 0 0 30px 0;*/ /*background-color: rgba(52, 52, 52, 0.62);*/ /*border-bottom: 2px solid burlywood;*/ width: 100%; overflow: auto; } .grid-item .img { width: 200px; height: 267px; min-width: 150px; object-fit: cover; filter: drop-shadow(0 10px 10px rgba(0, 0, 0, 0.2)); border: 5px solid ghostwhite; border-radius: 5px; background-color: #3e1d7a; color: white; font-family: "Montserrat", sans-serif; font-size: 1.2vw; display: flex; align-items: center; box-sizing: border-box; } #awards .page > .grid-title { width: 300px; } #awards .page > .column { flex: 1; } /* Style for the tab links */ .tab-links { list-style: none; padding: 0; margin: 0; display: flex; align-items: baseline; gap: 10px; position: relative; } .tab-links li { margin-right: 10px; } .tab-links li a { /*text-decoration: none;*/ /*padding: 8px 12px;*/ /*background-color: #f2f2f2;*/ /*border: 1px solid #ccc;*/ /*border-radius: 4px;*/ /*color: #333;*/ font-family: "Montserrat", sans-serif; font-size: 1vw; font-weight: 400; text-decoration: none; color: black; transition: all 0.3s ease; } .tab-links li.active a { font-size: 2.5vw; transition: all 0.3s ease; } .tabs { display: flex; flex-direction: row; width: 100%; } /*!* Style for the tab content *!*/ /*.tab-content {*/ /* display: none;*/ /*}*/ /*.tab-content.active {*/ /* display: block;*/ /*}*/ .swiper-slide { position: relative; text-align: center; /*background: linear-gradient(to right, coral, mediumpurple, deepskyblue, darkseagreen);*/ /* Center slide text vertically */ display: none; } .swiper-slide.active { display: flex; /*max-width: fit-content;*/ /*opacity: 1;*/ width: 100%; /*z-index: 30;*/ transition: opacity 0.5s ease; } .container-general { /*padding: 75px 0;*/ /*margin: 0 auto;*/ margin: 0; width: 100%; } .container-general .gallery-wrap { display: flex; flex-direction: row; width: 100%; min-height: 500px; height: 70vh; gap: 10px; } .container-general .gallery-wrap .item { flex: 1; height: 100%; /*background: linear-gradient(to right, coral, mediumpurple, deepskyblue, darkseagreen);*/ background-size: auto 90%; background-repeat: no-repeat; background-position: center top; background-color: #232222; /*filter: saturate(-2) contrast(80%);*/ transition: all 0.8s ease; border-radius: 15px; border: 5px solid whitesmoke; overflow-y: auto; overflow-x: hidden; } .item::-webkit-scrollbar { width: 0; } .container-general .gallery-wrap .item .img { width: auto; height: 90%; } .container-general .gallery-wrap .item .empty { width: auto; height: 90%; background: rgba(0, 0, 0, 0); } .container-general .gallery-wrap .item .caption { padding: 10px; width: 100%; height: auto; min-height: 10%; color: black; background-color: whitesmoke; /*overflow-y: scroll;*/ /*overflow-x: hidden;*/ } .caption::-webkit-scrollbar { width: 0; } .caption .title { font-family: "Ubuntu Mono", monospace; font-size: small; font-weight: bold; } .caption p { font-family: "Ubuntu Mono", monospace; font-size: small; margin-bottom: 5px; } .container-general .gallery-wrap .item:hover { flex: 8; } .wrap-effect .item:hover { box-shadow: 0 14px 80px rgba(34, 35, 58, 0.4); } /* Gallery filter bar */ .gallery-filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin: 28px 0 24px; } .gallery-filter-btn { font-family: "Ubuntu Mono", monospace; font-size: 13px; padding: 8px 18px; border-radius: 20px; border: 2px solid #ccc; background: transparent; color: #666; cursor: pointer; transition: all 0.25s ease; display: flex; align-items: center; gap: 6px; } .gallery-filter-btn:hover { border-color: orange; color: orange; } .gallery-filter-btn.active { background: orange; border-color: orange; color: white; } .filter-count { font-size: 11px; opacity: 0.75; } .gallery-sort-btn { margin-left: auto; padding: 8px 12px; border-radius: 20px; border: 2px solid #ccc; background: transparent; color: #666; cursor: pointer; transition: all 0.25s ease; display: flex; align-items: center; } .gallery-sort-btn:hover { border-color: orange; color: orange; } /* Masonry grid */ .gallery-masonry { position: relative; margin-bottom: 80px; } .gallery-item { position: absolute; } .gallery-item { cursor: pointer; overflow: hidden; border-radius: 6px; background: #eee; box-sizing: border-box; } .gallery-item img, .gallery-item video { width: 100%; height: auto; display: block; transition: transform 0.35s ease; } .gallery-item:hover img, .gallery-item:hover video { transform: scale(1.03); } .video-badge { position: absolute; top: 10px; right: 10px; width: 28px; height: 28px; border-radius: 50%; background: rgba(0, 0, 0, 0.45); backdrop-filter: blur(4px); pointer-events: none; } .video-badge::after { content: ''; position: absolute; top: 50%; left: 52%; transform: translate(-50%, -50%); border-style: solid; border-width: 5px 0 5px 9px; border-color: transparent transparent transparent white; } .gallery-item .caption { display: none; } .gallery-item.hidden { display: none; } /* Lightbox */ .lightbox-overlay { position: fixed; inset: 0; z-index: 9999; display: none; background: rgba(251, 246, 239, 0.88); backdrop-filter: blur(20px); } .lightbox-overlay.open { display: flex; align-items: stretch; } .lightbox-image-panel { flex: 1; display: flex; align-items: center; justify-content: center; padding: 60px 48px; overflow: hidden; cursor: pointer; position: relative; } .lightbox-image-panel img, .lightbox-image-panel video { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15); } .lightbox-video { display: none; } .lightbox-info-panel { width: 360px; flex-shrink: 0; background: #FBF6EF; display: flex; flex-direction: column; padding: 64px 44px 48px; position: relative; overflow-y: auto; } .lightbox-close { position: absolute; top: 24px; right: 28px; background: transparent; border: none; font-size: 28px; line-height: 1; cursor: pointer; color: #aaa; padding: 0; transition: color 0.2s ease; font-family: "Ubuntu Mono", monospace; } .lightbox-close:hover { color: #222; } .lightbox-section-label { font-family: "Ubuntu Mono", monospace; font-size: 10px; letter-spacing: 4px; text-transform: uppercase; color: #bbb; margin-bottom: 32px; } .lightbox-index { font-family: "Montserrat", sans-serif; font-weight: 900; font-size: 36px; line-height: 1.1; color: rgba(0, 0, 0, 0.75); margin-bottom: 20px; user-select: none; } .lightbox-rule { height: 3px; width: 36px; background: orange; margin-bottom: 28px; flex-shrink: 0; } .lightbox-caption-text { font-family: "Ubuntu Mono", monospace; font-size: 14px; line-height: 1.9; color: #444; flex: 1; margin: 0; } .lightbox-counter { font-family: "Ubuntu Mono", monospace; font-size: 11px; color: #bbb; margin-top: 36px; letter-spacing: 1px; } .lightbox-nav { display: flex; gap: 10px; margin-top: 14px; } .lightbox-nav-btn { background: transparent; border: 2px solid #ddd; color: #555; font-family: "Ubuntu Mono", monospace; font-size: 12px; padding: 7px 16px; border-radius: 20px; cursor: pointer; transition: all 0.25s ease; } .lightbox-nav-btn:hover:not(:disabled) { border-color: orange; color: orange; } .lightbox-nav-btn:disabled { opacity: 0.3; cursor: default; } .lightbox-dots { position: absolute; bottom: 20px; left: 0; right: 0; display: flex; justify-content: center; align-items: center; gap: 6px; pointer-events: none; } .lightbox-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(0, 0, 0, 0.2); transition: all 0.2s ease; flex-shrink: 0; } .lightbox-dot.active { width: 18px; border-radius: 3px; background: orange; } .gallery .item { cursor: pointer; } .gallery .item { position: relative; display: inline-block; height: 100%; } .gallery .img { height: 100%; transition: all 0.3s ease; } .gallery .caption { position: absolute; bottom: 0; /*bottom: 10px;*/ /*left: 0;*/ width: 90%; padding: 15px; text-align: left; opacity: 0; color: white; /*background-color: rgba(0, 0, 0, 0.5);*/ } .gallery .item:hover .caption { opacity: 1; } .gallery .item:hover .img { filter: brightness(0.4); transition: all 0.3s ease; } /*BREAK POINTS*/ /*For small devices*/ @media (max-width: 980px) { #awards .page > .grid-title, #awards .page > .column { width: 100%; } .section { padding-left: 20px; padding-right: 20px; } .section .page { flex-direction: column; gap: 0; align-items: flex-start; } .infocard { width: 100%; /*padding: 0 10px 10px 10px;*/ } .expander-content-column { flex-direction: column; /*gap: 0;*/ /*padding: 0;*/ } .expander-content-column .durf { max-width: 100%; width: 100%; } .expander-content-column .iframe { width: 80vw; height: 400px; } .expander .case { width: 100%; } /*.expander .pill {*/ /* display: flex;*/ /* justify-content: center;*/ /* align-items: center;*/ /* width: 100%;*/ /* height: 40px;*/ /*}*/ .grid { grid-template-columns: repeat(1, 1fr); } .grid-item { width: 100%; } .grid-title { width: 100%; } .infocard { max-width: 100%; } .infocard .img { width: 100%; max-height: 300px; max-width: 300px; } .infocard .content { display: flex; flex-direction: row; gap: 30px; align-items: center; } .infocard .content p { text-align: left; } .infocard-identity { flex-shrink: 0; width: 40%; max-width: 200px; } /* Mobile: semi-transparent header */ .header { background: rgba(251, 246, 239, 0.85) !important; } /* Hide header separator line on mobile */ .header .container { display: none; } /* Mobile nav shared */ .nav { padding: 0; } #nav-list { display: none; } /* Override .nav a (border-radius:20px; display:block; padding) for mobile nav */ .nav .nav-m-home-link, .nav .nav-m-page-link { display: flex; border-radius: 0; box-shadow: none; padding: 0 20px 0 40px; } .nav .nav-m-socials a { border-radius: 0; } /* Social icons */ .nav-m-socials { display: flex; align-items: center; } .nav-m-socials a { display: flex; align-items: center; padding: 5px 10px; color: #000; text-decoration: none; font-size: 18px; transition: color 0.3s ease; } .nav-m-socials a:hover { color: orange; } /* ── Home layout ── */ .nav-m-home { display: block; } .nav-m-home-top { display: flex; align-items: center; justify-content: space-between; padding: 0 20px 0 40px; min-height: 64px; background: rgba(255, 255, 255, 0.85); border-bottom: 1px solid rgba(148, 148, 148, 0.18); border-radius: 0; box-shadow: none; } .nav-m-home-title-row { display: flex; align-items: center; } .nav-m-home-title { font: 400 20px "Ubuntu Mono", monospace; color: orange; } .nav-m-home-links { display: flex; flex-direction: column; overflow: hidden; max-height: 400px; opacity: 1; transition: max-height 0.25s ease, opacity 0.2s ease; } .nav-m-home-links.folding { max-height: 0; opacity: 0; } .nav-m-home-link:nth-child(1) { background: rgba(252, 250, 247, 0.85); } .nav-m-home-link:nth-child(2) { background: rgba(250, 247, 243, 0.85); } .nav-m-home-link:nth-child(3) { background: rgba(248, 244, 239, 0.85); } .nav-m-home-link:nth-child(4) { background: rgba(246, 242, 237, 0.85); } .nav-m-home-link { display: flex; align-items: center; height: 64px; padding: 0 20px 0 40px; font: 400 20px "Ubuntu Mono", monospace; color: #000; text-decoration: none; border-bottom: 1px solid rgba(148, 148, 148, 0.18); border-radius: 0; box-shadow: none; transition: color 0.3s ease; flex-shrink: 0; } .nav-m-home-link:hover { color: orange; } /* ── Other pages layout ── */ .nav-m-page { display: block; background: rgba(255, 255, 255, 0.85); } .nav-m-page-top { display: flex; align-items: center; justify-content: space-between; padding: 0 20px 0 40px; height: 64px; border-bottom: 1px solid rgba(148, 148, 148, 0.18); cursor: pointer; user-select: none; } .nav-m-page-title-row { display: flex; align-items: center; gap: 8px; } .nav-m-page-name { font: 400 20px "Ubuntu Mono", monospace; color: orange; } .nav-m-page-chevron { font-size: 13px; color: rgba(0, 0, 0, 0.35); transition: transform 0.25s ease; } .nav-m-page.expanded .nav-m-page-chevron { transform: rotate(180deg); } .nav-m-page-links { display: flex; flex-direction: column; overflow: hidden; max-height: 0; opacity: 0; transition: max-height 0.25s ease, opacity 0.2s ease; } .nav-m-page.expanded .nav-m-page-links { max-height: 400px; opacity: 1; } .nav-m-page-link:nth-child(1) { background: rgba(252, 250, 247, 0.85); } .nav-m-page-link:nth-child(2) { background: rgba(250, 247, 243, 0.85); } .nav-m-page-link:nth-child(3) { background: rgba(248, 244, 239, 0.85); } .nav-m-page-link:nth-child(4) { background: rgba(246, 242, 237, 0.85); } .nav-m-page-link { display: flex; align-items: center; height: 64px; padding: 0 20px 0 40px; font: 400 20px "Ubuntu Mono", monospace; color: #000; text-decoration: none; border-bottom: 1px solid rgba(148, 148, 148, 0.18); border-radius: 0; box-shadow: none; flex-shrink: 0; transition: color 0.3s ease; } .nav-m-page-link:hover { color: orange; } /* ── Mobile lightbox ── */ .lightbox-overlay.open { flex-direction: column; align-items: stretch; } .lightbox-image-panel { flex: 1; padding: 72px 20px 16px; min-height: 0; } .lightbox-info-panel { width: 100%; box-sizing: border-box; flex-shrink: 0; max-height: 44vh; padding: 20px 24px 32px; flex-direction: column; overflow-y: auto; border-top: 1px solid rgba(148, 148, 148, 0.18); border-radius: 16px 16px 0 0; box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.07); } .lightbox-close { top: 16px; right: 16px; } .lightbox-section-label { margin-bottom: 10px; } .lightbox-index { font-size: 24px; margin-bottom: 10px; } .lightbox-rule { margin-bottom: 12px; } .lightbox-caption-text { font-size: 13px; flex: unset; } .lightbox-counter { display: none; } .lightbox-nav { display: flex; justify-content: space-between; margin-top: 10px; } .lightbox-nav-btn { flex: 0 0 auto; } } @media (max-width: 640px) { .infocard .content { flex-direction: column; align-items: center; } .infocard .content p { text-align: center; } .infocard-identity { width: 100%; max-width: none; } .infocard .img { width: 60%; max-width: 200px; } } @media (min-width: 80em) { .gird { grid-template-columns: repeat(3, 1fr); } }