/* Level-Transition-Styling */

.level-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    animation: fade-in 0.5s ease;
}

.transition-content {
    width: 80%;
    max-width: 500px;
    background-color: white;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

.level-transition h2 {
    color: #e91e63;
    font-size: 32px;
    margin-bottom: 10px;
}

.level-transition h3 {
    color: #333;
    font-size: 24px;
    margin-bottom: 20px;
}

.level-transition p {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.5;
}

.level-transition .target {
    font-weight: bold;
    color: #e91e63;
    font-size: 18px;
}

.level-transition .tip {
    font-style: italic;
    background-color: #ffebee;
    padding: 10px;
    border-radius: 5px;
    margin: 15px 0;
}

.level-transition .button {
    margin-top: 20px;
    font-size: 18px;
    padding: 10px 30px;
}

.fade-out {
    animation: fade-out 0.5s ease forwards;
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fade-out {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* Level-Info im Spiel */
.level-info-panel {
    background-color: #ffebee;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 15px;
    text-align: left;
}

.level-info-panel h3 {
    color: #e91e63;
    margin-bottom: 5px;
    font-size: 16px;
}

.level-info-panel p {
    margin-bottom: 5px;
    font-size: 14px;
}

.level-tip {
    margin-top: 10px !important;
    padding: 5px;
    background-color: rgba(233, 30, 99, 0.1);
    border-radius: 5px;
}