/* Основний стиль для сторінки */
body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(45deg, #6f9112, #2669dd);
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    color: #fff;
}

/* Контейнер для генератора */
.container {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    width: 90%;
    max-width: 500px;
    transition: transform 0.3s ease;
}

.container:hover {
    transform: scale(1.05);
}

/* Заголовок */
h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

/* Опис */
p {
    font-size: 1rem;
    margin-bottom: 30px;
    color: #d3d3d3;
}

/* Кнопка генерації QR */
button {
    background: #ff4081;
    border: none;
    padding: 15px 30px;
    font-size: 1.2rem;
    color: white;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

button:hover {
    background: #ff80ab;
    box-shadow: 0 5px 15px rgba(255, 64, 129, 0.3);
}

/* Стиль для згенерованого QR-коду */
.qr-code {
    margin-top: 20px;
    border: 10px solid #ffffff;
    border-radius: 10px;
    padding: 20px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.qr-code:hover {
    transform: rotate(10deg);
}

/* Вхідний блок */
input {
    padding: 12px 20px;
    border-radius: 8px;
    border: 2px solid #fff;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1rem;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

input:focus {
    outline: none;
    border-color: #ff4081;
    background-color: rgba(255, 255, 255, 0.2);
}

/* Анімація кнопки */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

button {
    animation: pulse 1.5s infinite;
}

/* Для адаптивності */
@media (max-width: 768px) {
    .container {
        padding: 30px;
    }
    h1 {
        font-size: 2rem;
    }
    button {
        font-size: 1rem;
        padding: 12px 25px;
    }
}
