/* Estilos generales */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
  }
  
  body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding-top: 20px;
    text-align: center;
    background: url(imagenes/fondo.jpg) no-repeat center center/ cover;
  }

/* Contenedor principal */

.contenedor {
    width: 700px;
    min-height: 500px;
    background-color:  rgba(146, 146, 146, 0.596);
    padding: 40px;
    border: 5px solid black;
    border-radius: 20px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
  }

  /* Titulo */

h1 {
    font-size: 50px;
    font-weight: bold;
  }
  
  /* Ingresar texto */
  
  input {
    width: 80%;
    height: 50px;
    font-size: 25px;
    margin: 20px;
    padding: 10px;
    border: 4px solid #404040;
    border-radius: 10px;
  }
  
  /* Boton */
  
  button {
    width: 150px;
    height: 60px;
    padding: 10px;
    color: white;
    background-color: #1c1cde;
    font-size: 22px; 
    border-radius: 10px;
    border: 0px solid black;
    cursor: pointer;
    user-select: none;
  }

  /* Lista de Tareas */

#lista-de-tareas {
    width: 80%;
    margin-top: 20px;
  }

  /* Tareas individuales */

.tarea {
    width: 100%;
    min-height: 70px;
    font-size: 25px;
    padding: 10px;
    margin-top: 10px;
    color: white;
    background-color: #407ba6;
    border: 2px solid black;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }
  
  /* Estilo para tarea completada */
  
  .tarea.completada {
    text-decoration: line-through;
    background-color: #404040;
    border: none;
  }
  
  .tarea p {
    max-width: 350px;
  }
  
  /* Iconos */
  
  i {
    margin: 5px;
    padding: 10px;
    cursor: pointer;
  }
  
  .icono-completar {
    color: rgb(0, 255, 0);
  }
  
  .icono-eliminar {
    color: rgb(255, 255, 255);
  }
  
  .icono-completar:hover,
  .icono-eliminar:hover {
    background-color: rgba(255, 255, 255, 0.523);
  }

  .footer {
    
    background-color: rgba(255, 255, 255, 0.523);
    padding: 20px;
    width: 100%;
    margin-top: 50px;
  }