.card-body {
    max-width: 252px;
    display: flex;
    flex-direction: column;
    background-color: #FFFFFF;    
    padding: 16px;
    border-radius: 24px;
    margin-bottom: 16px;        
    cursor: pointer;
}

.card-header{
    display: flex;
    justify-content: space-between;
    padding-bottom: 28px;
    width: 220px;
}

.translate{

    transform: translateX(100vw);
    transition: all 120ms ease-in-out;
}

.card-title{
    padding-bottom: 8px;
}

.card-description{
    width: 220px;
    color: #A8A8A8;
    padding-bottom: 24px;
    white-space: normal;
    height: 38px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-subtasks {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 24px;
}

.card-sum-subtask{
    font-size: 12px;
    padding-left: 4px;
}

.card-participants-priority{
    display: flex;
    text-align: center;
    justify-content: space-between;
}

.card-contact-emblems{
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    height: 32px;
    padding-left: 20px;
}

.card-contact-emblems-icon{
    margin-left: -20px;
}

.card-contact-emblems-img{          
    margin-left: -20px;
}

.edit-task-category-svg{
    height: 25px;
    width: 25px;
    transform:rotate(89deg);  
    border: solid 1px rgba(41, 171, 226, 1);
    border-radius: 8px;  
}

.edit-task-category-svg:hover{
    cursor: pointer;
    opacity: 0.5;    
}

.overlay-container{
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.overlay-task-container{
    z-index: 210;
}

.overlay-task {
    max-width: 396px;   
    height: fit-content;
    z-index: 8;
    background-color:   #FFFFFF; 
    border-radius: 30px;
    position: fixed;
    top: 4%;
    bottom: 96px;  
    left: 16px; 
    right: 16px; 
    padding: 32px 24px 32px 24px;
    margin: 0 auto;                  
    transition: all 120ms ease-in-out;
    overflow-y: auto;
}

.transition{
    transform: translatex(100vw);
}

.overlay-card-header {
    padding-bottom: 16px;
    display: flex;
    justify-content: space-between;
}

.overlay-card-title{
    padding-bottom: 16px;
    font-size: 36px;
    font-weight: 700;
}

.overlay-card-description{
    padding-bottom: 16px;
    font-size: 16px;
    font-weight: 400;
}

.overlay-card-due-date{
    display: flex;    
    padding-bottom: 16px;
    font-size: 16px;
    font-weight: 400;
    color: #42526E;
}

.overlay-due-date{
    color: black;
    padding-left: 25px;

}

.overlay-card-priority{
    padding-bottom: 16px;
    display: flex;   
}

.overlay-card-priority-text{
    color: #42526E;
    width: 59px;
}

.overlay-card-priority-text-img{
    padding-left: 25px;
    width: 124px;
    display: flex;
    justify-content: space-evenly;
}

.overlay-assigned-to{
    display: flex;
    flex-direction: column;
    padding-bottom: 12px;
}

.overlay-assigned-to-text{
    color: #42526E;
    padding-bottom: 4px;
}

.overlay-assigned-to-contacts{
    display: flex;
    align-items: center;    
    padding-left: 7px;
    padding-bottom: 7px;
    padding-top: 11px;
}

.overlay-contact-name{
    padding-left: 16px;
}

.overlay-participants{
    display: flex;
    flex-direction: column;    
}

.overlay-contact-emblems-img{
    width: 42px;
    height: 42px;
}

.overlay-card-subtasks{
    padding-bottom: 16px;
}

.overlay-substasks-text{
    color: #42526E;  
    padding-bottom: 8px;      
}

.overlay-subtask{
    display: flex;
    align-items: center;
    padding-bottom: 4px;
    padding-left: 8px;
}

.overlay-checkbox-img{
    width: 16px;
    height: 16px;
    padding-right: 16px;
}

.overlay-checkbox-img:hover{
    cursor: pointer;
    opacity: 0.5;
}

.overlay-card-checklist{
    padding-bottom: 16px;
}

.overlay-card-delete-edit{
    display: flex;
    justify-content: end;
    align-items: center;
    height: 24px;
}

.close-overlay{
    background-image: url(/assets/svg/Close_black.svg);
    background-repeat: no-repeat;
    background-position: center center;
    position: relative;
    border-radius: 50%;
    transition: background-color 0.3s ease;
    width: 20px;
    height: 20px;
}

.close-overlay:hover{
    background-color: rgba(0, 0, 0, 0.1);
}

.overlay-cde-edit{
    height: 24px;
    display: flex;
    gap: 2px;
    align-items: center;
}

.overlay-cde-edit-svg{
    display: flex;
    align-items: center;
    gap: 2px; 
    height: 24px;
    cursor: pointer;
    background-image: url('/assets/svg/edit_black.svg'); 
    background-size: 24px 24px; 
    background-repeat: no-repeat;
    padding-left: 28px; 
        
}

.overlay-cde-edit-svg:hover {
    background-image: url('/assets/svg/edit_blue.svg');
    color: #29ABE2;
}

.overlay-cde-delete-svg{
    display: flex;
    align-items: center;
    gap: 2px; 
    height: 24px;
    cursor: pointer;
    background-image: url('/assets/svg/delete.svg'); 
    background-size: 20px 20px; 
    background-repeat: no-repeat;
    padding-left: 28px; 
    
}

.overlay-cde-delete-svg:hover {
    background-image: url('/assets/svg/delete_blue.svg');    
    color: #29ABE2;
}

.overlay-cde{
    display: flex;    
    gap: 2px;
}

.placeholder-div-edit-subtask{
    padding-left: 5px;
}

.edit-subtask-buttons-img-delete{
    height: 25px;
    width: 25px;
    position: relative;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.edit-subtask-buttons-img-delete:hover{
    background-color: rgba(0, 0, 0, 0.1);
}

.edit-subtask-buttons-img-add{
    height: 20px;
    width: 20px;
    position: relative;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.edit-subtask-buttons-img-add:hover{
    background-color: rgba(0, 0, 0, 0.1);
}

.drag-area-highlight{    
    outline: 4px dashed rgba(0, 0, 0, 0.1);
    border-radius: 24px;
}

.dragging {
    opacity: 0.5; 
    transform: rotate(30deg); 
}

.hidden {
    display: none;
}

.background-fade {
    opacity: 0.5;
    filter: blur(1px); 
}

@media (max-width: 800px){
   
.overlay-task{
    overflow-y: auto;
    max-height: calc(100% - 18%);
    overflow-x: hidden;}        
}