/* Font Imports */
@font-face {
  font-family: "ClashDisplay";
  src: url("../fonts/ClashDisplay-Variable.woff2") format("woff2");
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Ring Master";
  src: url("../fonts/Ring Master.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-clash: "ClashDisplay", sans-serif;
  --font-ring-master: "Ring Master", cursive;
  --color-primary: #b08d57 !important;
  --color-secondary: #f6f0e8;
  --color-dark: #3a3a3a;
  --color-light: #faf6f2;
  --color-black: #000000;
  --color-white: #ffffff;
}

/* Global Styles */
html,
body,
#main-container {
  height: 100vh;
  width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

body {
  font-family: var(--font-clash);
  background-color: var(--color-light);
  color: var(--color-dark);
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-image: url("../assets/images/chiv-ture.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  mix-blend-mode: multiply;
  opacity: 1;
  z-index: 800;
}

main {
  position: relative;
}

main.noextras::after,
main.noextras::before {
  background-image: unset;
}

main::before {
  content: "";
  position: absolute;
  top: -20px;
  right: -70px;
  width: 100%;
  height: 50%;
  z-index: 1;
  pointer-events: none;
  background-image: url("../assets/images/chev-top-overlay.webp");
  background-size: contain;
  background-position: top right;
  background-repeat: no-repeat;
  pointer-events: none;
  filter: saturate(0);
  -webkit-filter: saturate(0);
  animation:
    fadeIn 1s ease-in-out,
    translateLeft 1s ease-in-out;
  -webkit-animation:
    fadeIn 1s ease-in-out,
    translateLeft 1s ease-in-out;
}

main::after {
  content: "";
  position: absolute;
  bottom: -50px;
  left: -100px;
  width: 100%;
  height: 40%;
  background-image: url("../assets/images/chev-bottom-overlay.webp");
  background-size: contain;
  background-position: bottom left;
  background-repeat: no-repeat;
  pointer-events: none;
  filter: saturate(0);
  -webkit-filter: saturate(0);
  animation:
    fadeIn 1s ease-in-out,
    translateRight 1s ease-in-out;
  -webkit-animation:
    fadeIn 1s ease-in-out,
    translateRight 1s ease-in-out;
}

/* Utility Classes */

.text-primary {
  color: var(--color-primary);
}

.text-secondary {
  color: var(--color-secondary);
}

.font-primary {
  font-family: var(--font-clash);
}

.font-secondary {
  font-family: var(--font-ring-master);
}

.fw-500 {
  font-weight: 500;
}

.fw-700 {
  font-weight: 700;
}

.bg-primary {
  background-color: var(--color-primary);
}

.bg-secondary {
  background-color: var(--color-secondary);
}

.fade-in {
  animation: fadeIn 1s ease-in-out;
  -webkit-animation: fadeIn 1s ease-in-out;
}

.fade-in-delay-600 {
  animation: fadeIn 1s ease-in-out 0.6s;
  -webkit-animation: fadeIn 1s ease-in-out 0.6s;
}

.fade-in-delay-1200 {
  animation: fadeIn 1s ease-in-out 1.2s;
  -webkit-animation: fadeIn 1s ease-in-out 1.2s;
}

.fade-in-delay-2000 {
  animation: fadeIn 1s ease-in-out 2s;
  -webkit-animation: fadeIn 1s ease-in-out 2s;
}

.fade-in-delay-1800 {
  animation: fadeIn 1s ease-in-out 1.8s;
  -webkit-animation: fadeIn 1s ease-in-out 1.8s;
}

.fade-in-delay-2400 {
  animation: fadeIn 1s ease-in-out 2.4s;
  -webkit-animation: fadeIn 1s ease-in-out 2.4s;
}

.fade-in-delay-3000 {
  animation: fadeIn 1s ease-in-out 3s;
  -webkit-animation: fadeIn 1s ease-in-out 3s;
}

.fade-in-delay-2800 {
  animation: fadeIn 1s ease-in-out 2.8s;
  -webkit-animation: fadeIn 1s ease-in-out 2.8s;
}

@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@-webkit-keyframes translateLeft {
  from {
    -webkit-transform: translateX(20%);
    transform: translateX(20%);
  }
  to {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}

@keyframes translateLeft {
  from {
    -webkit-transform: translateX(20%);
    transform: translateX(20%);
  }
  to {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}

@-webkit-keyframes translateRight {
  from {
    -webkit-transform: translateX(-20%);
    transform: translateX(-20%);
  }
  to {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}

@keyframes translateRight {
  from {
    -webkit-transform: translateX(-20%);
    transform: translateX(-20%);
  }
  to {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* Page Styles */
.main-heading {
  font-size: clamp(2em, 200px, 20rem);
  font-weight: 500;
  line-height: 0.85;
}

.main-heading.sm {
  font-size: 80px;
}

#locationtext {
  margin-top: -50px;
  font-size: clamp(35px, 119px, 5vw);
  letter-spacing: 6px;
}

#rsvpForm {
  z-index: 910;
  position: relative;
}

/* #declineModal {
    z-index: 20000 !important;
} */

/* #verifyform {
  z-index: 10000;
} */

@media (max-width: 768px) {
  .main-heading {
    font-size: 85px !important;
  }

  #locationtext {
    margin-top: 10px;
    font-size: clamp(2em, 50px, 5rem);
  }

  main::before {
    /* top: -100px; */
    display: none;
  }
  main::after {
    /* height: 30%; */
    display: none;
  }
}
