@font-face {
  font-family: "UTMWeddingKT";
  src: url("./font/UTMWeddingKT.woff2") format("woff2"),
    url("./font/UTMWeddingKT.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

:root {
  /* --main-color: #ff8a8a; */
  --main-color: #fff;
  --main-bg-color: #000;
  --font-size: 16px;
  --line-height: 1.5;
}

html {
  scroll-behavior: smooth;
}

body {
  padding: 0;
  height: 100%;
  color: var(--main-color);
  background-color: var(--main-bg-color);
  /* font-family: "Roboto Condensed", sans-serif; */

  font-family: "Alex Brush";
  font-weight: 400;
  font-size: var(--font-size);
  line-height: var(--line-height);
  margin: 0 auto;
  position: relative;
  width: 1920px;
  height: 1080px;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a {
  font-family: "Roboto Condensed", sans-serif;
  margin: 0 auto;
  color: var(--main-color);
}

h1,
h2,
h3 {
  font-weight: 500;
}

h4,
h5,
h6,
p,
a {
  font-weight: 400;
}

::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  background-color: #f5f5f5;
}

::-webkit-scrollbar {
  width: 6px;
  background-color: #f5f5f5;
}

::-webkit-scrollbar-thumb {
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: #555;
}

body h2 {
  font-family: "UTMWeddingKT", cursive;
  font-size: 44px;
  line-height: 50px;
  text-align: center;
}

section {
  max-width: 100%;
  height: 100%;
  overflow: hidden;
}

/* AOS */
.aos-item {
  width: 100%;
  height: auto;
  background: transparent;
  padding: 0;
}

.aos-item__inner {
  height: auto;
  background: transparent;
  color: #000;
  line-height: inherit;
}

#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  /* background-color: #b61924; */
  background-color: transparent;
  background-image: url("");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
}

#center {
  margin-top: 0;
  margin-bottom: 10px !important;
  position: relative;
}

#title {
  text-align: center;
  margin: 20px 0;
  font-size: 25px;
  padding-top: 60px;
}

body .name-wedding {
  font-family: "UTMWeddingKT", cursive;
  font-size: 50px;
  margin: 0;

  display: inline-block;
  padding: 10px 15px;
  background-color: #000;
}

body h3 {
  display: inline-block;
  padding: 10px 15px;
  background-color: #000;
}



#slider {
  position: relative;
}

#slider .slider-swiper {
  width: 80%;
  margin: 0 auto;
}

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #444;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#frame-wedding {
  text-align: center;
  padding: 0 7%;

  background-image: url(./image/template-invitation.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top left;
  height: 710px;
}

#frame-wedding .img-wedding .img-wedding-wrapper {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
}

#frame-wedding .img-wedding {
  padding-top: 60px;
}

#frame-wedding .name-wedding {
  font-size: 32px;
  font-weight: 600;
  color: #593828;
}

#frame-wedding .name-wedding .name-wedding-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

#frame-wedding .name-wedding .name-wedding-wrapper .name-cr,
#frame-wedding .name-wedding .name-wedding-wrapper .name-cd {
  width: 160px;
}

#frame-wedding .name-wedding .name-wedding-wrapper .name-cr .aos-item__inner,
#frame-wedding .name-wedding .name-wedding-wrapper .name-cd .aos-item__inner {
  color: #593828;
}

#frame-wedding .time-invi-wrapper {
  font-weight: 600;
  font-size: 21px;
  margin-top: 10px;
}

#frame-wedding .date-invi .date-info {
  font-weight: 600;
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

#frame-wedding .date-invi .date-info span {
  padding: 0 5px;
  font-size: 40px;
  border-left: 2px solid #000;
  border-right: 2px solid #000;
  line-height: 45px;
  color: #593828;
}

#frame-wedding .save-text {
  padding-top: 10px;
}

#frame-wedding .tran-trong-wrapper {
  font-size: 20px;
}

#frame-wedding .passenger-wrapper {
  padding: 10px 0;
  font-size: 26px;
  color: red;
  font-weight: 600;
  font-family: "Playball", cursive;
}

.passenger-wrapper .name-pass {
  display: flex;
  justify-content: center;
  text-align: center;
  align-items: center;
  font-size: 32px;

  font-family: "Pinyon Script", cursive;
  font-weight: 400;
  font-style: normal;
}

.passenger-wrapper .name-pass img {
  width: 30px;
  margin-left: 7px;
}

#frame-wedding .du-tiec-wrapper {
  font-size: 17px;
}

#frame-wedding .addr-invi-wrapper {
  line-height: 31px;
  font-size: 21px;
  margin-top: 8px;
}

#frame-wedding .addr-invi-wrapper b {
  font-size: 25px;
  line-height: 42px;
  color: #a25b39;
  text-shadow: -1px -1px 0 #4c4c4c, 1px -1px 0 #4c4c4c, -1px 1px 0 #4c4c4c,
    1px 1px 0 #4c4c4c;
}

.savedate-date-wrapper p {
  text-align: center;
  font-size: 40px;
  font-weight: 400;
  margin: 10px 0;
  font-family: "Merienda", cursive;
}

.savedate-img-wrapper {
  text-align: center;
}

.savedate-img-wrapper img {
  width: 90%;
}

.savedate-invitation {
  text-align: center;
}

.savedate-invitation-wrapper {
  height: 120px;
}

.savedate-invitation-wrapper h3 {
  font-family: "Alex Brush", cursive;
  font-style: normal;
  margin-top: 60px;
  margin-bottom: 10px;
  font-size: 55px;
}

#count-down-time {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin: 20px 0;
  font-family: "Jura", sans-serif;
  font-size: 18px;
  padding-bottom: 20px;

  color: #ff0000ad;
}

#count-down-time span {
  font-size: 50px;
  font-weight: 600;
}

#info-wedding {
  padding: 0 4%;
  padding-top: 40px;
  padding-bottom: 50px;

  background-image: url(./image/bg-info-wedding.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top left;
}

#info-wedding .info-wedding-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

#info-wedding .info-wedding-wrapper h3 {
  /*text-align: center;
  font-family: "Alex Brush", cursive;
  font-size: 45px;
  font-weight: 600;*/
  margin-bottom: 20px;
}

#info-wedding .img-wedding {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

#info-wedding .img-wedding button {
  padding: 8px 20px;
}

#info-wedding .name-wed {
  text-align: center;
  font-size: 32px;
  margin-bottom: 20px;
  color: #593828;
}

#info-wedding .family h5 {
  font-weight: 600;
  font-size: 18px;
}

#info-wedding .family h5 span {
  font-size: 16px;
  font-weight: normal;
}

#info-wedding .family .address,
#info-wedding .family .title {
  font-family: "Jura", sans-serif;
}

#info-wedding .family .title {
  margin-bottom: 10px;
}

#info-wedding .img-wedding .family {
  text-align: center;
}

#info-wedding .img-wrapper {
  width: 85%;
  margin: 0 auto;
  height: auto;
  overflow: hidden;
}

#info-wedding .img-wrapper img {
  max-width: 100%;
  border-radius: 8px;
}

.lunar-date {
  margin-top: 10px;
  font-size: 17px;
}

#gallery {
  margin-top: 20px;
}

#gallery .gallery-wrapper {
  margin: 0 auto;
  background-image: url(./image/bg-gallery.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: 30px;
  padding-bottom: 10px;
}

#gallery .gallery-wrapper .mcb-gallery {
  width: 84%;
  margin: 0 auto;
  text-align: center;
}

#gallery h3 {
  text-align: center;
  margin-bottom: 5px;
  font-family: "Alex Brush", cursive;
  font-size: 45px;
  font-weight: 600;
  line-height: 50px;
  color: #ff5f7a;
  background-color: #ffffff7d;
}

#gallery .loadmore {
  margin-top: 15px;
  text-align: center;
  font-size: 18px;
  padding: 6px 16px;
  background-color: #fff;
  position: relative;
  z-index: 1000;
}

#gallery .date-wedding {
  text-align: center;
  background-image: url(./image/bg-calender.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top left;
  padding-top: 30px;
}

#gallery #calendar h3 {
  color: #81203c;
  background-color: #ffffff40;
}

#calendar {
  background: #fff;
}

#gallery .date-wedding img {
  width: 50px;
  height: auto;
  margin: 0 auto;
  display: block;
  margin-bottom: 10px;
}

#gallery .ban-do {
  position: relative;
  z-index: 1000;
}

#gallery .ban-do-wrapper {
  text-align: center;
}

#gallery .ban-do-wrapper h3 {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 30px;
  color: #000;
}

#send-happy {
  width: 80%;
  margin: 0 10%;
  margin-top: 30px;
}

#send-happy .send-happy-wrapper {
  text-align: center;
}

#send-happy .qr-code {
  display: flex;
  align-items: center;
  gap: 80px;
  justify-content: center;
  margin-top: 20px;
  position: relative;
  z-index: 1000;
}
#send-happy button.open-modal:hover {
  background: #ff5252;
  color: #fff;
  border-color: #ff5252;
}

.qr-code .name-wed {
  font-size: 28px;
}

.qr-code .qr-code-cr-wrapper p.img-wed {
  width: 100px;
  height: 100px;
  overflow: hidden;
  border-radius: 50%;
  box-shadow: 2px 2px 10px 1px #8a8a8a;
  margin-bottom: 20px;
}

#gallery-wrapper {
  margin: 0 30px;
}

.date-wedding-wrapper {
  margin: 0 30px;
}

.ban-do-wrapper {
  margin: 0 10%;
  width: 80%;
  overflow: hidden;
}

#calendar {
  position: relative;
}

.calendar-wrapper {
  border: 1px dashed rgb(97, 97, 97);
}

.calendar-wrapper table {
  width: 100%;
  padding: 2px 0;
  border-collapse: collapse;
}

.calendar-wrapper table tr td {
  -webkit-border-horizontal-spacing: 0;
  -webkit-border-vertical-spacing: 0;
}

.calendar-wrapper table thead td {
  width: 50px;
}

.calendar-wrapper table tbody td {
  height: 50px;
  width: 50px;
}

.calendar-wrapper table thead tr.day-week td {
  font-size: 15px;
  font-weight: 600;
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
  padding: 2px 0;
}

.calendar-wrapper table thead td {
  font-size: 18px;
  font-weight: 600;
}

.calendar-wrapper table thead td.title-date {
  font-weight: 600;
  padding: 3px 0;
}

#calendar img.heart-date {
  position: absolute;
  transform: rotateZ(26deg);
  width: 35px;
  right: 14px;
  top: 38.7%;
  animation: heartdate 3s linear infinite;
}

@keyframes heartdate {
  0% {
    opacity: 1;
    visibility: visible;
  }

  50% {
    opacity: 0;
    visibility: hidden;
  }

  100% {
    opacity: 1;
    visibility: visible;
  }
}

#response-wedding {
  margin-top: 30px;
}

#rsvpForm {
  margin: 0 10%;
  width: 80%;
  overflow: hidden;
  position: relative;
  z-index: 1000;
}

#rsvpForm .rsvpForm-wrapper {
  background: #000;
  filter: contrast(100%) brightness(100%) saturate(100%) grayscale(0%)
    opacity(60%) invert(0%) sepia(0%) hue-rotate(0deg) blur(0px);
  border-radius: 10px;
  opacity: 0.6;
  padding: 10px;
  background-color: #ff5f7a;
}

#rsvpForm .rsvpForm-wrapper input {
  width: 100%;
  height: 30px;
  border-radius: 4px;
  margin-bottom: 10px;
  border-color: #ff5f7a;
  border-width: 1px;
}

#rsvpForm .rsvpForm-wrapper select {
  width: 100%;
  height: 35px;
  border-radius: 4px;
  margin-bottom: 10px;
  border-color: #ff5f7a;
  border-width: 1px;
}

#rsvpForm .rsvpForm-wrapper select option {
  color: #b4b4b4;
  padding-left: 5px;
}

#rsvpForm .rsvpForm-wrapper textarea {
  width: 100%;
  border-radius: 4px;
  border-color: #ff5f7a;
  border-width: 1px;
}

#rsvpForm .rsvpForm-wrapper button {
  font-size: 15px;
  padding: 5px 15px;
  margin: 10px 0;
}

#rsvpForm ::placeholder {
  color: #000;
  padding-left: 5px;
}

.date-invi-wrapper2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 20px;
  width: 100%;
}

.numbDate {
  width: 115px;
}

.numbDay {
  width: 60px;
}

.numbDay .aos-item__inner {
  padding: 0 5px;
  font-size: 40px;
  border-left: 2px solid #000;
  border-right: 2px solid #000;
  line-height: 45px;
  color: #593828;
}

.numbMon {
  width: 99px;
}

#musicControl {
  border: none;
  background: #fff;
  position: fixed;
  bottom: 20px;
  left: 25px;
  z-index: 9999;
  padding: 0;
  border-radius: 50%;
}

#musicControl .wrapper-music {
  width: 50px;
  height: 50px;
  text-align: center;
  align-content: center;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid #ebebeb;
}

#musicControl .wrapper-music img {
  width: 25px;
}

#musicControl.active .wrapper-music {
  box-shadow: 0px 0px 10px 2px #ff7474;
  animation: rotateMusic 4s linear infinite;
}

@keyframes rotateMusic {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

#musicControl.active .non-music {
  display: none;
}

#musicControl.active .music-play {
  display: block;
}

#musicControl:not(.active) .non-music {
  display: block;
}

#musicControl:not(.active) .music-play {
  display: none;
}

#Camon {
  position: relative;
  margin-top: 10px;
}

.Camon-wrapper {
  background-image: url(./image/bg-Thank2.JPG);
  height: 555px;
  background-size: cover;
  background-position: 0px -40px;
}

#Camon .overlay {
  background-color: #000;
  height: 555px;
  width: 470px;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.35;
}

#Camon .content {
  height: 555px;
  position: absolute;
  top: 0;
  left: 0;
  padding: 0 30px;
  font-size: 20px;
  z-index: 1000;
  color: #fff;
  display: flex;
  align-items: center;
  text-align: center;
}

#qrModal4 .modal-content .bia-thiep-wrapper,
#qrModal4 .modal-content .kinh-moi-wrapper {
  position: relative;
}

#qrModal4 .modal-content .bia-thiep-wrapper .name {
  font-family: "Pinyon Script", cursive;
  font-weight: 400;
  font-style: normal;

  position: absolute;
  bottom: 29px;
  left: 225px;

  display: flex;
  justify-content: flex-start;
  align-items: center;
}

#qrModal4 .modal-content .bia-thiep-wrapper .name img,
#qrModal4 .modal-content .kinh-moi-wrapper .name img {
  width: 20px;
  margin-left: 7px;
  margin-top: -6px;
}

#qrModal4 .modal-content .kinh-moi-wrapper .name {
  font-family: "Pinyon Script", cursive;
  font-weight: 400;
  font-style: normal;

  position: absolute;
  top: 174px;
  left: 120px;

  display: flex;
  justify-content: flex-start;
  align-items: center;
}

/* ---- particles.js style ---- */
canvas {
  display: block;
}

/* ---- stats.js ---- */
.count-particles {
  background: #000022;
  position: absolute;
  top: 48px;
  left: 0;
  width: 80px;
  color: #13e8e9;
  font-size: 0.8em;
  text-align: left;
  text-indent: 4px;
  line-height: 14px;
  padding-bottom: 2px;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: bold;
}
.js-count-particles {
  font-size: 1.1em;
}
.count-particles {
  border-radius: 0 0 3px 3px;
}

.modal.cr-view .bia-thiep-wrapper .name {
  font-size: 25px !important;
  color: #f0f1dd;
  font-weight: 400 !important;
  max-width: max-content;
}

.modal.cr-view .kinh-moi-wrapper .name {
  font-size: 25px !important;
  color: #9b3737;
  font-weight: 400 !important;
  max-width: max-content;
}

.modal.cd-view .bia-thiep-wrapper .name {
  font-size: 25px !important;
  color: #9b3737;
  font-weight: 400 !important;
  max-width: max-content;
}

.modal.cd-view .kinh-moi-wrapper .name {
  font-size: 25px !important;
  color: #9b3737;
  font-weight: 400 !important;
  max-width: max-content;
}

.btn-wrapper {
  display: flex;
  justify-content: center;
  gap: 12px;
  align-items: center;
}

.btn-wrapper a {
  margin: 0;
}

@media only screen and (max-width: 1024px) {
  #qrModal4 .modal-content .kinh-moi-wrapper .name {
    top: 182px;
  }
}

@media only screen and (max-width: 600px) {
  body {
    max-width: 96%;
  }
}

@media only screen and (max-width: 480px) {
  body {
    max-width: 96%;
  }

  #rsvpForm {
    margin: 0 5%;
    width: 90%;
  }

  #frame-wedding {
    height: 720px;
  }
}

@media only screen and (max-width: 425px) {
  #title h3 {
    font-size: 23px;
  }

  #calendar img.heart-date {
    width: 34px;
    right: 10px;
  }

  #info-wedding {
    padding: 0 2%;
    padding-top: 40px;
    padding-bottom: 50px;
  }

  #info-wedding .family h5 {
    font-size: 15px;
  }

  #send-happy {
    width: 88%;
    margin: 0 6%;
    margin-top: 30px;
  }

  #slider .slider-swiper {
    width: 100%;
    margin: 0 auto;
  }

  #gallery .gallery-wrapper {
    padding-top: 20px;
  }

  #gallery .gallery-wrapper .mcb-gallery {
    width: 90%;
  }

  .ban-do-wrapper {
    margin: 0 auto;
    width: 90%;
  }

  .modal-more-img .modal-content {
    width: 400px;
    max-width: 400px;
  }
}

@media only screen and (max-width: 415px) {
  #info-wedding {
    padding: 0 3%;
    height: 590px;
    padding-top: 30px;
  }

  #title h3 {
    font-size: 21px;
  }

  #qrModal4.cd-view .modal-content .bia-thiep-wrapper .name {
    bottom: 31px;
    left: 210px;
  }
  #qrModal4.cr-view .modal-content .bia-thiep-wrapper .name {
    bottom: 28px;
    left: 210px;
  }

  #qrModal4 .modal-content {
    width: 390px;
  }

  .modal.cd-view .bia-thiep-wrapper .name,
  .modal.cr-view .bia-thiep-wrapper .name {
    font-size: 20px !important;
  }

  #qrModal4.cd-view .modal-content .kinh-moi-wrapper .name {
    top: 164px;
    left: 100px;
  }
  #qrModal4.cr-view .modal-content .kinh-moi-wrapper .name {
    top: 171px;
    left: 100px;
  }

  .modal-content {
    padding: 7px;
    width: 96%;
  }

  #frame-wedding {
    height: 745px;
  }

  .Camon-wrapper {
    height: 545px;
  }

  #count-down-time {
    gap: 30px;
  }

  #calendar img.heart-date {
    right: 7px;
  }
}

@media only screen and (max-width: 380px) {
  #title h3 {
    font-size: 20px;
  }

  .name-wedding {
    font-size: 42px;
  }

  #gallery h3 {
    font-size: 40px;
  }

  #qrModal4 .modal-content {
    width: 370px;
  }

  #qrModal4.cd-view .modal-content .kinh-moi-wrapper .name {
    top: 159px;
  }
  #qrModal4.cd-view .modal-content .bia-thiep-wrapper .name {
    bottom: 29px;
    left: 205px;
  }

  #qrModal4.cr-view .modal-content .kinh-moi-wrapper .name {
    top: 161px;
  }
  #qrModal4.cr-view .modal-content .bia-thiep-wrapper .name {
    bottom: 28px;
    left: 204px;
  }

  .modal-more-img .modal-content {
    width: 370px;
    max-width: 370px;
  }

  .Camon-wrapper {
    height: 490px;
  }
  #Camon .content {
    height: 550px;
  }
}

@media only screen and (max-width: 360px) {
  #title h3 {
    font-size: 19px;
  }

  .name-wedding {
    font-size: 38px;
  }

  #qrModal4.cd-view .modal-content .bia-thiep-wrapper .name {
    left: 192px;
  }
  #qrModal4.cd-view .modal-content .kinh-moi-wrapper .name {
    top: 148px;
  }

  #qrModal4.cr-view .modal-content .bia-thiep-wrapper .name {
    left: 192px;
  }
  #qrModal4.cr-view .modal-content .kinh-moi-wrapper .name {
    top: 151px;
  }

  #qrModal4 .modal-content {
    width: 350px;
  }
  .modal-more-img .modal-content {
    width: 350px;
    max-width: 350px;
  }

  #calendar img.heart-date {
    right: 4px;
  }

  .Camon-wrapper {
    height: 465px;
  }
  #Camon .content {
    height: 520px;
  }
}

@media only screen and (max-width: 320px) {
  #title h3 {
    font-size: 17px;
  }

  .name-wedding {
    font-size: 35px;
  }

  #frame-wedding {
    height: 775px;
  }

  #qrModal4.cr-view .modal-content .bia-thiep-wrapper .name {
    left: 170px;
    bottom: 22px;
  }
  #qrModal4.cr-view .modal-content .kinh-moi-wrapper .name {
    top: 130px;
    left: 90px;
  }

  #qrModal4.cd-view .modal-content .kinh-moi-wrapper .name {
    top: 127px;
    left: 70px;
  }
  #qrModal4.cd-view .modal-content .bia-thiep-wrapper .name {
    left: 166px;
    bottom: 24px;
  }

  #gallery h3 {
    font-size: 33px;
  }

  #count-down-time {
    gap: 20px;
  }

  #send-happy .qr-code {
    gap: 30px;
  }

  .Camon-wrapper {
    height: 410px;
  }
  #Camon .overlay {
    height: 410px;
  }
  #Camon .content {
    height: 410px;
  }

  #calendar img.heart-date {
    right: 3px;
    width: 30px;
    top: 122px;
  }

  .modal-more-img .modal-content,
  #qrModal4 .modal-content {
    width: 310px;
  }

  #Camon .content {
    height: 450px;
  }
}

.logo-name {
  width: 150px;
  height: auto;
}