@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto&display=swap');
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.8.2/font/bootstrap-icons.css");

:root{
    --box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    --primary: #0d4794;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    list-style: none;
}

.hide {
     display: none !important;
}

.wrap {
     background-color: var(--primary);
     min-height: 100vh;
     padding: 20px;
}

.heading {
     text-align: center;
     margin: 10px auto 40px auto;
     color: #ffffff;
}

.heading .title {
     font-size: 30px;
     font-weight: 500;
}

.heading .subtitle {
     font-size: 20px;
     font-weight: 300;
}

.task-manager {
     min-width: 350px;
     max-width: 450px;
     margin: auto;
}

.search-box, .task-box, .message {
     background-color: #ffffff;
     padding: 20px 25px;
     border-radius: 8px;
     margin: 20px 0px;
}

.search-box .search {
     display: flex;
     margin: 5px 0px;
}

.search-box input {
     border-radius: 8px;
     width: 100%;
     margin-right: 10px;
     padding: 10px;
     font-size: 16px;
}

.search-box i.reset {
     font-size: 24px;
     height: 100%;
     padding: 10px 0px;
     cursor: pointer;
}

.task-box .tasks {
     margin: 10px 0px;
}

.task-box li {
     background-color: #f2f2f2;
     margin: 10px 0px;
     display: flex;
     justify-content: space-between;
     border-radius: 3px;
}

.task-box span {
     padding: 10px;
}

.task-box i.delete {
     color: #ffffff;
     background-color: #D82148;
     border-radius: 0px 3px 3px 0px;
     height: 100%;
     padding: 10px;
     cursor: pointer;
}

.task-box .add {
     display: flex;
     margin: 30px 0px 10px 0px;
     justify-content: space-between;
}

.task-box input[type="text"] {
     border-radius: 8px 4px 4px 8px;
     width: 100%;
     margin-right: 10px;
     padding: 10px;
     font-size: 16px;
}

.task-box input[type="submit"] {
     border-radius: 4px;
     padding: 10px;
     font-size: 16px;
     cursor: pointer;
     background-color: #65c18c;
     border: 0px;
}

.message {
     display: flex;
     justify-content: space-between;
     align-items: center;
}

.message button {
     border: 0px;
     background-color: #11465F;
     color: #ffffff;
     cursor: pointer;
     padding: 10px;
     font-size: 16px;
     border-radius: 4px;
}