html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  max-width: 100vw;
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "poppins";
}

p {
  font-size: 1.4rem;
}

h3 {
  font-size: 1.4rem;
}

.side-padding {
  padding-left: 5%;
  padding-right: 5%;
}

.center-center {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.margin-btm-lg {
  margin-bottom: 5em;
}

.off {
  display: none;
}

.side-padding {
  padding-left: 5%;
  padding-right: 5%;
}

/*********Navigation**********/
header {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 8em;
    z-index: 999;
    
}

header ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5em;
    backdrop-filter: blur(10px);
    background-color: rgb(34, 34, 34,0.6);
    padding: 2em 3em;
    border-radius: 50px;
}

ul li {
    list-style: none;
}

ul li a {
    text-decoration: none;
    color: rgb(255, 255, 255);
    font-weight: 500;
    font-size: 1.4rem;
    cursor: pointer;
}

ul li a:hover {
  color: #E7D060;
}

h1 {
  font-family: "Lavishly Yours", cursive;
  font-size: 6.2rem;
  font-weight: 400;
  font-style: normal;
}


h2 {
    font-size: 6.2rem;
    color: #000000;
    font-weight: 600;
}

.off {
  display: none;
}

/********************************
Hero 1
****************************************/
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 2em;
  height: 100vh;
  color: white;
  z-index: 10;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.hero h1 {
  font-size: 8.2rem;
}

.couple-name {
  display: flex;
  flex-direction: row;
  gap: 2em;
}

.background-img {
  position: absolute;
  width: 100vw;
  height: 100vh;
  background-image: url(images/hero2.jpg);
  background-position: center center;
  background-size: cover;
  filter: grayscale(1) brightness(0.4);
  z-index: -1;
  display: none;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    height: 100vh;
    width: 100%;
    z-index: -1;
    transform: translate(-50%, -50%);
    object-fit: cover;
    filter: grayscale(100%) brightness(0.6); /* Grayscale and darken the video */
}

.hero-buttons {
  display: flex;
  gap: 2em;
}

.hero-buttons a {
    text-decoration: none;
    color: black;
    color: #E7D060;
    font-weight: 500;
    font-size: 1.4rem;
    padding: 12px 24px;
    border: 2px solid #E7D060;
    border-radius: 15px;
}

.hero-buttons a:hover {
    background-color: #E7D060;
    color: white;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2em;
    padding: 18px 32px;
    border: 2px solid rgb(255, 255, 255);
    font-size: 4.2rem;
    border-radius: 10px;
    margin-top: 1em;
}

.timer {
  display: flex;
  gap: 2em;
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.time-label {
    font-size: 1.2rem;
    color: #E7D060;
}

/*******************************
Our Story
********************************/
.our-story {
  position: relative;
  z-index: 10;
  overflow: hidden;
}

.our-story-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10%;
  text-align: center;
  padding-top: 10em;
  padding-bottom: 10em;
  position: relative;
  z-index: 10;
}

.our-story-content p {
  max-width: 400px;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.4);
  color: white;
  border-radius: 15px;
}

.story-image-container {
  max-width: 500px;
  max-height: 400px;
  overflow: hidden;
  position: relative;
  z-index: 10;
  border-radius: 15px;
}

.story-image-container img {
  width: 100%;
  height: auto;
}

.flowers {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2em;
  margin-top: 2em;
  position: absolute;
  width: 100%;
  bottom: 0;
  z-index: 5;
  
}

.image-container1 {
  max-width: 600px;
  max-height: 700px;
  overflow: hidden;

}

.image-container1 img {
  width: 100%;
  height: auto;
  
}

/*****************
Bridal Party
*******************/

.bridal-party {
  display: flex;
  align-items: center;
  justify-content: center;
  
}

.bridal-party-title {
  display: flex;
  background-color: #232E33;
  justify-content: center;
  align-items: center;
  height: 100vh;
  text-align: center;
}

.bridal-party-title h2 {
  color: white;
}

.bridal-party-content {
  display: flex;
  flex-direction: column;
  max-height: 100vh;
  overflow: scroll;
  width: 60%;
  gap: 2em;
  align-items: center;
  padding: 5em 0;
}

.stack {
  display: flex;
  width: 100%;
  justify-content: space-around;
  align-items: center;
  gap: 1em;
}

.bridal-party-member {
  text-align: center;
}

.bridal-party-member img {
  max-width: 200px;
  max-height: 200px;
  filter: grayscale(1);
  transition: all 0.3s ease-in-out;
}

.bridal-party-member img:hover {
  filter: grayscale(0);
}

.male, .female {
  display: flex;
  flex-direction: column;
  gap: 2em;
}

/* For Chrome, Edge, Safari */
.element {
  overflow: auto;
  scrollbar-width: none;       /* Firefox */
  -ms-overflow-style: none;    /* Internet Explorer 10+ */
}

.element::-webkit-scrollbar {
  display: none;               /* Chrome, Safari, Edge */
}

/****************************************
Our Venue
*******************************************/
.our-venue {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 5em;
  padding-bottom: 10em;
  background-color: #232E33;
}

.our-venue h2 {
  color: rgb(255, 255, 255);
  margin-bottom: 20px;
}

.ourVenue-content {
  display: flex;
  align-items: center;
  gap: 3em;
  color: rgb(255, 255, 255);
}

.image-container {
  width: 100%;
  max-width: 600px;
  aspect-ratio: 2 / 1.5; /* Maintains 800:650 aspect ratio */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 50px 0 0 0;
}

.our-venue-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2em;
}

.ourVenue-content, .ourVenue-info {
  display: flex;
}

.ourVenue-info h4 {
  font-size: 1.4rem;
}

.map-container {
  width: 350px;
  height: 200px;
  aspect-ratio: 400 / 200;
  border-radius: 0 50px 0 0;
  overflow: hidden;
}

.left-box, .right-box {
  padding: 25px;
}

.left-box {
  border-right: solid 1px;
}

.ourVenue-content button {
  padding: 12px 18px;
  border-radius: 25px;
}

.elipse {
  display: none;
  padding-left: 10px;
  padding-right: 10px;
}

/****************Assets**********************/

body {
  --sb-track-color: #232E33;
  --sb-thumb-color: #E7D060;
  --sb-size: 10px;
}

body::-webkit-scrollbar {
  width: var(--sb-size)
}

body::-webkit-scrollbar-track {
  background: var(--sb-track-color);
  border-radius: 3px;
}

body::-webkit-scrollbar-thumb {
  background: var(--sb-thumb-color);
  border-radius: 3px;
  
}

@supports not selector(::-webkit-scrollbar) {
  body {
    scrollbar-color: var(--sb-thumb-color)
                     var(--sb-track-color);
  }
}
/*************Mobile Responsive**************/

@media (max-width: 980px) {
  .mobile-col {
    flex-direction: column;
    gap: 2em;
  }

  .mobile-off {
    display: none;
  }

  .mobile-on {
    display: block;
  }

  .bridal-party-title, .bridal-party-content {
    width: 100%;
  }

  .bridal-party-title {
    height: none;
    padding: 2em 5% 2em 5%;
  }

  h2 {
    font-size: 4.2rem;
  }

  .image-container img, .map-container {
    border-radius: 0;
  }

  .bridal-party-title {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .hero-video {
    display: none;
  }

  .background-img {
    display: block;
  }

}

@media (max-width: 480px) {

  .bridal-party-member img {
    max-width: 150px;
    max-height: 150px;
  }

  .image-container {
    max-width: 350px;
  }

  .couple-name {
        flex-direction: column;
      }

  .couple-name h1 {
    font-size: 6.2rem;
    gap: 0;
    line-height: 60px;
  }
}