


body { font-family: Arial, sans-serif; margin: 0; overflow: hidden; background-color: #f5f5dc; }
        .brief {
            position: absolute;
			/* width und height werden dynamisch gesetzt */
			min-width: 100px;
			min-height: 60px;
			max-width: 300px;
			max-height: 250px;
            background-color: #fff8dc;
            border: 2px solid #a0522d;
            border-radius: 10px;
            padding: 15px;
            cursor: grab;
            user-select: none;
            box-shadow: 2px 2px 8px rgba(0,0,0,0.2);
        }
        #modal {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: white;
            padding: 20px;
            border: 2px solid #333;
            border-radius: 10px;
            display: none;
            z-index: 1000;
        }
        #overlay {
            position: fixed;
            top: 0; left: 0; right: 0; bottom: 0;
            background: rgba(0,0,0,0.5);
            display: none;
            z-index: 999;
        }
		
#neuerBriefBtn {
    display: block;
    margin: 10px auto;
    padding: 10px 20px;
    background-color: #fff8dc;
    border: 2px solid #a0522d;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
}

#briefForm {
    text-align: center;
    margin-top: 10px;
    background-color: #fff8dc;
    border: 2px solid #a0522d;
    border-radius: 10px;
    padding: 10px;
    width: 300px;
    margin-left: auto;
    margin-right: auto;
}

#briefForm input, #briefForm textarea {
    width: 90%;
    border-radius: 5px;
    padding: 5px;
    border: 1px solid #a0522d;
}

@keyframes hoverPulse {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.03); }
    100% { transform: scale(1); }
}

.brief:hover {
	animation-play-state: paused;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
    transform: scale(1.03); /* zusätzlicher Effekt */

}





@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0); }
}

@keyframes pulse {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.04); }
    100% { transform: scale(1); }
}

@keyframes swing {
    0%   { transform: rotate(0deg); }
    25%  { transform: rotate(2deg); }
    50%  { transform: rotate(0deg); }
    75%  { transform: rotate(-2deg); }
    100% { transform: rotate(0deg); }
}

.timer {
    position: absolute;
    bottom: 8px;
    right: 15px;
    font-size: 12px;
    color: #444;
    padding: 2px 4px;
    border-radius: 4px;
    font-family: monospace;
    pointer-events: none;
}








