* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
  font-family: 'Inter';
  overflow-inline: hidden;
  
}
html {
  scroll-behavior: smooth;
}


header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background-color: #141414;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 3;
  position: fixed;
  width: 100%;
  height: 10%;
  justify-content: space-between;
  padding: 1rem 2rem;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  max-width: 4rem;
}


.nav-list {
  list-style-type: none;
  display: flex;
  gap: 1rem;
}

.nav-list li a {
  text-decoration: none;
  color: #ffffff;
  font-size: 15px;
}

.abrir-menu,
.cerrar-menu {
  display: none;
}



.span1 {
  background-color: rgb(68, 165, 255);
  padding: 12px;
  border-radius: 30px;
  font-size: 15px;
  color: #ffffff;

  border: 2px solid #ffffff;
  padding: 12px;
  transition: background-color 0.3s;
}

.span1:hover {
  background-color: rgb(32, 147, 255);
}

.nav-list li a:hover {
  color: rgb(68, 165, 255);
}


.transparent-bg {
background-color: transparent;

}



@media screen and (max-width: 550px) {
  .abrir-menu,
  .cerrar-menu {
      display: block;
      border: 0;
      font-size: 1.25rem;
      background-color: transparent;
      cursor: pointer;
  }

  .abrir-menu {
      color: #ffffff;
  }

  .cerrar-menu {
      color: #ececec;
  }

  .nav {
      opacity: 0;
      visibility: hidden;
      display: flex;
      flex-direction: column;
      align-items: end;
      gap: 1rem;
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      background-color: #1c1c1c;
      padding: 2rem;
      box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .5);
      height: 100%;
      position: fixed;
  }

  .nav.visible {
      opacity: 1;
      visibility: visible;
  }
  
  .nav-list {
      flex-direction: column;
      align-items: end;
  }

  .nav-list li a {
      color: #ecececec;
  }
}



.seccion1 {
  flex-direction: column; 
  display: flex;
  justify-content: center;
  align-items: center;
  background-image:linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../img/fondoreal.jpg);
  background-size: cover;
  background-position: center;
  height: 100vh;
  gap: 30px;
  

}
.seccion1 h1 {
  color: #ffffff;
 text-shadow: #1c1c1c;
  text-align: center;
  font-size: 55px;

}

.texto-principal {
 text-align: center;
  color: #ffffff;
  font-size: 23px;
}




.boton {
  display: inline-block;
  padding: 12px 20px;
  background-color: transparent;
  color: #ffffff; 
  text-decoration: none;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  border: 2px solid #ffffff;
  padding: 12px;
  transition: background-color 0.3s;
}


.boton:hover {
  background-color: rgb(68, 165, 255); 
}





#seccion2 {
  
  display: flex;
  flex-wrap: wrap;
height: 100vh;
  padding: 2rem;
  align-items: center;
  
}

.columna2{
  margin-right: auto;
  max-width: 37%;
  

}

.columna2 img {
  width: 100%;
}

.columna1 {
  max-width: 60%;
 margin-top: -3em;

}
.columna1, h2, p {
  margin-bottom: 10px;
}

.columna1 h2 {
  color:rgb(68, 165, 255) ;
}

.columna1 h1 {
  font-size: 50px;
}


.habilidades {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
  margin-top: -13em;
}

.habilidadR1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.2s;
}

.habilidadR1 img {
  width: 60px;
  height: 60px;
  transition: filter 0.2s, transform 0.2s;
  object-fit: cover

}

.habilidadR1 p {
  margin: 5px 0;
  opacity: 0;
  transition: opacity 0.2s;
}

.habilidad {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.2s;
}

.habilidad img {
  width: 50px;
  height: 50px;
  transition: filter 0.2s, transform 0.2s;
  object-fit: cover
}


.habilidad p {
  margin: 5px 0;
  opacity: 0;
  transition: opacity 0.2s;
}

.habilidad:hover img {
  filter: grayscale(100%);
  transform: scale(1.2); 
}

.habilidad:hover p {
  opacity: 1;
}

.habilidadR1:hover img {
  filter: grayscale(100%);
  transform: scale(1.2); 
}

.habilidadR1:hover p {
  opacity: 1;
}



#seccion3 {
  height: 100vh;
  background-color: #eeeeee;
  text-align: center;
  color: #2b2b2b;
}

#seccion3 h1 {
  padding-top: 1em;
}

.fila1 {
  display: flex;
  gap: 80px;
  justify-content: center;
  padding-top: 7em;
}


.S1 {
  background-color: #ffffff;
  width: 350px;
  height: 310px;
border-radius: 10px;
border: 1px solid rgb(214, 214, 214);

}



.S1:hover {
  box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.2);
}

.contenido1 {
  padding-top: 2em;
  
}
.contenido1 p {
  padding-top: 90px;
  font-size: 90%;
  padding: 20px;

  

}
.contenido1 h3 {
  padding-top:9px ;
}

#seccion4 {
  height: 100vh;
 background-color: #2b2b2b;
 text-align: center;
  color: #eeeeee;
}
#seccion4 h1 {
  padding-top: 1em;
}


.fila-proyecto1 {
  display: flex;
  margin-left: 4em;
  gap: 80px;
  padding-top: 7em;
  flex-wrap: wrap; 
  justify-content: flex-start; 
  align-items: flex-start
  
}

.PY1 {
  background-image: url(../img/Home1.png);
  width: 350px;
  height: 240px;
border-radius: 10px;
background-size: cover;
  background-position: center;
  border: 2px solid rgb(161, 161, 161);
overflow: hidden;
box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.2);
transition: filter 0.3s ease;
}

.PY2 {
  background-image: url(../img/dddd1.png);
  width: 350px;
  height: 240px;
border-radius: 10px;
background-size: cover;
  background-position: center;
  border: 2px solid rgb(161, 161, 161);
overflow: hidden;
box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.2);
}

.PY3 {
  background-image: url(../img/Frame\ 343131.png);
  width: 350px;
  height: 240px;
border-radius: 10px;
background-size: cover;
  background-position: center;
  border: 2px solid rgb(161, 161, 161);
overflow: hidden;
box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.2);
}


.cuadradocontexto {
  color: rgb(68, 165, 255);
  background-color: rgba(0, 0, 0, 0.9); 
  width: 100%;
  height: 100;
  text-align: start;
  box-sizing: border-box; 
  margin-top: 12.3em;
  opacity: 0;
  
}

#seccion5 {
 min-height: 100vh;
 background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../img/fondo\ finañ.jpg);
 text-align: center;
 color: #2b2b2b;
 justify-content: center;
 display: flex;
}

form {
  margin-top: 2em;
  padding: 50px 55px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  border-radius: 20px;
  text-align: center;
  width: 640px;
  background-color: #2b2b2b;
}

.input-group {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.contacto {
 color: #eeeeee;
}
label {
  color: #eeeeee;
  font-size: 15px;
  font-weight: 200;
  margin-bottom: 15px;
}

input, textarea {
  padding: 17px 25px;
  border-radius: 25px;
  margin-bottom: 20px;
  background-color: #ffffff;
  border: none;
outline: none;
}

input::placeholder, textarea::placeholder {
  color: ahi veo ;
}

.form-txt {
  margin-bottom: 30px;
  display: flex;
  justify-content:space-between ;
  text-align: center;

}

.form-txt a {
  color: rgb(68, 165, 255);
  font-size: 14px;
  font-weight: 200;
  text-decoration: none;
}

.btn {
  font-size: 16px;
  color: #ffffff;
  border: 0;
  border-radius: 30px;
  background-color:rgb(68, 165, 255) ;
  border: 2px solid #ffffff;
  cursor: pointer;
}

.btn:hover {
  background-color: rgb(32, 147, 255);
}


@media ( max-width:991px) {
  #seccion5 {
    padding: 30px;
  }

  form {
    padding: 50px 30px;
    width: 100%;
  }

  input {padding:15px;
  }
}







@media screen and (max-width: 550px) {

  #seccion3 {
    
    height: 280vh;
  
    }

  .fila1 {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .S1 {
    margin-bottom: 1.25em; 
  }

  .contenido1 {
    text-align: center;
  }

.columna2 img {
  display: none;
}


  #seccion4 {
    
    height: 440vh;
  
    }
 
    #seccion2 {
      display: flex;
      flex-direction: column;
      align-items: center;
      height: 100vh;
      overflow-x: hidden;
      max-width: 100%;
      margin-top: 4em;
    }
    .habilities {
      display: none;
    }
  
    .columna1 {
      text-align: center;
    }
  
    .columna2 {
      margin-top: 1.25em;
      text-align: center;
    }
    
  
    .habilidades {
      display: none;
    }
  
   

}

