body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 600px;
    text-align: center;
}

h1 {
    margin-bottom: 20px;
    color: #333;
}

form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

label {
    font-weight: bold;
    color: #555;
}

input, select, button {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

button {
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}

.hint {
    font-size: 14px;
    color: #666;
}

#loading {
    margin-top: 20px;
    font-size: 16px;
    color: green;
}

.chart-container {
    margin-top: 20px;
    position: relative;
    height: 300px;
}

.buttons {
    margin-top: 20px;
    display: flex;
    justify-content: space-around;
}

.button {
    padding: 10px 20px;
    background-color: #28a745;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
}

.button:hover {
    background-color: #218838;
}
.scroll-container {
    width: 100%;
    height: auto; /* Высота, в зависимости от вашего дизайна */
    overflow-y: auto; /* Вертикальная прокрутка */
    border: 0px solid #ccc; /* Граница, можно изменить */
    padding: 0px;
    box-sizing: border-box;
}
.language-selector {
    display: inline-block;
    margin-left: 15px;
}

.language-selector select {
    padding: 5px 10px;
    border-radius: 4px;
    border: 1px solid #ddd;
    background-color: #f5f5f5;
    cursor: pointer;
}

.language-selector select:hover {
    background-color: #e9e9e9;
}
    .cpp-button {
        animation: colorChange 5s infinite;
        transition: background-color 0.5s ease;
        background-color: #4CAF50;
    }
    @keyframes colorChange {
        0% { background-color: #4CAF50; }
        20% { background-color: #2196F3; }
        40% { background-color: #9C27B0; }
        60% { background-color: #FF5722; }
        80% { background-color: #E91E63; }
        100% { background-color: #4CAF50; }
    }
        .footer {
            font-size: 14px;
            color: #888;
            margin-top: 30px;
        }