
body {
  margin: 0;
  font-family: "Prompt", sans-serif;
  background: url("https://i.postimg.cc/vmN4JtJT/IMG-20251019-230030.jpg") center/cover no-repeat fixed;
  color: #333;
  overflow-x: hidden;
  opacity: 0;
  transition: opacity 1s ease; 
}


body.loaded {
  opacity: 1;
}

.container {
  max-width: 900px;
  margin: auto;
  padding: 20px;
}

.header {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.profile {
  position: relative;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(255, 100, 150, 0.3);
  border: 6px solid white;
  background: #ffd6eb;
}

.profile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.kitty {
  position: absolute;
  width: 70px;
  bottom: -5px;
  right: -55px;
  transform: rotate(-10deg);
  animation: float 3s ease-in-out infinite;
}


@keyframes float {
  0% { transform: translateY(0) rotate(-10deg); }
  50% { transform: translateY(-6px) rotate(-8deg); }
  100% { transform: translateY(0) rotate(-10deg); }
}


.intro h1 {
  font-size: 24px;
  color: #FFD700;
  margin: 0;
}

.intro p {
  color: #FFD700;
  margin: 5px 0;
}

/* ยังไม่ได้ใส่รูปอย่าลืมมาแก้ด้วย */
/* คิตตี้ตัวใหม่: กระโดด */
..kitty2 {
  position: absolute;
  text-align: center;
  width: 20px !important ;
  height: auto;
  bottom: 40px;
  right: 90px;
  z-index: 10;
  transform: rotate(-10deg);
  transition: transform 0.3s ease;
}


.jump {
  animation: jumpKitty 0.6s ease;
}

@keyframes jumpKitty {
  0% { transform: translateY(0) rotate(-10deg); }
  30% { transform: translateY(-40px) rotate(-5deg); }
  60% { transform: translateY(-40px) rotate(-5deg); }
  100% { transform: translateY(0) rotate(-10deg); }
}

.about {
  background: url("https://i.postimg.cc/85rLtzyV/oc7-Kf-PDf-SODFr-F2c-VOpe-VAk-WAINf-ID6-QAAnn-E9-tplv-tej9nj120t-wap-logo-QGVsa-XNhcm9kcmlnd-WVz-1080-0.webp") center/cover no-repeat;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(255, 111, 147, 0.2);
  padding: 20px;
  margin-top: 20px;
  border: 2px solid #ffe0ed;
  color: #55283b;
  position: relative;
  overflow: hidden;
}

.about::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 240, 247, 0.7);
  /* ตัดblurออกถ้าจะใส่ก็โค้ดนี้backdrop-filter: blur(2px); */
  z-index: 0;
  border-radius: 20px;
}

.about h2,
.about p {
  position: relative;
  z-index: 1;
}


.portfolio {
  background: url("https://i.postimg.cc/85rLtzyV/oc7-Kf-PDf-SODFr-F2c-VOpe-VAk-WAINf-ID6-QAAnn-E9-tplv-tej9nj120t-wap-logo-QGVsa-XNhcm9kcmlnd-WVz-1080-0.webp") center/cover no-repeat;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(255, 111, 147, 0.2);
  padding: 20px;
  margin-top: 20px;
  border: 2px solid #ffe0ed;
  color: #55283b;
  position: relative;
  overflow: hidden;
}

.portfolio::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 240, 247, 0.7);
    /* ตัดblurออกถ้าจะใส่ก็โค้ดนี้backdrop-filter: blur(2px); */
  z-index: 0;
  border-radius: 20px;
}

.portfolio h2,
.portfolio p,
.portfolio h3 {
  position: relative;
  z-index: 1;
}

h2 {
  color: #e94e77;
}

.card {
  background: #fff;
  border-radius: 16px;
  padding: 15px;
  margin: 10px 0;
  box-shadow: 0 4px 12px rgba(255, 150, 180, 0.2);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}
    .contact-links {
      margin-top: 30px;
      text-align: center!
    }

    .contact-links {
  margin-top: 30px;
  text-align: center; 
}

.contact-links a {
  display: inline-block;
  background: #ff8fb1; 
  color: #fff; 
  font-weight: 600; 
  font-size: 16px; 
  padding: 10px 20px;
  border-radius: 25px;
  margin: 5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(255, 100, 150, 0.3);
  text-decoration: none;
}

.contact-links a:hover {
  background: #e94e77; 
  transform: translateY(-3px);
}

.footer {
  text-align: center;
  margin-top: 30px;
  color: #a35577;
  font-size: 14px;
}