*{
    margin:0;
    padding:0;
    box-sizing: border-box;
}

#background{
    min-height:100vh;
    width:100%; 
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap:5rem;
    flex-direction: column;
    padding-bottom: 6rem;
    position: relative;
}

.input{
  background-color: lightgray;    
  margin:2.5rem;
  width:50vw;
  border-radius: 0.5rem;
  display: flex;
  justify-content: center;
}
#form{
padding:1rem;
width:100%;
height:100%;
display: flex;
justify-content: center;
gap:1rem;
}
.text{
    width:80%;
    height: 2.4rem;
    border-radius: 0.25rem;
    padding: 0 0.5rem 0;
    border:1px solid lightgray;
}
.text:focus {
    outline: none !important;
    border:1px solid black;
}
.submit{
    padding:6px;
    width:5%;
    background-color: brown;
    border:1px solid black;
    color: white;
    border-radius: 6px;
    transition:all 0.1s ease-in;
    cursor:pointer;
}
.submit:hover{
    transform: scale(1.1);
}
.tasks{
    background-color:lightgray ;
    border-radius: 0.5rem;
    width: 50vw;
    min-height:11vh;
    padding:0 2.5rem 0;
}   
.inTask{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    color:black;
    width:80%;
    min-height:7vh;
    margin: 1rem auto;
    border-radius: 6px;
}
.inTask button{
    display: block;
    width:5rem;
    min-height:100%;
    margin: 0 1rem;
    background-color: brown;
    color:white;
    border:1px solid black;
    border-radius: 6px;
    transition: all 0.1s ease-in;
    cursor:pointer;
}
.inTask button:hover{
   transform:scale(1.1)
}
.inTask p{
    font-size:1.3rem;
    margin: 0 1rem;
    word-break:break-all;
    width:90%;
}
footer{
    min-width: 10%;
    background-color:lightgray ;
    text-align: center;
    position: absolute;
    bottom:1rem;
    font-size: 1.5rem;
    padding:1rem 2rem;
    border : 1px solid black;
    border-radius: 16px;
    height: 3rem;
}
footer a {
    display: inline-block;
    text-decoration: none;
    color: brown;
    font-weight: 600;
    transition: text-decoration 1s;
}
#link:hover {
    transform: translate(5%,-15%);
    text-decoration: underline;
}
@media screen and (max-width:767px) {
    .input{
        width:90vw;
    }
    .submit{
        min-width:15%;
    }
    .tasks{
        width:90vw;
        padding: 0 1rem 0;
    }
    .inTask {
        width:100%;
    }
    .inTask button{
        min-width:15%;
        min-height:2rem;
    }
    footer{
        width:90vw;
        padding: 0;
        min-height:4.5rem;
        bottom:0.5rem;     
    }
}   
@media screen and (min-width:768px) {
    .input{
        width:90vw;
    }
    .submit{
        width:4rem;
    }
    .tasks{
        width:90vw;
    }
    .inTask {
        width:90%;
    }
    .inTask button{
        min-width:5rem;
        min-height:2.5rem;
    }
}   
