body {
    font-family: 'Quicksand', sans-serif;
    background-color: #f0f2f5;
    background-image: url('background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #333;
}

.container {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 30px 40px;
    border-radius: 15px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    max-width: 600px;
    width: 100%;
    text-align: center;
}

h1 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 700;
}

.subtitle {
    color: #7f8c8d;
    margin-bottom: 30px;
}

.translator {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-section, .output-section {
    text-align: left;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: #34495e;
}

textarea {
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #bdc3c7;
    font-family: 'Quicksand', sans-serif;
    font-size: 1.2em;
    resize: vertical;
    box-sizing: border-box;
}

textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
}

button {
    padding: 15px 20px;
    border: none;
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: white;
    font-size: 1.1em;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    background: linear-gradient(45deg, #2980b9, #3498db);
}

.output-box {
    width: 100%;
    min-height: 100px;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #bdc3c7;
    background-color: #ecf0f1;
    font-size: 1.1em;
    box-sizing: border-box;
    color: #333;
    line-height: 1.6;
}

footer {
    margin-top: 30px;
    color: #95a5a6;
    font-size: 0.9em;
}

