body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f0f0f0;
    font-family: Arial, sans-serif;
    transition: background-image 0.5s ease; /* Плавный переход фона */
    overflow: hidden; /* Скрытие скролла при конфетти */
}

.container {
    text-align: center;
    position: relative;
    z-index: 1; /* Чтобы текст был над конфетти */
}

button {
    padding: 10px 20px;
    font-size: 18px;
    cursor: pointer;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
}

button:hover {
    background-color: #45a049;
}

#confirmationMessage {
    margin-top: 20px;
    font-size: 18px;
    color: #333;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: red; /* Цвет конфетти */
    opacity: 0.8;
    animation: fall 2s forwards;
}

@keyframes fall {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(100vh);
    }
}

.hidden {
    display: none;
}

.minecraft-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0); /* Начальный размер 0 для анимации */
    background-color: #ffffff; /* Цвет фона таблички */
    border: 2px solid #000000;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    text-align: center;
    font-family: "Courier New", Courier, monospace;
    width: 300px; /* Ширина таблички */
    max-height: 200px; /* Максимальная высота таблички */
    overflow-y: auto; /* Добавляем вертикальную прокрутку */
    transition: transform 0.5s ease; /* Плавная анимация */
    cursor: move; /* Указатель курсора для перемещения */
}

.minecraft-message.show {
    transform: translate(-50%, -50%) scale(1); /* Конечный размер 1 */
}

.minecraft-message h2 {
    color: #000000; /* Цвет текста заголовка */
    margin: 0;
}

.minecraft-message p {
    color: #000000; /* Цвет текста */
    font-size: 14px; /* Размер шрифта */
    margin: 5px 0 0 0; /* Отступы */
}

/* Добавим стиль для кнопки в табличке */
.minecraft-button {
    margin-top: 10px;
    padding: 10px 20px;
    font-size: 14px;
    cursor: pointer;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
}

.minecraft-button:hover {
    background-color: #45a049;
}
