* {
    padding: 0px;
    margin: 0px;
}
header {
    width: auto;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgb(70, 59, 59);
    color: aliceblue;
    gap: 10px;
}

section {
    background-color: rgba(201, 194, 194, 0.644);
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: space-evenly;

	@media (max-width:768px){
		flex-direction:column;
        align-items: center;
        gap:5px;
        height: 100vh;
        overflow:auto;
	}
}

.wrapper-head {
    align-self: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 5px;
    border-radius: 10px;
    background-color: rgb(167, 160, 160);
    @media (max-width:768px){
		margin: 1rem;
	}
}

.wrapper-head input {
    width: 15rem;
    height: 1.4rem;
    border-radius: 12px;
    padding-left: 1rem;
    border: 0;
    box-sizing: border-box;
}

.wrapper-head .action {
    display: flex;
    width: 100%;
    justify-content: space-evenly;
    
}

.create {
    cursor: pointer;

}

.delete {
    cursor: pointer;
    position: relative;
}
.delete p {
    visibility: hidden;
    position: absolute;
}
.action .delete:hover p {
    visibility: visible;
    width: 4.5rem;
    top: 100%; 
    transform: translateX(-50%);
    font-size: medium;
    margin-top: 1rem;
    border: 2px solid black;
    border-radius: 20px;
    padding: 5px;
}

.edit {
    cursor: pointer;
}

.sort {
    cursor: pointer;
}

.catagory {
    margin: 4rem;
    width: 20%;
    height: 75%;
    display: flex;
    flex-direction: column;
    border-radius: 25px;
    font-size: x-large;
    font-weight: 600;
    align-items: center;
    @media (max-width:768px){
		margin: 0.6rem;
        width: 18rem;
        height: 20rem;
	}
}

.catagory .heading {
    margin-top: 2rem;
    background-color: rgb(240, 240, 240);
    width: 100%;
    height: 5%;
    text-align: center;
    @media (max-width:768px){
		margin-top: 1rem;
        height: 1.25rem;
        font-size: 1.2rem;
	}
}

.catagory .taskarea {
    height: 100%;
    width: 90%;
    margin: 1rem 0 0;
    background-color: rgba(34, 32, 32, 0.507);
    overflow: auto;
    box-sizing: border-box;
    @media (max-width:768px){
        height: 100%;
	}
}

.catagory .add{
    justify-content: center;
    width: 5rem;
    padding: 5px;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 1rem;
    @media (max-width:768px){
        margin: 0.6rem;
        padding: 3px;
	}
}

.catagory.to-do {
    background-color: rgba(238, 77, 77, 0.938);
}

.catagory.doing {
    background-color: rgba(142, 142, 243, 0.925);
}

.catagory.done {
    background-color: rgba(113, 233, 113, 0.911);
}

.new-task {
    position:fixed;
    display: flex;
    flex-direction: column;
    background-color: rgb(184, 184, 184);
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    border: 1px solid black;
    min-width: 300px;
    height: 30vh;
    align-items: center;
    box-sizing: border-box;
    gap: 10px;
    border-radius: 10px;
}

.new-task .task-title {
    width: 90%;
    background-color: white;
    font-size: 1rem;
    font-weight: 600;
    padding: 2px;
} 

.new-task .task-detail {
    height: 65%;
    width: 90%;
    background-color: white;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 5px;
}

.action button {
    cursor: pointer;
    margin-bottom: 5px;
    width: 5rem;
}

.hide {
    display: none;
}

.catagory .taskarea .wrapper-task{
    background-color: antiquewhite;
    margin: 5px;
    border-radius: 10px;
    padding: .5rem;
    font-size: medium;
}

.wrapper-task .id{
    color: rgb(129, 126, 126);
}

.wrapper-task .title{
    color: cornflowerblue;
}

.wrapper-task {
    .detail {
        pointer-events: none;

        textarea{
            width: 100%;
            height: 4rem;
            padding: 5px;
            font-weight: 600;
            background-color: transparent;
            box-sizing: border-box;
        }
    }
    .detail.active {
        pointer-events: all;
    }
}

.wrapper-task .action{
    display: flex;
    justify-content: end;
    column-gap: 10px;
    cursor: pointer;

    .delete{
        color: rgba(240, 41, 41, 0.932);
    }
    
    .edit{
        color:rgba(0, 0, 0, 0.671);
    }
    
}

footer {
    height: 1.2rem;
    text-align: center;
    font-size: small;
    font-weight: 600;
    color: azure;
    padding-top: 10px;
    background-color: rgb(54, 54, 54);
}