.join-header {
    width: calc(100% - 232px);
    margin-left: 232px;
    margin-top: clamp(8rem, 6.6071rem + 6.9643vw, 12.875rem);
}

.container {
    max-width: 1440px;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-right: auto;
    gap: 1.875rem;
    padding-inline: clamp(1rem, -0.4286rem + 7.1429vw, 6rem);
}

h1 {
    font-weight: 700;
    font-size: clamp(2.9375rem, 2.6874rem + 1.2507vw, 3.813rem);
}

.blue-border {
    border: 3px solid #29ABE2;
    height: 59px;
    border-radius: 15px;
}

.subheader {
    font-weight: 400;
    font-size: clamp(1.25rem, 1.1249rem + 0.6257vw, 1.688rem);
    color: #2A3647;
}

main {
    margin-top: clamp(2.5rem, 2.2143rem + 1.4286vw, 3.5rem);
    width: calc(100% - 232px);
    margin-left: 232px;
}

.main-container {
    max-width: 1440px;
    width: 100%;
    margin-right: auto;
    padding-inline: clamp(1rem, -0.4286rem + 7.1429vw, 6rem);
}

.divide-greeting-from-tasks {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 5rem;
}

.tasks {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    row-gap: clamp(1.5rem, 1.4286rem + 0.3571vw, 1.75rem);
    column-gap: clamp(1.125rem, 0.9464rem + 0.8929vw, 1.75rem);
}

.child-one {
    grid-column: span 6;
}

.child-two {
    grid-column: span 6;
}

.child-three {
    grid-column: span 12;
}

.child-four {
    grid-column: span 4;
}

.child-five {
    grid-column: span 4;
}

.child-six {
    grid-column: span 4;
}

.greet {
    flex: 1;
}

.align-todos-and-done {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-block: clamp(1rem, 0.8571rem + 0.7143vw, 1.5rem);
    padding-inline: clamp(0.75rem, 0.6071rem + 0.7143vw, 1.25rem);
    background-color: #FFFFFF;
    border-radius: 30px;
    gap: clamp(0.625rem, 0.4821rem + 0.7143vw, 1.125rem);
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.10);
    transition: all 80ms ease-out;
}

.align-todos-and-done:hover {
    cursor: pointer;
}

.align-todos-and-done:hover .task-numbers,
.align-todos-and-done:hover .small-task-text {
    color: #FFFFFF;
    cursor: pointer;
}

.hovered-todo {
    display: none;
}

.hovered-done {
    display: none;
}

.align-todos-and-done:hover .todo-img {
    display: none;
}

.align-todos-and-done:hover .hovered-todo {
    display: block;
}

.align-todos-and-done:hover .done-img {
    display: none;
}

.align-todos-and-done:hover .hovered-done {
    display: block;
}

.to-do-animation {
    transition: transform 100ms ease-in-out, background-color 100ms ease-in-out;
}

.to-do-animation:hover {
    transform: scale(1.1) translateX(5px);
    background-color: #2A3647;
}

.done-animation {
    transition: transform 100ms ease-in-out, background-color 100ms ease-in-out;
}

.done-animation:hover {
    transform: scale(1.1) translateX(-5px);
    background-color: #2A3647;
}

.align-todos-and-done img {
    width: clamp(2.5rem, 1.9643rem + 2.6786vw, 4.375rem);
}

.task-numbers {
    font-weight: 600;
    font-size: clamp(2.9375rem, 2.6339rem + 1.5179vw, 4rem);
    color: #000000;
}

.small-task-text {
    font-weight: 400;
    font-size: clamp(0.875rem, 0.7679rem + 0.5357vw, 1.25rem);
    color: #2A3647;
    text-align: center;
}

.deadline-box {
    padding-inline: clamp(0.75rem, 0.6071rem + 0.7143vw, 1.25rem);
    padding-block: clamp(1rem, 0.8571rem + 0.7143vw, 1.5rem);
    background-color: #FFFFFF;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(1.25rem, 0.5179rem + 3.6607vw, 3.8125rem);
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.10);
    transition: all 80ms ease-out;
}

.deadline-box:hover {
    cursor: pointer;
    transform: scale(1.1) translateX(5px) translateY(5px);
    background-color: #2A3647;
}

.deadline-box:hover .task-numbers,
.deadline-box:hover .urgent-task-text,
.deadline-box:hover .urgent-date,
.deadline-box:hover .upcoming-deadline-text {
    color: #FFFFFF;
    cursor: pointer;
}

.deadline-box img {
    width: clamp(2.5rem, 2.1429rem + 1.7857vw, 3.75rem);
}

.urgent {
    display: flex;
    gap: 1.125rem;
    align-items: center;
}

.urgent-task-text {
    font-weight: 400;
    font-size: clamp(0.875rem, 0.8393rem + 0.1786vw, 1rem);
    color: #2A3647;
}

.urgent-border {
    height: clamp(4.25rem, 3.6429rem + 3.0357vw, 6.375rem);
    border: 2px solid #D1D1D1;
}

.urgent-border:hover {
    cursor: pointer;
}

.align-urgent-date {
    display: flex;
    flex-direction: column;
    gap: clamp(0.5rem, 0.4107rem + 0.4464vw, 0.8125rem);
}

.urgent-date {
    font-weight: 700;
    font-size: clamp(1rem, 0.9107rem + 0.4464vw, 1.3125rem);
    color: #2A3647;
}

.upcoming-deadline-text {
    font-weight: 400;
    font-size: clamp(0.875rem, 0.8393rem + 0.1786vw, 1rem);
    color: #2A3647;
}

.greetings {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.greet-msg {
    font-weight: 500;
    font-size: clamp(2.25rem, 2.0536rem + 0.9821vw, 2.9375rem);
    color: #2A3647;
}

.greet-name {
    font-weight: 700;
    font-size: clamp(2.9375rem, 2.6339rem + 1.5179vw, 4rem);
    color: #29ABE2;
}

.tasks-in-board {
    padding-inline: clamp(0.75rem, 0.6071rem + 0.7143vw, 1.25rem);
    padding-block: clamp(1rem, 0.8571rem + 0.7143vw, 1.5rem);
    background-color: #FFFFFF;
    box-shadow: 0 0 4px 0 rgba(0, 0, 0 ,0.10);
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 80ms ease-out;
}

.animate-first-task {
    transition: transform 100ms ease-in-out, background-color 100ms ease-in-out;
}

.animate-first-task:hover {
    cursor: pointer;
    transform: scale(1.1) translateX(5px);
    background-color: #2A3647;
}

.animate-second-task {
    transition: transform 100ms ease-in-out, background-color 100ms ease-in-out;
}

.animate-second-task:hover {
    cursor: pointer;
    transform: scale(1.1);
    background-color: #2A3647;
}

.animate-third-task {
    transition: transform 100ms ease-in-out, background-color 100ms ease-in-out;
}

.animate-third-task:hover {
    cursor: pointer;
    transform: scale(1.1) translatex(-5px);
    background-color: #2A3647;
}

.tasks-in-board:hover .task-numbers,
.tasks-in-board:hover .small-task-text {
    color: #FFFFFF;
    cursor: pointer;
}

.column-border {
    display: none;
    margin-top: 0.5rem;
    width: 90px;
    border: 3px solid #29ABE2;
    border-radius: 15px;
}

.fade-out {
    height: calc(100% - 96px);
    width: calc(100% - 180px);
    background-color: #f6f7f8;
    position: absolute;
    top: 96px;
    left: 180px;
    z-index: 1000;
    animation-name: fade-out-animation;
    animation-delay: 2s;
    animation-duration: 700ms;
    animation-fill-mode: forwards;
    animation-iteration-count: 1;
    
}

.wrapper {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

@keyframes fade-out-animation {
    0% {
        opacity: 1;
    }
    100% {
        display: none;
        opacity: 0;
    }
}



@media (max-width: 1180px) {
    .tasks {
        column-gap: 1rem;
        row-gap: 1.25rem;
    }

    .align-todos-and-done,
    .deadline-box,
    .tasks-in-board {
        padding-inline: 1rem;
        padding-block: 1rem;
        gap: 0.75rem;
    }

    .urgent {
        gap: 0.75rem;
    }

    .task-numbers {
        font-size: clamp(2.5rem, 2vw, 3rem);
    }

    .small-task-text,
    .urgent-task-text,
    .upcoming-deadline-text {
        font-size: 0.875rem;
    }

    .urgent-date {
        font-size: 1rem;
    }

    .urgent-border {
        height: 80px;
    }

    .greet-msg {
        font-size: 2rem;
    }

    .greet-name {
        font-size: 2.5rem;
    }
}

@media (max-width: 1100px) {
    .join-header {
        width: calc(100% - 180px);
        margin-left: 180px;
    }
    main {
        width: calc(100% - 180px);
        margin-left: 180px;
    }
}

@media (min-width: 992px) {
    .fade-out {
        display: none;
    }
}

@media (max-width: 991px) {
    .greet {
        display: none;
    }
    .deadline-box {
        justify-content: space-evenly;
    }
    .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .blue-border {
        display: none;
    }
    .column-border {
        display: block;
    }
    .greet-msg {
        font-size: 36px;
    }
    .greet-name {
        font-size: 47px;
    }
}

@media (max-width: 850px) {
    main {
        width: 100%;
        margin-left: 0;
        padding-bottom: 10rem;
    }
    .join-header {
        width: 100%;
        margin-left: 0;
    }
    .fade-out {
        left: 0;
        width: 100%;
        height: calc(100% - 80px);
        top: 80px;
    }
}

@media (max-width: 480px) {
    .container {
        padding-inline: 1rem;
        gap: 1rem;
    }

    .main-container {
        padding-inline: 1rem;
    }

    .divide-greeting-from-tasks {
        gap: 2rem;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .tasks {
        column-gap: 1rem;
        row-gap: 1rem;
    }

    .align-todos-and-done,
    .deadline-box,
    .tasks-in-board {
        padding-inline: 1rem;
        padding-block: 1rem;
        gap: 0.75rem;
    }

    .urgent {
        gap: 0.75rem;
    }

    .urgent-border {
        height: 60px;
    }

    .urgent-date,
    .upcoming-deadline-text,
    .small-task-text,
    .urgent-task-text {
        font-size: 0.875rem;
    }

    .task-numbers {
        font-size: 2.25rem;
    }

    .align-urgent-date {
        gap: 0.5rem;
    }
    .greet-msg {
        font-size: 24px;
    }
    .greet-name {
        font-size: 32px;
    }
}