* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: "IBM Plex SC", Arial, sans-serif;
background-color: var(--bg);
color: var(--fg);
min-height: 100vh;
min-height: 100dvh;
overflow-x: hidden;
}
.web-container {
width: 100%;
max-width: 1400px;
margin: 0 auto;
padding: 30px 40px;
display: flex;
flex-direction: column;
gap: 30px;
}
.main-header {
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
}
.btn-back {
display: inline-flex;
align-items: center;
gap: 8px;
color: var(--fg);
text-decoration: none;
font-size: 13px;
font-weight: 600;
letter-spacing: 1px;
transition: opacity 0.2s;
}
.btn-back:hover {
opacity: 0.7;
}
.header-title h1 {
font-size: 20px;
font-weight: 700;
letter-spacing: 3px;
text-align: right;
line-height: 1.2;
}
.header-title h2 {
font-size: 11px;
color: var(--muted);
letter-spacing: 2px;
text-align: right;
font-weight: 400;
}
.credits-section,
.category-section {
width: 100%;
border-top: 1px solid #222;
padding-top: 15px;
}
.section-title,
.category-title {
font-size: 18px;
font-weight: 500;
color: var(--fg);
margin-bottom: 15px;
}
.category-title {
letter-spacing: 0.5px;
margin-bottom: 0;
}
.credits-grid {
display: flex;
gap: 60px;
}
.credit-item {
display: flex;
flex-direction: column;
gap: 6px;
}
.credit-label {
font-size: 10px;
color: var(--muted);
letter-spacing: 1px;
font-weight: 600;
}
.credit-value {
font-size: 12px;
color: var(--fg);
letter-spacing: 0.5px;
font-weight: 500;
}
.main-layout-grid {
display: grid;
grid-template-columns: 2fr 1fr;
gap: 20px;
width: 100%;
align-items: stretch;
}
.featured-wrapper {
width: 100%;
height: 100%;
min-height: 100%;
background-color: #111;
overflow: hidden;
cursor: pointer;
}
.featured-wrapper img {
width: 100%;
height: 100%;
display: block;
object-fit: cover;
transition: transform 0.3s ease;
image-rendering: -webkit-optimize-contrast;
}
.photo-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 6px;
}
.grid-item {
background-color: #111;
overflow: hidden;
cursor: pointer;
width: 100%;
}
.photo-grid .grid-item:nth-child(n) {
aspect-ratio: 3 / 4;
}
.grid-img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
transition: transform 0.3s ease;
image-rendering: -webkit-optimize-contrast;
}
.grid-item:hover img,
.featured-wrapper:hover img {
transform: scale(1.02);
}
.lightbox {
display: none;
position: fixed;
z-index: 9999;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.95);
justify-content: center;
align-items: center;
padding: 20px;
}
.lightbox-content {
max-width: 95%;
max-height: 90vh;
object-fit: contain;
animation: zoomEffect 0.2s ease-out;
}
.lightbox-close {
position: absolute;
top: 20px;
right: 30px;
color: var(--fg);
font-size: 40px;
font-weight: 300;
cursor: pointer;
}
@keyframes zoomEffect {
from {
transform: scale(0.95);
opacity: 0;
}
to {
transform: scale(1);
opacity: 1;
}
}
@media screen and (max-width: 1024px) {
.main-layout-grid {
grid-template-columns: 1fr;
gap: 25px;
}
.featured-wrapper {
height: auto;
aspect-ratio: 4 / 3;
}
}
@media screen and (max-width: 768px) {
.web-container {
padding: 20px;
gap: 20px;
}
.credits-grid {
gap: 20px;
flex-wrap: wrap;
}
.photo-grid {
grid-template-columns: repeat(2, 1fr);
gap: 10px;
}
.photo-grid .grid-item:nth-child(n) {
aspect-ratio: 1 / 1;
}
}
