body {background-color: #000000; text-align:center;}
h1 {color: #f7f7f7 ;}
h2 {color: #FCFCFB; background-color:  #52514C;}
p {font-size:300px;font-family:"Times New Roman", serif;color: #FCFCFB;}
.waviy {position: relative;font-size: 80px;}
.waviy span {position: relative;left: -20%;display: inline-block;font-size: 40px;color: rgb(255, 255, 255);text-transform: uppercase;animation: flip 2s infinite;animation-delay: calc(.2s * var(--i))}
@keyframes flip {0%,80% {transform: rotateY(360deg) }}
li a {display: block;color: rgb(255, 255, 255);padding: 50px 20px;text-decoration: none;font-size: 2.8vh;}
li a.active {background-color: #ffffff;color: rgb(255, 255, 255);}
li a:hover:not(.active) {background-color: rgba(255, 255, 255, 0.925);color: rgb(255, 255, 255);}
.pacman {position: relative;background: transparent;z-index: 1;left:380px}
.pacman::before, .pacman::after {position: absolute;top: -35px;display: block;border-radius: 50%;content: "";height: 0px;width: 0px;}
.pacman::before {animation: chunk-top 0.5s ease infinite;border: 35px solid #FFCC00;border-left-color: transparent;border-bottom-color: transparent;}
.pacman::after {animation: chunk-bottom 0.5s ease infinite;border: 35px solid #FFCC00;border-right-color: transparent;border-top-color: transparent;}
.path {position: relative;display: flex;justify-content: space-around;animation: eating-path 0.5s linear infinite;width: 100%;left: 400px;}
.path::before {background: #fff;border-radius: 50%;content: "";height: 1rem;width: 1rem;}
@keyframes chunk-top {0%, 100% {transform: rotate(-45deg);}50% {transform: rotate(-80deg);}}
@keyframes chunk-bottom {0%, 100% {transform: rotate(-40deg);}50% {transform: rotate(0deg);}}
@keyframes eating-path {0% {transform: translateX(50%);}100% {transform: translateX(-50%);}}
#train {position: relative;cursor: pointer; top:850px;left:0px}


