@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html,
body {
  width: 100vw;
  height: 900vh;
  background: #000;
  color: #fff;
  font-family: 'Roboto', sans-serif;
}

img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  -o-transition: transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}

img:hover {
  -webkit-transform: scale(1.05);
      -ms-transform: scale(1.05);
          transform: scale(1.05);
}

nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  padding: 1.8em;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  z-index: 2;
}

p#logo {
  text-transform: uppercase;
  font-family: 'Roboto', sans-serif;
  font-weight: 900;
  letter-spacing: 2px;
  font-size: 1.2em;
}

button {
  border: none;
  outline: none;
  font-weight: 500;
  color: #000;
  padding: 0.85em 1.5em;
  background-color: #fff;
  border-radius: 0.25em;
  font-family: 'Roboto', sans-serif;
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

button:hover {
  background-color: #75e1ff;
  -webkit-transform: translateY(-2px);
      -ms-transform: translateY(-2px);
          transform: translateY(-2px);
}

section {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.intro {
  background: url("./assets/Home.png") no-repeat center center;
  background-size: cover;
  position: relative;
  min-height: 100vh;
  width: 100%;
  height: auto;
}

.Background {
  background: url("./assets/Background.png") no-repeat center center;
  background-size: cover;
  position: relative;
  min-height: 100vh;
  width: 100%;
  height: auto;
}

.Contact {
  background: url("./assets/Contact.png") no-repeat center center;
  background-size: cover;
  position: relative;
  min-height: 100vh;
  width: 100%;
  height: auto;
}

.intro::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: -webkit-gradient(linear, left bottom, left top, from(rgba(0,0,0,0.4)), to(rgba(0,0,0,0)));
  background: -o-linear-gradient(bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 100%);
  background: linear-gradient(0deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 100%);
}

.outro {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background: -webkit-gradient(linear, left top, left bottom, from(#000000), to(#364549));
  background: -o-linear-gradient(top, #000000, #364549);
  background: linear-gradient(180deg, #000000, #364549);
  background-size: 200% 200%;
  -webkit-animation: gradientBG 15s ease infinite;
          animation: gradientBG 15s ease infinite;
}

@-webkit-keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.outro p {
  width: 75%;
  text-align: center;
  color: #fff;
  font-size: 52px;
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: 0.5px;
}

.outro p span {
  color: #75e1ff;
  font-weight: 500;
}

.cards {
  position: absolute;
  top: 25%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  width: 150vw;
  height: 600px;
  will-change: transform;
}

.card {
  position: absolute;
  width: 500px;
  height: 550px;
  left: 50%;
  top: 50%;
  -webkit-transform-origin: center center;
      -ms-transform-origin: center center;
          transform-origin: center center;
  margin-left: -250px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 1.2em;
  will-change: transform;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  -o-transition: transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}

.card-img {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  background-color: #fff;
  border-radius: 0.8em;
  overflow: hidden;
  -webkit-box-shadow: 0 10px 30px rgba(0,0,0,0.3);
          box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.card-content {
  width: 100%;
  height: 60px;
}

.card-content p {
  text-align: left;
  color: white;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  opacity: 0.9;
}

.step-counter {
  position: absolute;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  margin: 2em;
}

.counter-title,
.count {
  position: relative;
  width: 1200px;
  height: 150px;
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
          clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
  overflow: visible;
}

.count {
  position: relative;
  top: -10px;
}

.count-container {
  position: relative;
  -webkit-transform: translateY(150px);
      -ms-transform: translateY(150px);
          transform: translateY(150px);
  will-change: transform;
}

.step-counter h1 {
  width: 100%;
  position: relative;
  color: #fff;
  text-transform: uppercase;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 120px;
  line-height: 1;
  letter-spacing: -0.02em;
  will-change: transform;
}

.empty {
  opacity: 0;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  -ms-scroll-chaining: none;
      overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: clip;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

@media (max-width: 900px) {
  .counter-title {
    height: 30px;
  }

  .counter-title h1 {
    font-size: 25px;
  }

  .count {
    top: 0px;
    left: -10px;
  }

  .cards {
    top: 27.5%;
  }

  .card {
    width: 355px;
    height: 500px;
  }

  .intro,
  .Background,
  .Contact {
    background-size: contain;
    min-height: 65vh;
  }
}

