body{
    background: linear-gradient(to left, rgb(190, 4, 4), rgb(1, 1, 61));
    background-attachment: fixed;
    background-size: cover; 
    min-height: 100vh; 
    margin-bottom: 5rem;

}
.header {
    margin: 12rem auto 0 auto; /* centrado horizontal con auto */
    border: 3px solid rgba(70, 70, 70, 0.452);
    border-radius: 30px;
    background-color: rgba(0, 0, 0, 0.39);
    width: 90%;
    max-width: 35rem; /* no se hace más grande que esto */
    height: auto; /* altura automática según contenido */
    padding: 2rem 1rem; /* espacio interno */
    position: relative;
}
.cuadro1 {
    position: absolute;
    left: 50%;
    top: -5rem;
    transform: translateX(-50%); /* centrado absoluto */
    width: 12rem;
    max-width: 80%; /* adaptable a pantallas pequeñas */
    height: auto;
    border-radius: 15px;
}

.cuadro1 img {
    width: 100%;
    height: auto;
    border-radius: 15px;
}
.cuadro2 {
    margin-top: 12rem;
    width: 35rem;
}
.cuadro2 .text1{
    display: flex;
    justify-content: center;
    font-weight: 600;
    font-size: 30px;
    color: #ffffff;
}
.cuadro2 .text2{
    display: flex;
    justify-content: center;
    font-size: 10px;
    color: #dfdada;
}
.cuadro2 .text3{
    display: flex;
    justify-content: center;
    padding-top: 10px;
    font-size: 20px;
    color: #dfdada;
}
.text_info{
    margin-top: 2.5rem;
    margin-left: 5rem;
    color: #ffffff;
    font-size: 11.8px;
}
.text_info .fechacumple{
    padding-bottom:0.2rem ;
}
.text_info .Product{
    padding-bottom:0.2rem ;
}
.cuadro4{
    margin-left: 1.5rem;
    margin-top: 5rem;
    display: flex;
    gap: 2rem;
}
.cuadro4 .ubicacion{
    display: flex;
    align-items: center;
    color: #ffffff;
    gap: 0.5rem;
}
.cuadro4 .cumpleaños{
    display: flex;
    align-items: center;
    color: #ffffff;
    gap: 0.5rem;
}
.cuadro5 {
    display: flex;
    flex-direction: row; /* imagen y descripción lado a lado */
    align-items: flex-start;
    justify-content: center;
    gap: 2rem; /* espacio entre imagen y descripción */
    flex-wrap: wrap; /* se adapta en pantallas pequeñas */
    margin-top: 2rem;
}

/* Título del proyecto */
.texto_1 {
    width: 100%;
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 1.5rem;
}

/* Imagen */
.cuadro5 img {
    width: 520px;
    height: 450px;
    border-radius: 10px;
    object-fit: cover; /* mantiene proporción */
}

/* Descripción al lado de la imagen */
.descripcion {
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background-color: rgba(29, 29, 29, 0.85);
    color: #f0f0f0;
    font-family: 'Roboto', sans-serif;
    font-size: 1.5rem;
    line-height: 1.6;
    padding: 1rem;
    flex: 1 1 300px;
    width: 100%;
    max-width: 520px;
    height: auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* empuja botones al final */
    gap: 5rem;
}
.btn {
    display: inline-block; /* ya no debe ser none */
    padding: 12px 28px;
    margin: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #810000, #000c41);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

/* Efecto hover */
.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    background: linear-gradient(135deg, #5c0000c2, #0b003dc0);
}

/* Contenedor centrado */
.botones, .Git {
    text-align: center;
}


ul {
    list-style-type: square;
}

@media (max-width: 480px) {
  body {
    margin-top: 7rem;
    margin-bottom: 5rem;
    background-size: auto;
  }

  .header {
     
    margin: 1rem auto;
    width: 90%;
    height: auto;
    padding-bottom: 1rem;
  }

  .cuadro1 {
   
    position: relative; 
    left: 50%; 
    transform: translateX(-50%);
    margin-top:-3rem; /* solo margen vertical */
    width: 12rem;
    height: 12rem;
  }

  .cuadro1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .cuadro2 {
    margin-top: 1rem;
    width: 100%;
  }

  .cuadro2 .text1 {
    font-size: 22px;
  }

  .cuadro2 .text2 {
    font-size: 9px;
  }

  .cuadro2 .text3 {
    font-size: 160px;
    padding-top: 5px;
  }

  .cuadro2 .text1,
  .cuadro2 .text2,
  .cuadro2 .text3 {
    display: block;
    text-align: center;
  }

  .text_info {
    margin: 1rem auto;
    width: 85%;
    font-size: 11px;
  }

  .cuadro4 {
    flex-direction: column;
    align-items: center;
    margin: 1rem auto;
    gap: 1rem;
  }

  .texto_1 {
    margin: 1rem auto;
    font-size: 24px;
    text-align: center;
  }

  .cuadro5 img {
    width: 90%;
    height: auto;
    display: block;
    margin: 1rem auto;
  }

  .descripcion {
    width: 90%;
    height: auto;
    font-size: 15px;
    margin: 1rem auto;
    padding: 1rem;
  }

  .Resposit,
  .Git,
  .staks,
  ul {
    width: 90%;
    margin: 1rem auto;
    font-size: 18px;
    text-align: center;
  }

  ul {
    padding-left: 1rem;
  }
}
