@import url("https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css");
* {
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}
html,
body {
  margin: 0px;
  min-height: 100%;
}
/* a blue color as a generic focus style */
button:focus-visible {
  outline: 2px solid #4a90e2 !important;
  outline: -webkit-focus-ring-color auto 5px !important;
}
a {
  text-decoration: none;
}
/* @FONTWARNING[{"type": "restricted", "family": "Vividly-Regular", "weight": "400", "style": "normal", "allowsCrossOrigin": false}] */

@font-face {
  font-family: "Vividly-Regular";
  src: local("Vividly-Regular");
}
@font-face {
  font-family: "Rabbit-Regular";
  src: url("Rabbit-Regular.otf") format("truetype");
    src: url("Rabbit-Regular.otf") format("truetype");

  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Vividly-Regular";
  src: url("Vividly-Regular.otf") format("truetype");
    src: url("Vividly-Regular.ttf") format("truetype");

  font-weight: 400;
  font-style: normal;
}


@font-face {
  font-family: "Peperrito Ornaments Regular";
  src: url("PeperritoOrnaments-Regular.otf") format("truetype");
    src: url("PeperritoOrnaments-Regular.ttf") format("truetype");

  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "KNMaiyuan-Regular";
  src: url("KNMaiyuan-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
.portfolio {
  background-image: url(BG.png);
  background-size: cover;
  background-position: 50% 50%;
  width: 100%;
  min-width: 390px;
  min-height: 786px;
  position: relative;
}

.portfolio .ellipse {
  position: absolute;
  top: 76px;
  left: calc(50.00% - 151px);
  width: 50px;
  height: 50px;
  object-fit: cover;
}

.portfolio .img {
  position: absolute;
  top: 70px;
  left: calc(50.00% - 134px);
  width: 15px;
  height: 3px;
}

.portfolio .ellipse-2 {
  position: absolute;
  top: 72px;
  left: calc(50.00% - 117px);
  width: 21px;
  height: 40px;
}

.portfolio .ellipse-3 {
  position: absolute;
  top: 117px;
  left: calc(50.00% - 139px);
  width: 36px;
  height: 13px;
}

.portfolio .ellipse-4 {
  position: absolute;
  top: 76px;
  left: calc(50.00% - 156px);
  width: 14px;
  height: 48px;
}

.portfolio .text-wrapper {
  position: absolute;
  top: 91px;
  left: calc(50.00% - 86px);
  font-family: "Vividly-Regular", Helvetica;
  font-weight: 400;
  color: #ff8ccf;
  font-size: 15px;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.portfolio .div {
  position: absolute;
  top: 105px;
  left: calc(50.00% - 86px);
  font-family: "Vividly-Regular", Helvetica;
  font-weight: 400;
  color: #ff8ccf;
  font-size: 9px;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.portfolio .rectangle {
  position: absolute;
  top: 93px;
  left: 224px;
  width: 68px;
  height: 18px;
  background-color: #ffffff;
  border-radius: 19px;
  border: 0.9px solid;
  border-color: #ff8ccf;
}

.portfolio .rectangle-2 {
  position: absolute;
  top: 40px;
  left: 182px;
  width: 172px;
  height: 21px;
  background-color: #ffffff;
  border-radius: 19px;
  border: 1px solid;
  border-color: #ffffff;
}

.portfolio .home {
  left: calc(50.00% + 9px);
  width: 26px;
  position: absolute;
  top: 46px;
  font-family: "Vividly-Regular", Helvetica;
  font-weight: 400;
  color: #ff8ccf;
  font-size: 13px;
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.portfolio .about {
  position: absolute;
  top: 46px;
  left: calc(50.00% + 54px);
  width: 27px;
  font-family: "Vividly-Regular", Helvetica;
  font-weight: 400;
  color: #ff8ccf;
  font-size: 13px;
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.portfolio .contact {
  left: calc(50.00% + 100px);
  width: 38px;
  position: absolute;
  top: 46px;
  font-family: "Vividly-Regular", Helvetica;
  font-weight: 400;
  color: #ff8ccf;
  font-size: 13px;
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.portfolio .vector {
  position: absolute;
  top: 52px;
  left: 177px;
  width: 6px;
  height: 11px;
}

.portfolio .vector-2 {
  position: absolute;
  top: 62px;
  left: 183px;
  width: 4px;
  height: 3px;
}

.portfolio .get-in-touch {
  position: absolute;
  top: 99px;
  left: calc(50.00% + 40px);
  width: 46px;
  font-family: "Vividly-Regular", Helvetica;
  font-weight: 400;
  color: #ff8ccf;
  font-size: 10px;
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.portfolio .rectangle-3 {
  position: absolute;
  top: 660px;
  left: calc(50.00% - 141px);
  width: 286px;
  height: 56px;
}

.portfolio .gemini-generated {
  position: absolute;
  top: 675px;
  left: calc(50.00% - 10px);
  width: 25px;
  height: 27px;
  aspect-ratio: 0.95;
}

.portfolio .gemini-generated-2 {
  top: 678px;
  left: 239px;
  width: 19px;
  height: 20px;
  position: absolute;
  aspect-ratio: 0.95;
}

.portfolio .gemini-generated-3 {
  top: 678px;
  left: 137px;
  width: 19px;
  height: 20px;
  position: absolute;
  aspect-ratio: 0.95;
}

.portfolio .rectangle-4 {
  position: absolute;
  top: 155px;
  left: calc(50.00% - 141px);
  width: 286px;
  height: 56px;
}

.portfolio .rectangle-5 {
  position: absolute;
  top: 285px;
  left: calc(50.00% - 42px);
  width: 84px;
  height: 84px;
  background-color: #ffffff;
  border-radius: 19px;
        background-image: url(BG.png);
    background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.portfolio .rectangle-6 {
  position: absolute;
  top: 285px;
  left: calc(50.00% + 54px);
  width: 84px;
  height: 84px;
  background-color: #ffffff;
  border-radius: 19px;
        background-image: url(BG.png);
    background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.portfolio .rectangle-7 {
  position: absolute;
  top: 285px;
  left: calc(50.00% - 138px);
  width: 84px;
  height: 84px;
  background-color: #ffffff;
  border-radius: 19px;
      background-image: url(BG.png);
    background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.portfolio .rectangle-8 {
  position: absolute;
  top: 285px;
  left: calc(50.00% - 42px);
  width: 84px;
  height: 84px;
          background-image: url(pinkk.png);
    background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.portfolio .rectangle-9 {
  position: absolute;
  top: 285px;
  left: calc(50.00% + 54px);
  width: 84px;
  height: 84px;
          background-image: url(pinkk.png);
    background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.portfolio .rectangle-10 {
  position: absolute;
  top: 285px;
  left: calc(50.00% - 138px);
  width: 84px;
  height: 84px;
          background-image: url(pinkk.png);
    background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.portfolio .gemini-generated-4 {
  top: 170px;
  left: calc(50.00% - 10px);
  width: 25px;
  height: 27px;
  position: absolute;
  aspect-ratio: 0.95;
}

.portfolio .gemini-generated-5 {
  top: 173px;
  left: 239px;
  width: 19px;
  height: 20px;
  position: absolute;
  aspect-ratio: 0.95;
}

.portfolio .gemini-generated-6 {
  top: 173px;
  left: 137px;
  width: 19px;
  height: 20px;
  position: absolute;
  aspect-ratio: 0.95;
}

.portfolio .text-wrapper-2 {
  top: 380px;
  position: absolute;
  left: calc(50.00% - 26px);
  font-family: "Vividly-Regular", Helvetica;
  font-weight: 400;
  color: #ff8ccf;
  font-size: 11px;
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.portfolio .text-wrapper-3 {
  top: 380px;
  position: absolute;
  left: calc(50.00% + 72px);
  font-family: "Vividly-Regular", Helvetica;
  font-weight: 400;
  color: #ff8ccf;
  font-size: 11px;
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.portfolio .text-wrapper-4 {
  top: 380px;
  position: absolute;
  left: calc(50.00% - 124px);
  font-family: "Vividly-Regular", Helvetica;
  font-weight: 400;
  color: #ff8ccf;
  font-size: 11px;
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.portfolio .rectangle-11 {
  position: absolute;
  top: 406px;
  left: calc(50.00% - 42px);
  width: 84px;
  height: 84px;
  background-color: #ffffff;
  border-radius: 19px;
        background-image: url(BG.png);
    background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.portfolio .rectangle-12 {
  position: absolute;
  top: 406px;
  left: calc(50.00% + 54px);
  width: 84px;
  height: 84px;
  background-color: #ffffff;
  border-radius: 19px;
        background-image: url(BG.png);
    background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.portfolio .rectangle-13 {
  position: absolute;
  top: 406px;
  left: calc(50.00% - 138px);
  width: 84px;
  height: 84px;
  background-color: #ffffff;
  border-radius: 19px;
        background-image: url(BG.png);
    background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.portfolio .rectangle-14 {
  position: absolute;
  top: 406px;
  left: calc(50.00% - 42px);
  width: 84px;
  height: 84px;
          background-image: url(pinkk.png);
    background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.portfolio .rectangle-15 {
  position: absolute;
  top: 406px;
  left: calc(50.00% + 54px);
  width: 84px;
  height: 84px;
          background-image: url(pinkk.png);
    background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.portfolio .rectangle-16 {
  position: absolute;
  top: 406px;
  left: calc(50.00% - 138px);
  width: 84px;
  height: 84px;
          background-image: url(pinkk.png);
    background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.portfolio .text-wrapper-5 {
  top: 501px;
  position: absolute;
  left: calc(50.00% - 26px);
  font-family: "Vividly-Regular", Helvetica;
  font-weight: 400;
  color: #ff8ccf;
  font-size: 11px;
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.portfolio .text-wrapper-6 {
  top: 501px;
  position: absolute;
  left: calc(50.00% + 72px);
  font-family: "Vividly-Regular", Helvetica;
  font-weight: 400;
  color: #ff8ccf;
  font-size: 11px;
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.portfolio .text-wrapper-7 {
  top: 501px;
  position: absolute;
  left: calc(50.00% - 124px);
  font-family: "Vividly-Regular", Helvetica;
  font-weight: 400;
  color: #ff8ccf;
  font-size: 11px;
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
  
}

.portfolio .rectangle-17 {
  position: absolute;
  top: 527px;
  left: calc(50.00% - 42px);
  width: 84px;
  height: 84px;
  background-color: #ffffff;
  border-radius: 19px;
        background-image: url(BG.png);
    background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.portfolio .rectangle-18 {
  position: absolute;
  top: 527px;
  left: calc(50.00% - 42px);
  width: 84px;
  height: 84px;
          background-image: url(pinkk.png);
    background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.portfolio .text-wrapper-8 {
  top: 622px;
  position: absolute;
  left: calc(50.00% - 26px);
  font-family: "Vividly-Regular", Helvetica;
  font-weight: 400;
  color: #ff8ccf;
  font-size: 11px;
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.portfolio .i-m-LIANA-a-designer {
  position: absolute;
  top: 233px;
  left: calc(50.00% - 94px);
  width: 188px;
  font-family: "Vividly-Regular", Helvetica;
  font-weight: 400;
  color: #ff8ccf;
  font-size: 10px;
  text-align: center;
  letter-spacing: 0;
  line-height: 11px;
}

.portfolio .span {
  font-family: "Vividly-Regular", Helvetica;
  font-weight: 400;
  color: #ff8ccf;
  font-size: 10px;
  letter-spacing: 0;
}

.portfolio .text-wrapper-9 {
  font-size: 11px;
}


.portfolio .text-wrapper-294 {
  position: absolute;
  top: 235px;
  left: calc(50.00% - 132px);
  width: 24px;
  font-family: "Rabbit-Regular", Helvetica;
  font-weight: 400;
  color: #ff8ccf;
  font-size: 38px;
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

/* ============================================================
   RESPONSIVE SWITCHER
   ============================================================ */
.tablet-desktop-layout { display: none !important; }

@media (min-width: 851px) {
  .mobile-layout { display: none !important; }
  .tablet-desktop-layout { display: block !important; }
}

/* ============================================================
   IN-BETWEEN FIX (391px – 850px)
   ============================================================ */
@media (min-width: 391px) and (max-width: 850px) {
  body {
    background-image: url("BG.png");
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
  }
  .mobile-layout.portfolio {
    width: 390px;
    min-width: 390px;
    max-width: 390px;
    margin: 0 auto;
    position: relative;
  }
}

/* ============================================================
   iPAD & LAPTOP LAYOUT
   ============================================================ */
.td-bg {
  width: 100%;
  min-height: 100vh;
  background-image: url("BG.png");
  background-size: cover;
  background-position: center;
  padding: 40px 28px 80px 28px;
  display: flex;
  justify-content: center;
}

.td-container {
  width: 100%;
  max-width: 950px;
  display: flex;
  flex-direction: column;
  gap: 34px;
}

/* ---------- HEADER ---------- */
.td-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 4px;
}
.td-profile { display: flex; align-items: center; gap: 14px; }
.td-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ff8ccf;
}
.td-name {
  font-family: "Vividly-Regular", Helvetica;
  color: #ff8ccf;
  font-size: 22px;
  margin: 0 0 2px 0;
  font-weight: 400;
}
.td-role {
  font-family: "Vividly-Regular", Helvetica;
  color: #ff8ccf;
  font-size: 12px;
  margin: 0;
}
.td-nav {
  display: flex; gap: 32px;
  font-family: "Vividly-Regular", Helvetica;
  font-size: 16px;
}
.td-nav a { color: #ff8ccf; }
.td-cta {
  font-family: "Vividly-Regular", Helvetica;
  font-size: 13px;
  color: #ff8ccf;
  background: #ffffff;
  border: 1px solid #ff8ccf;
  border-radius: 24px;
  padding: 10px 22px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.25s ease, box-shadow 0.3s ease, color 0.3s ease;
  box-shadow: 0 2px 8px rgba(255, 169, 212, 0.15);
}
.td-cta:hover {
  background: #fff5fa;
  color: #ffc6e1;
  transform: translateY(-2px);
}

/* ---------- BUNNY BANNER ---------- */
.td-banner,
.td-bottom-decors {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  background: #ffffff;
  border-radius: 44px;
  padding: 18px 0;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}
.td-banner img,
.td-bottom-decors img { width: 26px; height: auto; }

@media (min-width: 1024px) {
  .td-banner,
  .td-bottom-decors { gap: 90px; padding: 22px 0; }
  .td-banner img,
  .td-bottom-decors img { width: 32px; }
}

/* ---------- INTRO TEXT ---------- */
.td-intro {
  font-family: "Vividly-Regular", Helvetica;
  color: #ff8ccf;
  font-size: 14px;
  line-height: 16px;
  text-align: center;
  max-width: 450px;
  margin: 0 auto;
  padding: 0 20px;
  margin-top: -77px;   /* ← pulls it up by 20px */
}

/* ---------- PROJECTS GRID (3 col on iPad) ---------- */
.td-projects {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.td-project {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: transform 0.3s ease;
}
.td-project:hover { transform: translateY(-6px); }

.td-project-img {
  width: 70%;
  aspect-ratio: 1 / 1;
  background: #ffffff;
  border-radius: 26px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.td-project-img::after {
  content: "♡";
  position: absolute;
  top: 10px;
  right: 14px;
  font-family: "KNMaiyuan-Regular", Helvetica;
  color: #ff8ccf;
  font-size: 18px;
  opacity: 0.7;
  pointer-events: none;
  transition: transform 0.3s ease;
}
.td-project:hover .td-project-img::after {
  transform: scale(1.4) rotate(-12deg);
}

.td-project-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.td-project-name {
  font-family: "Vividly-Regular", Helvetica;
  color: #ff8ccf;
  font-size: 12px;
  margin: 0;
  text-align: center;
}



/* ============================================================
   LAPTOP (1024px+)
   ============================================================ */
@media (min-width: 1024px) {
  .td-bg { padding: 50px 40px 100px 40px; }
  .td-container { max-width: 1100px; gap: 44px; }

  .td-avatar { width: 76px; height: 76px; }
  .td-name { font-size: 26px; }
  .td-role { font-size: 14px; }
  .td-nav { font-size: 18px; gap: 44px; }
  .td-cta { font-size: 14px; padding: 12px 26px; }

  .td-banner { gap: 130px; padding: 24px 0; }
  .td-banner img { width: 30px; }

  .td-intro { font-size: 15px; line-height: 18px; max-width: 440px; }

  .td-projects { gap: 28px; }
  .td-project-name { font-size: 13px; }
  .td-project-img::after { font-size: 20px; }

  .td-bottom-decors { gap: 130px; padding: 24px 0; }
  .td-bottom-decors img { width: 30px; }
}

/* ---------- BACK BUTTON (tablet/laptop) ---------- */
.td-back {
  font-family: "Rabbit-Regular", Helvetica;
  color: #ff8ccf;
  font-size: 34px;
  line-height: 1;
  text-decoration: none;
  display: inline-block;
  width: fit-content;
  padding-left: 4px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.td-back:hover {
  transform: translateX(-4px);
  opacity: 0.75;
}

@media (min-width: 1024px) {
  .td-back { font-size: 42px; }
}