@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

@font-face {
  font-family: "Canela";
  src: url("../fonts/CanelaDeck-Regular.otf");
}

.sky {
  margin: 0 auto;
  /* background: #171717; */
  width: 100%;
  height: 100vh;
  border-radius: 6px;
  position: fixed;
  z-index: 0;
  left: 0;
  top: 0;
  overflow: hidden;
}
.stars {
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 700px;
  top: 50%;
  transform: translateY(-50%);
}

.star {
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0px 0px 6px 0px rgba(255, 255, 255, 0.8);
}

.small-stars .star {
  position: absolute;
  width: 2px;
  height: 2px;
}
.small-stars .star:nth-child(2n) {
  opacity: 0;
  -webkit-animation: star-blink 2.4s linear infinite alternate;
  animation: star-blink 2.4s linear infinite alternate;
}
.small-stars .star:nth-child(1) {
  left: 210px;
  top: 50px;
}
.small-stars .star:nth-child(2) {
  left: 400px;
  top: 40px;
}
.small-stars .star:nth-child(3) {
  left: 720px;
  top: 120px;
}
.small-stars .star:nth-child(4) {
  left: 140px;
  top: 450px;
}
.small-stars .star:nth-child(5) {
  left: 500px;
  top: 300px;
}
.small-stars .star:nth-child(6) {
  left: 150px;
  top: 80px;
}
.small-stars .star:nth-child(7) {
  left: 200px;
  top: 360px;
}
.small-stars .star:nth-child(8) {
  left: 70px;
  top: 370px;
}
.small-stars .star:nth-child(9) {
  left: 300px;
  top: 340px;
}
.small-stars .star:nth-child(10) {
  left: 130px;
  top: 500px;
}
.small-stars .star:nth-child(11) {
  left: 230px;
  top: 430px;
}
.small-stars .star:nth-child(12) {
  left: 600px;
  top: 380px;
}
.small-stars .star:nth-child(13) {
  right: 600px;
  top: 380px;
}
.small-stars .star:nth-child(14) {
  right: 210px;
  top: 50px;
}
.small-stars .star:nth-child(15) {
  right: 400px;
  top: 40px;
}
.small-stars .star:nth-child(16) {
  right: 720px;
  top: 120px;
}
.small-stars .star:nth-child(17) {
  right: 140px;
  top: 450px;
}
.small-stars .star:nth-child(18) {
  right: 500px;
  top: 300px;
}
.small-stars .star:nth-child(19) {
  right: 150px;
  top: 80px;
}
.small-stars .star:nth-child(20) {
  right: 200px;
  top: 360px;
}
.small-stars .star:nth-child(21) {
  right: 70px;
  top: 370px;
}
.small-stars .star:nth-child(22) {
  right: 300px;
  top: 340px;
}
.small-stars .star:nth-child(23) {
  right: 130px;
  top: 500px;
}
.small-stars .star:nth-child(24) {
  right: 230px;
  top: 430px;
}
@-webkit-keyframes star-blink {
  50% {
    width: 3px;
    height: 3px;
    opacity: 1;
  }
}
@keyframes star-blink {
  50% {
    width: 3px;
    height: 3px;
    opacity: 1;
  }
}

.medium-stars .star {
  position: absolute;
  width: 3px;
  height: 3px;
  opacity: 0;
  -webkit-animation: star-blink 2.4s ease-in infinite alternate;
  animation: star-blink 2.4s ease-in infinite alternate;
}
.medium-stars .star:nth-child(1) {
  left: 300px;
  top: 50px;
}
.medium-stars .star:nth-child(2) {
  left: 600px;
  top: 40px;
  -webkit-animation-delay: 2s;
  animation-delay: 2s;
}
.medium-stars .star:nth-child(3) {
  left: 720px;
  top: 300px;
  -webkit-animation-delay: 0.2s;
  animation-delay: 0.2s;
}
.medium-stars .star:nth-child(4) {
  left: 500px;
  top: 300px;
  -webkit-animation-delay: 1.2s;
  animation-delay: 1.2s;
}
.medium-stars .star:nth-child(5) {
  left: 300px;
  top: 150px;
  -webkit-animation-delay: 2s;
  animation-delay: 2s;
}
.medium-stars .star:nth-child(6) {
  left: 740px;
  top: 450px;
  -webkit-animation-delay: 1s;
  animation-delay: 1s;
}
.medium-stars .star:nth-child(7) {
  left: 240px;
  top: 240px;
  -webkit-animation-delay: 2.4s;
  animation-delay: 2.4s;
}
.medium-stars .star:nth-child(8) {
  left: 30px;
  top: 280px;
  -webkit-animation-delay: 0.3s;
  animation-delay: 0.3s;
}
.medium-stars .star:nth-child(9) {
  left: 560px;
  top: 400px;
  -webkit-animation-delay: 2.2s;
  animation-delay: 2.2s;
}
.medium-stars .star:nth-child(10) {
  left: 150px;
  top: 10px;
  -webkit-animation-delay: 1s;
  animation-delay: 1s;
}
.medium-stars .star:nth-child(11) {
  left: 90px;
  top: 200px;
  -webkit-animation-delay: 1.5s;
  animation-delay: 1.5s;
}
.medium-stars .star:nth-child(12) {
  left: 20px;
  top: 80px;
  -webkit-animation-delay: 1.4s;
  animation-delay: 1.4s;
}
.medium-stars .star:nth-child(13) {
  left: 300px;
  top: 50px;
}
.medium-stars .star:nth-child(14) {
  left: 600px;
  top: 40px;
  -webkit-animation-delay: 2s;
  animation-delay: 2s;
}
.medium-stars .star:nth-child(15) {
  left: 720px;
  top: 300px;
  -webkit-animation-delay: 0.2s;
  animation-delay: 0.2s;
}
.medium-stars .star:nth-child(16) {
  left: 500px;
  top: 300px;
  -webkit-animation-delay: 1.2s;
  animation-delay: 1.2s;
}
.medium-stars .star:nth-child(17) {
  left: 300px;
  top: 150px;
  -webkit-animation-delay: 2s;
  animation-delay: 2s;
}
.medium-stars .star:nth-child(18) {
  left: 740px;
  top: 450px;
  -webkit-animation-delay: 1s;
  animation-delay: 1s;
}
.medium-stars .star:nth-child(19) {
  left: 240px;
  top: 240px;
  -webkit-animation-delay: 2.4s;
  animation-delay: 2.4s;
}
.medium-stars .star:nth-child(20) {
  left: 30px;
  top: 280px;
  -webkit-animation-delay: 0.3s;
  animation-delay: 0.3s;
}
.medium-stars .star:nth-child(21) {
  left: 560px;
  top: 400px;
  -webkit-animation-delay: 2.2s;
  animation-delay: 2.2s;
}
.medium-stars .star:nth-child(22) {
  left: 150px;
  top: 10px;
  -webkit-animation-delay: 1s;
  animation-delay: 1s;
}
.medium-stars .star:nth-child(23) {
  left: 90px;
  top: 200px;
  -webkit-animation-delay: 1.5s;
  animation-delay: 1.5s;
}
.medium-stars .star:nth-child(24) {
  left: 20px;
  top: 80px;
  -webkit-animation-delay: 1.4s;
  animation-delay: 1.4s;
}
@keyframes star-blink {
  50% {
    width: 4px;
    height: 4px;
    opacity: 1;
  }
}
.star-fall {
  position: relative;
  border-radius: 2px;
  width: 80px;
  height: 2px;
  overflow: hidden;
  transform: rotate(-20deg);
}
.star-fall:after {
  content: "";
  position: absolute;
  width: 50px;
  height: 2px;
  background: linear-gradient(
    to left,
    rgba(0, 0, 0, 0) 0%,
    rgba(255, 255, 255, 0.4) 100%
  );

  left: 100%;
  -webkit-animation: star-fall 3.6s linear infinite;
  animation: star-fall 3.6s linear infinite;
}

.star-fall:nth-child(1) {
  left: 80px;
  top: 400px;
}
.star-fall:nth-child(1):after {
  -webkit-animation-delay: 2.4s;
  animation-delay: 2.4s;
}

.star-fall:nth-child(2) {
  left: 200px;
  top: 200px;
}
.star-fall:nth-child(2):after {
  -webkit-animation-delay: 2s;
  animation-delay: 2s;
}

.star-fall:nth-child(3) {
  left: 780px;
  top: 400px;
}
.star-fall:nth-child(3):after {
  -webkit-animation-delay: 3.2s;
  animation-delay: 3.2s;
}

.star-fall:nth-child(4) {
  left: 200px;
  top: 100px;
}
.star-fall:nth-child(4):after {
  -webkit-animation-delay: 0.2s;
  animation-delay: 0.2s;
}

.star-fall:nth-child(5) {
  left: calc(70% + 80px);
  top: 400px;
}
.star-fall:nth-child(5):after {
  -webkit-animation-delay: 2.4s;
  animation-delay: 2.4s;
}

.star-fall:nth-child(6) {
  left: calc(70% + 200px);
  top: 200px;
}
.star-fall:nth-child(6):after {
  -webkit-animation-delay: 2s;
  animation-delay: 2s;
}

.star-fall:nth-child(7) {
  left: calc(50% + 780px);
  top: 400px;
}
.star-fall:nth-child(7):after {
  -webkit-animation-delay: 3.2s;
  animation-delay: 3.2s;
}

.star-fall:nth-child(8) {
  left: calc(50% + 200px);
  top: 100px;
}
.star-fall:nth-child(8):after {
  -webkit-animation-delay: 0.2s;
  animation-delay: 0.2s;
}

@-webkit-keyframes star-fall {
  20% {
    left: -100%;
  }
  100% {
    left: -100%;
  }
}

@keyframes star-fall {
  20% {
    left: -100%;
  }
  100% {
    left: -100%;
  }
}
@media screen and (max-width: 970px) {
  .container {
    transform: scale(0.7);
  }
}
@media screen and (max-width: 770px) {
  .container {
    transform: scale(0.5);
  }
}
@media screen and (max-width: 520px) {
  .container {
    transform: scale(0.3);
  }
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background-color: #171717;
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

header a {
  svg {
    width: 50px;

    @media (max-width: 767px) {
      width: 40px;
    }
    path {
      fill: #fff;
    }
  }
}
.g-container {
  width: 100%;
  max-width: 1560px;
  padding: 0 20px;
  margin: 0 auto;
}
.dotted-bg {
  background-image: radial-gradient(
    circle at 1px 1px,
    rgb(252, 224, 172, 0.25) 2px,
    transparent 0
  );
  background-size: 1.5rem 1.5rem;
  background-repeat: repeat;
  background-position: 0.5rem center;
  position: absolute;
  width: 100%;
  bottom: 0;
  left: 0;
}
.dotted-bg:after {
  position: absolute;
  content: "";
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(
    to bottom,
    rgb(23, 23, 23, 1) 0%,
    transparent 25%
  );
}

.font {
  font-family: "Canela" !important;
}

main {
  /* background: url("../images/2.jpg"); */
  background-position: center;
  z-index: 1;
  position: relative;
  background-repeat: no-repeat;
}

#about {
  background: #000428; /* fallback for old browsers */
  background: -webkit-linear-gradient(
    to right,
    #004e92,
    #000428
  ); /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(
    to right,
    #004e92,
    #000428
  ); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

.ttt {
  filter: drop-shadow(0 0 10px rgb(255, 255, 255, 0.3));
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  object-fit: cover;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  z-index: -1;
}

.content {
  position: relative;
  z-index: 1;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  padding: 20px;
}

.content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-family: Arial, sans-serif;
}

.content p {
  font-size: 1.2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  font-family: Arial, sans-serif;
}

/* Responsive design */
@media (max-width: 768px) {
  .content h1 {
    font-size: 2rem;
  }

  .content p {
    font-size: 1rem;
  }
}

.portfolio_block_item {
  width: calc(25% - 30px);
  height: auto;
  aspect-ratio: 16 / 9;
  background-color: rgba(255, 255, 255, 0.2);
  position: relative;
  box-shadow: 0px 0px 5px rgba(255, 255, 255, 0.8);

  @media (max-width: 1300px) {
    width: calc(100% / 3 - 30px);
  }

  @media (max-width: 991px) {
    width: calc(50% - 20px);
  }

  @media (max-width: 767px) {
    width: 100%;
  }

  &:before {
    /* position: absolute;
    content: "";
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    left: -10px;
    top: -10px;
    border: 1px dotted rgba(255, 255, 255, 0.2); */
  }

  &:hover {
    background-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0px 0px 5px rgba(255, 255, 255, 0);

    /* &:before {
      border: 1px dotted rgba(255, 255, 255, 0.6);
    } */
  }

  > div {
    position: relative;

    &::before {
      position: absolute;
      content: "";
      width: 100%;
      height: 100%;
      left: 0;
      top: 0;
      background: url("../images/logo.svg");
      opacity: 0.4;
      z-index: 0;
      background-size: 60px;
      background-repeat: no-repeat;
      background-position: center;
    }

    img {
      z-index: 0;
    }
  }
}

.button {
  pointer-events: auto;
  cursor: pointer;
  background: #e7e7e7;
  border: none;
  padding: 10px 30px;
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  position: relative;
  display: inline-block;
}

.button::before,
.button::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.button--dione {
  background: none;
  font-family: obvia, sans-serif;
  font-weight: 500;
  padding: 10px 30px;
}

.button--dione span {
  display: inline-block;
  position: relative;
  color: #000;
  font-size: 14px;
}

.button--dione::before {
  content: "";
  background: #fff;
  transition: transform 0.3s cubic-bezier(0.2, 1, 0.7, 1);
}

.button--dione:hover::before {
  transform: scale3d(0.9, 0.8, 1);
}

.button--dione::after {
  content: "";
  border: 1px solid #fff;
  transition: transform 0.3s cubic-bezier(0.2, 1, 0.7, 1);
  border-radius: 0px;
  transform: scale3d(0.85, 0.65, 1);
}

.button--dione:hover::after {
  transform: scale3d(1, 1, 1);
}

#svg-container {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
}

#logo-svg {
  width: 200px;
  height: 200px;
}

#svg-container path {
  fill: transparent;
  stroke: #ddd;
  stroke-width: 10;
}

.scrolled {
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 1), transparent);
  backdrop-filter: blur(1px);
  padding: 15px 40px !important;
  transition: 0.2s ease-in-out all;

  @media (max-width: 767px) {
    padding: 15px 20px !important;
  }

  > div {
    height: auto !important;
    transition: 0.2s ease-in-out all;
  }

  a {
    svg {
      width: 35px !important;
      height: 35px !important;
      transition: 0.2s ease-in-out all;
    }
  }
}

header {
  transition: 0.2s ease-in-out all;

  > div {
    transition: 0.2s ease-in-out all;
  }

  a {
    svg {
      transition: 0.2s ease-in-out all;
    }
  }
}

.getInTouch {
  position: relative;

  &:before {
    position: absolute;
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    left: 14px;
    bottom: 13px;
    background: #fff;
  }

  &:after {
    position: absolute;
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    right: 14px;
    bottom: 13px;
    background: #fff;
  }
}
#browserModal {
  display: none;
  &.fullscreen {
    .modal-container {
      width: 100%;
      height: 100%;
    }
    .modal-content {
      height: calc(100% - 50px);
    }
  }
}

@keyframes genieEffect {
  0% {
    transform: translate(0, 0) scale(1, 1);
    opacity: 1;
  }
  30% {
    transform: translate(0, 0) scale(0.5, 0.1);
    opacity: 0.8;
  }
  100% {
    transform: translate(50vw, 100vh) scale(0, 0);
    opacity: 0;
  }
}

.genie-animate {
  animation: genieEffect 0.6s ease-in forwards;
}

.hiddenBeforeLoader {
  opacity: 0;
}

.fadeIn {
  opacity: 1;
  animation-name: fadeInOpacity;
  animation-iteration-count: 1;
  animation-timing-function: ease-in;
  animation-duration: 0.5s;
}

@keyframes fadeInOpacity {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
