html {
font-size: 10px;
}
@media (min-width: 1920px) {
html {
font-size: 0.5208333333vw;
}
}
:root {
--primary-018: #F8D1E1;
--primary-035: #F1A6C4;
--primary-070: #E24D89;
--primary: #D60056;
--primary-200: #BD004B;
--primary-300: #A80043;
} @keyframes typing {
0% {
width: 0%;
}
100% {
width: 100%;
}
} @keyframes deleting {
0% {
width: 100%;
}
100% {
width: 0%;
}
}
#typewriter-title {
visibility: hidden;
}
#typewriter-text {
visibility: hidden;
}
#typewriter {
user-select: none;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
text-align: center;
color: white;
z-index: 2;
display: grid;
grid-template-columns: 1fr;
justify-items: center;
gap: 1rem;
width: 100%;
font-kerning: normal;
}
#typewriter span.yc-typewriter {
border-radius: 0.4rem;
padding: 0.2rem 0.6rem;
line-height: 1.25em;
font-size: 4.2rem;
font-weight: 700;
-webkit-box-decoration-break: clone;
box-decoration-break: clone;
width: fit-content;
}
@media (min-width: 992px) {
#typewriter span.yc-typewriter {
padding: 0 1.2rem;
font-size: 6.9rem;
}
}
@media (min-width: 1801px) {
#typewriter span.yc-typewriter {
font-size: 9.6rem;
}
}
#typewriter .yc-typewriter-dynamic {
display: inline-flex;
justify-content: center;
}
#typewriter .yc-typewriter-dynamic span {
background-color: #D60056;
word-break: break-all;
height: 1.26em;
overflow: hidden;
margin: auto 0;
}
@media (min-width: 992px) {
#typewriter .yc-typewriter-dynamic span {
height: 1.16em;
}
}
#typewriter .yc-typewriter-animate-type {
animation: typing 1s cubic-bezier(0, 0.2, 0, 0) 1 forwards;
}
#typewriter .yc-typewriter-animate-delete {
animation: deleting 1s linear 1 forwards;
}
#typewriter .yc-typewriter-dynamic span:before {
content: " ";
display: inline-block;
}