* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto Condensed', sans-serif;
}

body{
  width: 100%;    
  margin: 0 auto;        
  padding: 0 20px;   
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}


/*Logo y menu de navegaciópn*/
header {
  padding: 16px 32px;
  margin: 0px 58px 0px 58px;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: 700;
}

.logo a{
  cursor: pointer;
  text-decoration: none;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: #333;
  padding: 5px 0;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #F76C0B; 
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/*CONTENIDO DE LA PÁGINA*/
/*titulo*/
.title{
  display: flex;
  align-items: center;
  font-size: 3em;
  flex-direction: column;
  margin: 160px 0px 280px 0px;
}

/*texto*/
article {
  display: flex;
  justify-content: center;
  align-items: center;
}

.text {
  text-align: center;
  max-width: 800px;
}

.title p{
  font-size: 0.4em;
  font-family: 'Inter', sans-serif;
}

.text p{
  font-size: 1.8em;
  font-family: 'Inter', sans-serif;
  margin-bottom: 200px;
}

/*PROYECTOS*/
.cont-proyect{
  margin-top: 60px;
}

.proyect-img{
  display: flex;
  justify-content: center;
  align-items: center;
}

.proyect-img img {
  max-width: 1200px;
  object-fit: contain;
}

/* Overlay encima de la imagen */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.6); /* verde translúcido */
  backdrop-filter: blur(4px); /* difuminado */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Texto en el centro */
.overlay span {
  color: white;
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 1px;
}

/* Efecto hover: overlay visible + sombra verde difuminada */
.animation-img:hover:hover .overlay {
  opacity: 1;
}

.animation-img:hover {
  box-shadow: 0 0 25px 8px #8CC63F;; /* borde verde difuminado */
}

/*DESCRIPCIÓN*/
.cont-proyect{
  margin: 0px 100px 0px 100px;
}

 .description{
   margin: 60px 0px 60px 0px;
 }

 .description p{
  font-family: 'Inter', sans-serif;
  font-size: 1.3em;
 }


/*FOOTER*/
footer{
  margin-top: 70px;
}

.icon-pages{
  display: flex;
  justify-content: center;
  gap: 20px;
}

h5{
    text-align: center;
    padding: 20px 0px;
    font-weight: 100;
    font-size: 0.8em;
}

/*celular*/
@media screen and (max-width: 600px) {
/*BARRA DE NAVEGACIÓN*/
header{
    margin: 0px;
    padding: 0px;
  }

 .nav-container {
    display: flex;
    flex-direction: row;        /* mantiene los elementos en fila */
    justify-content: center;    /* centra horizontalmente los enlaces */
    width: 100%;                /* usa todo el ancho disponible */
    gap: 20px;                  /* espacio entre elementos */
    margin: 0 auto;             /* centra el contenedor */
    font-size: 0.9em;
  }

.nav-links{
  gap: 30px;
}

/*PRESENTACIÓN*/
  .title {
    font-size: 1.8em;
    margin: 160px 0 200px 0;
    text-align: center;
  }

  .text p {
    font-size: 1.2em;
    margin-bottom: 100px;
  }

  /*PROYECTYOS*/
.cont-description p{
  font-size: 0.8em;
}

.cont-proyect{
  margin: auto;
}

  .proyect-img {
    height: auto;
    flex-direction: column;
  }
.proyect-img img {
  max-width:300px;
  object-fit: contain;
}

/*OVERLAY*/
@media screen and (max-width: 600px) {
  .overlay {
    display: none !important;
  }
}

/*FOOTER*/
.icon-pages img {
  width: 20px;
}

.icon-pages{
  gap: 15px;
}

footer h5 {
  font-size: 0.5em;
}
}



