* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: rgb(19, 124, 215);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 10px;
}

.heading1 {
    font-size: 30px;
    font-weight: bold;
    color: white;
    margin: 8px;
    text-align: center;
}

.trademark {
    font-size: 15px;
    font-weight: bold;
    color: white;
    margin: 8px;
    text-align: center;
}

.container {
    background-color: white;
    border-radius: 12px;
    width: 100%;
    max-width: 1080px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.wrapper {
    border-radius: 8px;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.text-boxes {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.text-boxes textarea {
    height: 400px;
    width: 100%;
    border: none;
    outline: none;
    resize: none;
    font-size: 1.2rem;
    padding: 10px 15px;
    background: none;
}

.inputText,
.outputText {
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
    flex: 1;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px;
    background-color: white;
}

.InputActions,
.OutputActions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.exchangeIcon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.actions select {
    font-size: 16px;
    padding: 5px 10px;
    border: none;
    outline: none;
    border-radius: 6px;
    background-color: white;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    transition: box-shadow 0.2s ease;
}

.actions select:focus {
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.35);
}

.sound,
.copy,
.exchange {
    width: 40px;
    height: 40px;
    padding: 6px;
    background-color: #ffffff;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.sound {
    width: 35px;
    height: 35px;
}

.sound:hover,
.copy:hover,
.exchange:hover {
    background-color: #bebebe;
}

.translateButton {
    border: none;
    background-color: #137cd7;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.5rem;
    color: white;
    padding: 12px;
    width: 100%;
    margin-top: 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.translateButton:hover {
    background-color: rgb(15, 104, 185);
}

#themeChangeIcon {
    width: 60px;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 15px;
}

/* ✅ Responsive Layout for Smaller Screens */
@media (max-width: 768px) {
    .container {
        padding: 20px;
    }

    .text-boxes {
        flex-direction: column;
    }

    .text-boxes textarea {
        height: 200px;
        font-size: 1rem;
    }

    .actions {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .InputActions,
    .OutputActions {
        justify-content: space-between;
        width: 100%;
        margin: 0;
    }

    .translateButton {
        font-size: 1.2rem;
        padding: 10px;
    }

    #themeChangeIcon {
        position: static;
        margin: 10px auto;
        display: block;
    }
}
