@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%;
  background-image: url(BG~.png);
}
/* 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";
  /* Replace 'vividly.woff2' with your actual filename */
  src: url('vividly.woff2') format('woff2'), 
       url('Vividly-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap; /* This helps it load faster on mobile! */
}


@font-face {
   font-family: "overdoze sans Regular";
  /* Replace 'vividly.woff2' with your actual filename */
  src: url('overdozesans.otf') format('otf'), 
       url('overdozesans.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap; /* This helps it load faster on mobile! */
}


@font-face {
   font-family: "KN Maiyuan Regular";
  /* Replace 'vividly.woff2' with your actual filename */
  src: url('KNMaiyuan-Regular.woff2') format('woff2'), 
       url('KNMaiyuan-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap; /* This helps it load faster on mobile! */
}
@font-face {
  font-family: "Vividly-Regular";
  src: local("Vividly-Regular");
}
/* @FONTWARNING[{"type": "restricted", "family": "undefined-Regular", "weight": "400", "style": "normal", "allowsCrossOrigin": false}] */

@font-face {
  font-family: "undefined-Regular";
  src: local("undefined-Regular");
}
/* @FONTWARNING[{"type": "restricted", "family": "Inter-Regular", "weight": "400", "style": "normal", "allowsCrossOrigin": false}] */

@font-face {
  font-family: "Inter-Regular";
  src: local("Inter-Regular");
}
/* @FONTWARNING[{"type": "restricted", "family": "Black Future-Regular", "weight": "400", "style": "normal", "allowsCrossOrigin": false}] */

@font-face {
  font-family: "Black Future-Regular";
  src: local("Black Future-Regular");
}
.korean {
  width: 100%;
  min-width: 576px;
  min-height: 5357px;
  position: relative;
}

.korean .group {
  position: absolute;
  top: 4354px;
  left: calc(50.00% - 199px);
  width: 399px;
  height: 392px;
}

.korean .rectangle {
  position: absolute;
  top: 9px;
  left: calc(50.00% - 190px);
  width: 239px;
  height: 239px;
  object-fit: cover;
}

.korean .img {
  position: absolute;
  top: 135px;
  left: calc(50.00% - 57px);
  width: 243px;
  height: 243px;
  object-fit: cover;
}

.korean .rectangle-2 {
  position: absolute;
  top: 380px;
  left: calc(50.00% - 256px);
  width: 512px;
  height: 3954px;
}

.korean .rectangle-3 {
  position: absolute;
  top: 4761px;
  left: calc(50.00% - 187px);
  width: 375px;
  height: 98px;
}

.korean .rectangle-4 {
  position: absolute;
  top: 4871px;
  left: calc(50.00% - 128px);
  width: 256px;
  height: 57px;
}

.korean .removebg-preview {
  top: 4744px;
  left: 402px;
  width: 42px;
  height: 42px;
  position: absolute;
  aspect-ratio: 1;
  object-fit: cover;
}

.korean .you-ve-started {
  position: absolute;
  top: 4781px;
  left: calc(50.00% - 152px);
  width: 304px;
  font-family: "Vividly-Regular", Helvetica;
  font-weight: 400;
  color: #ffa1d5;
  font-size: 19px;
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
}

.korean .removebg-preview-2 {
  top: 4855px;
  left: 178px;
  width: 42px;
  height: 42px;
  position: absolute;
  aspect-ratio: 1;
  object-fit: cover;
}

.korean .text-wrapper {
  position: absolute;
  top: 4893px;
  left: calc(50.00% - 108px);
  width: 216px;
  font-family: "Vividly-Regular", Helvetica;
  font-weight: 400;
  color: #ffa1d5;
  font-size: 19px;
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.korean .rectangle-5 {
  position: absolute;
  top: 280px;
  left: calc(50.00% - 261px);
  width: 523px;
  height: 79px;
  object-fit: cover;
}

.korean .group-2 {
  position: absolute;
  top: 291px;
  left: 87px;
  width: 62px;
  height: 63px;
}

.korean .div {
  position: absolute;
  top: 253px;
  left: calc(50.00% - 106px);
  width: 212px;
  height: 47px;
  background-color: #ffffff;
  border-radius: 39px;
  border: 2px solid;
  border-color: #ffa1d5;
}

.korean .korean-a {
  position: absolute;
  top: 270px;
  left: calc(50.00% - 112px);
  width: 225px;
  font-family: "Vividly-Regular", Helvetica;
  font-weight: 400;
  color: #ffa1d5;
  font-size: 21px;
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
  direction: rtl;
}

.korean .learn-basics-gently {
  position: absolute;
  top: 317px;
  left: calc(50.00% - 115px);
  width: 229px;
  font-family: "Vividly-Regular", Helvetica;
  font-weight: 400;
  color: #ffa1d5;
  font-size: 16px;
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
}

.korean .span {
  font-family: "Vividly-Regular", Helvetica;
  font-weight: 400;
  color: #ffa1d5;
  font-size: 16px;
  letter-spacing: 0;
}

.korean .text-wrapper-2 {
  font-size: 13px;
}

.korean .section-korean {
  position: absolute;
  top: 408px;
  left: calc(50.00% - 223px);
  width: 445px;
  font-family: "Vividly-Regular", Helvetica;
  font-weight: 400;
  color: #ffa1d5;
  font-size: 19px;
  text-align: center;
  letter-spacing: 0;
  line-height: 14px;
}

.korean .removebg-preview-3 {
  top: 238px;
  left: 181px;
  width: 36px;
  height: 36px;
  position: absolute;
  aspect-ratio: 1;
  object-fit: cover;
}

.korean .group-3 {
  position: absolute;
  top: 5113px;
  left: calc(50.00% - 257px);
  width: 521px;
  height: 95px;
}

.korean .rectangle-6 {
  position: absolute;
  top: 0;
  left: calc(50.00% - 261px);
  width: 513px;
  height: 95px;
}

.korean .text-wrapper-3 {
  position: absolute;
  top: 10px;
  left: calc(50.00% - 61px);
  width: 114px;
  font-family: "Vividly-Regular", Helvetica;
  font-weight: 400;
  color: #ffa1d5;
  font-size: 19px;
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
}

.korean .a-soft-place-to-glow {
  position: absolute;
  top: 32px;
  left: calc(50.00% - 95px);
  width: 182px;
  font-family: "Vividly-Regular", Helvetica;
  font-weight: 400;
  color: #ffa1d5;
  font-size: 11px;
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.korean .about-contact {
  position: absolute;
  top: 49px;
  left: calc(50.00% - 198px);
  width: 389px;
  font-family: "Vividly-Regular", Helvetica;
  font-weight: 400;
  color: #ffa1d5;
  font-size: 17px;
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.korean .element-rabbitelle-all {
  position: absolute;
  top: 70px;
  left: calc(50.00% - 122px);
  width: 236px;
  font-family: "Black Future-Regular", Helvetica;
  font-weight: 400;
  color: #ffa1d5;
  font-size: 11px;
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.korean .text-wrapper-4 {
  font-family: "Black Future-Regular", Helvetica;
  font-weight: 400;
  color: #ffa1d5;
  font-size: 11px;
  letter-spacing: 0;
}

.korean .text-wrapper-5 {
  font-family: "Vividly-Regular", Helvetica;
}

.korean .softdecor {
  top: 4981px;
  position: absolute;
  left: calc(50.00% - 252px);
  width: 504px;
  height: 92px;
  aspect-ratio: 5.46;
  object-fit: cover;
}

.korean .softdecor-2 {
  top: 110px;
  position: absolute;
  left: calc(50.00% - 252px);
  width: 504px;
  height: 92px;
  aspect-ratio: 5.46;
  object-fit: cover;
}

.about-contact a {
    color: #ffa7d4; /* This matches your pink theme */
    text-decoration: none; /* This removes the underline */
}

.about-contact a:hover {
    opacity: 0.7; /* This adds a cute "hover" effect */
}


#koreanPopup {
    display: none;
    position: absolute;
    z-index: 9999;

    background: white;
    border-radius: 18px;
    padding: 15px;

    width: 220px;

    box-shadow: 0 8px 25px rgba(0,0,0,.15);

    color: #ff8bc5;
    font-family: "Vividly-Regular";

    border: 2px solid #ffd0e8;
}

#popupWord {
    font-family: "Single Day";
    font-size: 26px;
    margin-bottom: 8px;
}

#popupRomanization {
    margin-bottom: 6px;
}

#popupMeaning {
    margin-bottom: 12px;
}

#speakBtn {
    border: none;
    background: #ffa7d4;
    color: white;

    padding: 8px 12px;

    border-radius: 10px;
    cursor: pointer;
}