:root {
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* justify-content: center; */
}

html {
  scroll-behavior: smooth;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Nanum Myeongjo", serif;
  font-weight: 400;
  font-style: normal;
  list-style: none;
  text-decoration: none;
}

.button {
  color: white;
  margin-top: 5px;
  background-color: rgb(80, 80, 77);
  border-radius: 5px;
  border: 3px solid white;
  padding: 5px 15px;
}

.button a {
  color: white;
}

header {
  position: fixed;
  right: 0;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: white;
  border-bottom: 1px solid black;
}

.logo-m {
  display: none;
}

.navlist {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  list-style-type: none;
}

.navlist li {
  list-style: none;
}

.navlist a {
  color: rgb(0, 0, 0);
  font-size: 22px;
  font-weight: 300;
  /* font-family: ; */
  border-bottom: 2px solid transparent;
  transition: all 0.55s ease;
}

.navlist a:hover {
  border-bottom: 2px solid rgb(0, 0, 0);
}

#menu-icon {
  color: rgb(0, 0, 0);
  font-size: 30px;
  z-index: 10001;
  cursor: pointer;
  display: none;
}

/* slider starts */

.slider-frame {
  margin-top: 60px;
  display: flex;
  height: 90vh;
  width: 100%;
  position: relative;
  align-items: center;
}

.slider-frame h1 {
  overflow: visible;
  opacity: 1;
}

.blink-photo {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: blink 44s infinite;
}

/* Staggered animation delay for each photo */
.blink-photo:nth-child(1) {
  animation-delay: 0s;
}

.blink-photo:nth-child(2) {
  animation-delay: 4s;
}

.blink-photo:nth-child(3) {
  animation-delay: 8s;
}

.blink-photo:nth-child(4) {
  animation-delay: 12s;
}

.blink-photo:nth-child(5) {
  animation-delay: 16s;
}
.blink-photo:nth-child(6) {
  animation-delay: 20s;
}
.blink-photo:nth-child(7) {
  animation-delay: 24s;
}
.blink-photo:nth-child(8) {
  animation-delay: 28s;
}
.blink-photo:nth-child(9) {
  animation-delay: 32s;
}
.blink-photo:nth-child(10) {
  animation-delay: 36s;
}
.blink-photo:nth-child(11) {
  animation-delay: 40s;
}
.blink-photo:nth-child(12) {
  animation-delay: 44s;
}

@keyframes blink {
  0% {
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  20% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

.mid-slider-text {
  position: absolute;
  top: 2rem;
  left: 5rem;
}

.mid-slider-text h1 {
  font-family: "Playfair Display", serif;
  color: white;
  font-size: 40px;
  font-weight: 400;
}

.mid-slider-text2 {
  color: white;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: absolute;
  bottom: 4rem;
  right: 6rem;
}

.mid-slider-text2 i {
  font-size: 20px;
}

/* slider ends */

.spaceMargin {
  margin: 40px 5px;
}

/* about section start */

.about-section {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  width: 100%;
  margin: 10px, 10px;
  padding: 50px 100px;
}

.about-section .layer1 {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: px solid rgb(255, 255, 255);
}

.about-section .layer1 .layer2 {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-section .layer2 .layer3 {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-container {
  display: flex;
  height: 80%;
  width: 80%;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 50px 50px;
  padding: 5px 5px;
}

.about-container .about-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 10px 10px;
  padding: 40px 40px;
  height: 100%;
  width: 60%;
  background-color: #fff;
  object-fit: cover;
  overflow: hidden;
  transition: ease all;
}

.about-container .about-content h1 {
  font-size: 50px;
}

.about-container .about-content h3 {
  font-size: 25px;
  font-style: italic;
}

.about-container .about-image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 40%;
  border: 1px solid grey;
}

.about-container .about-image img {
  margin: 5px 5px;
  display: flex;
  height: 100%;
  width: 100%;
  overflow: hidden;
  object-fit: cover;
}

/* about section end */

.portfolio-sec {
  margin-top: 40px;
  padding: 25px;
  display: flex;
  background-color: rgb(229, 229, 229);
  width: 100%;
  overflow: hidden;
  height: 90vh;
}

.portfolio-text {
  display: block;
  /* justify-self: left; */
}

.portfolio-sec .portfolio-text .portfolio-title {
  display: flex;
  align-items: center;
  justify-content: start;
  margin-left: 100px;
  height: 75px;
}

.portfolio-sec .portfolio-text .portfolio-title h1 {
  font-size: 50px;
}

.space-maker {
  display: block;
  padding: 20px;
  height: 70vh;
  margin-left: 200px;
  width: 1000px;
  margin-right: 50px;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-250px * 18));
  }
}

.portfolio-img-container {
  display: flex;
  align-items: center;
  height: 100%;
  width: calc(250px * 18);
  animation: scroll 80s linear infinite;
}

.portfolio-img-container .port-img {
  display: flex;
  margin: 0 2px;
  height: 100%;
}

.port-img .imgClose {
  border: 1px solid red;
  display: none;
  position: absolute;
  margin-top: -10px;
  margin-right: -10px;
  top: 0;
  right: 0;
}

.loopVideo {
  width: 100%;
  margin: 20px 0px;
  padding: 50px 0px;
}

.l-vid-container {
  display: flex;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  height: 90vh;
}

.iqform {
  /* border: 1px solid red; */
  height: 100vh;
  width: 95vw;
  padding: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.iqform .formspacer {
  /* border: 1px solid red; */
  height: 90%;
  width: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.iqform .formspacer .form-container {
  /* border: 1px solid red;   */
  padding: 10px;
  height: 95%;
  width: 45%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.iqform .formspacer .form-container h3 {
  margin: 10px;
  padding: 10px;
  font-size: 25px;
}

.iqform .formspacer .form-container input {
  margin: 5px;
  margin-top: 15px;
  padding: 5px 10px;
  font-size: 20px;
  width: 90%;
  /* border: none; */
  border-color: #fff;
  border-top: none;
  border-left: none;
  border-bottom: 1px solid rgb(0, 0, 0);
}

.iqform .formspacer .form-container input:focus {
  outline: none;
}

/* .dater {
    display: flex;
    align-items: center;
    justify-content: center;
}

.dater label {
    height: 100%;
    width: 50%;
    border-bottom: 1px solid black;
} */

.iqform .formspacer .form-container button {
  margin: 20px;
  padding: 5px 10px;
  font-size: 20px;
  background-color: rgb(84, 178, 250);
  border-radius: 4px;
  cursor: pointer;
  border: none;
}

.iqform .formspacer .mapper {
  /* border: 1px solid red; */
  background-color: #adabab60;
  height: 95%;
  width: 45%;
  padding: 10px;
}

.portfolio-img-container:hover {
  animation-play-state: paused;
}

.portfolio-img-container .port-img img {
  display: block;
  border: 1px solid black;
  transition: transform 0.5s ease; /* Smooth scaling animation */
  padding: 5px;
  /* width: 100%; */
  height: 100%;
  /* width: 250px; */
}

.portfolio-img-container .port-img img:hover {
  transform: scale(1.2); /* Scales the image by 20% */

  /* transform: translateY(-3%); */
}

.vid-frame {
  /* border: 1px solid red; */
  height: 275px;
  justify-content: center;
  background-color: aliceblue;
  align-items: center;
  object-fit: cover;
}

.back-vid {
  /* border: 1px solid red; */
  margin: 10px 10px;
  height: 200px;
}

.vid-text {
  color: white;
}

footer {
  height: 15vh;
  width: 100%;
  padding: 5px;
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #989898;
}

.footer-main {
  display: flex;
  align-items: center;
  font-size: 15px;
  height: 10vh;
  width: 100%;
  padding: 10px 9%;
  font-family: "Poppins", sans-serif;
  color: white;
}

.icons {
  color: white;
  /* right: 5%; */
  display: flex;
  align-items: center;
  justify-content: center;
  /* position: absolute; */
  padding: 10px;
  /* transform: translateY(-50%); */
}

.icons a {
  display: block;
  margin: 10px 15px;
  font-size: 24px;
  color: rgb(255, 255, 255);
  transition: all 0.5s ease;
}

.icons a svg {
  height: 35px;
  width: 35px;
  color: white;
  transition: all 0.5s ease;
}

.icons svg:hover {
  color: rgb(0, 0, 0);
  transform: translateY(-5px);
}

.scroll-down {
  position: absolute;
  bottom: 6%;
  right: 9%;
}

.scroll-down i {
  display: block;
  padding: 12px;
  padding: 12px;
  font-size: 25px;
  color: white;
  background: #bcbcbcb5;
  border-radius: 30px;
  transition: all 0.5s ease;
}

.scroll-down i:hover {
  transform: translateY(-5px);
}

@media (max-width: 990px) {
  #menu-icon {
    display: block;
  }

  .logo-m {
    display: block;
  }

  .logo-p {
    display: none;
  }

  header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
  }

  .navlist {
    position: absolute;
    top: 100%;
    right: -100%;
    width: 200px;
    height: 40vh;
    background: linear-gradient(
      189deg,
      rgba(139, 136, 136, 0.589) 0%,
      rgb(67, 67, 67) 27%,
      rgba(0, 0, 0, 1) 100%
    );
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    padding: 50px 20px;
    transition: all 0.5s ease;
  }
  .navlist a {
    display: block;
    color: white;
    margin: 10px 0;
    margin-left: 0;
  }
  .navlist.open {
    right: 0;
  }
}

@media (max-width: 680px) {
  .logo-m {
    display: block;
  }

  .logo-p {
    display: none;
  }

  header {
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
  }

  .blank {
    display: none;
  }

  .navlist a {
    display: block;
    color: white;
    margin: 10px 0;
    margin-left: 0;
  }
  .navlist a:hover {
    border-bottom: 2px solid rgb(236, 236, 236);
  }
  .icons {
    padding: 0 4%;
  }

  .back-vid {
    width: 100%;
    height: auto;
  }

  .hidden {
    display: block;
  }
  .slider-frame {
    height: 400px;

    /* background-color: black; */
    margin-top: 60px;
  }

  .mid-slider-text {
    top: 5%;
    left: 5%;
  }

  .mid-slider-text h1 {
    font-size: 15px;
  }
  .mid-slider-text2 {
    height: 25px;
    top: 3rem;
    right: 5%;
    font-size: 13px;
  }

  .l-vid-container {
    /* display: none; */
    height: 250px;
    object-fit: cover;
  }

  .l-vid-container video {
    height: 100%;
  }

  footer {
    display: flex;
    flex-direction: column-reverse;
  }

  .footer-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .about-section {
    padding: 10px 10px;
  }

  .about-container {
    flex-direction: column;
    /* flex-wrap: wrap; */
  }

  .about-container .about-content {
    background-color: transparent;
    height: 50%;
    width: auto;
    padding: 5px 5px;
  }
  .about-container .about-content h1 {
    font-size: 25px;
  }
  .about-container .about-content h3 {
    font-size: 10px;
  }

  .about-container .about-image {
    object-fit: cover;
    overflow: hidden;
    margin: 5px 5px;
    height: 50%;
    width: auto;
  }
  /* 
    .portfolio-sec{
        height: 400px;
    } */
  .portfolio-img-container {
    height: 400px;
  }

  .iqform {
    padding: 10px;
  }

  .iqform .formspacer {
    flex-direction: column;
  }
  .iqform .formspacer .form-container {
    width: 90%;
  }

  .iqform .formspacer .mapper {
    width: 90%;
  }
}
