/*@import url("https://fonts.googleapis.com/css2?family=Titan+One&display=swap");
*/
.wrapper {
width: 100vw;
text-align: center;
}
.wrapper span {
/*-webkit-text-stroke-width: 1.25px;
-webkit-text-stroke-color: #000;*/
font-size: 100px;
text-shadow: 0 0px #f3c623, 0 0px #f2aaaa;
transform: translate(0, 100%) rotate(4deg);
animation: jump 2s ease-in-out infinite;
display: inline-block;
font-family: "Titan One", cursive;
color: #fff;
}
.wrapper span:nth-child(1) {
animation-delay: 120ms;
}
.wrapper span:nth-child(2) {
animation-delay: 240ms;
}
.wrapper span:nth-child(3) {
animation-delay: 360ms;
}
.wrapper span:nth-child(4) {
animation-delay: 480ms;
}
.wrapper span:nth-child(5) {
animation-delay: 600ms;
}
.wrapper span:nth-child(6) {
animation-delay: 720ms;
}
.wrapper span:nth-child(7) {
animation-delay: 840ms;
}
@keyframes jump {
33% {
text-shadow: 0 60px #f37121, 0 150px #f2aaaa;
}
50% {
transform: translate(0, 0) rotate(-4deg);
text-shadow: 0 0px #8fc0a9, 0 0px #84a9ac;
}
66.67% {
text-shadow: 0 -60px #d54062, 0 -150px #8fc0a9;
}
}
html {
width: 100%;
height: 100vh;
}
body {
margin: 0;
padding: 0;
width: 100%;
height: 100vh;
box-sizing: border-box;
display: grid;
place-items: center;
overflow: hidden;
background: #000;
}
@media screen and (max-height: 200px) {
.wrapper {
transform: scale(0.3, 0.3);
}
}
@media screen and (max-width: 576px) {
.wrapper span {
font-size: 50px;
}
}
/*baru*/
/*@import url('https://fonts.googleapis.com/css?family=Roboto:700');
*/
body {
font-family:'Roboto';
background-color: #131417;
}
p {
text-shadow: 0 0 7px rgba(255,255,255,.3), 0 0 3px rgba(255,255,255,.3);
}
.container {
color: #e5e5e5;
font-size: 2.26rem;
text-transform: uppercase;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
.animation {
height:50px;
overflow:hidden;
margin-left: 1rem;
}
.animation > div > div {
padding: 0.25rem 0.75rem;
height:2.81rem;
margin-bottom: 2.81rem;
display:inline-block;
}
.animation div:first-child {
animation: text-animation 8s infinite;
}
.first div {
background-color:#20a7d8;
}
.second div {
background-color:#CD921E;
}
.third div {
background-color:#c10528;
}
@keyframes text-animation {
0% {margin-top: 0;}
10% {margin-top: 0;}
20% {margin-top: -5.62rem;}
30% {margin-top: -5.62rem;}
40% {margin-top: -11.24rem;}
60% {margin-top: -11.24rem;}
70% {margin-top: -5.62rem;}
80% {margin-top: -5.62rem;}
90% {margin-top: 0;}
100% {margin-top: 0;}
}
/*barruu*/
.yu{
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-color: #000;
}
.geulis{
position: relative;
font-family: sans-serif;
text-transform: uppercase;
font-size: 2em;
letter-spacing: 4px;
overflow: hidden;
background: linear-gradient(90deg, red, #fff, #000);
background-repeat: no-repeat;
background-size: 70%;
animation: animate 3s linear infinite;
/* background-clip: text;
text-fill-color: white;*/
}
@keyframes animate {
0% {
background-position: -200%;
}
100% {
background-position: 500%;
}
}