* {
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0; 
  background: linear-gradient(135deg, #081D30 0%, #1B3E66 100%);
}

header {
  position: relative;             
  display: flex;
  align-items: center;
  padding: 0 40px;                  
  height: 80px;     
  background-color: #081d30;
  position: sticky; /* Se "pega" cuando llega al top */
  top: 0;           /* Distancia desde el borde superior */
  z-index: 1000;    /* Asegura que quede encima de otros elementos */            
}

header img {
  max-width: 160px;                 
}

nav {
  position: absolute;
  left: 50%;                        
  top: 50%;
  transform: translate(-50%, -50%); 
  display: flex;
  gap: 40px;     
                   
}



nav a {
  position: relative; /* Necesario para ::after */
  color: white;
  text-decoration: none;
  padding-bottom: 5px; /* Espacio para la línea */
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0; /* Comienza sin ancho */
  height: 2px;
  background-color: #5ac8fa;
  transition: width 0.3s ease; /* Duración y suavidad */
}

nav a:hover {
  color: #4FC3F7; /* Azul claro al pasar */
}

nav a:hover::after {
  width: 100%; /* Se expande hasta cubrir todo el enlace */
}

header img {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 160px;
}

.spacer {
  width: 40px; /* Igual al ancho aproximado del logo para simetría */
}

#Hero {
  margin-top: 0;
  color: white;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}



#anuncio {
  text-align: center;
  max-width: 500px;      
  line-height: 1.2;
  word-break: break-word;
}

#anuncio h1{
  text-shadow: 0 4px 8px rgba(0,0,0,0.4);
  font-size: 2.2rem;
  line-height: 1.3;
}

.animate__pulse {
  --animate-duration: 2s; /* Por defecto es 1s */
}


#About{
text-align: center;
color: white;
padding: 30px;
height: 100vh;
}

#About h1{
  font-size: 50px;
  padding: 20px;
}

#About p{

  padding: 50px;
  font-size: 30px;
}

.color-acento{
  color: #5ac8fa;
  
}

#About h2{
  
  padding: 20px;
}

#About .container{

  display: flex;
  align-items: center;
  justify-content: center;
  
}


#About .container img{
  
  width: 80px;
  aspect-ratio: 1/1;
  object-fit: contain;
  
  
}

#projects{
  text-align: center;
  padding: 30px;
  color: white;
  height: 60vh;
}

#projects h1{

  padding: 30px;
  color: white;
  text-align: center;
}



#projects h3{

  padding: 30px;
  color: white;
  text-align: center;
}



/* CSS */
.ver-proyecto {
  background-image: linear-gradient(92.88deg,  #081d30 9.16%,  #081d30 43.89%, #081d30 64.72%);
  border-radius: 8px;
  border-style: none;
  box-sizing: border-box;
  color: #FFFFFF;
  cursor: pointer;
  flex-shrink: 0;
  font-family: "Inter UI","SF Pro Display",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif;
  font-size: 16px;
  font-weight: 500;
  height: 4rem;
  padding: 0 1.6rem;
  text-align: center;
  text-shadow: rgba(0, 0, 0, 0.25) 0 3px 8px;
  transition: all .5s;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.ver-proyecto:hover {
  box-shadow: rgba(90, 200, 250, 0.5) 0 1px 30px;
  transition-duration: .1s;
}

@media (min-width: 768px) {
  .button-36 {
    padding: 0 2.6rem;
  }
}





.ver-proyecto i {
  margin-right: 8px; /* Espacio entre el ícono y el texto */
}

#Contactar{
  color: white;
  text-align: center;
}

#Contactar{

  text-align: center;
  padding: 30px;
}


footer{

  text-align: center;
  padding: 20px;
  background-color: #061625;
  color: white;
}