@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Montserrat:wght@400;700&family=Alex+Brush&display=swap");
:root {
  --c-gold: #b5986d;
  --c-dark-text: #5f5f5f;
  --c-light-text: #888;
  --font-script: "AmsterdamSignature", cursive;
  --font-body: "Gotham Light", sans-serif;
}

/* MAIN CARD CONTAINER */
.idc-card {
  font-family: var(--font-body);
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 2rem auto;
  background-image: url("../assets/image.png");
  color: var(--c-dark-text);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
  border-radius: 10px;
  overflow: hidden;
}

/* CONTENT WRAPPER */
.idc-content-wrapper {
  position: relative;
  z-index: 10;
  text-align: center;
  width: 100%;
  padding: 110px 30px 120px 30px;
}

.idc-garlands-container {
  position: absolute;
  top: -21%;
  left: 0;
  width: 100%;
  display: flex;
  padding-top: 20px;
  z-index: 20;
  pointer-events: none;
}

.idc-garlands-container img {
  flex-grow: 1;
  min-width: 0;
  height: auto;
  max-width: 100%;
}

/* Gifts */
.idc-gifts-container {
  position: absolute;
  bottom: -15%;
  transform: rotate(180deg);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  z-index: 25;
  pointer-events: none;
}

.idc-gift {
  position: relative;
  width: 90%;
  margin: 0 -15px;
}

.idc-gift.mirrored {
  transform: scaleX(-1);
}

.idc-brand-logo {
  height: 35px;
  width: 35px;
  margin-bottom: 12px;
}

.idc-invite-text {
  letter-spacing: 1px;
  font-size: 0.9rem;
  font-weight: 500;
  margin: 0 0 1.5rem 0;
  color: var(--c-light-text);
}

.idc-small-title {
  font-family: var(--font-script);
  font-size: 2.5rem;
  color: var(--c-gold);
  margin: 0 0 1.3rem 0; /* Negative margin to pull main title closer */
  line-height: 1;
}

.idc-main-title {
  font-family: "AmsterdamSignature", cursive;
  font-size: 7rem;
  color: var(--c-gold);
  line-height: 0.7; /* Tightens the line height for the effect */
  margin: 0;
  margin-top: 1rem;
}

.idc-main-title span {
  display: inline-block; /* Allows transform to work */
}

.idc-main-title span:first-child {
  transform: translateY(-15px); /* Moves "Sarah" up */
}

.idc-main-title span:last-child {
  transform: translateY(15px); /* Moves "Smith" down */
}

/* QR CODE and FOOTER */
.idc-qr-container {
  width: 120px;
  /* MODIFIED: Increased top margin for a considerable gap */
  margin: 45px auto 12px auto;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 15;
}

.idc-qr-container .idc-qrcode-box {
  width: 100%;
  aspect-ratio: 1/1;
  background: white;
  padding: 0;
  border-radius: 12px;
  display: grid;
  place-content: center;
  border: 1px solid #eee;
}

.idc-qr-container .idc-qrcode-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.idc-qr-container .idc-qr-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 25%;
  aspect-ratio: 1/1;
  background: white;
  border-radius: 10px;
}

.idc-footer,
.idc-footer-cc {
  font-size: 14px;
  color: var(--c-dark-text);
  max-width: 280px;
  text-align: center;
  margin: 0 auto;
  font-family: var(--font-body);
  position: relative;
  z-index: 15;
}

.idc-footer {
  margin-top: 8px;
  margin-bottom: 0;
}

.idc-footer-cc {
  margin-top: 24px;
  color: #666;
}

.idc-footer-cc span {
  font-weight: 600;
  color: #3e3e3e;
}

/* RESPONSIVE ADJUSTMENTS */
@media (max-width: 480px) {
  .idc-card {
    max-width: 90%;
    margin: 20px auto;
    border-radius: 15px;
  }
  .idc-content-wrapper {
    padding: 80px 15px 120px 15px;
  }
  .idc-main-title {
    font-size: 5rem;
  }
  .idc-small-title {
    font-size: 2.2rem;
  }
  .idc-balloons-left,
  .idc-balloons-right {
    width: 90px;
  }
  .idc-balloons-left {
    left: 0px;
  }
  .idc-balloons-right {
    right: 0px;
  }
  .idc-balloon {
    width: 50px;
  }
  .idc-balloons-left .b2,
  .idc-balloons-right .b2 {
    top: 50px;
  }
  .idc-balloons-left .b3,
  .idc-balloons-right .b3 {
    top: 100px;
  }
  .idc-gift {
    height: 60px;
    bottom: -20px;
    margin: 0 -10px;
  }
  .idc-gift:nth-child(2) {
    height: 80px;
    bottom: -30px;
  }
  .idc-gift:nth-child(4) {
    height: 85px;
    bottom: -35px;
  }
}
@media (max-width: 380px) {
  .idc-main-title {
    font-size: 5rem;
  }
  .idc-small-title {
    font-size: 1.8rem;
  }
  .idc-main-title span:first-child {
    transform: translateY(-10px);
  }
  .idc-main-title span:last-child {
    transform: translateY(10px);
  }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

#mainCanvas {
  position: relative;
  background-image: url("../assets/image.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  overflow: hidden;
}

.ict-corner-image {
  position: absolute;
  width: 40%;
  z-index: 1;
}

.top-flowers {
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
}

.bottom-flowers {
  bottom: -10%;
  left: 50%;
  transform: translateX(-50%);
}

.ict-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
  padding: 20px;
  text-align: center;
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
  font-family: "Gotham Light";
  margin-bottom: 11rem;
  margin-top: 13rem;
}
.ict-content-names {
  font-family: "Gistesy", cursive;
  font-size: 4.5rem;
  margin-top: 2rem;
  margin-bottom: 3rem;
  color: #572b01;
}

.ict-p,
p {
  margin-bottom: 0 !important;
  font-size: 1rem;
  color: #572b01;
}

h1.word,
.ict-year {
  font-size: 1.2rem;
  margin: 10px 0;
  font-weight: normal;
  color: #572b01;
}

.ict-year {
  margin-top: 0;
}

.ict-date-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2rem auto;
  width: 100%;
  max-width: 400px;
  color: #572b01;
}
.ict-date-container div {
  flex: 1;
  text-align: center;
  white-space: nowrap;
}

.ict-day,
.ict-time {
  padding: 2px 0;
  font-size: 2.2rem;
}

.ict-date {
  font-size: 3.5rem;
  border: 1px solid #572b01;
  border-bottom: none;
  border-top: none;
}

.ict-buttons {
  display: flex;
  flex-direction: row;
  gap: 15px;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
  width: 100%;
}

.ict-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #572b01;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Gotham Light", sans-serif;
  font-size: 1rem;
  text-decoration: none;
  min-width: 180px;
  box-shadow: 0 2px 8px rgba(87, 43, 1, 0.2);
}
.ict-btn i {
  font-size: 1.1rem;
}
.ict-btn:hover {
  background-color: #6b3401;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(87, 43, 1, 0.3);
}
.ict-btn:active {
  transform: translateY(0);
}

.ict-location {
  margin: 2.5rem 0 0 0;
  margin-bottom: 4rem;
}
.ict-location .ict-location-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 0.5rem;
}
.ict-location .ict-location-icon i {
  font-size: 1.5rem;
  color: #572b01;
}

@media (max-width: 1024px) {
  .ict-corner-image {
    width: 60%;
  }
  .ict-content {
    padding: 60px 15px;
  }
  .ict-content-names {
    font-size: 7rem;
    margin: 4rem 0;
    margin-bottom: 3rem;
  }
  .ict-p,
  p {
    font-size: 1.3rem;
  }
  .ict-date {
    font-size: 3.2rem;
  }
  .ict-day,
  .ict-time {
    font-size: 2.1rem;
  }
  .ict-buttons {
    margin-top: 1rem;
  }
  .ict-btn {
    padding: 14px 35px;
    font-size: 1.1rem;
    min-width: 200px;
  }
}
@media (max-width: 820px) {
  .ict-corner-image {
    width: 60%;
  }
  .ict-content {
    padding: 50px 15px;
    width: 95%;
  }
  .ict-content-names {
    font-size: 3.5rem;
    margin: 3.5rem 0;
    margin-bottom: 2.5rem;
  }
  .ict-buttons {
    margin-top: 1rem;
  }
  .ict-btn {
    padding: 12px 28px;
    font-size: 1rem;
    min-width: 180px;
  }
}
@media (max-width: 576px) {
  .ict-corner-image {
    width: 80%;
  }
  .ict-content {
    padding: 40px 10px;
    width: 100%;
  }
  .ict-content-names {
    font-size: 3rem;
    margin: 3rem 0;
    margin-bottom: 2rem;
  }
  .ict-p,
  p {
    font-size: 0.95rem;
  }
  h1.word,
  .ict-year {
    font-size: 1.1rem;
    letter-spacing: 2px;
  }
  .ict-date {
    font-size: 3rem;
  }
  .ict-day,
  .ict-time {
    font-size: 1rem;
  }
  .ict-buttons {
    flex-direction: column;
    gap: 10px;
    margin-top: 1rem;
  }
  .ict-btn {
    min-width: 200px;
  }
}
@media (max-width: 480px) {
  .ict-corner-image {
    width: 100%;
  }
  .ict-content {
    padding: 30px 8px;
  }
  .ict-content-names {
    font-size: 2.6rem;
    margin: 2.5rem 0;
    margin-bottom: 1.8rem;
  }
  .ict-date {
    font-size: 2.8rem;
  }
  .ict-day,
  .ict-time {
    font-size: 0.95rem;
    padding: 6px 0;
  }
  .ict-location {
    margin: 2rem 0 3rem 0;
  }
  .ict-buttons {
    margin-top: 1rem;
    gap: 10px;
  }
  .ict-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
    min-width: 150px;
  }
}
/* Hide scrollbar for Chrome, Safari and Opera */
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
body,
html {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

/*# sourceMappingURL=theme.css.map */
