/* Custom Styles */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    flex: 1;
}

.card {
    border: none;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
}

.course-card {
    border: 1px solid rgba(0,0,0,0.1);
}

.course-card:hover {
    border-color: #0d6efd;
}

.btn {
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.footer {
    margin-top: auto;
    background-color: #f8f9fa;
    padding: 1rem 0;
}

.alert {
    border-radius: 0.5rem;
}

.nav-link {
    transition: all 0.3s ease;
}

.nav-link:hover {
    transform: translateY(-2px);
}

    /* Stil für die analoge Uhr */
    .clock {
        width: 50px;
        height: 50px;
        border: 4px solid #fff;
        border-radius: 50%;
        position: relative;
        background: #343a40; /* Dunkler Hintergrund passend zur Navbar */
    }
    
    .clock-face {
        position: relative;
        width: 100%;
        height: 100%;
        transform: translateY(-3px); /* Anpassung für bessere Ausrichtung */
    }
    
    .hand {
        width: 50%;
        background: #fff;
        position: absolute;
        top: 50%;
        transform-origin: 100%;
        transform: rotate(90deg);
        transition: all 0.05s;
        transition-timing-function: cubic-bezier(0.4, 2.3, 0.3, 0.9);
    }
    
    .hour-hand {
        height: 4px;
        left: 50%;
    }
    
    .minute-hand {
        height: 3px;
        left: 50%;
    }
    
    .second-hand {
        height: 2px;
        background: #dc3545; /* Rote Farbe für den Sekundenzeiger */
        left: 50%;
    }
    
/* Styling für die Uhr in der Navigationsleiste */
.navbar .clock {
    position: relative;
    width: 50px; /* Verkleinerte Uhr für die Navigation */
    height: 50px;
    margin: 0 auto;
    border: 2px solid white;
    border-radius: 50%;
    background-color: white;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.navbar .hand {
    position: absolute;
    width: 50%;
    height: 2px;
    background-color: black;
    top: 50%;
    left: 50%;
    transform-origin: 50% 100%; /* Rotiert von der Mitte unten */
    /* Entferne die initiale Rotation */
    transition: transform 0.1s cubic-bezier(0.4, 2.3, 0.3, 0.9);
}

}

.navbar .hour-hand {
    width: 25%;
    height: 3px;
    background-color: black;
    z-index: 3;
}

.navbar .minute-hand {
    width: 35%;
    height: 2px;
    background-color: gray;
    z-index: 2;
}

.navbar .second-hand {
    width: 45%;
    height: 1px;
    background-color: red;
    z-index: 1;
}

.navbar .center {
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: black;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
}
