@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap");

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

body {
  overflow: hidden;
  margin: 0;
  padding: 0;
  height: 100vh;
  width: 100%;
  font-family: sans-serif;
}

/* Header */
#header {
  transition: top 0.6s;
}
header {
  position: fixed;
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: auto;
  width: 100%;
  z-index: 999;
}

.logo-text {
  height: auto;
  width: 170px;
  text-align: left;
  margin: 6px 0.6em;
}

.header-nav-models-tablet-view,
.header-nav-models {
  display: none;
}

.header-nav-content {
  height: auto;
  position: absolute;
  top: 0%;
  right: 0%;
  background-color: white;
  transform: scale(0, 1);
  transition: transform 200ms ease-in-out 100ms;
  transform-origin: right;
  margin-top: 3rem;
  border: 1px solid #bfafb2;
  border-right: none;
  border-radius: 15px 0px 0px 15px;
  box-shadow: 0px 0px 12px #808080;
}

/* Horizontal line in the Main Hamburger Navigaion Bar*/
.header-nav-links-content hr {
  border-top: 1px solid #bfafb2;
  border-bottom: none;
  margin: 0px 10px;
}

/* Size of Main Hamburger Slide */
.header-nav-links-content li {
  margin-right: 4rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  margin-left: 1.8rem;
  font-family: sans-serif;
  list-style: none;
}

.header-nav-links-content li a {
  color: black;
  text-decoration: none;
  font-size: 0.78rem;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 100ms ease-in-out;
}

.header-nav-links-content li :hover,
.header-nav-links-content li:nth-child(9) a {
  color: #8d8d8d;
}
.header-nav-links-content li:nth-child(9) a {
  cursor: default;
  pointer-events: none;
}

/* Navigation Toggle with animation*/
.nav-toggle {
  display: none;
}

.nav-toggle-lable {
  position: absolute;
  right: 0%;
  margin-right: 1.3em;
  height: 100%;
  display: flex;
  align-items: center;
}
.nav-toggle-lable:hover {
  cursor: pointer;
}
.nav-toggle-lable span,
.nav-toggle-lable span::before,
.nav-toggle-lable span::after {
  display: block;
  background: white;
  height: 0.125em;
  width: 1.2em;
  border-radius: 2px;
  transition: all 0.4s ease;
}

.nav-toggle-lable span::before,
.nav-toggle-lable span::after {
  content: "";
  position: absolute;
}

.nav-toggle-lable span::before {
  transform: translateY(-5px);
}

.nav-toggle-lable span::after {
  transform: translateY(5px);
}

.nav-toggle-lable.open span {
  transform: translateX(-20px);
  background: transparent;
}

.nav-toggle-lable.open span::before {
  transform: rotate(45deg) translate(15px, -15px);
  background: #fff;
}

.nav-toggle-lable.open span::after {
  transform: rotate(-45deg) translate(15px, 15px);
  background: #fff;
}

.nav-toggle:checked ~ .header-nav-content {
  transform: scale(1, 1);
}

.nav-toggle:checked ~ .header-nav-content a {
  opacity: 1;
  transition: opacity 250ms ease-in-out 250ms;
}
/*Header*/

/*Main*/
main {
  height: 100vh;
  width: 100%;
  background-color: #131313;
  font-family: "Poppins", sans-serif;
}

.gallery-anim {
  position: relative;
  height: 100vh;
  width: 100%;
  animation: txt-pos-animation 1.5s ease forwards 3.2s;
}

#gallery-anim-text {
  position: absolute;
  bottom: 50%;
  left: 50%;
  transform: translate(-50%, 50%);
  height: 14%;
  animation: txt-pos-animation-ins 1.5s ease forwards 3.2s;
}

#gallery-anim-text :nth-child(1) {
  stroke-dasharray: 412.6659240722656px;
  stroke-dashoffset: 412.6659240722656px;
  animation: txt-animation 2s ease forwards 0s;
}
#gallery-anim-text :nth-child(2) {
  stroke-dasharray: 185.0009765625px;
  stroke-dashoffset: 185.0009765625px;
  animation: txt-animation 2s ease forwards 0.3s;
}
#gallery-anim-text :nth-child(3) {
  stroke-dasharray: 236.1674346923828px;
  stroke-dashoffset: 236.1674346923828px;
  animation: txt-animation 2s ease forwards 0.6s;
}
#gallery-anim-text :nth-child(4) {
  stroke-dasharray: 236.16839599609375px;
  stroke-dashoffset: 236.16839599609375px;
  animation: txt-animation 2s ease forwards 0.9s;
}
#gallery-anim-text :nth-child(5) {
  stroke-dasharray: 178.43399047851562px;
  stroke-dashoffset: 178.43399047851562px;
  animation: txt-animation 2s ease forwards 1.2s;
}
#gallery-anim-text :nth-child(6) {
  stroke-dasharray: 179.22793579101562px;
  stroke-dashoffset: 179.22793579101562px;
  animation: txt-animation 2s ease forwards 1.5s;
}
#gallery-anim-text :nth-child(7) {
  stroke-dasharray: 358.37249755859375px;
  stroke-dashoffset: 358.37249755859375px;
  animation: txt-animation 2s ease forwards 1.8s;
}
#gallery-anim-text :nth-child(8) {
  stroke-dasharray: 145.13397216796875px;
  stroke-dashoffset: 145.13397216796875px;
  animation: txt-animation 2s ease forwards 2.1s;
}
#gallery-anim-text :nth-child(9) {
  stroke-dasharray: 145.13368225097656px;
  stroke-dashoffset: 145.13368225097656px;
  animation: txt-animation 2s ease forwards 2.4s;
}

@keyframes txt-animation {
  to {
    stroke-dasharray: 0;
    fill: #fff;
  }
}

@keyframes txt-pos-animation {
  to {
    height: 23vh;
  }
}

@keyframes txt-pos-animation-ins {
  to {
    transform: translate(-50%, 0%); /*The line of CONFUSION*/
    bottom: 8%;
    height: 40%;
  }
}

.gallery-main-content {
  display: flex;
  flex-direction: column;
  position: absolute;
  height: 77vh;
  width: 100vw;
  background-color: #f7f7f7;
  border-top-left-radius: 25px;
  border-top-right-radius: 25px;
  bottom: 0;
  transform: scale(1, 0);
  transform-origin: bottom;
  animation: main-content-pos-animation 1.5s ease forwards 3.4s;
}

.gallery-main-content-desktop {
  height: 90%;
}

@keyframes main-content-pos-animation {
  to {
    transform: scale(1, 1);
  }
}
.gallery-content-svg-anim {
  height: 44%;
  text-align: center;
  padding: 4% 0 2% 0;
}
.gallery-content-svg-anim svg {
  height: 100%;
}

#Wheel-right,
#wheel-left {
  animation: wheel 2s infinite linear;
  transform-origin: center;
  transform-box: fill-box;
}

#man-bike {
  animation: bike 1s ease-in-out infinite alternate;
  transform-origin: bottom;
}

#hat {
  animation: hat 1s ease-in-out infinite alternate;
  transform-origin: top;
  transform-box: fill-box;
}

@keyframes wheel {
  from {
    transform: rotateZ(0deg);
  }
  to {
    transform: rotateZ(360deg);
  }
}

@keyframes bike {
  from {
    transform: rotateX(0deg);
  }
  to {
    transform: rotateX(20deg);
  }
}

@keyframes hat {
  from {
    transform: translateY(0%);
  }
  to {
    transform: translateY(50%);
  }
}

.swiper-container {
  width: 100%;
  height: 56%;
}

.swiper-wrapper {
  padding: 3% 0;
}
.swiper-slide {
  background-position: center;
  background-size: cover;
  height: 90%;
  width: 70%;
  border-radius: 10px;
}

.swiper-slide p {
  font-size: 2.5em;
  font-weight: bold;
  color: #ffffff;
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
}

#blur {
  height: 100vh;
  width: 100%;
  background-color: transparent;
}

#blur.active {
  filter: blur(18px);
}

#popup-one,
#popup-two,
#popup-three,
#popup-four,
#popup-five,
#popup-six {
  position: absolute;
  width: 100%;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  visibility: hidden;
  opacity: 0;
  transition: 0.5s;
  text-align: center;
}

#popup-one.active,
#popup-two.active,
#popup-three.active,
#popup-four.active,
#popup-five.active,
#popup-six.active {
  top: 50%;
  visibility: visible;
  opacity: 1;
  transition: 0.5s;
  filter: blur(0px);
}

#popup-one p,
#popup-two p,
#popup-three p,
#popup-four p,
#popup-five p,
#popup-six p {
  font-size: 3em;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: -20px;
}

#popup-one .swiper-slide,
#popup-two .swiper-slide,
#popup-three .swiper-slide,
#popup-four .swiper-slide,
#popup-five .swiper-slide,
#popup-six .swiper-slide {
  width: 80%;
}

#popup-one .swiper-container,
#popup-two .swiper-container,
#popup-three .swiper-container,
#popup-four .swiper-container,
#popup-five .swiper-container,
#popup-six .swiper-container {
  margin-bottom: 20px;
}

#popup-one a,
#popup-two a,
#popup-three a,
#popup-four a,
#popup-five a,
#popup-six a {
  text-decoration: none;
  color: #ffffff;
  font-size: 20px;
  padding: 6px 10px;
  border-radius: 50px;
  background-color: #131313;
  transition: all 250ms ease-in;
}

#popup-one a:hover,
#popup-two a:hover,
#popup-three a:hover,
#popup-four a:hover,
#popup-five a:hover,
#popup-six a:hover {
  cursor: pointer;
  background-color: #808080;
}
/*End of the Main*/

/*footer*/
footer {
  height: 10%;
  background-color: red;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
}

.footer-copyright :nth-child(1) :first-child {
  font-size: 12px;
  color: #909090;
}

/*End of the footer*/

@media screen and (min-width: 575px) and (max-width: 1004px) {
  /* Header Start*/
  header {
    grid-template-columns: 1fr 1fr 1fr;
  }

  /*Main Content slider from Left side changes*/

  .header-nav-content {
    height: 100vh;
    position: absolute;
    top: 0%;
    right: 0%;
    background-color: white;
    transform: scale(0, 1);
    transition: transform 200ms ease-in-out 100ms;
    transform-origin: right;
    padding-top: 4rem;
    margin-top: 0px;
    border: none;
    border-radius: 0px;
  }

  .nav-toggle-lable.open span::before {
    transform: rotate(45deg) translate(15px, -15px);
    background: black;
  }

  .nav-toggle-lable.open span::after {
    transform: rotate(-45deg) translate(15px, 15px);
    background: black;
  }

  /* Size of Main Hamburger Slide */
  .header-nav-links-content li {
    margin-right: 10rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    margin-left: 1.8rem;
  }

  .header-nav-links-content li a {
    font-size: 0.9rem;
  }

  /* Dropdown-Models */
  .header-nav-models-tablet-view,
  .header-nav-models-tablet-view-dropdown {
    display: contents;
  }

  .header-nav-links-content :nth-child(2),
  .header-nav-links-content :nth-child(3) {
    display: none;
  }

  .header-nav-links-models-tablet-view-dropdown {
    font-family: sans-serif;
    list-style: none;
    text-align: center;
    transform: scale(1, 0);
    transition: transform 200ms ease-in-out 100ms;
    transform-origin: top;
    top: 100%;
    position: absolute;
    left: 38%;
    right: 38%;
    margin: auto;
    background: #ffffff;
    border: 1px solid #bfafb2;
    border-radius: 10px;
    box-shadow: 0px 0px 12px #808080;
  }

  .header-nav-links-models-tablet-view-dropdown li {
    margin: 10px 0;
  }

  .header-nav-links-models-tablet-view-dropdown li a {
    text-decoration: none;
    color: #000;
    font-size: 0.9rem;
    opacity: 0;
    font-family: sans-serif;
    text-transform: uppercase;
  }

  .header-nav-links-models-tablet-view-dropdown li a:hover {
    /*cursor: pointer;*/
    color: #8d8d8d;
  }

  /* Horizontal line in the Main Hamburger Navigaion Bar*/
  .header-nav-links-models-tablet-view-dropdown hr {
    border-top: 1px solid #bfafb2;
    border-bottom: none;
    margin: 0px 10px;
  }
  /* End */

  .nav-toggle-tablet-view:checked
    ~ .header-nav-models-tablet-view-dropdown
    .header-nav-links-models-tablet-view-dropdown {
    transform: scale(1, 1);
  }

  .nav-toggle-tablet-view:checked
    ~ .header-nav-models-tablet-view-dropdown
    .header-nav-links-models-tablet-view-dropdown
    li
    a {
    opacity: 1;
    transition: opacity 250ms ease-in-out 240ms;
  }

  /* Models plus toggle animation */
  .nav-toggle-tablet-view {
    display: none;
  }

  .nav-toggle-tablet-view-lable ul {
    display: flex;
    height: 100%;
    justify-content: center;
    align-items: center;
    font-size: 0.9rem;
    color: #fff;
    font-family: sans-serif;
    text-transform: uppercase;
    list-style: none;
    margin-top: 2px;
  }

  .nav-toggle-tablet-view-lable ul:hover {
    cursor: pointer;
  }

  .nav-toggle-tablet-view-lable ul li::after {
    content: "";
    display: block;
    height: 1px;
    background: #fff;
    transform: scale(0, 1);
    transform-origin: left;
    transition: transform ease-in-out 250ms;
  }

  .nav-toggle-tablet-view-lable ul li:hover::after {
    transform: scale(1, 1);
  }
  /* Header End*/

  /*Main Section for desktop*/

  #gallery-anim-text {
    height: 20%;
  }
  @keyframes txt-pos-animation {
    to {
      height: 24.5vh;
    }
  }
  .gallery-main-content {
    height: 75.5vh;
    border-top-left-radius: 28px;
    border-top-right-radius: 28px;
  }

  .gallery-main-content-desktop {
    height: 90%;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    text-align: none;
  }

  .gallery-content-svg-anim {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 0;
  }
  .gallery-content-svg-anim svg {
    width: 80%;
    max-height: 80%;
    height: unset;
  }
  .swiper-container {
    height: 100%;
  }
  .swiper-wrapper {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0;
  }

  .swiper-slide {
    background-position: center;
    background-size: cover;
    height: 70%;
    width: 70%;
    border-radius: 14px;
  }

  #popup-one p,
  #popup-two p,
  #popup-three p,
  #popup-four p,
  #popup-five p,
  #popup-six p {
    display: none;
  }

  #popup-one .swiper-container,
  #popup-two .swiper-container,
  #popup-three .swiper-container,
  #popup-four .swiper-container,
  #popup-five .swiper-container,
  #popup-six .swiper-container {
    height: 80vh;
  }

  #popup-one .swiper-slide,
  #popup-two .swiper-slide,
  #popup-three .swiper-slide,
  #popup-four .swiper-slide,
  #popup-five .swiper-slide,
  #popup-six .swiper-slide {
    height: 100%;
    width: 80%;
  }

  #popup-one,
  #popup-two,
  #popup-three,
  #popup-four,
  #popup-five,
  #popup-six {
    position: absolute;
    height: 80%;
    width: 100%;
    top: 30%;
  }

  #popup-one.active,
  #popup-two.active,
  #popup-three.active,
  #popup-four.active,
  #popup-five.active,
  #popup-six.active {
    top: 50%;
  }

  /*End of the main section for desktop*/
  /*Footer*/

  footer {
    height: 10%;
  }
  .footer-copyright :nth-child(1) :first-child {
    font-size: 13px;
  }
  /*End of the footer*/
}

@media screen and (min-width: 1005px) {
  /*Header Start*/

  header {
    grid-template-columns: 1fr 4fr 1fr;
  }

  .logo-text {
    height: auto;
    width: 198px;
    text-align: left;
    margin: 6px 1em;
  }

  /*Main Content slider from Left side changes*/

  .header-nav-content {
    height: 100vh;
    position: absolute;
    top: 0%;
    right: 0%;
    background-color: white;
    transform: scale(0, 1);
    transition: transform 200ms ease-in-out 100ms;
    transform-origin: right;
    padding-top: 4rem;
    margin-top: 0px;
    border: none;
    border-radius: 0px;
  }

  .nav-toggle-lable.open span::before {
    transform: rotate(45deg) translate(15px, -15px);
    background: black;
  }

  .nav-toggle-lable.open span::after {
    transform: rotate(-45deg) translate(15px, 15px);
    background: black;
  }

  /* Size of Main Hamburger Slide */
  .header-nav-links-content li {
    margin-right: 10rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    margin-left: 1.8rem;
  }

  .header-nav-links-content li a {
    font-size: 0.9rem;
  }

  /*Models Navigation*/
  .header-nav-models {
    display: contents;
  }

  .header-nav-links-content :nth-child(2),
  .header-nav-links-content :nth-child(3) {
    display: none;
  }

  .header-nav-links-models {
    list-style: none;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2px;
  }

  .header-nav-links-models li {
    margin-right: 1em;
    margin-left: 1em;
    font-family: sans-serif;
  }

  .header-nav-links-models li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: 0.4s linear;
  }

  .header-nav-links-models li::after {
    content: "";
    display: block;
    height: 1px;
    background: #fff;
    transform: scale(0, 1);
    transform-origin: left;
    transition: transform ease-in-out 250ms;
  }

  .header-nav-links-models li:hover::after {
    transform: scale(1, 1);
  }
  /*Header End*/

  /*Main Section for desktop*/
  #gallery-anim-text {
    height: 20%;
  }
  @keyframes txt-pos-animation {
    to {
      height: 24.5vh;
    }
  }

  .gallery-main-content {
    height: 75.5vh;
    border-top-left-radius: 28px;
    border-top-right-radius: 28px;
  }

  .gallery-main-content-desktop {
    height: 90%;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    text-align: none;
  }

  .gallery-content-svg-anim {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 0;
  }
  .gallery-content-svg-anim svg {
    width: 80%;
    max-height: 80%;
    height: unset;
  }
  .swiper-container {
    height: 100%;
  }
  .swiper-wrapper {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0;
  }

  .swiper-slide {
    background-position: center;
    background-size: cover;
    height: 70%;
    width: 70%;
    border-radius: 14px;
  }

  #popup-one p,
  #popup-two p,
  #popup-three p,
  #popup-four p,
  #popup-five p,
  #popup-six p {
    display: none;
  }

  #popup-one .swiper-container,
  #popup-two .swiper-container,
  #popup-three .swiper-container,
  #popup-four .swiper-container,
  #popup-five .swiper-container,
  #popup-six .swiper-container {
    height: 80vh;
  }

  #popup-one .swiper-slide,
  #popup-two .swiper-slide,
  #popup-three .swiper-slide,
  #popup-four .swiper-slide,
  #popup-five .swiper-slide,
  #popup-six .swiper-slide {
    height: 100%;
    width: 90%;
  }

  #popup-one,
  #popup-two,
  #popup-three,
  #popup-four,
  #popup-five,
  #popup-six {
    position: absolute;
    height: 80%;
    width: 100%;
    top: 30%;
  }

  #popup-one.active,
  #popup-two.active,
  #popup-three.active,
  #popup-four.active,
  #popup-five.active,
  #popup-six.active {
    top: 50%;
  }

  /*End of the main section for desktop*/

  /*Footer*/

  footer {
    height: 10%;
  }
  .footer-copyright :nth-child(1) :first-child {
    font-size: 13px;
  }
  /*End of the footer*/
}
