* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body {
    background: url('https://images.pexels.com/photos/259915/pexels-photo-259915.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 25px;
    justify-content: center;
    align-items: center;
}

#container {
    border: 2px solid black;
    background-color: white;
    width: 40%;
    margin-inline: auto;
    padding-block: 20px;
    padding-inline: 10px;
    border-radius: 20px;
    display: grid;
    gap: 5px;
    grid-template-columns: 80% auto;
}

#task,
#btn {

    border-radius: 5px;
    font-size: 1.2rem;
    padding: 2px;
}

#btn {
    background: none;
    cursor: pointer;
    transition: 0.5s;
}

#btn:hover {
    background-color: green;
    color: white;
}


#box {
    border: 2px solid black;
    background-color: white;
    width: 40%;
    padding-inline: 10px 2px;
    margin-inline: auto;
    border-radius: 10px;
    display: grid;
    gap: 5px;
    grid-template-columns: 70% repeat(2,auto);
}
p{
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-family: sans-serif;
}
.right-btn,.delete-btn{
    cursor: pointer;
    background: none;
    margin-block: 3px;
    border-radius: 10px;
    padding: 10px;
    transition: 0.5s;
    font-size: 1.5rem;
}
.right-btn{
    color: darkorange;
    border: 2px solid darkorange ;
}
.right-btn:hover{
    background-color: darkorange;
    color: white;
}
.delete-btn{
    color: red;
    border: 2px solid red;
}
.delete-btn:hover{
    background-color: red;
    color: white;
}


.line{
    text-decoration: line-through;
}
.d-none{
    display: none;
}