/* Define Corporate Design Colors as CSS variables */
:root {
    --prof-blue-dark: #0E396E;
    --prof-blue-medium: #25548D;
    --prof-accent-gray: #FFFFFF;
    --prof-text-dark: #041426; /* Using the darkest blue for text */
}

/* Use the Inter font family */
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--prof-accent-gray);
    color: var(--prof-text-dark);
}

/* Custom classes for the new colors */
.bg-prof-blue { background-color: var(--prof-blue-dark); }
.text-prof-blue { color: var(--prof-blue-dark); }
.border-prof-blue { border-color: var(--prof-blue-dark); }
.hover\:bg-prof-blue-medium:hover { background-color: var(--prof-blue-medium); }

/* Simple transition for interactive cards */
.card-hover-effect {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}
.card-hover-effect:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px -5px rgb(0 0 0 / 0.1), 0 4px 8px -4px rgb(0 0 0 / 0.1);
}

/* --- LOADING SPINNER STYLES --- */
#h5p-loading-spinner {
    border: 5px solid #f3f3f3; /* Light grey */
    border-top: 5px solid var(--prof-blue-dark); /* TUM Blue */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 20px auto; /* Center the spinner */
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* --- END OF SPINNER STYLES --- */

.flex-responsive {
    display: flex;
    justify-content: center;
}
.flex-responsive-margin {
    margin-right: 100px;
}

@media only screen and (max-width: 840px) {
  .flex-responsive {
    flex-direction: column;
    align-items: center;
  }
  .flex-responsive-margin {
    margin-right: 0;
    margin-bottom: 100px;
  }
}
