html,
body {
  scroll-behavior: smooth;
  overflow-x: hidden;
  height: 100%;
  background: linear-gradient(1deg, #242424, rgb(11 11 14));
}

body::-webkit-scrollbar {
  background: rgba(0, 0, 0, 0.192);
  width: 0.4rem;
}

body::-webkit-scrollbar-thumb {
  background-color: rgb(9 42 68);
  box-shadow: inset 0 0 3px 0px rgb(4, 1, 15);
}

a:hover {
  text-decoration: none;
}

.hidden-left {
  opacity: 0;
  filter: blur (5px);
  transform: translateX(-100%);
  transition: all 1s;
}

.hidden-right {
  opacity: 0;
  filter: blur (5px);
  transform: translateX(100%);
  transition: all 1s;
}

.hidden-top {
  opacity: 0;
  filter: blur (5px);
  transform: translateY(-4rem);
  transition: all 1s;
}

.show {
  opacity: 1;
  filter: blur(0);
  transform: translateX(0);
  transform: translateZ(0);
}

@font-face {
  font-family: Rubik;
  src: url("../Fonts/Rubik.ttf");
}

@font-face {
  font-family: Elianto;
  src: url("../Fonts/Elianto.otf");
}

@font-face {
  font-family: Created;
  src: url("../Fonts/Created.ttf");
}

@font-face {
  font-family: Limonmilk;
  src: url("../Fonts/LEMONMILK.otf");
}

@font-face {
  font-family: Steamy;
  src: url("../Fonts/Steamy.otf");
}

/* Header Section  */
.home {
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: linear-gradient(180deg, #0a0a0c, #080f14, rgb(255 249 0 / 11%));
  box-shadow: 0 0 20px #fffff7;
  color: rgb(0, 0, 0);
  background-image: linear-gradient(rgb(0 0 0 / 18%), rgb(0 0 0)),
    url("../Img/background.jpg");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  position: relative;
  background-attachment: fixed;
  clip-path: polygon(100% 0%, 100% 85%, 50% 100%, 0% 85%, 0 0);
}

.home .navigation {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0.5rem 1rem;
  background: #ffffff0a;
  z-index: 9;
  backdrop-filter: blur(5px);
  position: fixed;
}

.home .nav-list {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: end;
  align-items: center;
}

.home .navigation .logo {
  margin: auto;
  margin-left: 1rem;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.home .navigation .logo img {
  width: 15rem;
}

.home .navigation .menu-btn {
  display: none;
}

.home .navigation .nav-items {
  /* background-image: linear-gradient(45deg, #e76f51 50%, transparent 50%); */
  /* background-position: 99%; */
  /* background-size: 400%; */
  transition: background 300ms ease-in-out;
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: transparent;
  border-radius: 0.5rem;
  /* color: #ff5847; */
  color: #fff4f3;
  cursor: pointer;
  display: flex;
  align-self: center;
  font-size: 0.9rem;
  line-height: 1;
  margin: 0.5rem;
  padding: 1rem;
  text-decoration: none;
  text-align: center;
  text-transform: uppercase;
  font-family: "Rubik", sans-serif;
  font-weight: 600;
}

.home .navigation .nav-items:hover,
.home .navigation .nav-item-active {
  background-position: 0;
  transition: 0.5s;
  color: #fff;
}

.hvr-sweep-to-left {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  position: relative;
  -webkit-transition-property: color;
  transition-property: color;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
}
.hvr-sweep-to-left:before {
  content: "";
  position: absolute;
  z-index: -1;
  /* top: 0; */
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 5px !important;
  background: #e7e7e7;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transform-origin: 100% 50%;
  transform-origin: 100% 50%;
  -webkit-transition-property: transform;
  transition-property: transform;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}
.hvr-sweep-to-left:hover,
.hvr-sweep-to-left:focus,
.hvr-sweep-to-left:active {
  color: white;
}
.hvr-sweep-to-left:hover:before,
.hvr-sweep-to-left:focus:before,
.hvr-sweep-to-left:active:before {
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}

/* Hero Section  */
.home .hero {
  display: flex;
  flex-direction: column;
  margin: auto;
  text-align: center;
  margin-top: 11%;
  width: 100%;
  justify-content: center;
  /* align-items: center; */
  min-height: 100%;
}

.home .hero h2 {
  color: white;
  font-family: "Steamy";
  font-size: 5rem;
  text-transform: uppercase;
}

.home .hero p {
  color: white;
  font-family: "Elianto";
  font-size: 1.2rem;
}

.home .hero .btn {
  background-color: #004372;
  clip-path: polygon(100% 0%, 100% 70%, 50% 100%, 0% 70%, 0 0);
  width: max-content;
  margin: auto;
  margin-bottom: 11rem;
  padding-bottom: 1rem;
  font-family: "Rubik";
  transition: 0.35s;
  color: #fcffdf;
}

.home .hero .btn:hover {
  transition: 0.35s;
  background: #382714;
}

.btn:focus {
  outline: 0;
  box-shadow: none;
}

/* About Section */
.about {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 2rem 1rem;
  justify-content: center;
  align-items: center;
  background: linear-gradient(0deg, #202020, #00000000);
  clip-path: polygon(100% 0%, 100% 85%, 50% 100%, 0% 85%, 0 0);
  padding-bottom: 4rem;
}

.about .about-text {
  color: #e4d9ff;
  font-family: "Rubik", sans-serif;
  padding: 0 5rem;
  margin: auto;
  text-align: justify;
}

.about .about-text strong {
  color: #cf3f3f;
  font-weight: 400;
  font-family: "Limonmilk";
}

.about a {
  font-family: "LIMONMILK";
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  padding: 0.5rem;
  position: relative;
  overflow: hidden;
  border-radius: 0.2rem;
  transition: 0.2s;
  transform: scale(2);
  font-size: 0.5rem;
  margin-top: 2rem;
}

.about a span {
  position: relative;
  z-index: 0;
  color: #fff;
}

.about a .liquid {
  position: absolute;
  top: -60px;
  left: 0;
  width: 100%;
  height: 200px;
  background: #454bff;
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.7);
  z-index: -1;
  transition: 0.6s;
}

.about a .liquid::after,
.about a .liquid::before {
  position: absolute;
  content: "";
  width: 200%;
  height: 200%;
  top: 0;
  left: 0;
  transform: translate(-25%, -75%);
}

.about a .liquid::after {
  border-radius: 45%;
  background: rgba(20, 20, 20, 1);
  box-shadow: 0 0 10px 5px #454bff, inset 0 0 5px #7d82ff;
  animation: animate 5s linear infinite;
  opacity: 0.8;
}

.about a .liquid::before {
  border-radius: 40%;
  box-shadow: 0 0 10px rgba(26, 26, 26, 0.5),
    inset 0 0 5px rgba(26, 26, 26, 0.5);
  background: rgba(26, 26, 26, 0.5);

  animation: animate 7s linear infinite;
}

@keyframes animate {
  0% {
    transform: translate(-25%, -75%) rotate(0);
  }
  100% {
    transform: translate(-25%, -75%) rotate(360deg);
  }
}
.about a:hover .liquid {
  top: -120px;
}

.about a:hover {
  box-shadow: 0 0 5px #454bff, inset 0 0 5px #7b7fff;
  transition-delay: 0.2s;
}

.about .about-header {
  display: flex;
}

.about .about-header h1 {
  font-size: 10rem;
  /* line-height: 14rem; */
  font-family: "Limonmilk", sans-serif;
  color: transparent;
  -webkit-text-stroke-width: 2px;
  -webkit-text-stroke-color: #454bff;
  transition: 0.35s;
  cursor: default;
}

.about .about-header h1:hover {
  transition: 0.35s;
  color: #454bff;
}

/* Services */
.services {
  margin-top: 2rem;
  padding: 1rem;
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.services h2 {
  font-size: 4rem;
  color: #e7e7e7;
  font-family: "Created", sans-serif;
  text-transform: uppercase;
}

.services .service-list {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
}

.services .service-list .service-card {
  padding: 1rem;
  margin: 0.25rem;
  max-width: 24%;
  min-height: 30.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #141414;
  border-radius: 2px;
  border: 2px solid #ffffff5c;
  color: #ffffffc4;
  transition: 1s;
}

.services .service-list .service-card:hover {
  transition: 0.35s;
  background: #353535;
}

.services .service-list .service-card img {
  width: 3.5rem;
  margin-bottom: 2rem;
  margin-top: 2rem;
  filter: invert(1);
}

.services .service-list .service-card h4 {
  color: #7b7fff;
  font-family: "Limonmilk";
  margin: 0rem 0 1rem 0;
}

.services .service-list .service-card p {
  text-align: justify;
}

/* Works Section */
.works {
  padding: 1rem;
  /* display: flex; */
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.works h2 {
  font-family: "Limonmilk", sans-serif;
  color: #3f49cf;
  display: flex;
  flex-direction: row;
  width: 100%;
  margin: auto;
  padding: 1rem 0;
}

.works h2 strong {
  font-weight: normal;
  font-size: 3rem;
  text-align: center;
  width: 200%;
}

.works h2 span {
  width: -webkit-fill-available;
  margin: auto;
  height: 3px;
  background: #3f49cf;
}

.workings {
  transition: 0.35s;
  border-radius: 5px;
}

.workings img {
  width: 100%;
}

/* .swiper-container-horizontal > .swiper-pagination-bullets,
.swiper-pagination-custom,
.swiper-pagination-fraction {
  bottom: -5px !important;
} */

.imageModal .modal-dialog {
  max-width: 100% !important;
}

.imageModal .modal-dialog img {
  width: 70%;
}

.imageModal .modal-content {
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-off {
  filter: invert(1);
  position: absolute;
  top: 0;
  right: 1rem;
  background: rgba(0, 255, 255, 0.753);
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  font-family: "Elianto";
  text-align: center;
  padding: 0;
  margin: 0;
  display: block !important;
}

.modal-backdrop.show {
  opacity: 0.9 !important;
}

/* Contact */
#contact {
  background: #ff1b1b3d;
  padding: 1rem;
  margin-top: 1rem;
}

#contact h2 {
  text-align: center;
  color: white;
  margin: 1rem;
  font-family: "LIMONMILK", sans-serif;
  text-transform: uppercase;
}

.contact {
  width: 100%;
  margin: 1rem 0;
  padding: 1rem;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.contact .gmap {
  width: 60%;
  height: 35rem;
  border-radius: 1rem;
  background: #01010262;
}

.contact .gmap iframe {
  border-radius: 1rem;
  width: 100%;
  height: 100%;
  filter: invert(1);
}

.contact .information {
  width: 40%;
  height: 35rem;
  border-radius: 5px;
  padding-left: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact .information div {
  width: 100%;
  /* margin-bottom: 0.5rem; */
  background-color: #134a8b87;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 1rem;
  color: #e7e7e7;
  text-align: center;
  font-family: "Rubik";
  margin: auto;
}

.contact .information div img {
  width: 3rem;
  filter: invert(1);
  margin-bottom: 0.5rem;
}

.contact .information div a {
  color: #e7e7e7;
  text-decoration: none;
}

.contact .information div a:hover {
  color: #7d82ff;
}

/* Footer */
.footer {
  background: #04040a;
  text-align: center;
  padding: 0.6rem;
  /* margin-top: 1rem; */
  font-family: "Rubik";
  color: #fcffdfc4;
  font-weight: 200;
  
}

.footer a {
  color: rgb(157, 78, 231);
  text-decoration: none;
  transition: 0.25s;
}

.footer a:hover{
    color: rgb(214 255 0);
    transition: 0.25s;
}

/* Mobile Responsive */
@media screen and (max-width: 500px) {
  .home {
    padding: 1rem;
    height: 100%;
    background-size: cover;
    background-position: top;
  }

  .home .hero h2 {
    font-size: 4rem;
  }

  .home .hero p {
    font-size: 1rem;
  }

  .home .navigation {
    justify-content: center;
    align-items: center;
    background: #00000000;
    padding: auto;
    position: relative;
    display: flex;
    flex-direction: revert;
    flex-wrap: wrap;
  }

  .home .navigation .logo {
    margin: auto;
    margin-left: 0;
  }

  .home .navigation .logo img {
    margin-right: 0.5rem;
  }

  .home .nav-list {
    width: 100%;
    height: 0;
    display: flex;
    overflow: hidden;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    background: #00000040;
    transition: 0.3s;
    transform: scale(0.5);
  }

  .rotate-menu {
    height: auto !important;
    transition: 0.3s !important;
    transform: scale(1) !important;
  }

  .home .navigation .nav-items {
    width: 100%;
    margin: 0;
    border-radius: 0;
  }

  .home .navigation .menu-btn {
    display: block;
    width: auto;
    margin: auto;
    margin-right: 0;
  }

  .home .navigation .hamburger .line {
    width: 40px;
    height: 4px;
    background-color: #9f9fff9c;
    display: block;
    margin: 8px auto;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
  }

  .home .navigation .hamburger:hover {
    cursor: pointer;
  }

  .home .navigation #hamburger-6.is-active {
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    -webkit-transition-delay: 0.6s;
    -o-transition-delay: 0.6s;
    transition-delay: 0.6s;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  .home .navigation #hamburger-6.is-active .line:nth-child(2) {
    width: 0px;
  }

  .home .navigation #hamburger-6.is-active .line:nth-child(1),
  .home .navigation #hamburger-6.is-active .line:nth-child(3) {
    -webkit-transition-delay: 0.3s;
    -o-transition-delay: 0.3s;
    transition-delay: 0.3s;
  }

  .home .navigation #hamburger-6.is-active .line:nth-child(1) {
    -webkit-transform: translateY(13px);
    -ms-transform: translateY(13px);
    -o-transform: translateY(13px);
    transform: translateY(13px);
  }

  .home .navigation #hamburger-6.is-active .line:nth-child(3) {
    -webkit-transform: translateY(-13px) rotate(90deg);
    -ms-transform: translateY(-13px) rotate(90deg);
    -o-transform: translateY(-13px) rotate(90deg);
    transform: translateY(-13px) rotate(90deg);
  }

  .home .nav-list {
    margin: 1rem 0;
  }

  .about .about-header h1 {
    font-size: 4.7rem !important;
  }

  .about {
    background: linear-gradient(0deg, #202020, #00000000);
    clip-path: polygon(100% 0%, 100% 90%, 50% 100%, 0% 90%, 0 0);
    padding-bottom: 6rem;
  }

  .about .about-text {
    padding: 0 1rem;
    margin: auto;
    text-align: justify;
    font-size: 1rem;
  }

  .services .service-list .service-card {
    padding: 1rem;
    margin: 0.25rem;
    max-width: 100%;
    min-height: auto;
    justify-content: center;
  }

  .work-slider .carousel-item img {
    min-width: 95vw;
  }

  .contact {
    flex-direction: column-reverse;
    padding: 0;
  }

  .contact > div {
    width: 100% !important;
  }

  .contact .information {
    padding: 0;
    margin-top: 1rem;
  }

  .works h2 strong {
    font-size: 2rem;
  }

  .imageModal .modal-dialog img {
    width: 100%;
  }

  .imageModal .modal-dialog .btn-off {
    top: -25vh;
  }
  
  .footer{
      font-size: 0.8rem;
  }
}
