  
  /* RESET GENERAL  */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: Arial, sans-serif;
  background-color: #02031a; 
  color: black;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* TÍTULO DEL MENU  */
h2.logo {
  font-family: 'Verdana', sans-serif; 
  font-size: 2.5rem;               
  color: #e6b0aa;                     
  text-align: center;                 
  text-shadow: 2px 2px 5px rgba(0,0,0,0.3); 
  border-bottom: 3px solid #ffdd57;  
  display: inline-block;             
  padding-bottom: 5px;
  margin-top: 30px;
  margin-bottom: 20px;
}


/* MENÚ DE BOTONES  */
nav {
  display: flex;             
  justify-content: center;   
  gap: 20px;               
  padding-left: 0;           
  margin-top: 20px;
}

nav li {
  list-style: none;          
}

nav a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  padding: 10px 20px;
  background-color: #4b0082; /* morado oscuro */
  border-radius: 8px;
  transition: background 0.3s, transform 0.2s;
  display: block;           
}

nav a:hover {
  background-color: #7b1fa2;
  transform: translateY(-2px); /* efecto sutil al pasar el mouse */
}


/* CUADRO DEL CONTENIDO */
.venprin {
  display: block;
  width: 70%;          
  height: 500px;       
  margin: 40px auto;   
  border-radius: 15px;
  border: 3px solid rgb(223, 218, 218);
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
  
}

  /* 
   INICIO */
body.inicio {
  background: linear-gradient(to right, #74ebd5, #ACB6E5);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.inicio-section {
  max-width: 700px;      
  padding: 40px 30px;      
  margin: 50px auto;
  font-size: 16px;
  border-radius: 25px;
  background-color: #b10c43;
  color: white;
  text-align: center;
  box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.3);
}

.inicio-section h1 {
  font-family: 'Verdana', sans-serif; 
  font-size: 2.5rem;                 
  color: #ffdd57;                     
  text-shadow: 2px 2px 5px rgba(0,0,0,0.3); 
  margin-bottom: 20px;
  border-bottom: 3px solid #ffdd57;   
  display: inline-block;              
  padding-bottom: 5px;
}


.inicio-section p {
  font-size: 1.1rem;
  margin-bottom: 15px;
  text-align: justify;
  line-height: 1.6;
}

.inicio-section ul {
  list-style: none;
  padding: 0;
  margin: 20px auto;
  text-align: left;
  max-width: 500px;
}

.inicio-section li {
  background: rgba(255, 255, 255, 0.3);
  padding: 12px 15px;
  margin-bottom: 12px;
  border-radius: 10px;
  border-left: 5px solid #28a745;
  transition: transform 0.2s, background 0.2s;
}

.inicio-section li:hover {
  transform: translateX(5px);
  background: rgba(255, 255, 255, 0.4);
}

  /* ============================
     APP (Perfil y Tareas)
  ============================ */
  body.app {
    /* Fondo degradado bonito */
    background: linear-gradient(to right, #74ebd5, #ACB6E5);
    font-family: Arial, sans-serif;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

.contenedor {
    display: grid;
    grid-template-columns: 1fr 2fr;  
    gap: 25px;
    padding: 30px;
    max-width: 1200px;
    margin: 30px auto;
}

/* Tarjetas de perfil y tareas */
.perfil, .tareas {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0px 6px 15px rgba(0,0,0,0.1);
}

/* Formularios */
form {
    display: flex;
    flex-direction: column;
}
label {
    font-weight: bold;
    margin-top: 10px;
}
input, textarea {
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

/* Botón de agregar tareas */
button {
  margin-top: 15px;
  padding: 12px 20px;         
  background: #07366b;         
  color: white;
  font-weight: bold;
  font-size: 1rem;
  border: none;
  border-radius: 12px;         
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Verdana', sans-serif; 
  box-shadow: 0 4px 6px rgba(0,0,0,0.2); 
}

button:hover {
  background: #0d0550;          
  transform: translateY(-2px);  
  box-shadow: 0 6px 10px rgba(0,0,0,0.3);
}

/* Lista de tareas */
ul {
    list-style: none;
    padding: 0;
}
ul li {
    padding: 8px;
    margin: 5px 0;
    background: #f9fafb;
    border-left: 4px solid #2563eb;
    border-radius: 5px;
}
.perfil h2,
.tareas h2 {
    font-size: 1.8rem;         
    color: #2563eb;             
    margin-bottom: 15px;
    border-bottom: 2px solid #2563eb;  
    padding-bottom: 5px;
    font-weight: bold;
    font-family: 'Arial', sans-serif;  
    text-align: center;          
}
/* Tarea completada */
.completada span {
  text-decoration: line-through;
  color: gray;
}

  
  /* ============================
     RESPONSIVE
  ============================ */
  @media (max-width: 900px) {
    .contenedor {
      grid-template-columns: 1fr; 
    }
    .inicio-section, .welcome, .venprin {
      max-width: 90%;
      padding: 30px;
    }
    nav ul {
      flex-direction: column;
      gap: 15px;
    }
  }
  .welcome {
    color: white; 
    text-align: center; 
}