@font-face {
  font-family: "DOTMATRI";
  src: url("../font/DOTMATRI.TTF") format("truetype");
}
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

img {
  display: block;
  margin: 0 auto;
  background-repeat: no-repeat;
}

body {
  font-size: 16px;
  background-color: #fff;
}

/*navigation*/

.navbar {
  width: 100%;
  height: 10%;
  background-color: #000;
  position: fixed;
  z-index: 20;
}
.navigation {
  height: 5%;
  padding-top: 30px;
  list-style: none;
  position: fixed;
  z-index: 100;
}
.navigation li {
  display: inline-block;
  margin: 0 0.5em;
  font-size: 18px;
  text-transform: uppercase;
}
.navigation li a {
  text-decoration: none;
  color: #838383;
}

.navigation li a:hover {
  color: black;
  text-shadow: darkblue 1px 1px 5px;
}

section {
  display: flex;
  flex-wrap: wrap;
  width: 100vw;
  height: auto;
  /*border: 2px solid pink;*/
  padding: 1%;
  justify-content: center;
  background-color: #fff;
}

/*     section1     */
.sec1 {
  padding: 0;
  height: 100vh;
  text-align: center;
  z-index: 0;
}

.grid {
  background: url(../images/grid1.png);
  background-size: cover;
  background-repeat: no-repeat;
}

.logo {
  max-width: 70px;
  padding-top: 10px;
  display: inline;
  position: fixed;
  left: 10px;
  z-index: 100;
}

.logo:hover {
  scale: 1.1;
}
.title1 {
  color: black;
  font-size: 120pt;
  font-weight: 900;
  position: absolute;
  top: 52%;
  left: 25%;
  z-index: 100;
  text-shadow: black 1px 1px 100px;
  font-family: "DOTMATRI", sans-serif;
  /*mix-blend-mode: overlay;*/
}

.text-part {
  display: inline-block;
  position: relative;
  transition: transform 2s ease-in-out;
}

.text-part.left {
  transform: translateX(-200%);
}

.text-part.right {
  transform: translateX(200%);
}

.sec1:hover .text-part.left,
.sec1:hover .text-part.right {
  transform: translateX(0);
}

/*     section2     */

.sec2 {
  height: 100vh;
  z-index: 10;
  display: flex;
  position: relative;
  background-color: #fff;
}

.redtext {
  color: #000;
  text-shadow: #000 1px 1px 5px;
}

.title2 {
  color: #000;
  font-size: 30pt;
  position: absolute;
  top: 20%;
  left: 58%;
  transform: translate(-50%, -50%);
  z-index: 11;
}

.title2dotted1 {
  font-family: "DOTMATRI", sans-serif;
  color: #000;
  font-size: 90pt;
  position: absolute;
  top: 5%;
  left: 3.5%;
  transform: translate(-50%, -50%);
  z-index: 11;
}

.title2dotted2 {
  font-family: "DOTMATRI", sans-serif;
  color: #000;
  font-size: 90pt;
  position: absolute;
  top: 18%;
  left: 3.5%;
  transform: translate(-50%, -50%);
  z-index: 11;
}
.cta {
  text-decoration: none;
  position: absolute;
  display: flex;
  white-space: nowrap;
  left: 5%;
  bottom: 5%;
  opacity: 95%;
  border-radius: 30px;
  padding: 5px;
  background-color: #000;
  align-items: center;
  justify-content: center;
  color: white;
  z-index: 10;
  font-size: 36pt;
  font-weight: 700;
}

.cta:hover .ctatext {
  scale: 1.1;
  text-shadow: white 1px 1px 5px;
  color: white;
}
/*     section7     */
.sec7 {
  height: 100vh;
  z-index: 20;
}
.title7 {
  font-weight: 900;
  font-size: 90pt;
  color: white;
  margin-bottom: 90%;
}
/*https://prismic.io/blog/css-animation-examples*/
.flip-text {
  position: absolute;
  font-weight: 900;
  font-size: 90pt;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin: 20% 0;
  color: white;
  z-index: 10;
  mix-blend-mode: overlay;
}

.flip {
  height: 130px;
  overflow: hidden;
  margin-left: 50px;
}

.flip > div {
  animation: flipText 4s ease-in-out infinite;
}
.flip span {
  height: 130px;
  line-height: 130px;
  display: block;
  background-color: #000;
  color: white;
  text-shadow: white 1px 1px 5px;
}

@keyframes flipText {
  0%,
  10% {
    transform: translateY(0);
  }

  12.5%,
  22.5% {
    transform: translateY(-130px);
  }

  25%,
  35% {
    transform: translateY(-260px);
  }

  37.5%,
  47.5% {
    transform: translateY(-390px);
  }

  50%,
  60% {
    transform: translateY(-520px);
  }

  62.5%,
  72.5% {
    transform: translateY(-650px);
  }

  75%,
  85% {
    transform: translateY(-780px);
  }

  87.5%,
  97.5% {
    transform: translateY(-910px);
  }

  100% {
    transform: translateY(0);
  }
}

.abouttitle {
  font-size: 90pt;
  padding-top: 30%;
}

.abouttxt {
  font-size: 24pt;
  padding-left: 0%;
  overflow: hidden;
}
.aboutimg1 {
  position: relative;
  height: auto;
  top: 30%;
  transform: translateX(-50%);
  width: 40%;
  opacity: 1;
  z-index: 1;
  transition: 1s ease-out;
}
.aboutimg2 {
  width: 40%;
  position: relative;
  height: auto;
  top: -20%;
  left: 30%;
  opacity: 1;
  z-index: 100;
  transition: 1.5s ease-out;
}

.aboutimg3 {
  width: 40%;
  position: relative;
  height: auto;
  top: -14%;
  left: 30%;
  opacity: 1;
  z-index: 1;
  transition: 1s ease-out;
}

/*     section3     */
.sec3 {
  margin: 1rem;
  position: relative;
  overflow: hidden;
  height: 100vh;
  z-index: 10;
}

.wrapper {
  width: 100%;
  padding-top: 20px;
  text-align: center;
}

h2 {
  font-family: sans-serif;
  color: #fff;
}
.carousel {
  width: 90%;
  margin: 0 auto;
}

.carousel video {
  width: 50%;
  margin: 0 auto;
  display: block;
}
.slick-slide {
  margin: 60px;
}
.slick-slide img {
  width: 100%;
  border: 2px solid #fff;
}

.slick-prev:before,
.slick-next:before {
  color: black;
  font-size: 30px;
}
.wrapper .slick-dots li button:before {
  font-size: 30px;
  color: black;
}

/*     section4     */
.sec4 {
  background-image: url(../images/grid1.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  height: 80vh;
  z-index: 30;
}

model-viewer {
  margin: 0 5% 5% 5%;
  width: 100%;
  height: 700px;
}
.title4 {
  position: absolute;
  font-size: 60pt;
  font-weight: 700;
  color: white;
  text-align: center;
  margin-top: -35%;
}

.hiddenleft {
  opacity: 0;
  filter: blur(5px);
  transform: translateX(-100%);
  transition: all 1s;
}

.hidden {
  opacity: 0;
  filter: blur(10px);
  transform: scale(0.7);
  transition: all 1s;
}

.show {
  opacity: 1;
  filter: blur(0);
  transform: translateX(0);
}

/*hover popup*/

.choose {
  padding-top: 10%;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.popcontainer {
  position: absolute;
  display: flex;
  gap: 80px;
  cursor: pointer;
}

.popcontainer .popcard {
  position: relative;
  width: 20vw;
  height: 20vw;
}
.popcontainer .popcard .imgbox {
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 95%;
  border-radius: 0;
}

.popcontainer .popcard .imgbox img {
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  transition: 0.5s;
  border-radius: 0;
}

.popcontainer .popcard:hover .imgbox img {
  opacity: 0;
}

.chooseimg {
  height: 20vw;
  width: 20vw;
}

.popcontainer .popcard .pop {
  height: 20vw;
  width: auto;
  position: absolute;
  z-index: 10;
  opacity: 0;
  transform: translateY(0);
  transition: 0.5s;
}

.popcontainer .popcard:hover .pop {
  opacity: 1;
  transform: translateY(5%) translateX(0);
}

.popcard h2 {
  z-index: 10;
  position: absolute;
  bottom: 10px;
  left: 70%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 24pt;
  font-weight: 600;
  letter-spacing: 1px;
  width: 80%;
  text-align: center;
  padding: 5px 20px;
  border-radius: 0;
  transition: 0.5s;
  opacity: 0;
}

.popcard:hover h2 {
  bottom: 30px;
  opacity: 1;
}

.popcard:nth-child(1) {
  transition-delay: 600ms;
}
.popcard:nth-child(2) {
  transition-delay: 800ms;
}
.popcard:nth-child(3) {
  transition-delay: 1000ms;
}
.popcard:nth-child(4) {
  transition-delay: 1200ms;
}
/*     section5     */
.card {
  width: 20%;
  height: auto;
  /*border: 2px solid red;*/
  margin: 1%;
}

.card img {
  width: 100%;
  background-repeat: no-repeat;
}

/*     section6     */

.sec6 {
  position: relative;
  height: 100vh;
  z-index: 10;
  justify-content: center;
}

.knite {
  width: 30%;
  height: auto;
  transform: rotate(90deg);
  z-index: 1;
}

.title6 {
  font-weight: 900;
  font-size: 90pt;
  color: #ffffff;
  text-shadow: white 1px 1px 10px;
  position: absolute;
  transform: translateX(0) translateY(350px);
  z-index: 2;
}

.text1,
.text2,
.text3,
.text4 {
  position: absolute;
  transform: translateY(360px);
  font-size: 60pt;
  font-weight: 700;
  opacity: 0;
  color: white;
  transition:
    opacity 1s ease,
    transform 1s ease;
}

@keyframes textLeftTop {
  from {
    transform: translateY(360px);
    opacity: 0;
  }
  to {
    transform: translateX(-500px) translateY(0);
    opacity: 1;
  }
}

@keyframes textRightTop {
  from {
    transform: translateY(360px);
    opacity: 0;
  }
  to {
    transform: translateX(500px) translateY(0);
    opacity: 1;
  }
}

@keyframes textLeftBottom {
  from {
    transform: translateY(360px);
    opacity: 0;
  }
  to {
    transform: translateX(-500px) translateY(750px);
    opacity: 1;
  }
}

@keyframes textRightBottom {
  from {
    transform: translateY(360px);
    opacity: 0;
  }
  to {
    transform: translateX(500px) translateY(750px);
    opacity: 1;
  }
}

.sec6:hover .text1 {
  animation: textLeftTop 0.5s ease-in-out forwards;
}

.sec6:hover .text2 {
  animation: textRightTop 1s ease-in-out forwards;
}

.sec6:hover .text3 {
  animation: textLeftBottom 1.5s ease-in-out forwards;
}

.sec6:hover .text4 {
  animation: textRightBottom 2s ease-in-out forwards;
}

h4 {
  font-size: 22px;
}
h3 {
  font-size: 28px;
  text-align: left;
}

p {
  font-size: 2rem;
  text-align: left;
  padding-left: 0;
  color: black;
}

/* ======================
      Utilitiy Classes
   ======================*/

.centered {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.vertical-centered {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 100%;
}

/*     footer     */
.footer {
  background-color: #fff;
  color: #000;
}

#footer {
  width: 100%;
  padding: 70px 30px 20px;
}

.social {
  display: flex;
  justify-content: center;
}

.social a {
  text-decoration: none;
  padding: 10px;
  background-color: white;
  margin: 10px;
  border-radius: 50%;
}
.social a i {
  font-size: 3em;
  color: black;
}

.social a:hover {
  background-color: #ef4136;
  transition: 0.5s;
}

.social a:hover i {
  color: white;
  transition: 0.5s;
}

.footernav {
  margin: 30px 0;
}

.footernav ul {
  display: flex;
  justify-content: center;
  text-decoration: none;
}
.footernav ul li a {
  color: white;
  margin: 20px;
  text-decoration: none;
  font-size: 1.3em;
  opacity: 0.7;
  transition: 0.5s;
}

.footernav ul li {
  text-decoration: none;
  list-style-type: none;
}
.footernav ul li a:hover {
  opacity: 1;
  text-shadow: white 1px 1px 5px;
}

.footer {
  padding: 20px;
  text-align: center;
}

@media (max-width: 768px) {
  .one-third {
    width: 100% !important;
    padding: 10%;
  }
  .sec2,
  .sec3,
  .sec4,
  .sec7 {
    height: auto;
    min-height: 100vh;
    padding: 20px 10px;
  }

  .sec4 {
    background-attachment: scroll;
    background-size: cover;
    background-position: center;
  }

  .title2dotted1,
  .title2dotted2 {
    font-family: "DOTMATRI", sans-serif;
    color: #000;
    font-size: 48px !important;
    position: absolute;
    left: 5% !important;
    text-align: center;
    z-index: 11;
  }

  .title2dotted1 {
    top: 8% !important;
    margin-right: 9%;
  }

  .title2dotted2 {
    top: 15% !important;
    margin-right: 9%;
  }

  .title2 {
    color: #000;
    font-size: 16px !important;
    position: absolute;
    top: 18% !important;
    left: 52% !important;
    transform: translateX(-50%) !important;
    width: 90%;
    text-align: right;
    z-index: 11;
    line-height: 1.4;
  }
  .abouttitle {
    font-size: 60pt;
    padding-top: 30%;
  }
  .abouttxt {
    font-size: 18pt;
    padding-left: 0%;
    overflow: hidden;
  }
  .choose {
    min-height: auto;
    padding-top: 25%;
  }

  .popcontainer {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 120px;
    width: 100%;
    margin: 0 auto;
    padding: 10px;
  }

  .popcontainer .popcard {
    position: relative;
    width: 100%;
    max-width: 300px;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    transform: scale(2);
  }
  .chooseimg,
  .popcontainer .popcard .pop {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .popcontainer .popcard .pop {
    opacity: 1 !important;
    transform: none !important;
    height: 100%;
  }

  .popcontainer .popcard .imgbox img {
    opacity: 0 !important;
  }
  .wrapper {
    width: 100%;
    padding-top: 50%;
    text-align: center;
  }
  /* About images - stack vertically */
  .sec7 {
    flex-direction: column;
  }

  .aboutimg1,
  .aboutimg2,
  .aboutimg3 {
    display: block;
    position: static;
    width: 80%;
    max-width: 100%;
    height: auto;
    margin: 20px auto;
    opacity: 1;
    transform: translateX(0%) !important;
  }

  .carousel video {
    width: 100%;
  }

  .slick-slide {
    margin: 10px;
  }

  model-viewer {
    margin-top: 50%;
    height: 300px !important;
  }

  section {
    padding: 20px 10px;
  }

  .sec2 {
    overflow: visible;
    position: relative;
    min-height: 100vh;
  }
}
