body {
  scroll-behavior: smooth;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Fondo de la sección de presentación */
.hero {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
              url('https://img.freepik.com/free-vector/abstract-digital-technology-background_23-2148451735.jpg') center/cover no-repeat;
  height: 100vh;
}
.col-md-8 {
  background-color: #ffffd1;
  color: #000;
  border:solid 2px #103f53;

}
.py-5{
  border: 2px #000 solid;
  background-color: rgb(70, 87, 87);
}
.mb-4{
  color: #f1f1f1;
}

/* Foto perfil */
.profile-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin-bottom: 20px;
  border: 4px solid rgb(246, 224, 24);
}

/* Logo abstracto (triángulo minimalista) */


/* Cards animadas */
.card:hover {
  transform: translateY(-5px);
  transition: 0.3s;
}

/* Botón pulsante */
.btn-primary {
  background-color: teal;
  border-color: teal;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(13,110,253,0.4); }
  70% { box-shadow: 0 0 0 10px rgba(13,110,253,0); }
  100% { box-shadow: 0 0 0 0 rgba(13,110,253,0); }
}
#sobre-mi img {
  width: 150px;       /* ancho */
  height: 150px;      /* alto */
  object-fit: cover;  /* recorta para que no se deforme */
  border-radius: 50%; /* círculo */
}

.logo-triangle { width: 30px; height: 30px; position: relative; }
 .logo-triangle::before, .logo-triangle::after { content: ""; position: absolute; background-color: #ffd600; } .logo-triangle::before { width: 30px; height: 10px; top: 0; left: 0; transform: skewY(-45deg); } .logo-triangle::after { width: 20px; height: 30px; top: 0; left: 10px; transform: skewX(-45deg);}
/* 🔹 Estilo de los links del navbar como botones */
.navbar-nav .nav-link {
  color: #f1f1f1 !important; /* texto blanco */
  padding: 8px 15px; /* espacio interno */
  margin: 0 5px; /* separación entre botones */
  border: 2px solid #ffd600; /* borde amarillo */
  border-radius: 20px; /* esquinas redondeadas */
  background-color: transparent; /* fondo transparente por defecto */
  transition: all 0.3s ease; /* animación suave */
}

/* 🔹 Efecto al pasar el mouse */
.navbar-nav .nav-link:hover {
  background-color: #ffd600; /* fondo amarillo */
  color: #000 !important; /* texto negro */
}
.login-modal {
  display: none; /* Oculto por defecto */
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
}

.login-content {
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  max-width: 350px;
  width: 90%;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.login-content input {
  width: 80%;
  padding: 10px;
  margin: 10px 0;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.login-content button {
  background: #ff4f81;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.login-content button:hover {
  background: #ff2a60;
}

#loginMessage {
  margin-top: 10px;
  color: red;
}
