/* Основные стили */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
}

h1, h2 {
    text-align: center;
    margin: 20px 0;
    color: #333;
}

a {
    color: #007BFF;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

form {
    margin-bottom: 20px;
}

textarea, input[type="file"], button {
    font-size: 16px;
    margin-top: 10px;
}

ul {
    list-style-type: none;
    padding: 0;
}

ul li {
    margin-bottom: 10px;
}

.container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding: 10px;
}

.container > div {
    flex: 1 1 calc(50% - 20px);
    box-sizing: border-box;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

textarea {
    width: 100%;
    resize: vertical;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 8px;
}

button {
    padding: 10px 15px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
}

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

/* Адаптация для мобильных устройств */
@media screen and (max-width: 768px) {
    h1, h2 {
        font-size: 18px;
    }

    .container {
        flex-direction: column;
        gap: 10px;
    }

    .container > div {
        flex: 1 1 100%;
    }

    textarea {
        font-size: 14px;
    }

    button {
        width: 100%;
        font-size: 14px;
    }
}

@media screen and (max-width: 480px) {
    body {
        font-size: 14px;
        padding: 5px;
    }

    textarea {
        font-size: 12px;
    }

    button {
        font-size: 12px;
    }
}
