/* Marquee try again. */
.marquee {
  width: 100%;
  line-height: 50px;
  color: white;
  white-space: nowrap;
  overflow: hidden;
  background-color: black;
}
.marquee p {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 15s linear infinite;
}
@keyframes marquee {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(-100%, 0); }
}

/* Special Text (https://leonarnott.neocities.org/) */
/* Transitions */

@keyframes appear
{
	0% { opacity: 0 }
	100% { opacity: 1 }
}

@-webkit-keyframes appear
{
	0% { opacity: 0 }
	100% { opacity: 1 }
}

@keyframes fade-in-out
{
	0%,100% { opacity: 0 }
	50% { opacity: 1 }
}

@-webkit-keyframes fade-in-out
{
	0%,100% { opacity: 0 }
	50% { opacity: 1 }
}
/* Originally just Y, -0.2 */
@keyframes rumble 
{
	0%, 100% {}
	50% { transform: translateY(-1.5em) translateX(-0.9em)}
}

@-webkit-keyframes rumble 
{
	0%, 100% {}
	50% { -webkit-transform: translateY(-0.2em) }
}

@keyframes shudder 
{
	0%, 100% {}
	50% { transform: translateX(0.2em) }
}
@-webkit-keyframes shudder 
{
	0%, 100% {}
	50% { -webkit-transform: translateX(0.2em) }
}

mark
{
	color:rgba(0,0,0,0.6);
	background-color: #ff9;
}

ins
{
	color:rgba(0,0,0,0.6);
	background-color: hsla(45,100%,90%,0.5); /* Yellowed correction fluid */
	border-radius:0.5em;
	box-shadow: 0em 0em 0.2em hsl(45,100%,80%);
	text-decoration:none;
}

del
{
	background-color: #000; /* Censored text */
	text-decoration:none;
}

/* Who am I to tell authors not to use non-standard tags? */

center
{
	text-align:center;
	margin: 0 auto;
	width: 100%;
}

blink
{
	text-decoration: none;
	animation: fade-in-out 1s steps(1,end) infinite alternate;
	-webkit-animation: fade-in-out 1s steps(1,end) infinite alternate;
}

/* Animated effects follow */

.fade-in-out
{
	text-decoration: none;
	animation: fade-in-out 2s ease-in-out infinite alternate;
	-webkit-animation: fade-in-out 2s ease-in-out infinite alternate;
}

.rumble 
{
	-webkit-animation: rumble linear 0.1s 0s infinite;
	animation: rumble linear 0.1s 0s infinite;
      display:inline-block;
}

.shudder 
{
	-webkit-animation: shudder linear 0.1s 0s infinite;
	animation: shudder linear 0.1s 0s infinite;
      display:inline-block;
}

/*Flip Horizontal */
.hor {
  -moz-transform: scaleX(-1);
  -o-transform: scaleX(-1);
  -webkit-transform: scaleX(-1);
  transform: scaleX(-1);
  filter: FlipH;
  -ms-filter: "FlipH";
}


/*Animate cursor */

* {
  cursor: url(frame1.png), auto;
  -webkit-animation: cursor 1500ms infinite;
  animation: cursor 1500ms infinite;
}


@-webkit-keyframes cursor {
  0% {cursor: url(/cursor/1.png), auto;}
  10% {cursor: url(/cursor/2.png), auto;}
  20% {cursor: url(/cursor/3.png), auto;}
  30% {cursor: url(/cursor/4.png), auto;}
  40% {cursor: url(/cursor/5.png), auto;}
  50% {cursor: url(/cursor/6.png), auto;}
  60% {cursor: url(/cursor/7.png), auto;}
  70% {cursor: url(/cursor/8.png), auto;}
  80% {cursor: url(/cursor/9.png), auto;}
  90% {cursor: url(/cursor/10.png), auto;}
  100% {cursor: url(/cursor/11.png), auto;}
} 

@keyframes cursor {
  0% {cursor: url(/cursor/1.png), auto;}
  10% {cursor: url(/cursor/2.png), auto;}
  20% {cursor: url(/cursor/3.png), auto;}
  30% {cursor: url(/cursor/4.png), auto;}
  40% {cursor: url(/cursor/5.png), auto;}
  50% {cursor: url(/cursor/6.png), auto;}
  60% {cursor: url(/cursor/7.png), auto;}
  70% {cursor: url(/cursor/8.png), auto;}
  80% {cursor: url(/cursor/9.png), auto;}
  90% {cursor: url(/cursor/10.png), auto;}
  100% {cursor: url(/cursor/11.png), auto;}
}


/* Spin image*/

.image {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120px;
    height: 120px;
    margin:-60px 0 0 -60px;
    -webkit-animation:spin 4s linear infinite;
    -moz-animation:spin 4s linear infinite;
    animation:spin 4s linear infinite;
}
@-moz-keyframes spin { 
    100% { -moz-transform: rotate(360deg); } 
}
@-webkit-keyframes spin { 
    100% { -webkit-transform: rotate(360deg); } 
}
@keyframes spin { 
    100% { 
        -webkit-transform: rotate(360deg); 
        transform:rotate(360deg); 
    } 
}
/*#d Spin image 3D. Originally 1s  */
.coin{
        width: 1200px;
        height: 100px;
        border-radius: 0%;
       background-color: red; 
        animation: animate 3s linear infinite;

    }
@keyframes animate {
    0%{
       transform: rotateY(0deg);
    }
    100%{
        transform: rotateY(360deg);
    }
}



/* 3D Spin text (From here: https://prismic.io/blog/css-text-animations). Background-color rgba with ZERO AT THE END gets rid of thh annoying box. by making it entirely transparent*/

.spin-text {
    font-size: 5rem;
    font-weight: bold;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 
        1px 1px 0px #e63946, 
        2px 2px 0px #f77f00, 
        3px 3px 0px #fcbf49, 
        4px 4px 0px #a8dadc, 
        5px 5px 0px #457b9d;
    transform: rotateY(0deg);
 background-color: rgba(255, 255, 255, 0);
    animation: spin-3d 4s infinite linear;
}

@keyframes spin-3d {
    0% {
        transform: rotateY(0deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}

.transparent{
 background-color: rgba(255, 255, 255, 0);
}
