@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/Inter_28pt-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/Inter_28pt-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

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

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F6F7F8;
  overflow: hidden;
}

body {
  font-family: 'Inter';
  background: #F6F7F8;
  font-size: 16px;
}
/* Generelle Regel für alle Links */
a {
    text-decoration: none;
}



.layout-page__card {
  /* max-width: 1920px; */
  width: 100vw;
  height: 100vh;
  /* max-height: 1024px; */
  background-color: #F6F7F8;
  display: flex;
}

/* Main content */
.content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.main {
  flex: 1;
  padding: 40px;
  background-color: #F6F7F8;
  flex: 1;
  display: flex;
  flex-direction: column;
  /* padding-left: 80px;
  padding-right: 80px;
  padding-top: 80px;
  padding-bottom: 80px; */
}

.dashboard {
  display: flex;
  flex-direction: column;
  padding-left: 48px;
  padding-top: 30px;
  width: 100%;
  gap: 24px;
}

.dashboard__header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 40px;
}

.dashboard__title {
  font-size: 61px;
  font-weight: 700;
}

.dashboard__seperator {
  width: 2px;
  height: 59px;
  background-color: #29ABE2;
  position: relative;
  top: 8px;
}

.dashboard__subtitle {
  font-size: 27px;
  color: #6b7280;
  position: relative;
  bottom: 10px;
  gap: 15px;
}

.card__row {
  display: flex;
  flex-wrap: wrap;
  row-gap: 20px;
  column-gap: 20px;
}

.card {
  background-color: white;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  width: 264px;
  height: 168px;
  cursor: pointer;
}

.card__header {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: center;
}

.card__icon {
  width: 69px;
  height: 69px;
  background-color: #2A3647;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card__icon img {
  width: 29.943395614624023;
  height: 22.132076263427734;
  top: 23.43px;
  left: 19.53px;
  border-width: 7px;
}

.card__number-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}


.card__number {
  font-weight: 600;
  font-size: 64px;
  margin: 0;
}

.card__label {
  color: #6b7280;
  font-size: 20px;
  margin: 0;
}

.card__urgent .card__number {
  font-weight: 600;
  font-size: 64px;
  margin: 0;
  text-align: center;
}

.card__urgent .card__label {
  color: #6b7280;
  font-size: 20px;
  margin: 0; /* Entferne margin-left */
  text-align: center;
}

.card__urgent-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card__urgent-left {
 display: flex;
  align-items: center;
  justify-content: center;
  width: 33%;
  padding-left: 49px;
}

.card__urgent-content {
 display: flex;
  align-items: center;
  gap: 18px;
}

.card__urgent-number-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  
}

.card__urgent-seperator {
  height: 80%;
  width: 2px;
  background-color: #D1D1D1;
  margin: 0 20px;
}

.card__urgent-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 0;
}

.card__urgent-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #2A3647;
  font-size: 14px;
  margin-right: 40px;
  gap: 13px;
  }

.card__urgent {
  background-color: white;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  width: 548px;
  height: 168px;
  cursor: pointer;
}


.card__urgent-inline .card__urgent-top {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.card__urgent-icon {
  width: 69px;
  height: 69px;
  background: #FF3D00;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card__urgent-icon img {
  width: 29.94px;
  height: 22.13px;
}

.card__date {
  font-size: 21px;
  font-weight: 700;
  color: #2A3647;
}

.card__deadline {
  font-size: 16px;
  font-weight: 400;
  color: #2A3647;
  }

.card__greeting {
  display: flex;
  align-items: center;
  gap: 15px;
}

.card__greeting-inline {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  padding: 20px;
  min-width: 200px;
}

.card__greetings-text {
  font-weight: 500;
  font-size: 47px;
  line-height: 120%;
  letter-spacing: 0%;
  color: #2A3647;
}

.card__username {
  font-weight: 700;
  font-size: 64px;
  line-height: 120%;
  letter-spacing: 0%;
  color: #29ABE2;
}

.card__overview {
  background-color: white;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  width: 168px;
  height: 168px;
  cursor: pointer;
}

.greeting-card .card__username {
  font-size: 24px;
  color: #29ABE2;
  font-weight: bold;
}

.card__link {
  text-decoration: none;
  display: block;
}


a:visited .card__number {
    color: inherit; 
}

a.card__link {
    text-decoration: none;
      display: block;
    text-decoration: none;
    margin: 0;
    padding: 0;
}

a.card__link:visited {
    text-decoration: none;
}

a.card__link:link,
a.card__link:visited,
a.card__link:hover,
a.card__link:active {
    color: inherit;
    text-decoration: none;
}

.card:hover,
.card__urgent:hover,
.card__overview:hover {
  background-color: #2A3647;
}

.card:hover .card__icon {
  background-color: white;
}

.card:hover .card__number,
.card__overview:hover .card__number,
.card__urgent:hover .card__number {
  color: white;
}

.card:hover .card__label,
.card__overview:hover .card__label,
.card__urgent:hover .card__label,
.card__urgent:hover .card__date,
.card__urgent:hover .card__deadline {
  color: white;
}

.card:hover .card__icon img,
.card__overview:hover img {
  filter: brightness(0) saturate(100%) invert(15%) sepia(9%) saturate(1070%) hue-rotate(169deg) brightness(93%) contrast(91%);
}

.card__urgent:hover .card__urgent-icon img {
  filter: none;
}

.card,
.card__urgent,
.card__overview {
  transition: background-color 0.3s ease, filter 0.3s ease;
  border-radius: 30px;
}

.mobile-greeting-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw; 
    height: 100vh; 
    background: linear-gradient(135deg, #F6F7F8 0%, #E3E7ED 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn 0.5s ease-in;
}

.mobile-greeting-overlay.fade-out {
    animation: fadeOut 0.5s ease-out forwards;
}

.mobile-greeting-content {
    text-align: center;
    padding: 40px 20px;
    max-width: 90%;
}

.mobile-greeting-text {
    font-family: 'Inter', sans-serif;
    font-size: 40px; 
    font-weight: 500;
    color: #2A3647;
    margin-bottom: 10px;
    line-height: 1.2;
}

.mobile-greeting-username {
    font-family: 'Inter', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #29ABE2;
    margin-bottom: 20px;
    line-height: 1.2;
}

.mobile-greeting-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 19px;
    font-weight: 400;
    color: #6b7280;
    margin-top: 20px;
}

