* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color:darkcyan;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
    height: 100%;
    max-height: 500px;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
}

form {
    display: flex;
    gap:10px;
    margin-bottom: 10px;
    padding-inline: 10px;
}

 input[type="text"] {
    flex-grow: 1;
    padding: 10px;
    outline: none;
    

}
 button {
    padding:8px 10px;
    background-color: darkcyan;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

button:hover {
    background-color:darkslategray;
    color: white;
  }

  ul{
    list-style-type: none;
    padding: 0;
  }

  li{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: #f4f4f4;
    border-radius: 4px;
    margin-bottom: 10px;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  }
  
  li button {
    background-color: darkslategray;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
  }
  
  li button:hover {
    background-color: red;
  }

  @media screen and (max-width: 768px) {
    .container {
        width: fit-content;
        height: auto;
       
    }
   form{
        flex-direction: column;
        padding: 20px;
        width: 1005;

    }

 }