@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@400;600&display=swap');

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

body {
    font-family: "Poppins", sans-serif;
    display: flex;
    align-items: center;
    justify-content:center;
    background-color: #ddd;
    height: 100vh;
    padding: 20px;
    position: relative;
}
.kanban-container{
    width: 100%;
    /* background-color: red; */
    max-width: 1200px;
}
.kanban-board{
    display: flex;
    gap: 20px;
}



.kanban-column{
    background-color:  #282c34; /* light gray */
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    width: 33%;

}
.kanban-header,#username{
    text-align:center;
    margin-bottom: 20px;
    animation: AddTextShadow 2s linear  infinite alternate ;
    color:rgb(255, 255, 0);
}

@keyframes AddTextShadow {
    0%{text-shadow: 2px 2px 5px red,-2px -2px 5px green;}
    25%{
        text-shadow: 2px 2px 5px rgb(252, 164, 1), -2px -2px 5px blue;
        
    }
    50%{
        text-shadow: 2px 2px 5px crimson,-2px -2px 5px rgba(232, 252, 15, 0.657);
    }
    75%{
        text-shadow: 2px 2px 5px rgb(220, 207, 20),-2px -2px 5px rgba(212, 5, 239, 0.884);
        
    }
    100%{
        text-shadow: 2px 2px 5px rgb(169, 233, 50),-2px -2px 5px rgba(249, 191, 0, 0.863);

    }
    
    
}

.column-header,h2{
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.add-task-btn{
    background-color: #20c997; 
    border: none;
    color: white;
    padding: 5px 10px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.3rem;
    transition: background-color .3s ease, transform .3s ease;
}

.add-task-btn:hover{
    background-color: #17a689; 
    transform: scale(1.1); 
}

.task-container{
    min-height: 200px;
    background-color: #f8f9fa; 
    border: 1px solid #dee2e6; 
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1); 
}
.task-container.hovered{
    background-color: #fff9c4; 

}
.task{
    background-color: #282c34dc;
    color: #f0f4f8;   
    border-radius: 5px;
    margin-bottom: 10px;
    color: white;
    padding: 5px;
    cursor: move;
    font-size: 1.1rem; 
    position: relative;
}
.task:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
.task.dragging{
    opacity: 0.5;
}
.task .threeDots{
    position: absolute;
    right: 10px;
    cursor: pointer;
    width: 10%;
    text-align: center;
}
.task .threeDots:hover{
    color:#ddd;
    
}






.modal{
    position: fixed;
    display:none;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.504);
    justify-content: center;
}
.modal-content{
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    width: 300px;
    position: relative;
    padding-top:30px ;
}
.close{
    position: absolute;
    right: 10px;
    top: 0px;
    font-size: 2rem;
    color: red;
    cursor: pointer;
 
}
.close:hover{
    opacity: .7;
}
textarea{
    width: 100%;
    padding: 5px;
}
.save-task-btn{
    width: 100%;
    background-color: #007bff;
    border: none;
    color: white;
    padding: 5px;
    border-radius: 10px;
    cursor: pointer;
}


.global-menu{
    position: absolute;
    background-color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    border-radius: 5px;
    display: none;
    z-index: 100;
}

.menu-item{
    padding: 10px;
    cursor: pointer;
}
.menu-item:hover{
    background-color:#20c997;
    color: white;
    border-radius: 5px;
}

@media screen and (max-width:750px) {
    body{
        padding: 10px;
    }
    .kanban-board{

        gap: 10px;
    }
    
}


.footer{
    position: absolute;
    bottom:0px;
    text-align: center;
    padding: 5px;

    
    background-color: #282c34;
    color: white;
    width: 100%;
}
.footer-content{
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-img{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 10px;
    border: 2px solid #fff;
}
.footer-text{
    font-size: 17px;
}
#username{
    font-weight: bold;
    color: #f5c518;
}

