/* Fondo general */
body {
  /* background-color: */
  background-color: #ffffff;
  /* background: linear-gradient(90deg, #023e8a 0%, #0278b5 100%); */

 
  margin: 0;
  padding: 0;
  z-index: 1;
  position: relative;
  min-height: 100vh;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
  /* font-family: "Rubik", sans-serif; */
  font-family: 'IBM Plex Mono', monospace;



}

.name {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 3rem;
  background: linear-gradient(90deg, #5691ff, #0dffe7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  justify-content: center;
  margin-top: 15rem;
  margin-bottom: 7rem;
   text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}
.skills-container {
  flex: 1 1 300px;         
  width: 100%;              
  max-width: 500px;       
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.skill {
  display: flex;
  align-items: center;
  gap: 10px;
}

.skill span {
  flex: 0 0 120px;         
  text-align: left;
}

.skill-bar {
  flex: 1;                  
  height: 15px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.skill-level {
  height: 100%;
  background: linear-gradient(90deg, #a600ff, #00eeff);
}


.navbar .container {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
   padding: 0 1rem;
}

.navbar {
  /* background-color: #000000; */
  background: linear-gradient(90deg, #06080f 0%, #001f39 100%); 
  position: relative;
  z-index: -2;
}

.navbar-brand {
  display: flex;
  align-items: center;
  justify-content: center;

  /* cursor: pointer;
  transition: ease-in-out 300ms; */
}

.navbar-brand img {
  width: 300px;
  height: 60px;
}

/* .navbar-brand:hover {
  transform: scale(1.05);
} */

.navbar-nav .nav-link {
  color: white !important;
  margin-left: 15px;
}


.navbar-nav .nav-link:hover {
  /* color: #127dff !important; */
  transition: 0.3s;
}

/* Sección principal centrada */
.about-me {
  display: flex;
  flex-wrap: wrap;           
  justify-content: center;
  align-items: center;
  margin-top: 5rem;
  margin-bottom: 30rem;
  gap: 10rem;                 
}

.about-me-content {
  display: flex;
  flex-direction: column;     
  align-items: center;
  gap: 2rem;
  max-width: 100%;
}

.about-me-content img {
  width: 200px; 
  height: auto;
}

.description {
  flex: 1 1 300px;           
  background-color: rgba(194, 194, 194, 0.076);
  border: 1px solid rgba(225, 225, 225, 0.092);
  border-radius: 8px;
  padding: 1rem;
  box-sizing: border-box;
}

/* Botón proyectos */
.projects {
  background-color: #27c0df;
  border: none;
  padding: 8px 18px;
  border-radius: 6px;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.projects:hover {
  background-color: #1586be;
  transform: translateY(-2px);
}

/* .nodes {
  position: fixed;
  width: 100%;
  top: 2rem;
  transform: translateX(50%, -50%);
  transform: rotate(170deg);
  z-index: -999;
  opacity: 0.95 !important;
  pointer-events: none;
} */

.navbar-dark .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.projects-page {
  position: relative;
  z-index: z;
}

.nav-link img {
  width: 45px;
  height: 45px;
  transition: ease-in-out 300ms;

  z-index: 2;
}

.nav-link img:hover {
  /* transform: scale(1.1); */
  box-shadow: 0 0.55px 0.55px rgba(43, 170, 244, 0.774);
  border-radius: 50%;
}

/* Animación fade-in */
.fade-in {
  opacity: 0;
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.show {
  opacity: 1;
}

.about-me img {
  width: 300px;
  height: auto;
  margin-right: 100px;
}

/* Icono overlay */
.overlay-icon {
  font-size: 1.2rem;
  color: white;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  padding: 6px;
  line-height: 1;
  transition: transform 0.3s ease;
}



@media screen and (max-width: 900px) {

  .navbar .container {
    display: flex !important;
    justify-content: space-between !important; 
    align-items: center !important;
    padding: 0 1rem; 
    overflow: visible;  
  }
  .navbar-brand {
    display: flex;
    justify-content: flex-start;    
    /* padding: 0.3rem 0;  */
    overflow: visible; 
  }
  .navbar-brand img {        
    width: 60px;   
    height: 60px;
    display: block;
  }

  .navbar-toggler {
    margin: 0 !important;
    align-self: center;
  }

  .navbar {
    padding: 0.3rem 0;
  }

  /* Ajustes de About-me para móviles */
  .about-me {
    justify-content: flex-start;
    align-items: flex-start;
    margin-top: 2rem;
    margin-bottom: 10rem;
    padding: 0 1rem;
    flex-direction: column;
    
    
  }

  .about-me .description {
    width: 100%; /* Para que sea responsiva */
    max-width: 330px;
    padding: 0.3rem;
  }

  .about-me p {
    text-align: left;
    font-size: 16px;
  }

  .about-me .projects {
    align-self: flex-start;
    margin-top: 1rem;
  }

  .skills-container {
    width: 100%;
    max-width: 350px;
    margin-top: 1rem;
  }

  .name {
    margin-left: 10%;
    margin-top: 4rem;
  }
}

