body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5e9dc; /* Soft Peach */
}

.translator-container {
    max-width: 500px;
    margin: 100px auto;
    padding: 20px;
    border: 1px solid black;
    border-radius: 5px;
    background-color: #f5e9dc;
    text-align: center; /* Center align content */
}

textarea {
    width: calc(100% - 30px);
    height: 250px;
    margin-bottom: 10px;
    padding: 15px;
    border: 1px solid gray;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Add box shadow */
    background-color: #f2f2f2; /* Light gray */
}

.language-buttons {
    display: flex;
    justify-content: center; /* Center align buttons horizontally */
    align-items: center; /* Center align buttons vertically */
    margin-bottom: 10px;
}

.lang-btn {
    padding: 10px 30px;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    background-color: #007bff; /* Blue color */
    color: #fff; /* White color */
    margin: 10px; /* Adjust margin as needed */
}

.lang-btn.active {
    background-color: #007bff;
}

.icon-btn {
    padding: 10px;
    cursor: pointer;
    border-radius: 8px;
    background-color: #007bff; /* Blue color */
    color: #fff; /* White color */
    margin: 5px; /* Adjust margin as needed */
    display: inline-block; /* Display icons as inline-block to arrange them vertically */
}

.icon-btn i {
    margin-right: -1px; /* Adjust spacing between icon and text */
}

#translateBtn {
    padding: 10px;
    cursor: pointer;
    border-radius: 8px;
    background-color: #007bff; /* Blue color */
    color: #fff; /* White color */
    width: 100px;
    margin: 15px;
}

.output-container {
    text-align: center ; /* Center align content */
}
.speech-btn i,
.copy-btn i,
.clear-btn i {
    margin-left: 5px; /* Adjust spacing between icon and text */
}

.clear-btn {
    margin-left: 5px; /* Add margin between clear icon and other icons */

}
.speech-btn,
.copy-btn,
.clear-btn {
    padding: 10px;
    cursor: pointer;
    border-radius: 8px;
    background-color: #007bff; /* Blue color */
    color: #fff; /* White color */
    margin: 5px; /* Adjust margin as needed */
    display: inline-block; /* Display icons as inline-block to arrange them vertically */
    float: left; /* Align icons to the left */
}