예제 소스
SGF 기보로 학습하는 바둑 LLM 인공지능 · 파일 169개
AtariEffect.module.css
.layer {
position: absolute;
inset: 0;
z-index: 20;
pointer-events: none;
display: grid;
place-items: center;
overflow: hidden;
animation: layerFade 1.9s ease-out forwards;
}
.anim {
grid-area: 1 / 1;
width: 92%;
max-width: 520px;
aspect-ratio: 1;
object-fit: contain;
filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.55));
animation: animIn 0.25s ease-out;
}
.word {
grid-area: 1 / 1;
align-self: end;
margin-bottom: 8%;
font-size: clamp(44px, 14vw, 96px);
font-weight: 900;
letter-spacing: 0.06em;
font-family: "Nanum Brush Script", "Gungsuh", "BatangChe", serif;
color: #ffd54a;
-webkit-text-stroke: 3px #7a0000;
text-shadow:
0 0 12px rgba(255, 60, 0, 0.85),
0 4px 0 #3a0000;
animation: wordSlam 0.55s cubic-bezier(0.2, 1.6, 0.4, 1) 0.18s both;
}
.white {
color: #fff6d8;
}
.black {
color: #ffd54a;
}
@keyframes animIn {
from {
opacity: 0;
transform: scale(0.85);
}
to {
opacity: 1;
transform: scale(1);
}
}
@keyframes wordSlam {
0% {
opacity: 0;
transform: scale(2.6) rotate(-8deg);
}
60% {
opacity: 1;
transform: scale(0.92) rotate(2deg);
}
75% {
transform: translateX(-4px) scale(1.02);
}
88% {
transform: translateX(4px) scale(1);
}
100% {
opacity: 1;
transform: none;
}
}
@keyframes layerFade {
0%,
80% {
opacity: 1;
}
100% {
opacity: 0;
}
}
@media (prefers-reduced-motion: reduce) {
.anim,
.word {
animation: none;
}
}