@import url('https://fonts.googleapis.com/css2?family=Doto:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Doto:wght@100..900&family=Pixelify+Sans:wght@400..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Thai:wght@100;200;300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

html,
body {
  cursor: url('/images/cursor.cur'), url('/images/cursor.png'), auto;
}

body {
  margin: 0;
  padding: 0;
  font-size: 12px;
  background-image: url(/images/bg.png);
  box-sizing: border-box;

}

body.blog {
  background-image: none;
  background-color: #DCDCDC;
  height: 100%;
  position: fixed;
  width: 100%;
}

.blog .outer-wrapper {
  padding-top: 0;
  height: 100%;
  align-items: center;
}

.blog-wrapper {
  width: 600px;
  height: 842px;
  background-repeat: no-repeat;
  background-image: url(/images/bg-letter.png);
  position: relative;
  background-position: -15px 0px;
}

/* Back Arrow*/

.back-arrow {
  position: absolute;
  top: 400px;
  left: -250px;
  display: flex;
  align-items: center;
  gap: 16px;

}

.back-to-main {
  font-size: 1.5rem;

}

/* A HREF without Blue Underline*/

a {
  color: inherit;
  /* makes link text inherit its parent color */
  text-decoration: none;
  /* removes the underline */
}

.letter-item a:hover {
  color: #ff4da6;
  /* cute pink highlight */
  text-shadow: 1px 1px 0 #fff;
  /* pixelly highlight */
}



.blog-text-group {
  overflow: auto;
  height: 420px;

}

.blog-text-group {

  overflow: auto;
  /* หรือ overflow-x / overflow-y ตามต้องการ */

  -ms-overflow-style: none;
  /* ซ่อน scrollbar บน IE และ Edge รุ่นเก่า */

  scrollbar-width: none;
  /* ซ่อน scrollbar บน Firefox */

}

.blog-text-group::-webkit-scrollbar {

  display: none;
  /* ซ่อน scrollbar บน Chrome, Safari */

}


.blog-text {
  margin-bottom: 24px;
}

.blog-content {
  padding: 80px 70px;
  max-height: 500px;
}

.blog-content>* {
  margin-bottom: 24px;
}

.blog-content>*:last-child {
  margin-bottom: 0px;
}

.blog-date {
  font-family: Doto;
  font-size: 3.5rem;
  font-weight: 400;
  max-width: 360px;
  color: #7D7D7D;

}

.blog-title {
  color: #544348;
  font-size: 1.5rem;
  font-weight: 400;
}

.question {
  margin-bottom: 4px;
}

.blog-text-pink {
  color: #EF5180;
  font-size: 1.125rem;
  font-family: "IBM Plex Sans Thai", sans-serif;
  font-weight: 400;
  font-style: normal;

}

.guestbook-frame {
  border: 1px solid #f6cee1;
  padding: 8px 100px 16px 16px;
  margin-top: 24px;
  border-radius: 16px;
}

.horizontal-line-blog {
  height: 1px;
  margin: 16px auto;
  border-bottom: 1px solid #ECA6C8;
  width: 100%;
  opacity: 55%;
}

.horizontal-line {
  height: 1px;
  margin: 16px auto;
  border-bottom: 1px solid #ECA6C8;
  width: 100%;
  opacity: 55%;
}

.ibm-plex-sans-thai {
  font-family: "IBM Plex Sans Thai", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 0.875rem;
  color: #BFAFB4;
}

.ibm-plex-sans-black {
  font-family: "IBM Plex Sans Thai", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 0.875rem;
  color: #544348;
}

.quote-box{
  background-color:antiquewhite;
  border-radius: 8px;
  padding: 8px 16px 8px 16px;
  margin-bottom: 8px;
}

.quote-group{
  padding-bottom: 8px;
  
}

div {
  box-sizing: border-box;
}

.text-center {
  text-align: center;
}

.pixelify {
  font-family: "Pixelify Sans", "Kanit", sans-serif;
  font-optical-sizing: auto;
  /* font-weight: <weight>; */
  /* font-style: normal; */
}

.display-flex {
  display: flex;
}

.bold {
  font-weight: bold;
}

.outer-wrapper {
  padding-top: 240px;
  justify-content: center;
}

.webcontent-box {
  width: 100%;
  max-width: 1200px;
  min-height: 600px;
  position: relative;
  z-index: 1;
}

.box-content {
  width: 600px;
  height: 600px;
  border-radius: 40px;
  background-color: white;
  box-shadow: 2px 6px 20px 0px #B7729C94
}

.box-right {
  background-color: #ECA6C8;
  position: relative;
  z-index: 1;
  padding: 16px;
}

.box-left {
  position: relative;
  font-family: "Pixelify Sans", sans-serif;
  font-optical-sizing: auto;
  /* font-weight: <weight>; */
  /* font-style: normal; */
  z-index: 2;
}

.heads-up {
  font-weight: 400;
  font-size: 0.875rem;
  color: #BFAFB4;
}

.inner-right {
  background-color: white;
  border-radius: 40px;
  box-shadow: 2px 6px 20px 0px #B7729C94;
  height: 100%;
  padding: 16px 30px;

}

.doto {
  font-family: "Doto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings:
    "ROND" 0;
}

.force-doto {
  font-family: "Doto", sans-serif !important;
  font-variation-settings:
    "ROND" 0 !important;
}

h1 {
  font-size: 64px;
  color: #EF5180;
  margin: 0;
}

.donut {
  position: absolute;
  left: 48px;
  top: -75px;
  transition: transform 0.6s ease-in-out;
}

.donut:hover {
  transform: scale(1.1);
  cursor: grab;
}

.brain-dump {
  position: absolute;
  top: -40px;
  left: 270px;
  z-index: 1;
}

.letter-list {
  margin-top: 125px;
  padding-left: 47px;
  padding-right: 47px;
  overflow: auto;
  height: 430px;

}

.letter-list {

  overflow: auto;
  /* หรือ overflow-x / overflow-y ตามต้องการ */

  -ms-overflow-style: none;
  /* ซ่อน scrollbar บน IE และ Edge รุ่นเก่า */

  scrollbar-width: none;
  /* ซ่อน scrollbar บน Firefox */

}

.letter-list::-webkit-scrollbar {

  display: none;
  /* ซ่อน scrollbar บน Chrome, Safari */

}

.letter-item {
  border-width: 0px 0px 1px 0px;
  border-style: solid;
  border-color: #f6cee1;
  padding: 24px 0px;
  display: flex;

}


.title-date {
  display: flex;
  min-width: 100%;
  justify-content: space-between;
  margin-bottom: 4px;
  gap: 16px;
}

.envelope-icon {
  margin: 0px 16px;
  width: 40px;
  height: 42px;

}

.letter-info {
  margin: 0px 16px;
  width: 100%;
}

.letter-title {
  font-size: 1.125rem;
  font-weight: 400;

}

.letter-title-mock {
  font-size: 1.125rem;
  font-weight: 400;
  color: #BFAFB4;

}

.letter-date {
  font-weight: 400;
  font-size: 0.875rem;
  color: #EAA3C6;
}

.letter-desc {
  font-weight: 400;
  font-size: 0.875rem;
  color: #BFAFB4;
}

.icecream {
  position: absolute;
  z-index: 1;
  left: -110px;
  top: 150px;
  transition: transform 0.6s ease-in-out;
}

.icecream:hover {
  transform: scale(1.1);
  cursor: grab;
}

.burger {
  position: absolute;
  z-index: 3;
  right: 25px;
  bottom: -60px;
  transition: transform 0.6s ease-in-out;
}

.burger:hover {
  transform: scale(1.1);
  cursor: grab;
}

.egg {
  position: absolute;
  right: 90px;
  top: -100px;
  z-index: -1;
  transition: transform 0.6s ease-in-out;
}

.egg:hover {
  transform: scale(1.1);
  cursor: grab;
}

.sparkle-1 {
  position: absolute;
  z-index: 1;
  right: 0px;
  top: -140px;
  animation: sparklePulse 2.8s ease-in-out infinite;
  transform-origin: center;
  will-change: transform, opacity;
  animation-delay: 1s;
}

.sparkle-1s {
  position: absolute;
  z-index: 1;
  right: -40px;
  top: -40px;
  animation: sparklePulse 2.8s ease-in-out infinite;
  transform-origin: center;
  will-change: transform, opacity;
  animation-delay: 1.5s;
}

.sparkle-2 {
  position: absolute;
  left: -120px;
  top: -130px;
  z-index: 5;
}

.sparkle-2s {
  position: absolute;
  z-index: 1;
  left: 230px;
  top: -200px;
  animation: sparklePulse 2.8s ease-in-out infinite;
  transform-origin: center;
  will-change: transform, opacity;
  animation-delay: 0s;
}

@keyframes sparklePulse {

  0%,
  100% {
    transform: scale(0.7) rotate(0.001deg);
    /* tiny rotate prevents subpixel jitter */
    opacity: 0.9;
  }

  50% {
    transform: scale(1.2) rotate(0.001deg);
    /* how large the “blink” feels */
    opacity: 1;
  }
}

.line-1 {
  position: absolute;
  left: 290px;
  top: -60px;
  z-index: 3;
}

.sparkle-5 {
  position: absolute;
  z-index: -1;
  bottom: 170px;
  left: -180px;
  animation: sparklePulse 2.8s ease-in-out infinite;
  transform-origin: center;
  will-change: transform, opacity;
  animation-delay: 3s;
}

.ribbon-2 {
  position: absolute;
  z-index: 1;
  left: -100px;
  bottom: 100px;
  transition: transform 0.6s ease-in-out;
}

.ribbon-2:hover {
  cursor: grab;
  transform: translateX(-30px);
}

.ribbon-heart-2 {
  transition: transform 0.6s ease-in-out;
}

.ribbon-heart-2:hover {
  cursor: grab;
  transform: translateX(-30px);
}

.ribbon-3 {
  position: absolute;
  z-index: 1;
  left: -100px;
  bottom: 30px;
}

.heart-2 {
  position: absolute;
  z-index: 2;
  left: -60px;
  bottom: 45px;
}

/* Elements on the right and Pizzaaaa */
.pizza {
  position: absolute;
  z-index: 3;
  right: -92px;
  bottom: 50px;
  transition: transform 0.6s ease-in-out;
}

.pizza:hover {
  transform: scale(1.1);
  cursor: grab;
}

.sparkle-4 {
  position: absolute;
  z-index: 3;
  right: -135px;
  bottom: 230px;
  animation: sparklePulse 2.8s ease-in-out infinite;
  transform-origin: center;
  will-change: transform, opacity;
  animation-delay: 0s;
}

.sparkle-4s {
  position: absolute;
  z-index: 3;
  right: -55px;
  bottom: 300px;
  animation: sparklePulse 2.8s ease-in-out infinite;
  transform-origin: center;
  will-change: transform, opacity;
  animation-delay: 1s;
}

.dot-line2 {
  position: absolute;
  z-index: 3;
  right: 20px;
  bottom: -40px;
}

.ribbon-1 {
  position: absolute;
  z-index: -1;
  right: -80px;
  bottom: 360px;
  transition: transform 0.6s ease-in-out;
}

.ribbon-1:hover {
  cursor: grab;
  transform: translateX(30px);
}

/* Trail-hearts following cursor */

.trail-heart {
  position: absolute;
  animation: floatUp 1.2s ease forwards;
  pointer-events: none;
  font-size: 18px;
  /* Base size, can be overridden per heart */
}

@keyframes floatUp {
  to {
    transform: translateY(-40px) rotate(20deg);
    opacity: 0;
  }

}

/* Social buttons */
.social-buttons {
  justify-content: end;
  margin: auto;
  padding: 16px 265px 40px 16px;
  width: 100%;
  max-width: 1200px;
  min-height: 100px;
}

.tiny-icons {
  padding: 0px 4px;
}

/* Fixed Footer and Lace Area 
    
    .footer-content{
        background-color: white;

    }
    .lace-bg{
        background-image: url(/images/lace-bg.png);
        background-repeat: repeat-x;
        height: 80px;
    }
    .fixed-footer{
        position: fixed;
        bottom: 0px;
        width: 100%;

    }
    .footer-text{
        color: #EBA5C8;
        font-size: 0.75rem;
        font-weight: 400;
        width: 100%;
        max-width: 600px;
        margin: auto;
        padding-bottom: 24px; 
        text-align: center;

    }
    */
/* Button Okie */

.button-404-clap {
  background-color: white;
  color: #EF5180;
  border: 2px solid #EF5180;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  width: max-content;
  padding: 4px 16px;
  border-radius: 100px;
}

.button-404-clap:hover {
  opacity: 80%;
  cursor: grab;
}

.button-clap {
  position: relative;
}

.count-area {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.icon-counting {
  display: flex;
  align-items: center;
  gap: 8px;

}

.count-number {
  font-size: 1.125rem;
}

/* Style the button that is used to open and close the collapsible content */
.collapsible {
  background-color: #eee;
  color:#EAA3C6;
  cursor:grab;
  padding: 8px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 14px;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active,
.collapsible:hover {
  background-color:#f6cee1;
}

/* Style the collapsible content. Note: hidden by default */
.content {
  padding: 0 18px;
  display: none;
  overflow: hidden;
  background-color: #f1f1f1;
}

.collapsible:after {
  content: '🎵'; /* Unicode character for "plus" sign (+) */
  font-size: 12px;
  color: white;
  float: right;
  margin-left: 5px;
}

.active:after {
  content: "\2796"; /* Unicode character for "minus" sign (-) */
}