@import url('https://fonts.googleapis.com/css2?family=DotGothic16&display=swap');

body {
  margin: 0;
  padding: 0;
  font-family: 'DotGothic16', cursive;
  color: #6b4c9a;
  overflow-x: hidden;
  position: relative;
  cursor: url('https://benrich.info//hoshi-no-tsue.png'),auto;
}

header.header {
  text-align: center;
  padding: 50px 20px 30px;
}

h1 {
  font-size: 24px;
}

h2 {
  font-size: 20px;
  margin-top: 30px;
  color: #8b6bb5;
}

.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  padding: 20px;
}

section {
  background: rgba(255, 255, 255, 0.85);
  border: 3px dotted #f5b3d1;
  border-radius: 20px;
  padding: 20px;
  width: 90%;
  max-width: 400px;
  text-align: center;
}



.pony-container {
  position: relative;
  width: 100%;
  height: 200px;
  margin-top: 20px;
  overflow: hidden;
}



.pony {
  position: absolute;
  top: 0;
  left: -200px;
  width: 100px;
  animation: movePony 10s linear infinite;
}
.pony-jump-container
{
  position: absolute;
  bottom: 0%;
  width: 100%;
  height: 100px;
  overflow: hidden;
}
.pony-jump
{
  animation :jumpPony 0.5s ease-out;
}

@keyframes jumpPony
{
  0%{
    bottom: 0%;
  }
  50%{
    bottom: 20%;
  }
  100%{
    bottom: 0%;
  }
}

@keyframes movePony {
  0% {
    left: -200px;
  }
  100% {
    left: 100%;
  }
}
/* カレンダー */
#calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  margin-top: 10px;
}

#calendar div {
  padding: 10px;
  background: #ffeefc;
  border-radius: 10px;
  font-size: 14px;
}

/* 時計 */
#clock {
  background: #fff5fc;
  border: 5px dashed #f5b3d1;
  border-radius: 50%;
}

/* 天気 */
#weather {
  font-size: 16px;
  padding-top: 10px;
}

/* キラキラ演出 */
#sparkles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/*メニュー全体*/
.navbar {
  background-color: #ffbff6;
  overflow: hidden;
  display: flex;
  justify-content: space-around;
}
/* メニューの各リンク */
.navbar a {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 20px;
  text-decoration: none;
}
/* ホバー時のスタイル */
.navbar a:hover {
  background-color: #7936a3;
}

.sparkle {
  position: absolute;
  font-size: 20px;
  opacity: 0.6;
  animation: fall 8s linear infinite;
}

@keyframes fall {
  0% {
    transform: translateY(-10px) rotate(0deg);
    opacity: 0.6;
  }
  100% {
    transform: translateY(110vh) rotate(360deg);
    opacity: 0;
  }
}