@font-face {
  font-family: "LOVE_AND_PASSION";
  src: url("font/love_and_passion.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "jellyka_-_love_and_passion";
  src: url("font/rix_love_fool.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}


/* ==================================================
   GLOBAL RESET (PREVENT OVERRIDES)
   ================================================== */

* {
  box-sizing: border-box;
}

/* ==================================================
   BIG PAGE BACKGROUND (BODY)
   ================================================== */

html {
  background-image: url("https://hoanglanblog8.wordpress.com/wp-content/uploads/2023/06/note-small47-212675009-e1690564763730.jpg");
  background-repeat: repeat;
  background-size: 300px;
  background-position: top left;
}

body {
  margin: 0;
  padding: 0;

  font-family: "jellyka_-_love_and_passion", serif !important;
  color: #6b5a66;
  background: transparent !important;
}

/* ==================================================
   FLOAT ANIMATION
   ================================================== */

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(8px); }
  100% { transform: translateY(0); }
}

/* ==================================================
   MAIN CONTENT CARD (REPLACES <main>)
   ================================================== */

.wrapper {
  max-width: 920px;
  margin: 30px auto;
  padding: 14px;

  background-image: url("https://hoanglanblog8.wordpress.com/wp-content/uploads/2023/06/background-pink-blink-blink.gif");
  background-repeat: repeat;
  background-color: rgba(252, 238, 244, 0.83);

  border: 2px solid #ff9fc9;
  box-shadow: 0px 0px 6px #a14b74;
}

/* ==================================================
   SECTIONS
   ================================================== */

.section {
  background-color: #ffe3f2;
  border: 2px solid #e878a7;
  box-shadow: 5px 5px #ffc0db;
  padding: 15px;
  margin-bottom: 20px;
}

.info-wrap {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.info-wrap .interests,
.info-wrap .blurbs {
  width: 50%;
}



/* ==================================================
   HEADINGS (JELLYKA)
   ================================================== */

h1, h2, h3, h4 {
  font-family: "LOVE_AND_PASSION", cursive !important;
  font-weight: bold;
}

h1 {
  font-size: 2.7em;
  text-align: center;
  color: #ff9cc1;
  text-shadow: 2px 2px #ab2d2d;
  animation: float 3s infinite ease-in-out;
}

h3 {
  background: #ffabce;
  color: white;
  padding: 6px 10px;
  border: inset #ff8ad5;
  box-shadow: 0 0 6px #e388bd;
}

h4 {
  margin: 12px 0 4px;
  font-size: 1.1em;
  color: #959595;
}

/* ==================================================
   TEXT
   ================================================== */

p {
  font-size: 14px;
  margin: 4px 0;
}

.center {
  text-align: center;
}

/* ===== BLURBS BASE ===== */
.blurbs {
  background-image: url("https://hoanglanblog8.wordpress.com/wp-content/uploads/2023/06/note-p1.jpg");
  background-repeat: repeat;
  background-size: 260px;
  border: 2px solid #e878a7;
  padding: 14px;
  margin-bottom: 18px;
    max-width: 520px;        /* ⬅ controls BOTH sections */
  margin: 30px auto;       /* center the whole box */
  padding: 0;
  box-sizing: border-box;
}

/* Headings inside blurbs */
.blurbs .heading h4 {
  margin: 0 0 8px;
  padding: 6px 10px;
  font-size: 1.3em;
  background: #ffb7d5;
  color: white;
  text-align: center;
  border-radius: 6px;
}

/* Section spacing */
.blurbs .section {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 10px 14px;      /* inner spacing */
  text-align: center;
  
}

/* Paragraph spacing */
.blurbs .section p {
   margin: 6px auto;
    padding: 10px 14px !important; /* tighter inside */
}

/* Softer icons spacing */
.blurbs img {
  vertical-align: middle;
  margin: 0 4px;
}

.about-me {
    max-width: 520px;      /* ⬅ controls box width */
  margin: 0 auto;        /* center it */
  text-align: center;

}

.about-me p {
  margin: 8px auto;
}

/* =========================
   INTERESTS BOX (SEPARATE)
   ========================= */

.section.interests {
  max-width: 520px;        /* same width as blurbs */
  margin: 30px auto;
  padding: 12px 16px;
  box-sizing: border-box;
}

/* Interests text spacing */
.section.interests p {
  margin: 4px 0;
}

/* Center interests headings */
.section.interests h3,
.section.interests h4 {
  text-align: center;
}

/* ==================================================
   VIDEO PLAYER
   ================================================== */

.videobox {
  width: 223px;
  height: 213px;
  position: fixed;
  top: 12px;
  right: 12px;
  animation: float 3s infinite ease-in-out;
}

.videobox iframe {
  position: absolute;
  width: 152px;
  height: 104px;
  top: 35px;
  right: 14px;
}

.videobox img {
  position: absolute;
  width: 195px;
  height: 217px;
  pointer-events: none;
}

/* ==================================================
   MOBILE SIMPLIFY
   ================================================== */

@media (max-width: 768px) {
  .videobox {
    display: none;
  }

  .wrapper {
    margin: 10px;
  }
}
