:global(html){
overflow: hidden;
overscroll-behavior: none;
}
.works-wrapper {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
overflow: hidden;
perspective: 700px;
transform-origin: 0 0;
}
.headline {
position: fixed;
pointer-events: none;
display: flex;
width: 100%;
height: 100%;
text-align: center;
flex-direction: column;
justify-content: center;
align-content: center;
letter-spacing: -0.05em;
z-index: 10;
transform: translateZ(500px);
margin-left: 40.5vw;
margin-top: 37.25vh;
font-size: 14vw;
@media screen and (min-width: 768px) {
margin-left: 41.66vw;
margin-top: 40.5vh;
font-size: 7vw;
transform: translateZ(600px);
}
}
.works {
margin: 0 auto;
position: absolute;
top: 0;
left: 0;
width: 600vw;
height: 600vw;
transform: scale(.333);
transform-origin: 0 0;
display: grid;
grid-template-columns: repeat(6, 100vw);
grid-auto-rows: 100vh;
// grid-template-rows: repeat(6, 100vh);
// grid-auto-flow: column;
gap: 6px;
}
.work {
background-color: var(--color-highlight);
text-decoration: none;
text-align: center;
width: 100vw;
height: 100vh;
opacity: 0;
transform: translateZ(700px);
}
:global(.work-logo) {
width: 100%;
height: 100%;
color: var(--color-bg);
padding: 3em;
margin: auto;
display: flex;
flex-direction: column;
justify-content: center;
@media screen and (min-width: 768px) {
width: 60%;
}
}
:global(.work-logo svg) {
object-fit: fill;
width: 100%;
height: 100%;
}
.work-info {
display: none;
}
.work-info .tags {
display: flex;
list-style: none;
gap: .25em;
}