/* ========================
   GLOBAL
======================== */
html {
  scroll-behavior: smooth;
}

body {
  background: linear-gradient(135deg, #667eea, #516de9);
  font-family: 'Poppins', sans-serif;
  min-height: 100vh;
  font-size: 20px;
}

section {
  margin-top: 10vh;
  margin-bottom: 10vh;
}

.nave{
  padding-left: 5vh;
  padding-right: 5vh;
}

/* ========================
   SEPARADOR ENTRE PÁRRAFOS
======================== */
.separador {
  height: 1px;
  background-color: rgba(255, 255, 255, 0.3);
  margin: 20px 0;
  /* espacio arriba y abajo del separador */
}

/* ========================
   TARJETAS / CARD
======================== */
.card {
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  background-color: #667eea;
  color: white;
}



/* ========================
   SOBRE MÍ
======================== */
.sobre-mi .card {
  background-color: #667eea;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  padding: 40px 30px;
  transition: transform 0.3s ease;
}

.profile-img {
  width: 100%;
  max-width: 250px;
  height: auto;
  border-radius: 50%;
  border: 4px solid white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.sobre-mi h2 {
  font-weight: 700;
  font-size: 36px;
  letter-spacing: 1px;
  color: white;
}

/* Bloque de párrafo interactivo */
.bloque-parrafo {
  position: relative;
  padding: 1vh;
  transition: all 0.3s ease;
}

.bloque-parrafo p {
  text-align: left;
  font-size: 1.125rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

/* Separador con efecto */
.bloque-parrafo:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

/* Hover en bloque */
.bloque-parrafo:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.bloque-parrafo:hover::after {
  background-color: rgba(255, 255, 255, 0.6);
}

/* Adaptación móvil */
@media (max-width: 768px) {
  .profile-img {
    max-width: 200px;
    margin-bottom: 20px;
  }

  .sobre-mi h2 {
    font-size: 30px;
  }
}



/* ========================
   FRASES Y ESTILOS VARIOS
======================== */
.frase1,
.frase2 {
  font-size: 17px;
  max-width: 600px;
  margin: 20px auto;
  line-height: 1.6;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}

.frase1 {
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding-top: 20px;
}

.frase2 {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 20px;
}

/* ========================
   BOTONES / TECH STACK
======================== */
.tech-stack {
  gap: 20px;
}

.tech-item {
  width: 150px;
  text-align: center;
}


/* ========================
   PROYECTOS / TÍTULOS
======================== */
.titulo-proyectos {
  color: white;
  font-weight: 700;
  font-size: 42px;
  letter-spacing: 1px;
  padding-top: 5vh;
}

/* ========================
   IMÁGENES Y AVATAR
======================== */


.imagen-ajustada {
  width: 100%;
  height: 300px;
  object-fit: contain;
  display: block;
}

.imagen-ajustada1 {
  width: 100%;
  height: 300px;
  object-fit: contain;
  display: block;
  padding: 50px;
}

.imagen-ajustada2 {
  width: 100%;
  object-fit: contain;
  display: block;
  padding: -20px;
}

/* ========================
   ICONOS SOCIALES
======================== */
.social-icons a {
  color: #333;
  margin: 0 10px;
  font-size: 1.5rem;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #764ba2;
  transform: scale(1.2);
}

/* ========================
   CURSOR
======================== */
.cursor,
footer {
  cursor: default;
}

footer a:hover {
  transform: scale(1.2);
  transition: 0.3s;
}


/* ========================
   MODAL
======================== */
.modal-body img {
  border-radius: 50px;
}

/* ========================
   OTROS
======================== */
.card-proyecto {
  margin-top: auto;
}

.bordesito {
  border: 1px solid red;
}

.caja {
  max-width: 1200px;
}

/* ========================
   MEDIA QUERIES
======================== */
@media (max-width: 992px) {
  .cinta {
    font-size: 16px;
  }
}

@media (max-width: 576px) {
  .cinta {
    width: 35%;
  }
}