@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&display=swap");
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.9.1/font/bootstrap-icons.css");

*,
::before,
::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  overflow-x: hidden;
  overflow-y: scroll;
  cursor: url("cursor.cur"), auto;
  background-color: #4d1631;
  user-select: none;
}

.title {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  margin: 100px 0 0 0;
}
.wrapper-ashok{
  position: relative;;
}
.top-right{
  position: absolute;
  padding: 0 20px 0 0;
  top: 10px;
  right: 0px;
}
.no-margin {
  margin: 0;
}

.text {
  color: rgba(255, 217, 0, 0.795);
  font-size: 1.5rem;
  font-weight: 900;
  z-index: 5;
}
.tempimg{
  background-image: url(4k.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  background-position: center center;
  margin-left: auto;
  margin-right: auto;
}

.iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: auto;
}

span {
  display: inline-block;
  opacity: 0;
  filter: blur(4px);
  animation: fade-in 0.1s 0.1s forwards cubic-bezier(0.11, 0, 0.5, 0);
}

@keyframes fade-in {
  100% {
    opacity: 1;
    filter: blur(0);
  }
}

.center {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-top: 40px;
  background-color: #4d1631;
}

.gradient-bar {
  width: 100%;
  height: 50px;
  position: fixed;
  top: 0;
  background: linear-gradient(0deg, rgba(2, 0, 36, 0) 0%, #4d1631 100%);
  z-index: 1000;
}

.gradient-bar-bottom {
  width: 100%;
  height: 50px;
  position: fixed;
  bottom: 0;
  background: linear-gradient(180deg, rgba(2, 0, 36, 0) 0%, #4d1631 100%);
  z-index: 1000;
}

.container {
  position: relative;
  width: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin: 100px 0 350px 0;
  gap: 3rem;
}

.container>.image-wrapper:nth-child(odd) {
  transform: translateY(175px);
}
.container>.image-wrapper:last-child {
  transform: translateX(0px);
}
.image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 350px;
  height: 515px;
  overflow: hidden;
  transition: all 0.1s ease-in-out;
  transition: opacity 1000ms;
  animation: fade linear;
  background-color: rgba(255, 217, 0, 0.219);
  animation-timeline: view();
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -o-user-select: none;
  user-select: none;
}

.image-wrapper>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: 50% 50%;
  
  transition: transform 1s ease,
    filter 1s ease;
  filter: saturate(0);
  -webkit-filter: saturate(0);
}

.image-wrapper:hover>img {
  transform: scale(1.05);
  filter: saturate(1);
  -webkit-filter: saturate(1);

  transition: transform 0.2s ease,
    filter 0.2s ease;
}

.bi-youtube {
  color: #f70000;
}

.image {
  position: relative;
  animation: fade linear;
  background-color: rgba(255, 217, 0, 0.219);
  animation-timeline: view();

  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -o-user-select: none;
  user-select: none;
}

.loaded {
  border: 10px solid rgba(255, 217, 0);
  box-shadow: 0 0 0 15px #ff512536;
  border-style: double;
}

.loaded:hover {
  border: 10px solid rgb(255, 217, 0);
  border-style: double;
}

.wed {
  width: 100vw;
}

.invite {
  position: absolute;
  font-size: 21px;
  font-weight: 900;
  color: rgb(254, 239, 0);
  margin-bottom: 50px;
}

.contact {
  text-decoration: none;
  font-weight: 900;
  color: rgb(254, 239, 0);
}

.buttons {
  display: flex;
  flex-direction: row-reverse;
  gap: 2rem;
  margin-bottom: 2rem;
}

.photo,
.video {
  background-color: rgba(255, 217, 0, 0.795);
  color: black;
  font-weight: 900;
  border-radius: 5rem;
  padding: 1rem 2rem;
  transition: all ease 0.1s;
  outline: 2px solid rgba(255, 217, 0, 0.795);
  border: 3px solid #4d1631;
  
}

.photo:hover,
.video:hover {
  transform: scale(1.1);
  cursor: url("cursor.cur"), auto;
}

.btnScrollToTop,
.btnScrollToTop:active {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  right: 0;
  bottom: 0;
  border: 5px solid rgba(255, 217, 0, 0.692);
  border-radius: 50rem;
  margin: 0 5px 80px 0;
}

.padding-top {
  padding-top: 3rem;
}

.margin-bottom {
  margin-bottom: 1rem;
}

.link {
  text-decoration: none;
  color: #ffffff;
  cursor: url("cursor.cur"), auto;
}

#link {
  color: rgba(255, 217, 0, 0.795);
}

.vid-wrapper {
  position: relative;
  overflow: hidden;
  width: 81.5%;
  padding-top: 56.25%;
  margin-bottom: 3rem;
}

.responsive-iframe {
  position: absolute;
  min-width: 350px;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}



.modal {
  display: none;
  position: fixed;
  z-index: 100;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}

/* Modal Content (image) */
.modal-content {
  height: 100vh;
  margin: auto;
  display: block;
  width: 80%;
  object-fit: contain;
}

/* Close button */
.close {
  position: absolute;
  top: 50px;
  right: 50px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}



@keyframes fade {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media only screen and (max-width: 1560px) {
  .container>.image-wrapper:nth-child(odd) {
    transform: translateY(0px);
  }


  .image-wrapper>img {
    filter: saturate(1);
    transition: transform .2s ease,
      filter .2s ease;
  }

  .image-wrapper:hover>img {
    transform: scale(1.05);
    filter: saturate(1);
    transition: transform 0.2s ease,
      filter 0.2s ease;
  }

  @media only screen and (max-width: 780px) {
    .container>.image-wrapper:nth-child(odd) {
      transform: translateY(0px);
    }


    .image-wrapper>img {
      filter: saturate(1);
      transition: transform .2s ease,
        filter .2s ease;
    }

    .image-wrapper:hover>img {
      transform: scale(1.05);
      filter: saturate(1);
      transition: transform 0.2s ease,
        filter 0.2s ease;
    }
  }

  @media only screen and (max-width: 600px) {
    .container {
      width: 100vw;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .container>img:nth-child(odd) {
      transform: translateY(0px);
    }

    .image-wrapper>img {
      filter: saturate(1);
      transition: transform .2s ease,
        filter .2s ease;
    }

    .image-wrapper:hover>img {
      transform: scale(1.05);
      filter: saturate(1);
      transition: transform 0.2s ease,
        filter 0.2s ease;
    }

    .iframe {
      width: 400px;
    }

    .btnScrollToTop,
    .btnScrollToTop:active {
      position: fixed;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 60px;
      height: 60px;
      right: 0;
      bottom: 0;
      border: 5px solid rgba(255, 217, 0, 0.623);
      border-radius: 50rem;
    }
  }
}