@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

html {
  scroll-behavior: smooth; /* Para un scroll más suave */
}

/*NAV STYLES START*/

nav{
  display: flex;
  flex-direction: row;
  justify-content: end;
  font-family: 'Poppins', 'Helvetica Neue',;
  font-weight: bold;
  box-shadow: inset 1px 1px 2px ;
  margin-bottom:2rem;
  position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
} 

.navbar img{
  width: 5rem;
}

.navbar h2{
  font-size: 1.6rem;
  font-weight: 700;
}

.active{
  color: #0b5ed7;
}

.title{
  display: flex;
  align-items: center;
  width: 100dvw;
  justify-content: center;
}

/*NAV STYLES END*/
/*HERO STYLES START*/
.hero{
  background-color: #0b6ad7;
  width: 95dvw;
  height: 70dvh;
  margin: 0 auto 5rem auto;
  border-radius: 20px;
  font-family: 'Poppins';
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
}

.hero-info{
  padding: 2rem;
  width: 50dvw;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  gap: 1rem;
}

.hero-info h1{
  color: #fff;
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 2.2rem;
}

.hero-info h2{
  color: #dfdfdf;
  font-weight: 300;
  font-size: 1.1rem;
  width: 40dvw;
}

.hero-info img{
  width: 40dvw;
}
/*HERO STYLES END*/
/*CONTACT STYLES START*/
.contact-form{
  background-color: #fff;
  width: 40dvw;
  height: 60dvh;
  border-radius: 1rem;
  box-shadow: inset .1px .1px 2px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 3rem;
}

.item-form{
  display: flex;
  flex-direction: column;
  margin: .1rem;
  gap: 2rem;
}
.container{
  width: 0dvw;
}
/*CONTACT STYLES END*/
/*CARDS STYLES START*/
.proyects-container{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.cards-container{
  width: 100dvw;
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-bottom: 3rem;
  gap: 7rem;
}
/*CARDS STYLES END*/

/*PROS STYLES START*/
.pros-container{
  padding-top: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  width: 100dvw;
}

.pros-card{
  background-color: #0b6ad7;
  width: 22rem;
  height: 25rem;
  font-family: 'Poppins';
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  padding: 4rem;
  border-radius: 20px;
}

.pros-card-container{
display: flex;
text-align: center;
}

.icon svg{
  color: #fff;
  width: 80px;
  height: 80px;
  margin-bottom: 1rem;
}

/*PROS STYLES END*/
/*FOOTER STYLES START*/
 .footer{
    background-color: #0b6ad7;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    padding: 2rem;
    color: #fff;
    gap: 1rem;
    font-family: 'Poppins';
  }

  .footer-info a{
    text-decoration: none;
    color: #fff;
    margin: 10px;
    width: 22px;
    height: 22px;
  }

.footer img{
  width: 100px;
  height: 100px;
}
/*FOOTER STYLES END*/

@media (max-width: 767px) {
  .navbar h2{
    padding-top:1rem ;
    font-size: 1.3rem;
  }
  .hero{
    background-color: #0b6ad7;
    width: 90dvw;
    height: 140dvh;
    margin: 0 auto 1rem auto;
    flex-direction: column;
    gap: .1rem;
    margin-bottom: 3rem;
  }

  .hero-info{
    padding: 1rem;
    width: 90dvw;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
  }

  .contact-form{
    background-color: #fff;
    width: 80dvw;
    height: 60dvh;
    padding: 3rem;
  }

  .hero-info img{
    width: 60dvw;
  }
  .cards-container{
    
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  .footer{
    flex-direction: column-reverse
  }
}



