* {
    box-sizing: border-box;
    margin: 0;
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    scroll-behavior: smooth;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    background-color: #F6F7F8;
}

.all-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    flex: 1;
}

.content {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    margin-left: 232px;
    width: calc(100% - 232px);
}

.board__box {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    width: 100%;
}

.title-input-button__box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 1056px;
    margin-left: 64px;
    margin-top: 79.5px;
    margin-bottom: 48px;
}

h1 {
    font-size: 61px;
    line-height: 73.2px;
    font-weight: 700;
    color: #000000;
}

.input-button__box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
}

.search-field__box {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 312px;
    height: 48px;
    border-radius: 10px;
    border: 1px solid #ABA8A8;
    padding: 8px 16px;
    background-color: #FFFFFF;
}

.search-field__box:focus-within {
    border: 1px solid #29ABE2;
}

.search-field__input {
    font-size: 20px;
    line-height: 24px;
    font-weight: 400;
    color: #000000;
    width: 240px;
    border: none;
    outline: none;
    cursor: pointer;
}

.search-field__input:focus {
    border: none;
    outline: none;
}

.search-field__input::placeholder {
    color: #D1D1D1;
}

.search-field__button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 32px;
    padding-left: 14px;
    background-color: #FFFFFF;
    border: none;
    border-left: 1px solid #D1D1D1;
    cursor: pointer;
}

.search-field__img {
    width: 32px;
    height: 32px;
}

.search-field__button:hover .search-field__img {
    background-color: #EEEEEE;
    border-radius: 45px;
}

.search-field__button:active .search-field__img {
    background-color: #FFFFFF;
}

.search-field__close-img {
    width: 32px;
    height: 32px;
}

.search-field__close-img .icon {
    fill: #2A3647;
}

.search-field__close-img .bg {
    fill: #FFFFFF;
}

.search-field__button:hover .search-field__close-img .bg {
    fill: #EEEEEE;
    border-radius: 45px;
}

.search-field__button:active .search-field__close-img .icon {
    fill: #FFFFFF;
}

.search-field__button:active .search-field__close-img .bg {
    fill: #29ABE2;
}

.add-task__button {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #2A3647;
    padding: 8px 16px;
    gap: 4px;
    background-color: #2A3647;
    font-size: 21px;
    line-height: 25.2px;
    font-weight: 700;
    color: #FFFFFF;
    border-radius: 10px;
    cursor: pointer;
}

.add-task__button:hover {
    background-color: #29ABE2;
    box-shadow: 0 4px 4px rgb(0, 0, 0, 0.25);
}

.add-task__button:active {
    background-color: #091931;
    border: 1px solid #2A3647;
    box-shadow: none;
}

.add-task__img {
    width: 32px;
    height: 32px;
}

.tasks-category__box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 64px;
    width: 1208px;
    gap: 24px;
    margin-bottom: 12px;
}

.to-do__box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 244px;
    height: 24px;
}

.to-do__text {
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    color: #42526E;
}

.to-do__button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    border-radius: 8px;
    border: 2px solid #2A3647;
    padding: 3px;
    font-size: 18px;
    font-weight: 700;
    color: #2A3647;
    cursor: pointer;
    background-color: #F6F7F8;
}

.to-do__button:hover {
    border: 2px solid #29ABE2;
    color: #29ABE2;
}

.to-do__button:active {
    border: 2px solid #2A3647;
    color: #2A3647;
}

.to-do__button:hover svg path {
    stroke: #29ABE2;
}

.to-do__button:active svg path {
    stroke: #2A3647;
}

.in-progress__box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 244px;
    height: 24px;
}

.in-progress__text {
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    color: #42526E;
}

.in-progress__button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    border-radius: 8px;
    border: 2px solid #2A3647;
    padding: 3px;
    font-size: 18px;
    font-weight: 700;
    color: #2A3647;
    cursor: pointer;
    background-color: #F6F7F8;
}

.in-progress__button:hover {
    border: 2px solid #29ABE2;
    color: #29ABE2;
}

.in-progress__button:active {
    border: 2px solid #2A3647;
    color: #2A3647;
}

.in-progress__button:hover svg path {
    stroke: #29ABE2;
}

.in-progress__button:active svg path {
    stroke: #2A3647;
}

.await-feedback__box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 244px;
    height: 24px;
}

.await-feedback__text {
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    color: #42526E;
}

.await-feedback__button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    border-radius: 8px;
    border: 2px solid #2A3647;
    padding: 3px;
    font-size: 18px;
    font-weight: 700;
    color: #2A3647;
    cursor: pointer;
    background-color: #F6F7F8;
}

.await-feedback__button:hover {
    border: 2px solid #29ABE2;
    color: #29ABE2;
}

.await-feedback__button:active {
    border: 2px solid #2A3647;
    color: #2A3647;
}

.await-feedback__button:hover svg path {
    stroke: #29ABE2;
}

.await-feedback__button:active svg path {
    stroke: #2A3647;
}

.done__box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 244px;
    height: 24px;
}

.done__text {
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    color: #42526E;
}

.all-drag-field-box {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 24px;
    padding: 0 64px;
    overflow-y: auto;
    scrollbar-width: thin;
    width: 1218px;
    height: calc(100dvh - 337px);
}

.all-drag-field-box::-webkit-scrollbar {
    width: 8px;
}

.all-drag-field-box::-webkit-scrollbar-track {
    background: white;
}

.all-drag-field-box::-webkit-scrollbar-thumb {
    background: grey;
    border-radius: 10px;
}

.all-drag-field-box::-webkit-scrollbar-thumb:hover {
    background: rgb(180, 180, 180);
    cursor: pointer;
}

.drag-field {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    width: 270px;
    min-height: calc(100dvh - 337px);
    padding: 24px 0;
    gap: 24px;
}

.user-story__all-content-box {
    position: relative;
}

.user-story__box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    gap: 10px;
    border-radius: 24px;
    background-color: #FFFFFF;
    width: 252px;
    box-shadow: 0 0 10px 3px rgb(0, 0, 0, 0.08);
    opacity: 1;
    filter: blur(0);
    transition: opacity 0.8s ease, filter 0.8s ease;
    cursor: pointer;
}

.drag-start-transform {
    transform: rotate(5deg);
}

.user-story__category-box {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 27px;
    border-radius: 8px;
    padding: 4px 16px;
    gap: 10px;
}

.user-story__category-box-user-story {
    width: 113px;
    background-color: #0038FF;
}

.user-story__category-box-technical-task {
    width: 144px;
    background-color: #1FD7C1;
}

.user-story__category-text {
    font-size: 16px;
    font-weight: 400;
    line-height: 19.2px;
    color: #FFFFFF;
}

.user-story__title {
    font-size: 16px;
    font-weight: 700;
    line-height: 19.2px;
    color: #2A3647;
    word-break: normal;
    overflow-wrap: anywhere;
}

.user-story__description {
    font-size: 16px;
    font-weight: 400;
    line-height: 19.2px;
    color: #ABA8A8;
}

.user-story__scale-text-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 220px;
    height: 16px;
}

.user-story__subtask-scale-box {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 128px;
    height: 8px;
    border-radius: 8px;
    background-color: #F4F4F4;
}

.user-story__subtask-scale-fill {
    height: 100%;
    background-color: #4589FF;
    border-radius: 8px;
}

.user-story__subtask-text {
    font-size: 12px;
    font-weight: 400;
    line-height: 14.4px;
    color: #000000;
}

.user-story__name-priority-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 220px;
    height: 32px;
}

.user-story__name-box {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.user-story__name {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    font-size: 12px;
    font-weight: 400;
    line-height: 14.4px;
    color: #FFFFFF;
    border-radius: 45px;
    gap: 10px;
    margin-right: -7.5px;
}

.initials-over-six {
    padding-left: 12px;
    font-size: 16px;
    font-weight: 700;
}

.card-border-box {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 252px;
    border-radius: 30px;
    border: 1px dashed #ABA8A8;
    box-shadow: 0 0 4px 0 rgb(0, 0, 0, 0.16);
    pointer-events: none;
}

.no-task-box {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 252px;
    height: 48px;
    border-radius: 10px;
    border: 1px dashed #ABA8A8;
    background-color: #E7E7E7;
    box-shadow: 0 0 4 0 rgb(0, 0, 0, 0.16);
    pointer-events: none;
}

.no-task-text {
    font-family: 'Open-Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 19.2px;
    color: #ABA8A8;
}

.background-color-1 {
    background-color: #9327FF;
}

.background-color-2 {
    background-color: #FC71FF;
}

.background-color-3 {
    background-color: #FFBB2B;
}

.big-task-card__overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: rgb(0, 0, 0, 0.25);
    z-index: 2;
    overflow: hidden;
}

.add-task__overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: rgb(0, 0, 0, 0.25);
    z-index: 3;
    overflow: hidden;
}

.add-task__box {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    animation: slide-in-add-task-box 120ms ease-in-out forwards;
}

.add-task__overlay.fade-out {
    animation: fadeOutAddTaskBox 500ms ease-in-out forwards;
}

@keyframes fadeOutAddTaskBox {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes slide-in-add-task-box {
    0% {
        transform: translateX(100vw);
    }

    100% {
        transform: translateX(0);
    }
}

.add-task__box.slide-back {
    animation: slide-out-add-task-box 120ms ease-in-out forwards;
}

@keyframes slide-out-add-task-box {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(100vw);
    }
}

#form-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.add-task__close-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
}

.add-task__close-button:hover {
    background-color: #EEEEEE;
    border-radius: 45px;
}

.add-task__close-button:active {
    background-color: #FFFFFF;
}

.big-task-card__box {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    width: 525px;
    height: 931px;
    border-radius: 30px;
    padding: 48px 28px;
    gap: 24px;
    background-color: #FFFFFF;
    box-shadow: 0 0 4px 0 rgb(0, 0, 0, 0.16);
    animation: slide-in-big-task-card 120ms ease-in-out forwards;
}

.big-task-card__overlay.fade-out {
    animation: fade-out-big-task-card 120ms ease-in-out forwards;
}

@keyframes slide-in-big-task-card {
    0% {
        transform: translateX(100vw);
    }

    100% {
        transform: translateX(0);
    }
}

.big-task-card__box.slide-back {
    animation: slide-out-big-task-card 120ms ease-in-out forwards;
}

@keyframes slide-out-big-task-card {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(100vw);
    }
}

@keyframes fade-out-big-task-card {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.big-task-card__task-type-text-button-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 445px;
    height: 36px;
}

.big-task-card__task-type-text-box {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 36px;
    border-radius: 8px;
    padding: 4px 24px;
    gap: 10px;
}

.big-task-card__category-box-user-story {
    width: 164px;
    background-color: #0038FF;
}

.big-task-card__category-box-technical-task {
    width: 208px;
    background-color: #1FD7C1;
}

.big-task-card__task-type-text {
    font-size: 23px;
    color: #FFFFFF;
    font-weight: 400;
    line-height: 27.6px;
}

.big-task-card__task-type-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
}

.big-task-card__task-type-button:hover {
    background-color: #EEEEEE;
    border-radius: 45px;
}

.big-task-card__task-type-button:active {
    background-color: #FFFFFF;
}

.big-task-card__scroll-box {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: calc(100% - 96px);
    overflow-y: auto;
    scrollbar-width: thin;
    gap: 24px;
}

.big-task-card__title-box {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 445px;
    word-break: normal;
    overflow-wrap: anywhere;
}

.big-task-card__title {
    font-size: 61px;
    font-weight: 700;
    line-height: 73.2px;
    color: #000000;
}

.big-task-card__task-description-box {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 445px;
    flex-wrap: wrap;
    word-break: normal;
    overflow-wrap: anywhere;
}

.big-task-card__task-description-text {
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
    color: #000000;
}

.big-task-card__due-date-box {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 445px;
    height: 24px;
    gap: 25px;
}

.big-task-card__due-date-text {
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
    color: #2A3647;
}

.big-task-card__priority-box {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 445px;
    height: 32px;
    gap: 25px;
}

.big-task-card__priority-text {
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
    color: #2A3647;
}

.big-task-card__priority-text-img-box {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 139px;
    height: 32px;
    padding: 4px 18px;
    gap: 10px;
    border-radius: 10px;
}

.big-task-card__assigned-to-box {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    width: 445px;
    height: 208px;
    gap: 8px;
}

.big-task-card__assigned-to-text-box {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 445px;
    height: 24px;
}

.big-task-card__assigned-to-text {
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
    color: #2A3647;
}

.big-task-card__assigned-to-names-box {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    width: 445px;
    height: 176px;
}

.big-task-card__div-scroll {
    overflow-y: auto;
    scrollbar-width: thin;
}

.big-task-card__div-scroll::-webkit-scrollbar {
    width: 8px;
}

.big-task-card__div-scroll::-webkit-scrollbar-track {
    background: white;
}

.big-task-card__div-scroll::-webkit-scrollbar-thumb {
    background: grey;
    border-radius: 10px;

}

.big-task-card__div-scroll::-webkit-scrollbar-thumb:hover {
    background: rgb(180, 180, 180);
    cursor: pointer;
}

.big-task-card__initials-name-box {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: width 100%;
    height: 56px;
    border-radius: 10px;
    padding: 7px 16px;
    gap: 16px;
}

.big-task-card__name {
    font-size: 19px;
    font-weight: 400;
    line-height: 22.8px;
    color: #000000;
}

.big-task-card__initials {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    border-radius: 45px;
    gap: 10px;
    border: 2px solid #FFFFFF;
    font-size: 12px;
    font-weight: 400;
    line-height: 14.4px;
    color: #FFFFFF;
}

.bg-color-1 {
    background-color: #1FD7C1;
}

.bg-color-2 {
    background-color: #462F8A;
}

.bg-color-3 {
    background-color: #0038FF;
}

.big-task-card__subtasks-box {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    width: 445px;
    height: 100px;
    gap: 8px;
}

.big-task-card__subtasks-title-box {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 445px;
    height: 24px;
}

.big-task-card__subtasks-title {
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
    color: #2A3647;
}

.big-task-card__all-subtasks-box {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    width: 100%;
    gap: 4px;
    overflow-y: visible !important;
    max-height: fit-content !important;
}

.big-task-card__subtasks-check-text-box {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    width: 344px;
    padding: 6px 16px;
    gap: 16px;
}

.big-task-card__checkbox {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 25px;
    min-width: 25px;
}

.big-task-card__subtasks-text {
    align-self: center;
    padding-bottom: 2px;
    word-break: normal;
    overflow-wrap: anywhere;
}

.big-task-card__button-box {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    height: 24px;
    gap: 8px;
}

.big-task-card__button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 86px;
    height: 24px;
    gap: 8px;
}

.big-task-card__button:hover {
    color: #29abe2;
    font-weight: 700;
}

.big-task-card__button:active {
    color: #2A3647;
}

.big-task-card__button-img {
    width: 24px;
    height: 24px;
    fill: #2A3647;
}

.big-task-card__button:hover .big-task-card__button-img {
    fill: #29abe2;
}

.big-task-card__button:active .big-task-card__button-img {
    fill: #2A3647;
}

.big-task-card__seperator {
    width: 1px;
    height: 24px;
    margin-left: 8px;
    background-color: #D1D1D1;
}

.big-task-card-edit__task-type-text-button-box {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 445px;
    height: 57px;
}

.edit {
    height: auto;
}

.big-task-card-edit__task-type-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
}

.big-task-card-edit__task-type-button:hover {
    background-color: #EEEEEE;
    border-radius: 45px;
}

.big-task-card-edit__task-type-button:active {
    background-color: #FFFFFF;
}

.big-task-card-edit__scroll-box {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    width: 470px;
    height: 697px;
    overflow-y: auto;
    scrollbar-width: thin;
    gap: 24px;
    margin-bottom: 24px;
}

.big-task-card-edit__text-input-box {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    width: 445px;
    height: 96px;
    gap: 8px;
}

.big-task-card-edit__text {
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
    color: #2A3647;
}

.big-task-card-edit__input {
    width: 445px;
    height: 48px;
    border-radius: 10px;
    padding: 12px 21px;
    gap: 10px;
    border: 1px solid #D1D1D1;
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
    color: #000000;
    outline: none;
    cursor: pointer;
}

.big-task-card-edit__input-due-date {
    border: none;
}

.big-task-card-edit__input-due-date:focus {
    border: none;
}

.big-task-card-edit__input-date-picker:focus {
    border: none;
}

.big-task-card-edit__input-due-date-box {
    width: 100%;
}

.big-task-card-edit__text-textarea-box {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    width: 445px;
    height: 168px;
    gap: 8px;
}

.big-task-card-edit__textarea {
    width: 445px;
    min-height: 138px;
    height: 120px;
    border-radius: 10px;
    padding: 18px 16px;
    gap: 10px;
    border: 1px solid #D1D1D1;
    resize: vertical;
    outline: none;
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
    color: #000000;
}

.big-task-card-edit__text-button-box {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    width: 445px;
    height: 87px;
    gap: 8px;
}

.big-task-card-edit__button-box {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 445px;
    height: 56px;
    gap: 16px;
}

.big-task-card-edit__button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 137.67px;
    height: 56px;
    border-radius: 10px;
    padding: 16px 10px;
    gap: 8px;
    box-shadow: 0 0 4px 0 rgb(0, 0, 0, 0.1);
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
    color: #000000;
    cursor: pointer;
}

.big-task-card-edit__Ok-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 89px;
    height: 57px;
    border-radius: 10px;
    padding: 16px;
    gap: 4px;
    background-color: #2A3647;
    font-size: 21px;
    font-weight: 700;
    line-height: 25.2px;
    color: #FFFFFF;
}

.big-task-card-edit__Ok-button:hover {
    background-color: #29ABE2;
    box-shadow: 0 4px 4px 0 rgb(0, 0, 0, 0.25);
}

.big-task-card-edit__Ok-button:active {
    background-color: #091931;
    box-shadow: 0 4px 4px 0 rgb(0, 0, 0, 0.25);
}

.big-task-card-edit__Ok-button-img {
    width: 24px;
    height: 24px;
    object-fit: cover;
}

.d-none {
    display: none;
}

#overlay-task-edited {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
    overflow: hidden;
}

#overlay-task-edited .animation-fade-out{
    animation: fade-out-overlay-task-edited 120ms forwards ease-in-out;
}

@keyframes fade-out-overlay-task-edited {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

#task-edited {
    position: absolute;
    width: 326px;
    height: 74px;
    padding: 0 24px;
    background-color: #2A3647;
    border-radius: 20px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-family: Inter;
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    animation: slide-in-task-edited 50ms linear;
}

@keyframes slide-in-task-edited {
    from {
        top: 100vh;
    }

    to {
        top: 50%;
    }
}

#main {
    width: 1116px;
    height: 870px;
    min-height: auto;
    display: flex;
    flex-direction: column;
    background-color: #FFFFFF;
    border-radius: 30px;
    margin: 0;
    box-shadow: 0 0 4px 0 rgb(0, 0, 0, 0.1);
}

#main h1 {
    font-size: 61px;
    line-height: 73.2px;
    font-weight: 700;
    margin-bottom: 48px;
}

#container-form {
    padding: 64px 74px;
    width: 100%;
}

#footer-add-task {
    width: 100%;
}

#form-add-task {
    gap: 48px;
}

.big-task-card-edit__assigned-to-box,
.big-task-card-edit__subtask-box {
    width: 445px;
    height: 48px;
    border-radius: 10px;
    justify-content: space-between;
    padding: 12px 16px;
    border: 1px solid Select #D1D1D1;

}

.subtask-text {
    width: calc(100% - 45px);
}

.big-task-card-edit__assigned-to-input,
.big-task-card-edit__subtask-input {
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
}

.big-task-card-edit__assigned-to-input:focus,
.big-task-card-edit__subtask-input:focus {
    border: none;
}

.big-task-card-edit__assigned-contacts-box {
    flex-wrap: wrap;
}

.big-task-card-edit__container-subtasks {
    overflow-y: visible !important;
    max-height: fit-content !important;
}

.container-subtask,
.container-subtask-edit {
    width: 430px;
    word-break: normal;
    overflow-wrap: anywhere;
}

.container-subtask-edit {
    position: relative;
}

.subtask-icons,
.flex {
    padding-left: 6px;
}

.big-task-card-edit__prioritys-button-box {
    width: 445px;
}

.container-custom-select-options {
    width: 440px;
}

.container-custom-select-option {
    width: 425px;
    max-width: 425px;
    height: fit-content;
    min-height: 48px;
}

.big-task-card-edit__dropdown-assign,
.big-task-card-edit__details-subtask,
.big-task-card-edit__edit-subtask {
    width: 445px !important;
}

.edit-container {
    width: 430px !important;
    max-width: 430px !important;
}

#container-prioritys,
.big-task-card-edit__prioritys-box {
    padding-bottom: 0;
}

.title-button__box {
    display: flex;
}

.add-task__button-mobile {
    display: none;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    padding: 3px;
    gap: 10px;
    background-color: #2A3647;
    border-radius: 10px;
    cursor: pointer;
}

.add-task__button-mobile:hover {
    background-color: #29ABE2;
    box-shadow: 0 4px 4px rgb(0, 0, 0, 0.25);
}

.add-task__button-mobile:active {
    background-color: #091931;
    border: 1px solid #2A3647;
    box-shadow: none;
}

.task-category__box-mobile {
    display: none;
    justify-content: space-between;
    align-items: center;
    width: 244px;
    height: 24px;
}

.task-category-dragfield__box {
    display: flex;
    width: 252px;
}

.user-story__category-mobile-button-box {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.user-story__mobile-button {
    display: none;
    width: 60px;
    height: 45px;
    background: none;
    border: none;
    padding: 0;
    position: relative;
    cursor: pointer;
}

.user-story__mobile-button svg {
    width: 100%;
    height: 100%;
}

.user-story__mobile-button:active svg rect {
    fill: #4C566A;
}

.user-story__mobile-button:active svg path {
    fill: #ECEFF4;
}

.user-story__mobile-button:active svg circle {
    fill: #ECEFF4;
}

.user-story__mobile-button:active svg text {
    fill: #4C566A;
}

.user-story__mobile-button .arrow {
    animation: floatUpAndDown 1.6s ease-in-out infinite;
    transform-origin: center;
}

.user-story__mobile-button .arrow.up {
    animation-delay: 0s;
}

.user-story__mobile-button .arrow.down {
    animation-delay: 0.8s;
}

@keyframes floatUpAndDown {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-2.5px);
    }
}

.user-story__mobile-move-menu {
    display: none;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.user-story__mobile-move-menu svg {
    width: 175px;
    height: 175px;
    z-index: 1;
}

.user-story__mobile-move-menu__center-button {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #3B4252;
    border: 8px solid #D8DEE9;
    font-weight: bold;
    font-size: 16px;
    text-align: center;
    z-index: 1;
    color: #ECEFF4;
    box-shadow: 0 0 5px gold;
    opacity: 0;
    transform: scale(0.5);
    cursor: pointer;
}

.user-story__mobile-move-menu__center-button:active {
    background-color: #81A1C1;
    box-shadow: 0 0 8px #81A1C1;
}

.user-story__mobile-move-menu__center-button.open {
    animation: fadeInCenterButton 0.2s ease-out forwards, glowOpen 0.7s ease-in-out 2;
    animation-delay: 0.2s;
}

.user-story__mobile-move-menu__center-button.close {
    opacity: 1;
    transform: scale(1);
    animation: glowClose 0.7s ease-in-out 2 0s, fadeOutCenterButton 0.2s ease-out forwards 1.4s;
}

.user-story__mobile-move-menu__center-button-text {
    transition: opacity 0.3s ease;
}

.user-story__mobile-move-menu__center-button-text.fade-out {
    opacity: 0;
}

@keyframes fadeInCenterButton {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeOutCenterButton {
    to {
        opacity: 0;
        transform: scale(0.5);
    }
}

@keyframes glowOpen {

    0%,
    100% {
        box-shadow: 0 0 5px gold;
    }

    50% {
        box-shadow: 0 0 15px gold;
    }
}

@keyframes glowClose {

    0%,
    100% {
        box-shadow: 0 0 5px orangered;
    }

    50% {
        box-shadow: 0 0 15px orangered;
    }
}

.user-story__mobile-move-menu__segment {
    opacity: 0;
    transform: scale(0.8);
    transform-origin: center;
    cursor: pointer;
}

.user-story__mobile-move-menu__segment:active {
    fill: #88C0D0;
}

.user-story__mobile-move-menu__segment.open {
    animation: fadeInSegment 0.4s ease-out forwards;
}

.user-story__mobile-move-menu__segment.close {
    opacity: 1;
    transform: scale(1);
    animation: fadeOutSegment 0.4s ease-out forwards;
}

.user-story__mobile-move-menu__segment.delay-1-open {
    animation-delay: 0.35s;
}

.user-story__mobile-move-menu__segment.delay-2-open {
    animation-delay: 0.5s;
}

.user-story__mobile-move-menu__segment.delay-3-open {
    animation-delay: 0.65s;
}

.user-story__mobile-move-menu__segment.delay-4-open {
    animation-delay: 0.8s;
}

.user-story__mobile-move-menu__segment.delay-1-close {
    animation-delay: 0.8s;
}

.user-story__mobile-move-menu__segment.delay-2-close {
    animation-delay: 0.65s;
}

.user-story__mobile-move-menu__segment.delay-3-close {
    animation-delay: 0.5s;
}

.user-story__mobile-move-menu__segment.delay-4-close {
    animation-delay: 0.35s;
}

.user-story__mobile-move-menu__segment-text {
    opacity: 0;
    pointer-events: none;
}

.user-story__mobile-move-menu__segment-text.open {
    animation: fadeInSegmentText 0.4s ease-out forwards;
}

.user-story__mobile-move-menu__segment-text.close {
    opacity: 1;
    animation: fadeOutSegmentText 0.4s ease-out forwards;
}

.user-story__mobile-move-menu__segment-text.delay-1-open {
    animation-delay: 0.35s;
}

.user-story__mobile-move-menu__segment-text.delay-2-open {
    animation-delay: 0.5s;
}

.user-story__mobile-move-menu__segment-text.delay-3-open {
    animation-delay: 0.65s;
}

.user-story__mobile-move-menu__segment-text.delay-4-open {
    animation-delay: 0.8s;
}

.user-story__mobile-move-menu__segment-text.delay-1-close {
    animation-delay: 0.6s;
}

.user-story__mobile-move-menu__segment-text.delay-2-close {
    animation-delay: 0.45s;
}

.user-story__mobile-move-menu__segment-text.delay-3-close {
    animation-delay: 0.3s;
}

.user-story__mobile-move-menu__segment-text.delay-4-close {
    animation-delay: 0.15s;
}

@keyframes fadeInSegment {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeOutSegment {
    to {
        opacity: 0;
        transform: scale(0.8);
    }
}

@keyframes fadeInSegmentText {
    to {
        opacity: 1;
    }
}

@keyframes fadeOutSegmentText {
    to {
        opacity: 0;
    }
}

.user-story__box.blur-out {
    opacity: 0.5;
    filter: blur(3px);
}

.highlight-flash {
    animation: flash 1s ease-in-out 3;
    box-shadow: 0 0 5px lightgreen;
}

@keyframes flash {
    0% {
        box-shadow: 0 0 5px lightgreen;
        opacity: 0.2;
    }

    50% {
        box-shadow: 0 0 15px lightgreen;
        opacity: 1;
    }

    100% {
        box-shadow: 0 0 5px lightgreen;
        opacity: 0.2;
    }
}

.highlight-flash-delete {
    animation: flash-red 1s ease-in-out 2;
    box-shadow: 0 0 5px #ff6b6b;
}

@keyframes flash-red {
    0% {
        box-shadow: 0 0 5px #ff6b6b;
        opacity: 0.2;
    }

    50% {
        box-shadow: 0 0 15px #ff6b6b;
        opacity: 1;
    }

    100% {
        box-shadow: 0 0 5px #ff6b6b;
        opacity: 0.2;
    }
}

#overlay-task-added {
    width: 100%;
}

#task-added {
    animation: slide-in-task-added 50ms linear;
}


@keyframes slide-in-task-added {
    from {
        top: 100vh;
    }

    to {
        top: 50%;
    }
}

@media(min-width: 1921px) {
    .title-input-button__box {
        width: 1584px;
    }

    .tasks-category__box {
        width: 1648px;
        padding-right: 0;
    }

    .tasks-category__box div {
        width: 251px;
    }

    .all-drag-field-box {
        width: 1648px;
        justify-content: space-between;
        padding-right: 0;
    }
}

@media(max-width: 1450px) {
    .title-input-button__box {
        width: 1024px;
        gap: 32px;
        margin-left: 32px;
    }

    .tasks-category__box {
        width: 100%;
        padding: 0 32px;
        gap: 24px;
        justify-content: flex-start;
    }

    .all-drag-field-box {
        width: 100%;
        padding: 0 32px;
        justify-content: flex-start;
        gap: 12px;
    }

    .task-category__box-mobile {
        width: 396px;
    }
}

@media (max-width: 1365px) {
    .title-input-button__box {
        margin-left: 12px;
    }

    .tasks-category__box {
        padding: 0 12px;
    }

    .all-drag-field-box {
        padding: 0 12px;

    }
}

@media (max-width: 1310px) {
    .title-input-button__box {
        margin-left: 16px;
        width: calc(100% - 16px);
        padding-right: 16px;
    }

    .all-drag-field-box {
        width: 100%;
        height: calc(100dvh - 301px);
        max-height: none;
        flex-direction: column;
        overflow: auto;
        scrollbar-width: none;
        padding: 0;
        justify-content: flex-start;
        gap: 26px;
    }

    .tasks-category__box {
        display: none;
    }

    .task-category__box-mobile {
        display: flex;
        height: 32px;
        width: 100%;
    }

    .task-category-dragfield__box {
        align-items: flex-start;
        flex-direction: column;
        justify-content: flex-start;
        padding: 0 16px;
        width: 100%;
        gap: 16px;
    }

    .drag-field {
        flex-direction: row;
        justify-content: flex-start;
        align-items: flex-start;
        width: 100%;
        min-height: auto;
        overflow-x: scroll;
        scrollbar-width: none;
        padding: 16px 5px;
        gap: 16px;
    }

    .tasks-category__box {
        flex-direction: column;
        align-items: flex-start;
    }

    .to-do__text {
        font-size: 27px;
        font-weight: 700;
        line-height: 120%;
        letter-spacing: 0;
    }

    .to-do__button {
        width: 30px;
        height: 30px;
        border-radius: 10px;
        padding: 3px;
        gap: 10px;
        font-size: 24px;
    }

    .in-progress__text {
        font-size: 27px;
        font-weight: 700;
        line-height: 120%;
        letter-spacing: 0;
    }

    .in-progress__button {
        width: 30px;
        height: 30px;
        border-radius: 10px;
        padding: 3px;
        gap: 10px;
        font-size: 24px;
    }

    .await-feedback__text {
        font-size: 27px;
        font-weight: 700;
        line-height: 120%;
        letter-spacing: 0;
    }

    .await-feedback__button {
        width: 30px;
        height: 30px;
        border-radius: 10px;
        padding: 3px;
        gap: 10px;
        font-size: 24px;
    }

    .done__text {
        font-size: 27px;
        font-weight: 700;
        line-height: 120%;
        letter-spacing: 0;
    }

    #main {
        width: 100%;
    }

    #container-form {
        padding: 64px 48px;
    }

    #form-add-task {
        gap: 48px;
    }

    .no-task-box {
        width: 100%;
    }
}

@media(max-width: 1187px) {

    #container-input-assigned,
    #container-input-subtask,
    .container-custom-select-options {
        width: 400px;
    }

    .container-subtask,
    .container-subtask-edit {
        width: 390px;
    }

    .container-custom-select-option {
        width: 385px;
    }

    .big-task-card-edit__dropdown-assign,
    .big-task-card-edit__details-subtask,
    .big-task-card-edit__prioritys-button-box,
    .big-task-card-edit__edit-subtask {
        width: 445px !important;
    }

    .edit-container {
        width: 430px !important;
        max-width: 430px !important;
    }
}

@media(max-width: 1100px) {

    #container-input-assigned,
    #container-input-subtask,
    .container-custom-select-options {
        width: 380px;
    }

    .container-subtask,
    .container-subtask-edit {
        width: 370px;
    }

    .container-custom-select-option {
        width: 365px;
    }
}

@media(max-width: 1060px) {

    #container-input-assigned,
    #container-input-subtask,
    .container-custom-select-options {
        width: 370px;
    }

    .container-subtask,
    .container-subtask-edit {
        width: 360px;
    }

    .container-custom-select-option {
        width: 355px;
    }
}

@media(max-width: 1040px) {
    .all-drag-field-box {
        height: calc(100dvh - 380px);
    }

    h1 {
        font-size: 47px;
        font-weight: 700;
        line-height: 120%;
        letter-spacing: 0%;
    }

    .title-button__box {
        width: 100%;
        justify-content: space-between;
        align-items: center;
    }

    .add-task__button-mobile {
        display: flex;
    }

    .add-task__button {
        display: none;
    }

    .input-button__box {
        width: 100%;
    }

    .search-field__box {
        width: 100%;
        justify-content: space-between;
    }

    .title-input-button__box {
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        margin-top: 48px;
        margin-left: 16px;
        padding-right: 16px;
        margin-bottom: 24px;
        gap: 40px;
        width: calc(100% - 16px);
    }

    .add-task__button-text {
        display: none;
    }

    .content {
        width: 100%;
        margin: 0;
    }

    .big-task-card__box {
        width: 396px;
        height: 724px;
        padding: 32px 16px;
    }

    .big-task-card__task-type-text-button-box {
        width: 100%;
        height: 32px;
    }

    .big-task-card__task-type-text-box {
        width: 128px;
        height: 27px;
    }

    .big-task-card__category-box-technical-task {
        width: 160px;
        height: 27px;
    }

    .big-task-card__task-type-text {
        font-size: 16px;
        font-weight: 400;
        line-height: 120%;
        letter-spacing: 0;
    }

    .big-task-card__scroll-box {
        gap: 14px;
        height: calc(100% - 70px);
    }

    .big-task-card__title-box {
        width: 100%;
    }

    .big-task-card__title {
        font-size: 36px;
        font-weight: 700;
        line-height: 120%;
        letter-spacing: 0;

    }

    .big-task-card__task-description-box {
        width: 100%;
    }

    .big-task-card__task-description-text {
        font-size: 16px;
        font-weight: 400;
        line-height: 120%;
        letter-spacing: 0;
    }

    .big-task-card__due-date-box {
        width: 100%;
    }

    .big-task-card__due-date-text {
        font-size: 16px;
        font-weight: 400;
        line-height: 120%;
        letter-spacing: 0;
    }

    .big-task-card__priority-box {
        width: 100%;
    }

    .big-task-card__priority-text {
        font-size: 16px;
        font-weight: 400;
        line-height: 120%;
        letter-spacing: 0;
    }

    .big-task-card__priority-img {
        transform: scale(0.8);
    }

    .big-task-card__assigned-to-box {
        width: 100%;
        height: 203px
    }

    .big-task-card__assigned-to-text-box {
        width: 100%;
    }

    .big-task-card__assigned-to-names-box {
        width: 100%;
    }

    .big-task-card__initials-name-box {
        width: 100%;
    }

    .big-task-card__assigned-to-text {
        font-size: 16px;
        font-weight: 400;
        line-height: 120%;
        letter-spacing: 0;
    }

    .big-task-card__name {
        font-size: 16px;
        font-weight: 400;
        line-height: 120%;
        letter-spacing: 0;
    }

    .big-task-card__subtasks-box {
        width: 100%;
        height: 95px;
    }

    .big-task-card__subtasks-title-box {
        width: 100%;
    }

    .big-task-card__subtasks-title {
        font-size: 16px;
        font-weight: 400;
        line-height: 120%;
        letter-spacing: 0;
    }

    .big-task-card__subtasks-check-text-box,
    .big-task-card-edit__task-type-text-button-box,
    .big-task-card-edit__text-input-box,
    .big-task-card-edit__input,
    .big-task-card-edit__text-textarea-box,
    .big-task-card-edit__textarea,
    .container-input-label,
    input #assigned-to,
    #container-input-assigned,
    .big-task-card-edit__assigned-to-box,
    #assigned-to,
    .big-task-card-edit__assigned-to-input,
    #container-input-subtask,
    .big-task-card-edit__subtask-box,
    #subtasks,
    .big-task-card-edit__subtask-input,
    .container-subtask,
    #container-dropdown,
    .big-task-card-edit__assigned-to-dropdown,
    .container-custom-select-option {
        width: 348px;
    }

    .container-custom-select-options {
        width: 345px;
    }

    .container-custom-select-option {
        width: 330px;
    }

    .big-task-card-edit__dropdown-assign,
    .big-task-card-edit__details-subtask,
    .big-task-card-edit__prioritys-button-box,
    .big-task-card-edit__edit-subtask {
        width: 348px !important;
    }

    .edit-container {
        width: 333px !important;
        max-width: 333px !important;
    }

    .big-task-card-edit__scroll-box {
        width: 365px;
        height: 688px;
        gap: 16px;
    }

    .big-task-card-edit__text-input-box {
        width: 348px;
    }

    .big-task-card-edit__text,
    .big-task-card-edit__input,
    .big-task-card-edit__textarea,
    .label-add-task,
    .button-prio,
    #assigned-to,
    .big-task-card-edit__assigned-to-input,
    .initials,
    #subtasks,
    #subtasks::placeholder,
    .big-task-card-edit__subtask-input,
    .big-task-card-edit__subtask-input::placeholder,
    .name {
        font-size: 16px;
        font-weight: 400;
        line-height: 120%;
        letter-spacing: 0;
    }

    .big-task-card-edit__prioritys-button-box {
        height: 41px;
    }

    .button-prio {
        width: 104px;
        height: 41px;
    }

    #svg-urgent,
    #svg-medium,
    #svg-low,
    .initials {
        transform: scale(0.8);
    }

    .big-task-card-edit__Ok-button {
        width: 77px;
        height: 61px;
        border-radius: 10px;
        padding: 18px 10px;
        gap: 4px;
    }

    .user-story__mobile-button {
        display: flex;
    }

    header {
        position: relative;
        z-index: 1;
    }

    .menu-box {
        display: flex;
        width: 100%;
        height: 80px;
        padding: 0;
        justify-content: center;
        margin-top: auto;
        background-color: #2A3647;
        z-index: 1;
    }

    .account-submenu-container {
        top: 80px;
    }

    .add-task__overlay {
        display: none;
    }
}

@media(max-width: 415px) {
    .title-input-button__box {
        margin-left: 6px;
        width: calc(100% - 6px);
        padding-right: 6px;
    }

    .search-field__button {
        padding-left: 8px;
        padding-right: 0;
    }

    .task-category-dragfield__box {
        padding: 0 6px;
    }

    .big-task-card__box {
        width: 310px;
        padding: 32px 12px;
    }

    .big-task-card-edit__scroll-box {
        width: 100%;
    }

    .big-task-card__subtasks-check-text-box,
    .big-task-card-edit__task-type-text-button-box,
    .big-task-card-edit__text-input-box,
    .big-task-card-edit__input,
    .big-task-card-edit__text-textarea-box,
    .big-task-card-edit__textarea,
    .container-input-label,
    input #assigned-to,
    #container-input-assigned,
    .big-task-card-edit__assigned-to-box,
    #assigned-to,
    .big-task-card-edit__assigned-to-input,
    #container-input-subtask,
    .big-task-card-edit__subtask-box,
    #subtasks,
    .big-task-card-edit__subtask-input,
    .container-subtask,
    #container-dropdown,
    .big-task-card-edit__assigned-to-dropdown {
        width: 270px;
    }

    .container-custom-select-options {
        width: 270px;
    }

    .container-custom-select-option {
        width: 260px;
    }

    .big-task-card-edit__dropdown-assign,
    .big-task-card-edit__details-subtask,
    .big-task-card-edit__prioritys-button-box,
    .big-task-card-edit__edit-subtask {
        width: 270px !important;
    }

    .edit-container {
        width: 260px !important;
        max-width: 260px !important;
    }

    .name {
        padding: 6px 0;
    }

    .big-task-card-edit__assigned-to-input {
        width: 218px;
    }

    #label-subtasks {
        height: 38px;
    }

    #subtasks,
    .big-task-card-edit__subtask-input {
        width: 180px;
    }

    #assigned-to,
    .big-task-card-edit__assigned-to-input,
    #subtasks,
    .big-task-card-edit__subtask-input {
        padding: 12px 6px;
    }

    #buttons-prio,
    .big-task-card-edit__prioritys-button-box {
        gap: 6px;
    }

    #urgent,
    #medium,
    #low,
    #big-task-card-edit__urgent-button,
    #big-task-card-edit__medium-button,
    .big-task-card-edit__low-button {
        padding: 1px 4px;
    }

    #task-edited {
        width: 290px;
    }
}

@media(max-height: 850px) {
    .big-task-card__box {
        padding: 16px 12px;
        height: calc(100dvh - 48px);
    }

    .big-task-card__scroll-box {
        height: calc(100% - 46px);
    }

    .big-task-card-edit__scroll-box {
        height: calc(100% - 149px)
    }
}

@media (min-width: 1040px) and (pointer: coarse) and (hover: none) {
    .user-story__mobile-button {
        display: flex;
    }
}