:root {
  --m5-do: var(--thiep-nhan, #8e2019);
  --m5-do-dam: var(--thiep-nhan-dam, #6d1410);
  --m5-kem: var(--thiep-nen, #f7efe1);
  --m5-kem-dam: var(--thiep-nen-dam, #efe2cd);
  --m5-vang: #c9a227;
  --m5-vang-nhat: #d9b45c;
  --m5-muc: var(--thiep-chu, #3b2b22);
  --m5-xam: var(--thiep-phu, #7a6a5e);
  --m5-chu: var(--thiep-than, "Noto Serif", Georgia, serif);
  --m5-hy: "Noto Serif TC", "Microsoft YaHei", "PingFang SC", "Songti SC", "Noto Sans CJK SC", serif;
  --m5-may: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='44' viewBox='0 0 160 44'%3E%3Cg fill='none' stroke='%23d9b45c' stroke-width='1.5' stroke-linecap='round' opacity='0.55'%3E%3Cpath d='M6 30c0-5 4-8 8-6 1-5 8-6 10-2 4-2 7 1 6 6'/%3E%3Cpath d='M14 34c3 0 6-2 7-5'/%3E%3Cpath d='M46 26c0-5 5-8 9-5 2-4 8-4 9 1 4-1 6 2 5 6'/%3E%3Cpath d='M56 31c3 0 5-2 6-4'/%3E%3Cpath d='M92 30c0-5 4-8 8-6 1-5 8-6 10-2 4-2 7 1 6 6'/%3E%3Cpath d='M100 34c3 0 6-2 7-5'/%3E%3Cpath d='M130 26c0-5 5-8 9-5 2-4 8-4 9 1 4-1 6 2 5 6'/%3E%3C/g%3E%3C/svg%3E");
  --m5-van: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='200' viewBox='0 0 240 200'%3E%3Cg fill='none' stroke='%23b8894a' stroke-width='1.4' stroke-linecap='round' opacity='0.16'%3E%3Cpath d='M20 54c0-9 8-14 14-10 2-9 14-11 18-3 7-3 12 2 10 10'/%3E%3Cpath d='M34 60c5 0 10-4 12-9'/%3E%3Cpath d='M150 30c0-9 9-14 16-9 3-7 13-7 15 2 7-2 11 3 9 10'/%3E%3Cpath d='M166 38c5 0 9-3 11-7'/%3E%3Cpath d='M70 150c0-9 8-14 14-10 2-9 14-11 18-3 7-3 12 2 10 10'/%3E%3Cpath d='M84 156c5 0 10-4 12-9'/%3E%3Cpath d='M188 140c0-9 9-14 16-9 3-7 13-7 15 2 7-2 11 3 9 10'/%3E%3C/g%3E%3C/svg%3E");
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html,
body {
  margin: 0;
  background: #e4d9c6;
  color: var(--m5-muc);
  font-family: var(--m5-chu);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

.m5 {
  position: relative;
  max-width: 470px;
  margin: 0 auto;
  min-height: 100svh;
  background: var(--m5-kem) var(--m5-van);
  overflow: hidden;
  box-shadow: 0 0 40px rgba(59, 43, 34, 0.18);
}

/* ---------- chữ song hỷ ---------- */

.m5-hy {
  font-family: var(--m5-hy);
  color: var(--m5-do);
  line-height: 1;
}

.m5-hy--lon {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  margin: 0 auto 18px;
  border: 2px solid var(--m5-vang);
  outline: 1px solid var(--m5-vang);
  outline-offset: 3px;
  font-size: 2.875rem;
  background: #fff;
}

.m5-hy--giua {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  border: 2px solid var(--m5-vang);
  font-size: 2.125rem;
  background: var(--m5-kem);
}

.m5-hy--cuoi {
  display: block;
  margin: 22px 0 10px;
  font-size: 2.5rem;
  color: var(--m5-vang-nhat);
}

/* ---------- chung ---------- */

.m5-main section {
  position: relative;
  padding: 40px 24px 44px;
}

.m5-bang {
  margin: 0;
  padding: 13px 18px;
  background: var(--m5-do) var(--m5-may) center/auto 100% repeat-x;
  color: #fff;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(217, 180, 92, 0.45);
}

.m5-bang--trong {
  margin: 0 -24px 26px;
}

.m5-tua {
  margin: 0 0 16px;
  font-size: 1.04rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--m5-do);
  text-align: center;
}

.m5-nut {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 18px auto 0;
  padding: 12px 30px;
  border: 1px solid var(--m5-do);
  background: none;
  color: var(--m5-do);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-decoration: none;
  cursor: pointer;
}

.m5-nut--dac {
  width: 100%;
  background: var(--m5-do);
  border-color: var(--m5-do);
  color: #fff;
}

/* ---------- cổng ---------- */

.m5-gate {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--m5-kem) var(--m5-van);
  transition: opacity 0.6s ease;
}

.m5-gate--gone {
  opacity: 0;
  pointer-events: none;
}

.m5-gate__tren,
.m5-gate__duoi {
  position: absolute;
  left: 0;
  right: 0;
  height: 50.5%;
  background: var(--m5-do) var(--m5-may) center/auto 44px repeat;
  transition: transform 1s cubic-bezier(0.65, 0, 0.2, 1);
}

.m5-gate__tren {
  top: 0;
  border-bottom: 2px solid var(--m5-vang);
}

.m5-gate__duoi {
  bottom: 0;
  border-top: 2px solid var(--m5-vang);
}

.m5-gate--mo .m5-gate__tren {
  transform: translateY(-101%);
}

.m5-gate--mo .m5-gate__duoi {
  transform: translateY(101%);
}

.m5-gate__noi {
  position: relative;
  z-index: 3;
  width: min(84%, 330px);
  padding: 34px 24px 30px;
  border: 1px solid var(--m5-vang);
  outline: 4px double var(--m5-vang-nhat);
  outline-offset: 5px;
  background: var(--m5-kem);
  text-align: center;
  transition: opacity 0.5s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.m5-gate--mo .m5-gate__noi {
  opacity: 0;
  transform: scale(1.06);
}

.m5-gate__nhan {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--m5-xam);
}

.m5-gate__ten {
  margin: 16px 0 0;
  font-size: 1.62rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--m5-do);
}

.m5-gate__ten i {
  display: block;
  margin: 2px 0;
  font-style: normal;
  font-size: 1.1rem;
  color: var(--m5-vang);
}

.m5-gate__ngay {
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(201, 162, 39, 0.5);
  font-size: 0.84rem;
  letter-spacing: 0.2em;
  color: var(--m5-muc);
}

.m5-gate__nut {
  margin-top: 20px;
  padding: 11px 28px;
  border: 1px solid var(--m5-do);
  background: var(--m5-do);
  color: #fff;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  cursor: pointer;
}

/* ---------- tên khách ---------- */

.m5-moi {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 16px 0 0;
  text-align: center;
}

.m5-moi__loi {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--m5-xam);
}

.m5-moi__ten {
  font-size: 1.16rem;
  font-weight: 700;
  color: var(--m5-do);
}

/* ---------- đôi ảnh tròn ---------- */

.m5-doi {
  padding: 34px 20px 38px !important;
}

.m5-doi__bang {
  position: absolute;
  left: 0;
  right: 0;
  top: 84px;
  height: 84px;
  background: var(--m5-do) var(--m5-may) center/auto 44px repeat;
  opacity: 0.94;
}

.m5-doi__hang {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
}

.m5-doi__ben {
  flex: 1;
  text-align: center;
}

.m5-doi__khung {
  display: block;
  width: 126px;
  height: 126px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--m5-kem);
  box-shadow: 0 0 0 1px var(--m5-vang);
  background: var(--m5-kem-dam);
}

.m5-doi__khung img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.m5-hy--giua {
  margin-top: 32px;
}

.m5-doi__vai {
  margin: 14px 0 0;
  font-size: 0.8rem;
  color: var(--m5-xam);
}

.m5-doi__ten {
  margin: 4px 0 0;
  font-size: 1.32rem;
  font-weight: 700;
  color: var(--m5-do);
}

/* ---------- hai họ ---------- */

.m5-ho {
  display: flex;
  gap: 14px;
  background: rgba(255, 255, 255, 0.4);
}

.m5-ho__cot {
  flex: 1;
  text-align: center;
}

.m5-ho__vach {
  width: 1px;
  background: rgba(201, 162, 39, 0.5);
}

.m5-ho__nhan {
  margin: 0 0 10px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--m5-vang);
}

.m5-ho__ong {
  margin: 0;
  font-size: 0.86rem;
  color: var(--m5-xam);
}

.m5-ho__cha {
  margin: 4px 0 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--m5-do);
}

.m5-ho__que {
  margin: 8px 0 0;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--m5-muc);
}

.m5-ho__con {
  margin: 10px 0 0;
  padding-top: 10px;
  border-top: 1px solid rgba(201, 162, 39, 0.4);
  font-size: 0.82rem;
  color: var(--m5-xam);
}

.m5-ho__con span {
  display: block;
  margin-top: 2px;
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--m5-muc);
}

/* ---------- lời mời ---------- */

.m5-moi-khoi {
  text-align: center;
}

.m5-moi-khoi__chu {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.9;
  color: var(--m5-muc);
}

.m5-moi-khoi__nhan {
  margin: 22px 0 0;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--m5-do);
}

/* ---------- ngày giờ ---------- */

.m5-ngay {
  background: rgba(255, 255, 255, 0.4);
  text-align: center;
}

.m5-ngay__hang {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.m5-ngay__ben {
  flex: 1;
  font-size: 0.9rem;
  color: var(--m5-muc);
}

.m5-ngay__ben:first-child {
  text-align: right;
}

.m5-ngay__ben:last-child {
  text-align: left;
}

.m5-ngay__so {
  padding: 0 4px;
  border-top: 2px solid var(--m5-vang);
  border-bottom: 2px solid var(--m5-vang);
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--m5-do);
}

.m5-ngay__nam {
  margin: 12px 0 0;
  font-size: 0.94rem;
  letter-spacing: 0.24em;
  color: var(--m5-muc);
}

.m5-ngay__am {
  margin: 8px 0 0;
  font-size: 0.82rem;
  font-style: italic;
  color: var(--m5-xam);
}

.m5-ngay__gio {
  margin: 14px 0 0;
  font-size: 0.88rem;
  color: var(--m5-muc);
}

.m5-dem {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 22px;
}

.m5-dem div {
  padding: 12px 4px;
  border: 1px solid rgba(201, 162, 39, 0.55);
  background: var(--m5-kem);
}

.m5-dem b {
  display: block;
  font-size: 1.44rem;
  font-weight: 700;
  line-height: 1;
  color: var(--m5-do);
}

.m5-dem span {
  display: block;
  margin-top: 5px;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--m5-xam);
}

/* ---------- địa điểm ---------- */

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

.m5-noi__ten {
  margin: 0;
  font-size: 1.24rem;
  font-weight: 700;
  color: var(--m5-do);
}

.m5-noi__dia-chi {
  margin: 8px auto 0;
  max-width: 30ch;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--m5-muc);
}

.m5-map {
  margin-top: 18px;
  border: 1px solid var(--m5-vang);
  padding: 5px;
  background: #fff;
}

.m5-map iframe {
  display: block;
  width: 100%;
  height: 230px;
  border: 0;
}

/* ---------- lịch trình ---------- */

.m5-lich__list {
  display: grid;
}

.m5-lich__item {
  display: grid;
  grid-template-columns: 22px 78px 1fr;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px dashed rgba(201, 162, 39, 0.6);
}

.m5-lich__item:last-child {
  border-bottom: 0;
}

.m5-lich__cham {
  width: 10px;
  height: 10px;
  margin: 0 auto;
  transform: rotate(45deg);
  background: var(--m5-do);
}

.m5-lich__gio {
  font-size: 1rem;
  font-weight: 700;
  color: var(--m5-do);
}

.m5-lich__ten {
  font-size: 0.92rem;
  color: var(--m5-muc);
}

/* ---------- album ---------- */

.m5-album__luoi {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.m5-album__luoi button {
  padding: 5px;
  border: 1px solid rgba(201, 162, 39, 0.65);
  background: #fff;
  cursor: pointer;
}

.m5-album__luoi img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: opacity 0.35s ease;
}

.m5-album__luoi button:hover img {
  opacity: 0.86;
}

.m5-o--rong {
  grid-column: span 2;
}

.m5-o--rong img {
  aspect-ratio: 3 / 2;
}

/* ---------- chuyện của chúng mình ---------- */

.m5-story {
  background: rgba(255, 255, 255, 0.4);
}

.m5-story__lead {
  margin: 0 auto 24px;
  max-width: 30ch;
  text-align: center;
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--m5-xam);
}

.m5-story__list {
  display: grid;
  gap: 26px;
}

.m5-story__item {
  position: relative;
  padding-left: 26px;
  border-left: 1px solid rgba(201, 162, 39, 0.6);
}

.m5-story__item::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 6px;
  width: 11px;
  height: 11px;
  transform: rotate(45deg);
  background: var(--m5-do);
}

.m5-story__moc {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--m5-vang);
}

.m5-story__td {
  margin: 4px 0 0;
  font-size: 1.14rem;
  font-weight: 700;
  color: var(--m5-do);
}

.m5-story__anh {
  margin-top: 10px;
  padding: 5px;
  border: 1px solid rgba(201, 162, 39, 0.65);
  background: #fff;
}

.m5-story__anh img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.m5-story__text {
  margin: 8px 0 0;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--m5-muc);
}

/* ---------- lịch tháng ---------- */

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

.m5-lich-bang {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.m5-lich-bang th {
  padding: 8px 0;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--m5-vang);
}

.m5-lich-bang td {
  padding: 9px 0;
  color: var(--m5-muc);
}

.m5-hom-nay span {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--m5-do);
  color: #fff;
  font-weight: 700;
}

/* ---------- form ---------- */

.m5-rsvp__chu {
  margin: 0 auto 18px;
  max-width: 32ch;
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--m5-xam);
}

.m5-form {
  display: grid;
  gap: 11px;
}

.m5-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(201, 162, 39, 0.65);
  background: #fff;
  color: var(--m5-muc);
  font: inherit;
  font-size: 0.92rem;
}

.m5-input:focus {
  outline: 0;
  border-color: var(--m5-do);
}

.m5-input--area {
  resize: vertical;
}

.m5-chon {
  display: grid;
  gap: 8px;
  font-size: 0.88rem;
}

.m5-chon label {
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
}

.m5-form__status {
  margin: 0;
  min-height: 18px;
  font-size: 0.82rem;
  color: var(--m5-do);
}

.m5-wish__list {
  display: grid;
  gap: 11px;
  margin-top: 22px;
}

.m5-wish__the {
  padding: 15px 17px;
  border: 1px solid rgba(201, 162, 39, 0.5);
  background: #fff;
}

.m5-wish__ten {
  margin: 0;
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--m5-do);
}

.m5-wish__chu {
  margin: 6px 0 0;
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--m5-muc);
}

/* ---------- quà mừng ---------- */

.m5-qua__list {
  display: grid;
  gap: 14px;
}

.m5-qua__the {
  padding: 22px 18px;
  border: 1px solid rgba(201, 162, 39, 0.65);
  background: #fff;
  text-align: center;
}

.m5-qua__ben {
  margin: 0 0 14px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--m5-vang);
}

.m5-qua__ma {
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.m5-qua__ma canvas,
.m5-qua__ma img {
  width: 152px;
  height: 152px;
  padding: 7px;
  border: 1px solid rgba(201, 162, 39, 0.5);
  background: #fff;
}

.m5-qua__ngan-hang {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--m5-xam);
}

.m5-qua__stk {
  margin: 6px 0 0;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--m5-do);
}

.m5-qua__chu-tk {
  margin: 4px 0 0;
  font-size: 0.84rem;
  color: var(--m5-muc);
}

.m5-qua__luu {
  margin-top: 14px;
  padding: 10px 22px;
  border: 1px solid var(--m5-do);
  background: none;
  color: var(--m5-do);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  cursor: pointer;
}

/* ---------- chân thiệp ---------- */

.m5-cuoi {
  position: relative;
  padding: 44px 24px 52px;
  background: var(--m5-do) var(--m5-may) center/auto 44px repeat;
  color: #fff;
  text-align: center;
}

.m5-cuoi__khung {
  width: 140px;
  height: 140px;
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 1px var(--m5-vang-nhat);
}

.m5-cuoi__ten {
  margin: 0;
  font-size: 1.36rem;
  font-weight: 700;
}

.m5-cuoi__ngay {
  margin: 8px 0 0;
  font-size: 0.86rem;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.86);
}

.m5-cuoi__nhan {
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(217, 180, 92, 0.6);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--m5-vang-nhat);
}

/* ---------- nút nhạc ---------- */

.m5-nhac {
  position: fixed;
  right: calc(50% - 235px + 16px);
  bottom: 18px;
  z-index: 40;
  width: 44px;
  height: 44px;
  border: 1px solid var(--m5-vang);
  border-radius: 50%;
  background: var(--m5-do);
  cursor: pointer;
}

@media (max-width: 500px) {
  .m5-nhac {
    right: 16px;
  }
}

.m5-nhac svg {
  width: 22px;
  height: 22px;
  margin: 0 auto;
  fill: #fff;
}

.m5-nhac[aria-pressed="true"] svg rect {
  animation: m5-song 1s ease-in-out infinite alternate;
}

.m5-nhac svg rect:nth-child(2) {
  animation-delay: 0.18s;
}

.m5-nhac svg rect:nth-child(3) {
  animation-delay: 0.36s;
}

.m5-nhac svg rect:nth-child(4) {
  animation-delay: 0.54s;
}

@keyframes m5-song {
  from {
    transform: scaleY(0.6);
    transform-origin: 50% 85%;
  }
  to {
    transform: scaleY(1.25);
    transform-origin: 50% 85%;
  }
}

/* ---------- xem ảnh ---------- */

.m5-xem {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(40, 24, 20, 0.94);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.m5-xem--mo {
  opacity: 1;
}

.m5-xem img {
  max-width: 100%;
  max-height: 86svh;
  padding: 6px;
  background: var(--m5-kem);
  transform: scale(0.95);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
}

.m5-xem--mo img {
  transform: none;
  opacity: 1;
}

.m5-xem__dong,
.m5-xem__di {
  position: absolute;
  border: 0;
  background: none;
  color: var(--m5-vang-nhat);
  line-height: 1;
  cursor: pointer;
}

.m5-xem__dong {
  top: 16px;
  right: 18px;
  font-size: 1.875rem;
}

.m5-xem__di {
  top: 50%;
  margin-top: -20px;
  font-size: 2.125rem;
}

.m5-xem__di--truoc {
  left: 14px;
}

.m5-xem__di--sau {
  right: 14px;
}

.m5-xem__dem {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  margin: 0;
  text-align: center;
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.6);
}

@media (prefers-reduced-motion: reduce) {
  .m5-gate__tren,
  .m5-gate__duoi,
  .m5-gate__noi,
  .m5-nhac svg rect,
  .m5-xem img {
    animation: none;
    transition: none;
  }
}

/* Nut va o nhap khong tu thua ke font, khong dat lai thi trinh duyet rot ve Arial */
button,
input,
select,
textarea {
  font-family: inherit;
}
