* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Quicksand', sans-serif;
  color: #8a5d70;
  background:
    linear-gradient(rgba(255,255,255,.55), rgba(255,255,255,.55)),
    repeating-linear-gradient(
      90deg,
      #ffd8e9 0px,
      #ffd8e9 18px,
      #fff6fb 18px,
      #fff6fb 36px
    );
}

.site {
  width: 95%;
  max-width: 1050px;
  margin: 15px auto;
  background: #fffaf0;
  border: 4px solid #d889aa;
  border-radius: 0 0 25px 25px;
  padding: 10px;
  box-shadow: 0 0 20px #f7a6ca;
}

header {
  background: #fff;
  border: 3px solid #e7a4bf;
  padding: 25px;
  text-align: center;
  background-image:
    linear-gradient(rgba(255,255,255,.8), rgba(255,255,255,.8)),
    repeating-linear-gradient(
      0deg,
      #ffd6e8 0px,
      #ffd6e8 8px,
      #fff 8px,
      #fff 16px
    );
}

header h1 {
  color: #e789ad;
  font-size: 38px;
  margin: 0;
  text-shadow: 2px 2px white;
}

nav {
  background: #ffd3e6;
  border: 3px solid #e7a4bf;
  padding: 8px;
  text-align: center;
  margin: 8px 0;
}

nav a {
  background: white;
  color: #c7658e;
  border: 2px solid #e7a4bf;
  padding: 4px 14px;
  margin: 3px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  background: #f7a6ca;
  color: white;
}

.grid {
  display: grid;
  grid-template-columns: 210px 1fr 210px;
  gap: 10px;
}

.box {
  background: rgba(255,255,255,.9);
  border: 3px solid #e7a4bf;
  padding: 12px;
  margin-bottom: 10px;
  box-shadow: inset 0 0 0 2px #fff0f7;
}

.title {
  background:
    linear-gradient(rgba(255,255,255,.3), rgba(255,255,255,.3)),
    repeating-linear-gradient(
      90deg,
      #ffd3e6 0px,
      #ffd3e6 12px,
      #fff 12px,
      #fff 24px
    );
  color: #d879a0;
  font-weight: bold;
  text-align: center;
  border: 2px solid #e7a4bf;
  border-radius: 15px;
  padding: 5px;
  margin-bottom: 10px;
}

h2, h3 {
  color: #d879a0;
}

img {
  max-width: 100%;
  border: 3px solid white;
  box-shadow: 0 0 8px #e7a4bf;
}

.profile img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  margin: auto;
}

.center-img {
  width: 220px;
  display: block;
  margin: 10px auto;
}

.small-img {
  width: 120px;
  display: block;
  margin: auto;
}

.mini-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.calendar {
  text-align: center;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  font-size: 13px;
}

.calendar-grid b {
  background: #ffd3e6;
  border: 1px solid #e7a4bf;
  color: #c7658e;
}

.calendar-grid span {
  background: #fff7fb;
  border: 1px solid #e7a4bf;
  padding: 2px;
}

textarea {
  width: 100%;
  height: 45px;
  border: 2px solid #e7a4bf;
  background: #fff7fb;
  color: #8a5d70;
}

.update-log {
  max-height: 180px;
  overflow-y: auto;
}

.music {
  text-align: center;
}

ul {
  padding-left: 20px;
}

li {
  margin-bottom: 6px;
}

footer {
  text-align: center;
  background: #ffd3e6;
  border: 3px solid #e7a4bf;
  color: #c7658e;
  padding: 10px;
  font-weight: bold;
  margin-top: 10px;
}

a {
  color: #b65c8a;
}

@media (max-width: 900px) {
  .site {
    width: 95%;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .mini-row {
    grid-template-columns: 1fr;
  }
}

.scrolling {
  overflow: hidden;
  border-radius: 15px;
  margin: 10px 0;
}

.scrolling-images {
  display: flex;
  gap: 10px;
  animation: scroll 20s linear infinite;
}

.scrolling img {
  height: 120px;   /* ← adjust this size */
  border-radius: 12px;
}

.scrolling {
  overflow: hidden;
  width: 100%;
  border: 3px solid #ffb6d9;
  background: #fff8fc;
  padding: 10px;
  margin-bottom: 12px;
}

.scrolling-images {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: scroll 18s linear infinite;
}

.scrolling-images img {
  height: 120px;
  width: 160px;
  object-fit: cover;
  flex: 0 0 auto;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


.about-slide {
  animation: aboutScroll 16s linear infinite;
}

.about-slide:hover {
  animation-play-state: paused;
}

@keyframes aboutScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 15px;
  margin-top: 15px;
}

.gallery img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 12px;
  border: 3px solid #ffb6d9;
  box-shadow: 0 0 10px #ffcce6;
  transition: 0.2s;
}

.gallery img:hover {
  transform: scale(1.05);
}