@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
@tailwind base;
@tailwind components;
@tailwind utilities;

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}
html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}
body {
  background-color: black;
  max-width: 100vw;
}

.container-center {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.container-center-left {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.logo {
  position: absolute;
  top: -10px;
  left: 20px;
  height: 180px;
}

header {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  color: #fff;
}

header h1 {
  font-weight: 600;
  font-size: 3.5rem;
  margin-top: 9rem;
  text-align: center;
  width: 70%;
  line-height: 4rem;
}

header p {
  font-size: 1.3rem;
  margin-top: 1.6rem;
  font-weight: 400;
  color: #398aa7;
  width: 50%;
  text-align: center;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  color: #fff;
}

main h1 {
  font-weight: 600;
  font-size: 3.5rem;
  text-align: center;
  width: 70%;
  line-height: 4rem;
}

main p {
  font-size: 1.3rem;
  margin-top: 1rem;
  font-weight: 400;
  color: #398aa7;
  width: 50%;
  text-align: center;
}

.call-to-action {
  cursor: pointer;
  background-color: #398aa7;
  border: none;
  text-align: center;
  border-radius: 6px;
  align-items: center;
  justify-content: center;
  min-width: 260px;
  max-width: 430px;
  min-height: 55px;
  margin-top: 40px;
  margin-left: 0;
  padding: 8px 12px;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  display: flex;
  position: relative;
  color: #fff;
  transition: 0.6s transform;
  gap: 10px;
}

.pricing {
  width: 95%;
  display: flex;
  justify-content: center;
  gap: 15px;
  padding: 0 1rem;
}

.pricing > div {
}

.background-container {
  position: relative;
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
  color: white; /* Color del texto */
  display: flex;
  align-items: center;
  justify-content: center;
}

.background-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../assets/code.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.25; /* Aplica la opacidad solo a la imagen de fondo */
  z-index: -1; /* Coloca la imagen de fondo detrás del contenido */
}

.call-to-action:hover {
  transform: scale(1.05);
}

.mocca {
  height: 400px;
  margin-top: 60px;
}

.services-a {
  padding: 5rem;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.services-b {
  padding: 5rem;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.services-b div {
  width: 50%;
  margin: auto 0;
}

.services-a div {
  width: 50%;
  margin: auto 0;
}

.services-a div:first-child h2 {
  font-size: 2.7rem;
  font-weight: 700;
  line-height: 3rem;
  letter-spacing: 3px;
}
.services-b div:last-child h2 {
  font-size: 2.7rem;
  line-height: 3rem;

  font-weight: 700;
  letter-spacing: 3px;
}
.services-a div:first-child p {
  width: 100%;
  text-align: justify;
  color: #fff;
  line-height: 1.7rem;
}
.services-b div:last-child p {
  width: 100%;
  text-align: justify;
  color: #fff;
  line-height: 1.7rem;
}

.bullet-container {
  margin-top: 40px !important;
  width: 100% !important;
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 columnas de igual tamaño */
  grid-template-rows: repeat(2, 1fr); /* 2 filas de igual tamaño */
  column-gap: 30px;
  row-gap: 15px;
}

.bullet {
  border: 2px solid #398aa7;
  border-radius: 5px;
  height: 55px;
  width: 100% !important;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  line-height: 1rem;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.6s;
}
.bullet:hover {
  background-color: #398aa7;
  border: 1px solid #fff;
  transform: scale(1.04);
}

.tech-stack {
  position: relative;
  overflow: hidden;
  min-height: 70vh;
  background-color: #fff;
  display: flex;
  align-items: center;
  padding: 0 3rem;
}

.tech-stack-title {
  position: absolute;
  width: 100%;
  height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  left: 0;
  top: 0;
}

.tech-stack-title h2 {
  text-align: center;

  font-size: 46px;
  font-weight: 700;
  color: #398aa7;
}
.tech-stack-title p {
  text-align: center;
  font-weight: 700;
  color: #000;
  font-size: 24px;
  line-height: 35px;
}

.tech-stack-logo {
  height: 130px;
  margin-right: 12rem; /* Ajusta el espacio entre logos */
}
.carousel {
  display: flex;
  margin-top: 100px;
  gap: 15rem;
  white-space: nowrap;
}

.track {
  display: flex;
  animation: scroll infinite linear;
}

.team {
  min-height: 50vh;
}

.title {
  font-size: 46px;
  font-weight: 600;
}

footer {
  min-height: 90vh;
  height: 100%;
  
}


@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-100% / 2)); /* Mueve el contenido completo */
  }
}
/* @keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(
      calc(-14 * 130px - 13 * 4rem)
    ); 
  }
} */

.services-a.mobile {
  display: none;
}

@media screen and (min-width: 1624px) {
  .pricing {
    padding: 0 4rem;
  }

  .pricing > div {
    width: 22% !important;
  }
}
@media screen and (max-width: 1024px) {
  .pricing {
    flex-direction: column;
    width: 100% !important;
    padding: 2rem;
  }

  .pricing > div {
    margin-top: 1rem;
    width: 100% !important;
  }
  main {
    margin-top: 0;
  }
  header {
    justify-content: center;
  }
  main h1,
  header h1 {
    margin-top: 0;
    font-size: 2rem;
    line-height: 2rem;
    width: 95%;
  }

  main p,
  header p {
    width: 85%;
    font-size: 16px;
  }

  .mocca {
    height: 250px;
    width: auto;
  }
  .bullet-container {
    grid-template-columns: repeat(1, 1fr); /* 2 columnas de igual tamaño */
    grid-template-rows: repeat(1, 1fr); /* 2 filas de igual tamaño */
    column-gap: 35px;
    row-gap: 0px;
  }
  label,
  input,
  .contact-form-subtitle {
    width: 70% !important;
  }
  .team {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .team-card {
    width: 100% !important;
  }
  .tech-stack-title {
    height: 300px;
  }
  .tech-stack-title h2 {
    font-size: 2rem;
    line-height: 2rem;
    width: 95%;
  }
  .tech-stack-title p {
    font-size: 1rem;
    line-height: 1rem;
    width: 80%;
    margin-top: 15px;
  }

  .tech-stack-logo {
    height: 100px;
  }
  .title {
    font-size: 2rem;
  }
  .services-a,
  .services-b {
    padding: 2rem;
    flex-direction: column;
  }

  .services-a div,
  .services-b div {
    width: 100%;
  }

  .services-a div:first-child h2,
  .services-b div:last-child h2 {
    font-size: 2rem;
  }
  .services-b {
    display: none;
  }
  .services-a.mobile {
    display: block;
  }
  .container-center {
    justify-content: center;
    align-items: center;
  }

  .container-center-left {
    justify-content: center;
    align-items: center;
  }

  .container-center img {
    width: 100%;
    transform: none !important;
  }
}
@media screen and (max-width: 768px) {
  .pricing {
    flex-direction: column;
    width: 100% !important;
    padding: 2rem;
  }

  .pricing > div {
    margin-top: 1rem;
    width: 100% !important;
  }
  main {
    margin-top: 0;
  }
  header {
    justify-content: center;
  }
  main h1,
  header h1 {
    margin-top: 0;
    font-size: 2rem;
    line-height: 2rem;
    width: 95%;
  }

  main p,
  header p {
    width: 85%;
    font-size: 16px;
  }

  .mocca {
    height: 250px;
    width: auto;
  }
  .bullet-container {
    grid-template-columns: repeat(1, 1fr); /* 2 columnas de igual tamaño */
    grid-template-rows: repeat(1, 1fr); /* 2 filas de igual tamaño */
    column-gap: 35px;
    row-gap: 0px;
  }
  label,
  input,
  .contact-form-subtitle {
    width: 100% !important;
  }
  .team {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .team-card {
    width: 100% !important;
  }
  .tech-stack-title {
    height: 300px;
  }
  .tech-stack-title h2 {
    font-size: 2rem;
    line-height: 2rem;
    width: 95%;
  }
  .tech-stack-title p {
    font-size: 1rem;
    line-height: 1rem;
    width: 80%;
    margin-top: 15px;
  }

  .tech-stack-logo {
    height: 100px;
  }
  .title {
    font-size: 2rem;
  }
  .services-a,
  .services-b {
    padding: 2rem;
    flex-direction: column;
  }

  .services-a div,
  .services-b div {
    width: 100%;
  }

  .services-a div:first-child h2,
  .services-b div:last-child h2 {
    font-size: 2rem;
  }
  .services-b {
    display: none;
  }
  .services-a.mobile {
    display: block;
  }
  .container-center {
    justify-content: center;
    align-items: center;
  }

  .container-center-left {
    justify-content: center;
    align-items: center;
  }

  .container-center img {
    width: 100%;
    transform: none !important;
  }
}
@media screen and (max-width: 480px) {
  .logo {
    top: -30px;
    left: 15px;
  }
  .services-a.mobile {
    display: block;
  }
  main {
    margin-top: 0;
  }
  header {
    justify-content: center;
  }
  main h1,
  header h1 {
    font-size: 2rem;
    line-height: 2rem;
    width: 90%;
  }

  main p,
  header p {
    width: 85%;
    font-size: 16px;
  }

  .mocca {
    height: 220px;
    width: auto;
  }

  .services-a,
  .services-b {
    padding: 2rem;
    flex-direction: column;
  }

  .services-a div,
  .services-b div {
    width: 100%;
  }

  .services-a div:first-child h2,
  .services-b div:last-child h2 {
    line-height: 2.2rem;
    font-size: 2rem;
  }
  .services-a div:first-child p,
  .services-b div:last-child p {
    line-height: 1.5rem;
  }
  .bullet-container {
    margin-top: 20px !important;
    grid-template-columns: repeat(1, 1fr); /* 2 columnas de igual tamaño */
    grid-template-rows: repeat(1, 1fr); /* 2 filas de igual tamaño */
    column-gap: 35px;
    row-gap: 0px;
  }
  .container-center {
    justify-content: center;
    align-items: center;
  }

  .container-center-left {
    justify-content: center;
    align-items: center;
  }

  .container-center img {
    margin-top: 20px;
    width: 100%;
    transform: none !important;
  }

  .services-b {
    display: none;
  }

  .tech-stack-title {
    height: 300px;
  }
  .tech-stack-title h2 {
    font-size: 1.8rem;
    line-height: 1.8rem;
    width: 85%;
  }
  .tech-stack-title p {
    font-size: 1rem;
    line-height: 1rem;
    font-weight: 600;
    width: 70%;
    margin-top: 15px;
  }

  .tech-stack-logo {
    height: 100px;
  }
  .title {
    font-size: 1.8rem;
  }
  .team {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .team-card {
    width: 100% !important;
  }
  .team-card img {
    width: 50%;
  }
  label,
  input,
  .contact-form-subtitle {
    width: 100% !important;
  }
  .subtitle {
    width: 85%;
    font-size: 16px;
    line-height: 22px;
  }

  footer {
    min-height: 100vh;
    height: 100%;
    padding: 2rem !important;
  }

  footer p {
    text-align: center;
  }
}

.soft {
  margin-top: 2rem !important;
}

#alert {
  transition: 0.5s;
  transform: translateX(-1200px);
}
