.gal-sec-top {
  width: 100%;
  height: 750px;
  display: flex;
  align-items: flex-end;
  position: relative;
  margin: auto;
  margin-bottom: 1em;
  max-width: 1500px;
}
.gal-sec-top-container {
  width: 100%;
  height: 70%;
}
.gal-sec-top-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.h1-container {
  width: 45%;
  height: 100%;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  background-color: rgba(0, 0, 0, 1);
  position: absolute;
  right: 0;
  top: 0;
  padding-top: 4em;
}
.gal-sec-top-container h1 {
  width: 90%;
  font-size: 5.5em;
  font-weight: bold;
  text-align: left;
  font-family: 'Josefin';
  line-height: 1em;
}
.date-photo-div {
  width: 100%;
  height: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  
}
.date-container {
  width: 90%;
  height: auto;
  text-align: end;
  font-size: 2em;
  align-self: flex-end;
  /* border-top: 5px solid #f5f5f58e; */
  border-top: 5px solid var(--red);
  display: flex;
  justify-content: flex-end;
  padding-right: 10%;
  padding-top: 1em;
}
.wed-date {
  font-family: 'tenor';
}

/* Gallery Section */
.gallery-container {
  width: 100%;
  height: auto;
  max-width: 1500px;
  margin: auto;
}
.strip {
  width: 100%;
  height: 30vw;
  max-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1em;
  margin-bottom: 1em;
  overflow: hidden;
}
.strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  
}
.one {
  height: 40vw;
  max-height: 500px;
}
.one .img-left {
  width: 35%;
  height: 100%;
}
.one .img-right {
  width: 65%;
  height: 100%;
  
}
.one .img-right img, .one .img-left img {
  object-position: bottom;
}
.two {
  height: 65vw;
  max-height: 850px;
}
.two .left-div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1em;
  width: 75%;
  height: 100%;
}
.two .left-div > img {
  width: 100%;
  height: calc(60% - 0.5em);
  object-fit: cover;
  object-position: bottom;
}
.left-div .bottom-div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1em;
  width: 100%;
  height: calc(40% - 0.5em);
}
.two .bottom-div img {
  width: calc(50% - 0.5em);
  height: 100%;
}
.two .right-div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1em;
  width: 25%;
  height: 100%;
}
.two .right-div img:first-child {
  width: 100%;
  height: calc(40% - 0.5em);
  object-position: bottom;
}
.two .right-div img:last-child {
  width: 100%;
  height: calc(60% - 0.5em);
  object-position: bottom;
}  
.three {
  height: 60vw;
  max-height: 750px;
}
.three .left-container {
  width: 60%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1em;
}
.three .right-container {
  width: 40%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.three .img-left, .three .img-right {
  width: 100%;
  height: calc(50% - 0.5em);
  display: flex;
  align-items: center;
  justify-content: center;
}
.three .left-container .img-right img {
  object-position: bottom;
}

.four {
  height: 55vw;
  max-height: 700px;
}
.four .left-container .img-right img {
  object-position: 50% 70%;
}

.five {
  height: 30vw;
  max-height: 550px;
  display: flex;
  width: 100%;
}
.five img:first-child {
  width: calc(30% - 0.33em);
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.five img:nth-child(2){
  width: calc(30% - 0.33em);
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.five img:last-child {
  width: calc(40% - 0.33em);
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.six {
  height: 60vw;
  max-height: 700px;
}
.six .left-container {
  width: 55%;
}
.six .right-container{
  width: 45%;
}
.seven {
  height: 35vw;
  max-height: 500px;
}
.seven .img-left {
  width: 40%;
  height: 100%;

}
.seven .img-right {
  width: 60%;
  height: 100%;
}
.eight {
  height: 45vw;
  max-height: 600px;
}
.eight .img-left {
  width: 65%;
  height: 100%;
}
.eight .img-right {
  width: 35%;
  height: 100%;
}
.nine {
  height: 40vw;
  max-height: 500px;
}
.nine .img-left {
  width: 40%;
  height: 100%;

}
.nine .img-right {
  width: 60%;
  height: 100%;
}
.ten {
  height: 35vw;
  max-height: 550px;
  display: flex;
  width: 100%;
}
.ten img:first-child {
  width: calc(30% - 0.5em);
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.ten img:nth-child(2){
  width: calc(70% - 0.5em);
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.eleven {
  height: 40vw;
  max-height: 550px;
  display: flex;
  width: 100%;
}
.eleven img:first-child {
  width: calc(33% - 0.33em);
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.eleven img:nth-child(2){
  width: calc(33% - 0.33em);
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.eleven img:last-child {
  width: calc(33% - 0.33em);
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Sections Below Gallery */
.sec-photo {
  width: 100%;
  height: auto;
  background-color: rgba(0, 0, 0, 1);
  max-width: 1500px;
  margin: 0 auto;
}
.photo-container {
  width: 90%;
  height: auto;
  margin: auto;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'tenor';
  font-size: 1.5em;
  text-align: right;
  padding: 1.5em 0;
}
.photo-container a {
  color: white;
  text-decoration: none;
}
.photo-container span {
  font-size: 0.9em;
  opacity: 0.6;
}

/* Gallery Index */
.sec-gal-index {
  width: 100%;
  height: auto;
  margin: auto;
  margin-top: 4em;
  margin-bottom: 1em;
}
.gal-index-div {
  width: 70%;
  height: auto;
  display: flex;
  max-width: 1500px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1em;
  margin: auto;
  font-family: 'tenor';
  font-size: 1.9em;
}
.arrow-name-div {
  width: auto;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1em;
  cursor: pointer;
}
.arrow-name-div:hover .pre-img {
 /* opacity: 0.9; */
  transform: translateX(-15%);
}
.arrow-name-div:hover .next-img {
  /* opacity: 0.9; */
  transform: rotate(180deg) translateX(-15%);
}
.gal-index-div a {
  color: rgb(28, 28, 28);
}
.index-logo {
  width: 70px;
  height: 70px;
  
}
.pre-img {
  width: 50px;
  height: 50px;
  /* opacity: 0.3; */
  transition: transform 0.4s;
}
.next-img {
  width: 50px;
  height: 50px;
  /* opacity: 0.3; */
  transform: rotate(180deg);
  transition: transform 0.4s;
}
@media screen and (max-width: 1000px) {
  .gal-sec-top {
    height: 700px;
  }
  .gal-sec-top-container {
    display: flex;
    height: 60%;
  }
  .gal-sec-top-container img {
    height: 100%;
    width: 100% !important;
    align-self: flex-end;
  }
  .h1-container {
    width: 100%;
    height: 40%;
    padding-top: 0;
    justify-content: center;
  }
  .h1-container h1 {
    font-size: 4em;
    position: absolute;
    top: 30%;
    left: 10%;
    text-align: left;
  }
  .date-photo-div{

    justify-content: flex-end;
    font-size: 0.7em;
  }
  
  .gal-index-div {
    font-size: 1.3em;
    width: 90%;
  }
  .pre-img, .next-img {
    width: 30px;
    height: 30px;
  }
  .index-logo {
    width: 40px;
    height: 40px;
  }
}
@media screen and (max-width: 700px) {
  .strip {
    font-size: 0.5em;
  }
  .gal-sec-top {
    height: 450px;
    margin-bottom: 0.5em;
  }
  .h1-container h1 {
    font-size: 2.5em;
    top: 23%;
  }
  .date-photo-div{
    font-size: 0.6em;
  }
  .photo-container {
    font-size: 0.9em;
  }
  .gal-index-div {
    flex-direction: column;
    gap: 0.5em;
  }
}
