@import url(./variables.css);
@import url(./font.css);
@import url(./animation.css);
@import url(./header.css);
@import url(./footer.css);


/* FONT */
@font-face {
  font-family: 'Staatliches';
  src: url('./Font/Staatliches-Regular.woff2') format('woff2'),
    url('./Font/Staatliches-Regular.woff') format('woff'),
    url('./Font/Staatliches-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'MeaCulpa';
  src: url('./Font/MeaCulpa.ttf') format('tff'),
    url('./Font/MeaCulpa.woff') format('woff'),
    url('./Font/MeaCulpa.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* █▄ ▄█ ▄▀▄ █ █▄ █    ▄▀▀ ▄▀▀ ▄▀▀
   █ ▀ █ █▀█ █ █ ▀█    ▀▄▄ ▄██ ▄██ */



html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  height: 100%;
  font-size: 62.5%;
}

section {
  width: 100%;
  position: relative;
}

canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
}

.homePage {
  background-color: #011837;
  /* From Uiverse.io by Gautammsharma */
  width: 100%;
  height: 100%;
  --gap: 7rem;
  --line: 1px;
  --color: rgba(255, 255, 255, 0.05);

  background-image: linear-gradient(-90deg,
      transparent calc(var(--gap) - var(--line)),
      var(--color) calc(var(--gap) - var(--line) + 1px),
      var(--color) var(--gap)),
    linear-gradient(0deg,
      transparent calc(var(--gap) - var(--line)),
      var(--color) calc(var(--gap) - var(--line) + 1px),
      var(--color) var(--gap));
  background-size: var(--gap) var(--gap);
}


h1 {
  margin: 1rem;
  font-family: Staatliches;
}

h2 {
  font-family: Staatliches;
}

h3 {
  font-family: Staatliches;
}

p {
  margin: 1rem 0;
  font-size: 2rem;
  color: rgb(199, 199, 199);
}

ul {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
  align-self: center;
}

a {
  text-decoration: none;
}

main {
  z-index: 0;
  text-align: center;
}

.logo svg {
  fill: var(--homeThemeColor);
}

header {
  z-index: 20;
}



/* ANIMATION of BUTTON */
/* From Uiverse.io by mi-series */
.btn {
  outline: 0;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  background: var(--homeThemeColor);
  min-width: 200px;
  border: 0;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
  box-sizing: border-box;
  margin: 1rem;
  padding: 16px 20px;
  color: #fff;
  font-size: 1.8rem;
  font-family: Staatliches;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s;
}

.btn:hover {
  transition: all 0.4s;
  box-shadow: inset 0 0 0 4px #ED244E,
    inset 0 0 0 8px #B32056,
    inset 0 0 0 12px #7A1D5F,
    inset 0 0 0 16px #401967,
    inset 0 0 0 20px #011837;
  background: #073b4c;
  color: #fff;
}

.btn .animation {
  border-radius: 100%;
  animation: ripple 0.6s linear infinite;
}

@keyframes ripple {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.1), 0 0 0 20px rgba(255, 255, 255, 0.1), 0 0 0 40px rgba(255, 255, 255, 0.1), 0 0 0 60px rgba(255, 255, 255, 0.1);
  }

  100% {
    box-shadow: 0 0 0 20px rgba(255, 255, 255, 0.1), 0 0 0 40px rgba(255, 255, 255, 0.1), 0 0 0 60px rgba(255, 255, 255, 0.1), 0 0 0 80px rgba(255, 255, 255, 0);
  }
}

/* Main Section */
.mainSection {
  height: 170vh;
  padding: 20rem 0;

  div {
    position: relative;
    z-index: 1;
    height: 200vh;
  }

  h1 {
    font-size: clamp(2rem, 7vw, 15rem);
    color: var(--homeThemeColor);

    span {
      color: transparent;
      -webkit-text-stroke: 3px var(--homeThemeColor);
    }
  }

  p {
    width: clamp(30rem, 98%, 50rem);
    margin: auto;
    backdrop-filter: blur(5px);
    color: var(--secondTextColor);

    &:first-of-type {
      font-size: 5rem;
    }

    &:last-of-type {
      font-size: 2rem;
    }

  }
}

.designServices {
  position: relative;
  height: 50rem;

  h3 {
    font-size: clamp(3rem, 10rem, 10rem);
    margin: 0;
    color: transparent;
    -webkit-text-stroke: 1px var(--homeThemeColor);
  }

  ul {
    animation: scroll 25s linear infinite;
  }

  li {
    font-size: 3rem;
    font-family: Staatliches;
    text-wrap: nowrap;
    margin: 3rem;
    color: whitesmoke;
  }

  a {
    font-size: 3rem;
  }

  .activateSticky {
    position: fixed;
    top: 10rem;
  }
}

.marquee {
  --gap: 1rem;
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: var(--gap);
  margin: 2rem auto;
}

.marquee__content {
  flex-shrink: 0;
  display: flex;
  justify-content: space-around;
  min-width: 100%;
  gap: var(--gap);
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-100% - var(--gap)));
  }
}

/* OPTIONAL: PAUSE ON HOVER */
.marquee:hover {
  animation-play-state: paused;
}


.designOverview {
  h2 {
    color: var(--homeThemeColor);
    font-size: 3rem;
  }

  p {
    font-size: 5rem;
    color: white;
    font-family: Staatliches;
    border-bottom: 0.5px solid rgb(47, 52, 95);
  }
}


/* Grid Designer */
.gridDesigner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  width: clamp(40rem, 100%, 100rem);
  margin: auto;
  text-align: left;

  div {
    border-bottom: 0.5px solid rgb(47, 52, 95);
    padding: 1rem 0;
  }

  h3 {
    font-size: 3rem;
    color: var(--secondTextColor);
  }

  p {
    font-size: 2rem;
    border: none;
    font-family: sans-serif;
  }
}


.Design {
  height: 1000px;
  padding: 20rem 0;
  mask-image: linear-gradient(to bottom, var(--homeBackgroundColor) 90%, transparent 100%);
  mask-repeat: no-repeat;
  mask-size: 100% 100%;

  h2 {
    position: relative;
    font-size: clamp(10rem, 30rem, 30rem);
    margin: 0;
    font-family: Staatliches;
    color: transparent;
    -webkit-text-stroke: 5px var(--homeThemeColor);

    &:first-of-type {
      z-index: -1;
    }
  }
}


.Develop {
  padding: 10rem 0;
  min-height: 100vh;

  h2 {
    font-size: clamp(3rem, 5rem, 5rem);
    color: var(--homeThemeColor);
  }
}

/* DEVELOP CIRCLE OF CODE */

.devCanvas {
  canvas {
    min-height: 90rem;
    min-width: 90rem;
  }
}

.devCircle {
  transform: scale(1.4);
  animation: rolMarquee 60s linear infinite;
}

/* ANIMATION ROLLER MARQUEE  */
@keyframes rolMarquee {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(-360deg);
  }
}


/* MARKETING */
.Market {
  width: clamp(400px, 100%, 1600px);
  margin: 10rem auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: start;
  text-align: left;
  gap: 5rem;

  div {
    width: clamp(30rem, 100%, 50rem);
  }

  h2 {
    font-size: 5rem;
    color: var(--homeThemeColor);
    margin: 1rem 0;
  }

  h3 {
    font-size: 3rem;
    color: white;
    margin: 2rem 0;
  }

  p {
    padding: 2rem 0;
    margin: 1rem 0;
    border-bottom: 1px solid rgb(47, 52, 95);
    font-size: 2rem;
  }
}

/*  PRODUCTS */
.projectFreedom {
  width: clamp(400px, 100%, 1600px);
  margin: 10rem auto;

  div {
    position: relative;
    background-color: #2c3e50;
    margin: auto;
    border-radius: 1rem;
    
  }

  h2 {
    font-size: 10rem;
    margin: 0;
    color: transparent;
    -webkit-text-stroke: 2px var(--homeThemeColor);
    text-align: left;
  }

  h3 {
    font-size: clamp(7rem, 10rem, 10rem);
    color: rgb(104, 104, 104);
    text-align: left;
    margin: 0;
    position: absolute;
    top: 0;
    &:first-of-type {
      font-family: Staatliches;
    }

    &:last-of-type {
      font-family: 'MeaCulpa', sans-serif;
      color: var(--homeThemeColor);
      font-size: clamp(7rem, 11rem, 12rem);
    }
  }
}