
body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
  }

.main-content {
    max-width: 1920px;
    margin-top: 80px;
    margin-left: 332px;
    margin-bottom: 120px !important;
    padding: 20px;
    background-color: var(--body-background-grey);
    height: 85vh;
}

/* .joinLogo {
    display: none;
} */

.main-content p {
    /* margin-bottom: 0px; */
    /* margin-bottom: 32px; */
    font-size: 61px;
    font-weight: 700;
}

h1, h2, p {
    color: var(--deep-grey);
    margin-top: 2px;
    margin-bottom: 8px;
}

h2 {
    font-size: 18px;
}

.contact-flex-header {
    display: flex;
    justify-content: flex-start;
    gap: 30px;
}

.contact-flex-header span {
    font-size: 27px;
}

/* Styles for the greeting message */
.greeting-container {
    flex: 1;
    display: flex;
    /* justify-content: flex-end; */
    margin: 20px;
    padding: 40px;
    background-color: var(--light-grey);
    border-radius: 8px;
    /* display: none; */
    align-items: center;
    justify-content: space-between;
}
#greeting-container {
    margin: 0 auto;
}

.d-none {
    display: none !important;
}

.greeting-flex-area {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: flex-start;
}

.greeting h1 {
    color:#29ABE2;
    font-size: 64px;
}

#greeting-text {
    font-size: 31px;
    font-weight: 600;
    color: var(--deep-grey);
}

#greeting-container {
    margin: 0 auto;
}

.text-align-center {
    text-align: center;
}

.d-flex {
    display: flex;
}

.content-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    width: 100%;

}

/* Anpassung des Layouts mit Flexbox */
.metrics-container {
    display: flex;
    flex-direction: column;
    flex: 2;
    gap: 20px;
    margin-top: 40px;
}

.metrics-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.summary-box {
    display: flex;
    /* flex-direction: column; */
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-radius: 12px;
    background-color: #F7F8FC;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    /* transition: transform 0.3s, box-shadow 0.3s; */
    text-align: center;
    color: #2A3647;
    flex: 1;
    margin-right: 10px;
}

.summary-box:last-child {
    margin-right: 0;
}

.summary-box:hover {
    background-color: #2A3647;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.summary-box:hover h2,
.summary-box:hover p {
    color: white;
}

.summary-box img {
    width: 72px;
    height: 80px;
    /* margin-bottom: 10px; */
    filter: invert(0); /* Icon bleibt dunkel */
    transition: filter 0.3s ease;
}

.summary-box:hover img {
    filter: invert(1); /* Icon wird weiß */
}

/* Summary-Box spezifische Styles */
.metric-icon {
    margin-right: 16px; /* Abstand zwischen dem Icon und dem Text */
}

.task-box {
    display: flex;
    flex-direction: column;
}

.task-box p {
    font-size: 61px;
}

.metric-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#numberTodo, #numberDone {
    font-size: 61px;
    font-weight: 700;
    margin-bottom: 4px;
    margin-top: 8px;
}

/* Box spezifische Styles */
#todoCounter {
    background-color: #fff;
    padding: 20px;
    gap: 20px;
}

#doneCounter {
    background-color: #fff;
    padding: 20px;
    gap: 20px;
}

#upcomingCounter {
    background-color: #fff;
    flex: 1;
    margin-right: 0;
    padding: 20px;
    gap: 20px;
}

#upcomingCounter img {
    filter: none; /* Icon bleibt in seiner Originalfarbe (Rot) */
}

.vertical-seperator2 {
    border-left: 2px solid var(--deep-grey);
    height: 59px;
    margin: 0 20px;
}

#taskInBoard {
    background-color: #fff;
}

#taskInProgress {
    background-color: #fff;
}

#taskAwaitFeedback {
    background-color: #fff;
}

/* Box Hover-Effekte */
#todoCounter:hover,
#doneCounter:hover,
#upcomingCounter:hover,
#taskInBoard:hover,
#taskInProgress:hover,
#taskAwaitFeedback:hover {
    background-color: #2A3647;
    color: white;
}

p.upcoming-desktop {
    display: none;
}

.mobile-flex {
    display: flex;
    align-items: center;
}

.mobile-line {
    width: 2px;
    height: 90%;
    border-left: 2px solid var(--border-grey);
}

#upcomingCounter {
    display: flex;
    justify-content: space-around;
}

p.urgent-text {
    font-size: 16px;
    font-weight: 400;
    line-height: 19.2px;
}

#dateUpcomming {
    font-size: 21px;
    font-weight: 700;
    line-height: 25.2px;
}

p.upcoming-mobile {
    font-size: 16px;
    font-weight: 400;
    line-height: 25.2px;
}

.fade-out {
    -webkit-animation: fade-out 1s ease-out both;
    animation: fade-out 1s ease-out both;
}

@-webkit-keyframes fade-out {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}
@keyframes fade-out {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}
