
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
body {
    font-family: "Libre Baskerville", serif;
    background-color: #bde0fe;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    flex-direction:column;
  
  
  }
  
  .container {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
    text-align: center;
  }

.welcome{
  background-color:#ddd; 
  align-self:center;
  max-width:none;
  margin-top: 0px;
  }

.con1{
  margin:20px;
  height:70%;
  overflow-y:auto;
 
}

.h1{

  top:150px;
  padding:20px;
  background-color:#A2D2FF;
  border-radius:15px;
  box-shadow: 0 0 6px rgba(0,0,0, 0.7);
  margin-top:20px;
 
}
  
  
.input-section {
    margin-top:30px;
    display: flex;
    justify-content: space-between;
    
  
  }
  
  input {
    flex: 1;
     font-family: "Libre Baskerville", serif;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 16px;
 
    
    
  }
  
  button {
    padding: 10px 15px;
    margin-left: 10px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
  
  button:hover {
    background-color: #218838;
  }
  
  ol {
    list-style-type: none;
    margin-top: 20px;
  }
  
  li {
    display: flex;
    justify-content: space-between;
    background-color: #f9f9f9;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 10px;

  }
  
  li.completed {
    text-decoration: line-through;
    color: #6c757d;
  }
  
  .task-btns {
    display: flex;
    gap: 10px;
  }
  
  .task-btns button {
     
    padding: 5px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
  }
  
  .task-btns button.edit {
    background-color: #ffc107;
  }
  
  .task-btns button.delete {
    background-color: #dc3545;
  }
  
  .task-btns button:hover {
    opacity: 0.8;
  }
  
  
  @media (max-width: 600px) {
    .input-section {
      flex-direction: column;
      align-items: flex-start;
    }
  
    input {
      margin-bottom: 10px;
    }
  }
  
