body{
    position: relative;
}
.title{
    background: #27015e;
    color: white;
    text-align: center;
    margin: 0;
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translate(-50%,-10%);
    -webkit-transform: translate(-50%,-30%);
    -moz-transform: translate(-50%,-30%);
    -ms-transform: translate(-50%,-30%);
    -o-transform: translate(-50%,-30%);
}

.parent{
    background: #27015e;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    .child{
        width: 60%;
        position: relative;
        background: white;
        .up{
            background: #50238d;
            position: relative;
            padding: 10px 5px;
            span{
                position: absolute;
                right: 10px;
                top: 10px;
                font-size: 25px;
                background: white;
                color: #50238d;
                display: flex;
                justify-content: center;
                align-items: center;
                width: 50px;
                height: 50px;
                border-radius: 50%;
                -webkit-border-radius: 50%;
                -moz-border-radius: 50%;
                -ms-border-radius: 50%;
                -o-border-radius: 50%;
            }   
            h1{
                text-align: center;
                color: white;
                font-weight: bold;
            }
        }
        .tasks{
            padding: 10px;
            .task{
                position: relative;
                background: rgb(230, 230, 230);
                border-bottom: 1px solid black;
                padding: 10px 10px 10px 150px;
                display: flex;
                justify-content: end;
                align-items: center;
                transition: 0.4s;
                -webkit-transition: 0.4s;
                -moz-transition: 0.4s;
                -ms-transition: 0.4s;
                -o-transition: 0.4s;
                &:hover{
                    box-shadow: 0 0 5px 0 black;
                }
                .left{
                    z-index: 11;
                    left: 100px;
                    position: absolute;
                    button{
                        margin-right: 30px;
                        border: none;
                        border-radius: 50%;
                        -webkit-border-radius: 50%;
                        -moz-border-radius: 50%;
                        -ms-border-radius: 50%;
                        -o-border-radius: 50%;
                        color: white;
                        padding: 10px 15px;
                    }
                    .change{
                        background: rgb(0, 85, 255);
                    }
                    .done{
                        background: green;
                    }
                    .delete{
                        background: red;
                    }
                }
                .right{
                    position: relative;
                    width: 100%;
                    text-align: end;
                    p{
                        text-wrap: wrap;
                        font-size: 25px;
                    }
                }
            }
            .done{
                background: rgb(158, 253, 160);
            }
        }
    }
}
@media(max-width:1200px){
    .parent{
        background: #27015e;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100vh;
        .child{
            width: 90%;
            position: relative;
            background: white;
            .up{
                background: #50238d;
                position: relative;
                padding: 10px 5px;
                span{
                    position: absolute;
                    right: 10px;
                    top: 10px;
                    font-size: 25px;
                    background: white;
                    color: #50238d;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    width: 50px;
                    height: 50px;
                    border-radius: 50%;
                    -webkit-border-radius: 50%;
                    -moz-border-radius: 50%;
                    -ms-border-radius: 50%;
                    -o-border-radius: 50%;
                }   
                h1{
                    text-align: center;
                    color: white;
                    font-weight: bold;
                }
            }
            .tasks{
                padding: 10px;
                .task{
                    width: 100%;
                    position: relative;
                    background: rgb(230, 230, 230);
                    border-bottom: 1px solid black;
                    padding: 10px;
                    display: block;
                    justify-content: end;
                    align-items: center;
                    transition: 0.4s;
                    -webkit-transition: 0.4s;
                    -moz-transition: 0.4s;
                    -ms-transition: 0.4s;
                    -o-transition: 0.4s;
                    &:hover{
                        box-shadow: 0 0 5px 0 black;
                    }
                    .left{
                        display: flex;
                        justify-content: center;
                        z-index: 11;
                        left: 0;
                        position: relative;
                        button{
                            margin-right: 10px;
                            border: none;
                            border-radius: 50%;
                            -webkit-border-radius: 50%;
                            -moz-border-radius: 50%;
                            -ms-border-radius: 50%;
                            -o-border-radius: 50%;
                            color: white;
                            padding: 10px 15px;
                        }
                        .change{
                            background: rgb(0, 85, 255);
                        }
                        .done{
                            background: green;
                        }
                        .delete{
                            background: red;
                        }
                    }
                    .right{
                        margin-top: 15px;
                        position: relative;
                        width: 100%;
                        text-align: end;
                        p{
                            text-wrap: wrap;
                            font-size: 25px;
                        }
                    }
                }
                .done{
                    background: rgb(158, 253, 160);
                }
            }
        }
    }
    .box{
        width: 300px !important;
        height: 150px !important;
        
    }
}

