body{
    background-color: rgb(27, 27, 27);
}

.container{
    width:700px;
    height:70%;
    padding:10px;
    border-radius:20px;
    background-color: rgb(0, 0, 0);
    position:absolute;
    top: 100px;
    left:0;
    right:0;
    margin:auto;
    box-shadow: 0 0 20px white inset;
}

/* border: 5px solid;
    margin:auto;
    width:50%;
    padding:10px; */

h1{
    position: relative;
    right:-40%;
    color:white;
}

#new-task-input{
    border-radius: 10px;
    border: 2px solid;
    width:70%;
    height:20%;
    padding:10px;
    margin:10px;
    margin-right:10px;

}

#new-task-submit{
    background:linear-gradient(to right, #f32170, #ff6b08, #cf23cf, #eedd44);
    /* background: none; */
    border:none;
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
}

h2{
    position: relative;
    right:-45%;
    color:white;
}

.task{
    display:flex;
    flex-direction:row;
    padding:10px;
    margin:10px;
}

.text{
    padding:8px;
    background:linear-gradient(to right, #f32170, #ff6b08, #cf23cf, #eedd44);
    border:none;
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    margin-right:10px;
    width:250%;
    overflow-x: scroll;
    position: white;
    -webkit-appearance:none;
    -moz-appearance: none;
    -webkit-font-smoothing:antialiased;
    caret-color: whitesmoke;
    
   
}

.actions{
    margin-left:50%;
}

.edit{
    /* position: relative; */
    background: none;
    color:antiquewhite;
    /* right:-100%; */
}

.delete{
    /* position: relative; */
    background: none;
    color:antiquewhite;
    /* right:-100%; */
}


@media only screen and (max-width: 400px){
    .container{
    width:300px;
    height:80%;
    padding:2px;
    top: 80px;
    left:0;
    right:0;
    margin:auto;
    /* box-shadow: 0 0 20px white; */
}   

#new-task-submit{
    margin-left:40%;
}

#new-task-input{
    border-radius: 10px;
    border: 2px solid;
    width:90%;

}

h1{
    left:30%;
    width:20px;
}

h2{
    color:white;
    right:45%;
}

#new-task-input{
    width:260px;
}

}
