@font-face {
  font-family: "Sweet Candies";
  src: url("../fonts/sweet_candies/Sweet\ Candies.otf");
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: auto;
  background-color: rgba(255, 253, 243, 0.95);
  color: #000000;
}

body {
  overflow-x: hidden;
}

.top_border {
  width: 100%;
  height: auto;
  max-height: 300px;
  z-index: 3;
}

.candy {
  font-family: "Sweet Candies";
  font-weight: bold;
  text-shadow: 1px 2px 2px rgb(0 0 0 / 0.6);
}

.bellota {
  font-family: "Bellota", sans-serif;
  font-weight: bold;
}

.berkshire-swash {
  font-family: "Berkshire Swash", serif;
  font-weight: bold;
  font-style: normal;
  text-shadow: 1px 2px 2px rgb(0 0 0 / 0.6);
}

.caveat {
  font-family: "Caveat", cursive;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.divider {
  border-top: 2px solid black;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  width: 21%;
}

.sidenav li a:hover {
  border-radius: 0;
}

.nav-wrapper ul li a {
  background-color: transparent; /* Set a transparent background initially */
  border-radius: 50px; /* Ensure the border radius is always rounded */
  -webkit-transition: background-color 0.3s ease, border-radius 0.3s ease;
  -o-transition: background-color 0.3s ease, border-radius 0.3s ease;
  transition: background-color 0.3s ease, border-radius 0.3s ease; /* Smooth transition for hover effects */
}

.nav-wrapper ul li a:hover {
  border-radius: 50px; /* Adjust to your preferred radius */
  -webkit-transition: background-color 0.3s ease;
  -o-transition: background-color 0.3s ease;
  transition: background-color 0.3s ease; /* Optional: smooth color transition */
}

.nav-item {
  color: #ffffff !important;
}

.sidenav-item {
  color: #ffffff !important;
}

.sidenav-bg {
  background-color: #222 !important;
}

.hero-image {
  width: 100%;
  height: 100%;
}

.content {
  /* background-color: #f8f8f8; */
  min-height: 100vh; /* Ensure enough space to scroll */
  margin-top: -105vh;
}

.hero-wrapper {
  position: relative;
  height: 100vh;
  width: auto;
  overflow: hidden;
  z-index: 1;
}

.hero-banner {
  /* Sizing */
  width: 100%;
  height: auto;
  position: absolute;
  -webkit-transform-origin: top center;
  -ms-transform-origin: top center;
  transform-origin: top center;

  /* Flexbox stuff */
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;

  /* Text styles */
  text-align: center;

  /* Background styles */
  background-image: url(../img/hero_no_fog.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.hero-text {
  margin-bottom: 33.5rem !important;
}

.met-wrapper {
  position: relative;
}

.met-title {
  top: 25%;
}

.met-text {
  top: 40%;
  width: 65%;
  text-align: center;
}

.second-date-img {
  max-width: 100%;
  height: 23%;
  width: 17%;
  top: 53%;
}

.reveal-text {
  top: 80%;
  text-align: center;
}

.reveal-bold {
  font-size: 5rem;
}

.proposal-wrapper {
  position: relative;
  -webkit-clip-path: inset(0 50% 0 50%);
  clip-path: inset(0 50% 0 50%);
  overflow: hidden; /* Prevent content from showing outside the bounds */
  -webkit-transition: -webkit-clip-path 0.1s ease-in-out;
  transition: -webkit-clip-path 0.1s ease-in-out;
  -o-transition: clip-path 0.1s ease-in-out;
  transition: clip-path 0.1s ease-in-out;
  transition: clip-path 0.1s ease-in-out, -webkit-clip-path 0.1s ease-in-out;
  height: auto;
}

.proposal-bg {
  height: auto;
  width: 100%;
}

.proposal-title {
  top: 25%;
}

.proposal-text {
  top: 35%;
  text-shadow: 1px 2px 2px rgb(0 0 0 / 0.6);
  text-align: center;
}

.proposal-text-end {
  text-align: center;
  top: 74%;
  text-shadow: 1px 2px 2px rgb(0 0 0 / 0.6);
}

.ring-img {
  width: auto;
  height: 26%;
  top: 48%;
  border-radius: 5px;
}

.carousel-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-grid-column-align: center;
  justify-self: center;
  max-width: 100%;
  width: 50%;
  border-radius: 10px;
}

.carousel-img {
  width: 100%;
  aspect-ratio: 16/8;
  -o-object-fit: cover;
  object-fit: cover;
}

.carousel-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
  z-index: 1;
}

.carousel-text {
  font-family: "Berkshire Swash", serif;
  font-weight: 400;
  font-style: normal;
  text-shadow: 1px 2px 2px rgb(0 0 0 / 0.6);
  font-size: 3rem !important;
}

/* CSS */
.button-33 {
  background-color: #c2fbd7;
  border-radius: 100px;
  -webkit-box-shadow: rgba(44, 187, 99, 0.2) 0 -25px 18px -14px inset,
    rgba(44, 187, 99, 0.15) 0 1px 2px, rgba(44, 187, 99, 0.15) 0 2px 4px,
    rgba(44, 187, 99, 0.15) 0 4px 8px, rgba(44, 187, 99, 0.15) 0 8px 16px,
    rgba(44, 187, 99, 0.15) 0 16px 32px;
  box-shadow: rgba(44, 187, 99, 0.2) 0 -25px 18px -14px inset,
    rgba(44, 187, 99, 0.15) 0 1px 2px, rgba(44, 187, 99, 0.15) 0 2px 4px,
    rgba(44, 187, 99, 0.15) 0 4px 8px, rgba(44, 187, 99, 0.15) 0 8px 16px,
    rgba(44, 187, 99, 0.15) 0 16px 32px;
  color: green;
  cursor: pointer;
  display: inline-block;
  font-family: CerebriSans-Regular, -apple-system, system-ui, Roboto, sans-serif;
  padding: 15px 30px;
  text-align: center;
  text-decoration: none;
  -webkit-transition: all 250ms;
  -o-transition: all 250ms;
  transition: all 250ms;
  border: 0;
  font-size: 16px;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-user-select: none;
  -ms-touch-action: manipulation;
  touch-action: manipulation;
}

.button-33:hover {
  -webkit-box-shadow: rgba(75, 76, 76, 0.35) 0 -25px 18px -14px inset,
    rgba(255, 255, 255, 0.781) 0 1px 2px, rgba(255, 255, 255, 0.25) 0 2px 4px,
    rgba(255, 255, 255, 0.25) 0 4px 8px, rgba(255, 255, 255, 0.25) 0 8px 16px,
    rgba(255, 255, 255, 0.25) 0 16px 32px;
  box-shadow: rgba(75, 76, 76, 0.35) 0 -25px 18px -14px inset,
    rgba(255, 255, 255, 0.781) 0 1px 2px, rgba(255, 255, 255, 0.25) 0 2px 4px,
    rgba(255, 255, 255, 0.25) 0 4px 8px, rgba(255, 255, 255, 0.25) 0 8px 16px,
    rgba(255, 255, 255, 0.25) 0 16px 32px;
  -webkit-transform: scale(1.05) rotate(-1deg);
  -ms-transform: scale(1.05) rotate(-1deg);
  transform: scale(1.05) rotate(-1deg);
}

@-webkit-keyframes AnimationName {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
@keyframes AnimationName {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.m-backtotop {
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  position: fixed;
  bottom: -50px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: #222;
  border-radius: 25px;
  text-align: center;
  border: 2px solid #fff;
  -webkit-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
  opacity: 0;
  overflow: hidden;
  color: #fff;
}

.m-rsvp {
  position: fixed;
  bottom: -50px;
  opacity: 0;
}

.m-rsvp.active {
  opacity: 1;
  bottom: 15px;
}

.m-backtotop.active {
  bottom: 15px;
  opacity: 1;
}
.m-backtotop > div {
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.m-backtotop > div.arrow {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translateY(-50%) translateX(-50%);
  -ms-transform: translateY(-50%) translateX(-50%);
  transform: translateY(-50%) translateX(-50%);
  opacity: 1;
}
.m-backtotop > div.text {
  font-size: 5px;
  font-size: 0.5rem;
  line-height: 10px;
  text-transform: uppercase;
  font-weight: 900;
  font-family: "Open Sans", sans-serif;
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translateY(50%) translateX(-50%);
  -ms-transform: translateY(50%) translateX(-50%);
  transform: translateY(50%) translateX(-50%);
  opacity: 0;
  margin-top: 1px;
}
.m-backtotop:hover {
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
  bottom: 20px;
  cursor: pointer;
  background: black;
  -webkit-box-shadow: 0 10px 5px rgba(0, 0, 0, 0.1);
  box-shadow: 0 10px 5px rgba(0, 0, 0, 0.1);
}
.m-backtotop:hover > div.arrow {
  -webkit-transform: translateY(-150%) translateX(-50%);
  -ms-transform: translateY(-150%) translateX(-50%);
  transform: translateY(-150%) translateX(-50%);
  opacity: 0;
}
.m-backtotop:hover > div.text {
  -webkit-transform: translateY(-50%) translateX(-50%);
  -ms-transform: translateY(-50%) translateX(-50%);
  transform: translateY(-50%) translateX(-50%);
  opacity: 1;
}

.attire-wrapper {
  position: relative;
  height: auto;
}

.attire-text {
  top: 25%;
  width: 25%;
  right: 32%;
}

.attire-title {
  top: 17%;
  left: 47%;
}

.instructions {
  width: 40%;
}

.modal {
  background-color: #ffffff;
}

.rsvp-text {
  font-size: 2.5rem;
  font-weight: bold;
}

.nav-fixed {
  position: fixed;
  z-index: 2;
}

.nav-bg {
  border: 3px solid black;
  -webkit-box-shadow: black;
  box-shadow: black;
}

.vis-none {
  visibility: hidden;
}

.absolute {
  position: absolute;
}

.invite {
  margin-top: 7rem !important;
  margin-bottom: 3rem !important;
  border-radius: 5px;
}

.time,
.event {
  margin-top: 0;
  margin-bottom: 0;
}

.hover-state:hover {
  border-radius: 50px;
  background-color: blue;
}

.text-container {
  width: 65%;
}

.hidden {
  background-color: #222 !important;
}

.text-black {
  color: black !important;
}

.text-white {
  color: white !important;
}

.text-center {
  text-align: center;
}

.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 2rem;
}

.mt-3 {
  margin-top: 3rem;
}

.mt-4 {
  margin-top: 4rem;
}

.mt-5 {
  margin-top: 5rem;
}

.mb-1 {
  margin-bottom: 1rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mb-3 {
  margin-bottom: 3rem;
}

.mb-4 {
  margin-bottom: 4rem;
}

.mb-5 {
  margin-bottom: 5rem;
}

.ml-1 {
  margin-left: 1rem;
}

.ml-2 {
  margin-left: 2rem;
}

.ml-3 {
  margin-left: 3rem;
}

.ml-4 {
  margin-left: 4rem;
}

.ml-5 {
  margin-left: 5rem;
}

.mr-1 {
  margin-right: 1rem;
}

.mr-2 {
  margin-right: 2rem;
}

.mr-3 {
  margin-right: 3rem;
}

.mr-4 {
  margin-right: 4rem;
}

.mr-5 {
  margin-right: 5rem;
}

.p1 {
  font-size: 1rem;
}

.p2 {
  font-size: 1.5rem;
}

.p3 {
  font-size: 2rem;
}

.p4 {
  font-size: 2.5rem;
}

.p5 {
  font-size: 3rem;
}

.p6 {
  font-size: 4rem;
}

.p7 {
  font-size: 5rem;
}

.p8 {
  font-size: 6rem;
}

.p9 {
  font-size: 7rem;
}

.pb-7 {
  padding-bottom: 6.5rem;
}

.flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.h-3\/4 {
  height: 75%;
}

.h-auto {
  height: auto;
}

.h-full {
  height: 100%;
}

.w-3\/4 {
  width: 75%;
}

.w-auto {
  width: auto;
}

.w-full {
  width: 100%;
}

.justify-center {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.justify-even {
  -webkit-box-pack: space-evenly;
  -ms-flex-pack: space-evenly;
  justify-content: space-evenly;
}

.justify-end {
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: end;
}

.items-center {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

@media only screen and (max-width: 3840) {
  .hero-image {
    height: 100%;
    width: 100%;
  }
}

@media only screen and (max-width: 2560px) {
  .hero-image {
    height: 100%;
    width: 100%;
  }

  .second-date-img {
    width: 13%;
  }

  .attire-title {
    left: 45%;
  }

  .attire-text {
    width: 20%;
    right: 35%;
  }
}

@media only screen and (max-width: 2048px) {
  .hero-image {
    height: 100%;
    width: 100%;
  }

  .second-date-img {
    width: 16%;
  }
}

@media only screen and (max-width: 1920px) {
  .hero-image {
    height: 100%;
    width: 100%;
  }

  .second-date-img {
    max-width: 100%;
    height: 23%;
    width: 20%;
    top: 56%;
  }

  .reveal-text {
    top: 78%;
  }
}

@media only screen and (max-width: 1750px) and (min-width: 1650px) {
  .ring-img {
    height: 24%;
    top: 52%;
  }

  .attire-title {
    top: 15%;
    left: 44%;
  }

  .attire-text {
    width: 27%;
    right: 29%;
  }
}

@media screen and (max-width: 1281px) {
  .hero-image {
    height: 100%;
    width: auto;
  }

  .second-date-img {
    max-width: 100%;
    height: 21%;
    width: 23%;
    top: 57%;
  }

  .met-title {
    top: 20%;
  }

  .met-text {
    top: 37%;
    width: 60%;
    text-align: center;
  }

  .ring-img {
    top: 48%;
  }

  .proposal-title {
    top: 23%;
    font-size: 3.25rem;
  }

  .proposal-text {
    top: 34%;
    font-size: 1.5rem;
    width: 66%;
  }

  .proposal-text-end {
    top: 73%;
    font-size: 1.5rem;
  }

  .carousel-overlay {
    top: 40%;
  }

  .attire-title {
    top: 18%;
    left: 40%;
  }

  .attire-text {
    top: 28%;
    width: 40%;
    right: 20%;
  }
}

@media only screen and (max-width: 1024px) {
  .hero-text {
    margin-bottom: 60.5rem;
  }

  .ring-img {
    top: 52%;
  }

  .second-date-img {
    width: 30%;
    top: 59%;
  }

  .proposal-bg {
    content: url("../img/proposal_bg.jpg");
  }

  .proposal-title {
    top: 10%;
    font-size: 5rem;
  }

  .proposal-text {
    top: 24%;
    font-size: 2.25rem;
    width: 58%;
  }

  .proposal-text-end {
    top: 87%;
    font-size: 2.5rem;
    width: 43%;
  }
}

@media only screen and (max-width: 850px) {
  .hero-text {
    margin-bottom: 49.5rem;
  }

  .met-title {
    top: 15%;
  }

  .met-text {
    top: 29%;
    width: 85%;
    font-size: 2.25rem;
  }

  .second-date-img {
    height: 21%;
    width: 37%;
    top: 51%;
  }

  .reveal-text {
    top: 73%;
    font-size: 2.25rem;
  }

  .ring-img {
    top: 56.5%;
  }

  .proposal-text-end {
    top: 83%;
    font-size: 2.25rem;
    width: 41%;
  }

  .attire-title {
    top: 17%;
    left: 35%;
  }

  .attire-text {
    top: 28%;
    width: 60%;
    right: 5%;
  }
}

@media only screen and (max-width: 721px) and (min-width: 621px) {
  .second-date-img {
    width: 43%;
  }

  .ring-img {
    top: 59.5%;
  }
}

@media only screen and (max-width: 600px) {
  .top_border {
    height: 15vh;
    width: 100%;
  }

  .title-text {
    margin-bottom: 16rem;
  }

  .bottom-border {
    width: 100%;
  }

  .hero-image {
    width: auto;
    height: 100vh;
  }

  .hero-text {
    margin-bottom: 0;
  }

  .candy {
    font-size: 4rem;
  }

  .wedding_location {
    font-size: 1rem;
  }

  .wedding_date {
    font-size: 2rem;
  }

  .welcome-title {
    font-size: 3rem;
  }

  .welcome-text {
    font-size: 1.5rem;
  }

  .our_story {
    font-size: 4rem;
  }

  .met-wrapper {
    height: 720px;
    overflow: hidden;
  }

  .met-border {
    height: 50%;
    /* max-width: 100%; */
  }

  .met-title {
    font-size: 3rem;
    top: 10%;
  }

  .met-text {
    font-size: 1.3rem;
    top: 25%;
    width: 100%;
  }

  .second-date-img {
    max-width: 100%;
    height: 27%;
    width: 40%;
    top: 45%;
  }

  .reveal-text {
    top: 72%;
    font-size: 1.5rem;
  }

  .reveal-bold {
    font-size: 2.5rem;
  }

  .proposal-bg {
    width: 100vw;
    height: 100vh;
  }

  .proposal-title {
    font-size: 3rem;
    top: 10%;
  }

  .proposal-text {
    top: 20%;
    font-size: 1.5rem;
    width: 60%;
  }

  .ring-img {
    width: auto;
    height: 26%;
    top: 48%;
    border-radius: 5px;
  }

  .proposal-text-end {
    top: 76%;
    font-size: 1.5rem;
    width: 39%;
  }

  .discover {
    font-size: 3rem;
    text-align: center;
  }

  .carousel-container {
    height: 12rem;
    width: 85%;
  }

  .carousel-overlay {
    position: absolute;
    top: 17%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    z-index: 1;
  }

  .carousel-text {
    font-family: "Berkshire Swash", serif;
    font-weight: 400;
    font-style: normal;
    text-shadow: 1px 2px 2px rgb(0 0 0 / 0.6);
    font-size: 2rem;
  }

  .wedding_invite {
    width: 100%;
    height: auto;
  }

  p.not-found,
  p.instructions {
    margin-top: 0;
    margin-bottom: 0;
  }

  .instructions {
    width: 100%;
    font-size: 1.5rem;
  }

  .not-found {
    width: 100%;
    font-size: 1.25rem;
  }

  .time,
  .event {
    font-size: 1.5rem;
  }
}

@media screen and (max-width: 450px) {
  .title-text {
    margin-bottom: 0rem;
    margin-top: 5rem;
  }

  .hero-text {
    margin-bottom: 44.5rem;
  }

  .discover_ch_title {
    font-size: 2.25rem;
  }

  .second-date-img {
    max-width: 100%;
    height: 27%;
    width: 45%;
    top: 48%;
  }

  .proposal-title {
    font-size: 2rem;
    top: 10%;
  }

  .proposal-text {
    font-size: 1.35rem;
  }

  .proposal-text-end {
    font-size: 1.35rem;
  }

  .reveal-text {
    top: 76%;
    font-size: 1.2rem;
  }

  .reveal-bold {
    font-size: 3rem;
  }

  .ring-img {
    width: auto;
    height: 26%;
    top: 50.5%;
    border-radius: 5px;
  }

  .carousel-text {
    font-size: 1.5rem !important;
  }

  .attire-board {
    width: 100%;
  }

  .attire-title {
    top: 10%;
    left: 36%;
    font-size: 2rem;
  }

  .attire-text {
    top: 20%;
    width: 65%;
    right: 0%;
    font-size: 1.25rem;
  }
}

@media screen and (max-width: 400px) and (min-width: 389px) {
  .ring-img {
    top: 55.5%;
  }

  .second-date-img {
    width: 49%;
    top: 49%;
  }

  .proposal-text {
    top: 18%;
    font-size: 1.35rem;
  }

  .proposal-text-end {
    top: 80%;
    width: 43%;
    font-size: 1.35rem;
  }

  .carousel-text {
    font-size: 1.5rem;
  }

  .discover_ch_title {
    font-size: 2.25rem;
  }

  .not-found {
    font-size: 1.15rem;
  }
}

@media screen and (max-width: 388px) and (min-width: 359px) {
  .second-date-img {
    max-width: 100%;
    height: 27%;
    width: 52%;
    top: 48%;
  }

  .hero-text {
    margin-bottom: 33.5rem;
  }

  .ring-img {
    height: 29%;
    top: 54%;
  }

  .reveal-text {
    top: 75%;
    font-size: 1.2rem;
  }

  .reveal-bold {
    font-size: 3rem;
  }

  .proposal-text {
    width: 64%;
    font-size: 1.25rem;
  }

  .proposal-text-end {
    top: 84%;
    font-size: 1.25rem;
    width: 46%;
  }

  .attire-board {
    width: 100%;
  }

  .attire-title {
    top: 10%;
    left: 36%;
    font-size: 2rem;
  }

  .attire-text {
    top: 20%;
    width: 65%;
    right: 0%;
    font-size: 1.25rem;
  }
}
