body {
  color: #C7C4D4;
  background: #191930;
  line-height: 1.5;
  padding: 10rem;
  max-width: 500px;
  position: relative;
}

@media (max-width: 500px) {
 body {
  padding: 10px; 
 }
}

img {
  max-width: 400px;
  z-index: -11;
}

@media (max-width: 500px) {
 img {
  width: 100%;
  max-width: 100%;
 }
}

h4 {
  font-family: Times New Roman, serif;
  color: #fff;
  -webkit-text-fill-color: #fff;
  -webkit-text-stroke: 0.5px #a61e82;
}

h5 {
  color: #fff;
  padding-bottom: 0px;
  margin-block-end: 0;
  font-weight: 50;
}

ul {
  padding-top: 0px;
  padding-left: 15px;
}

hr {
  border: none;
  height: 0.5px;
  color: #ffb8ef;
  background-color: #ffb8ef;
}

h1 {
  font-family: Times New Roman, serif;
  font-weight: 900;
  color: transparent;
  background: linear-gradient(to left, #a104ad, #0b2be0, #329941, #f7f658, #f16412, #e92153, #aa04a7);
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0.016em #eaeaea;
  -webkit-background-clip: text;
  background-clip: text;
  letter-spacing: 0.1rem;

  animation: animateHeader linear 1s infinite alternate;
}

summary, h2 {
  font-family: Times New Roman, serif;
  font-weight: 200;
  background: linear-gradient(#fffecb, #ff9999);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  font-size: 1.1em;
}

.cake {
  z-index: -10;
  --width: 330px;
  --height: 330px;
  --margin: 50px;
  width: var(--width);
  height: var(--height);
  background-image: url('/imgs/birthday/cake0.png');
  background-size: contain;
  background-repeat: no-repeat;
  position:fixed;
  animation: toRight linear 6.8s infinite alternate, bounce linear 17s infinite alternate;
}

#cake0 {
  background-image: url('/imgs/birthday/cake0.png');
}

#cake1 {
  background-image: url('/imgs/birthday/cake1.png');
}

#cake2 {
  background-image: url('/imgs/birthday/cake2.png');
}

#cake3 {
  background-image: url('/imgs/birthday/cake3.png');
}

blockquote {
  color: #a2a0ad;
  font-weight: 100;
  margin-inline-start: 10px;
}

a:link {
  color: #ffb8ef;
}

a:visited {
  color: #ffb8ef;
}

a:hover {
  background-color: rgba(236, 87, 139, 0.8);
}

a:active {
  color: #ffffff;
}

@media (max-width: 500px) {

 .cake {	
  --width: 88px;
  --height: 88px;
  }
}

@keyframes animateHeader {
  0% {
    background-position-x:0px;
  }
  100% {
    background-position-x:100px;
  }
}

@keyframes bounce {
  0% {
    top:0;
  }
  48% {
  }
  50% {
    top: calc(100% - var(--height));
  }
  52% {
  }
  100% {
    top: 0;
  }
}

@keyframes toRight {

  0% {
    left: 0;
  }

  100% {
    left: calc(100% - var(--width));
  }
}

