:root {
    --white: #fff;
    --black: #000;
    --deepGray: #606060;
    --mediumGray: #c7c7c783;
    --lightGray: #c7c7c7;
    --skyBlue: #487eb0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    font-size: 62.5%;
}

body {
    height: 100vh;
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

h1 {
    width: 50%;
    font-size: 4rem;
    font-weight: 600;
    color: #576574;
    margin-bottom: 3rem;
    text-align: center;
}

.container {
    width: 90rem;
    background-color: var(--white);
    box-shadow: 0 0.2rem 2rem rgba(0, 0, 0, .3);
    border-radius: 0.5rem;
}

.translator_area {
    border: 0.1rem solid var(--mediumGray);
}

.translator_area .nav_items {
    display: flex;
    width: 100%;
    height: 5rem;
    justify-content: space-between;
    align-items: center;
    border-bottom: 0.1rem solid var(--lightGray);
    padding: 0 2rem;
}

.translator_area .nav_items select {
    cursor: pointer;
    outline: none;
    border-style: none;
    padding: 1rem 0;
    font-size: 1.7rem;
    font-weight: 500;
    color: var(--deepGray);
    cursor: pointer;
    transition: all 0.3s ease-out;
}

.translator_area .nav_items select:hover {
    color: var(--skyBlue);
}

.bx-transfer {
    font-size: 2.2rem;
    /* color: var(--deepGray); */
    color: var(--skyBlue);
    cursor: pointer;
    transition: all 0.3s ease-out;
}

.bx-transfer:hover {
    color: #111;
}

.writing_box {
    display: flex;
}

.property_form,
.property_translate {
    width: 100%;
}

.writing_box textarea {
    width: 100%;
    height: 20.5rem;
    border-style: none;
    outline: none;
    resize: none;
    padding: 1rem 2rem;
    font-size: 2rem;
    /* position: relative; */
}

.writing_box textarea:nth-child(1) {
    border-right: 0.1rem solid var(--lightGray);
}

.property_form,
.property_translate {
    position: relative;
}

.writing_box .icons {
    position: absolute;
    right: 0;
    bottom: 0;
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
}

.icons .bx {
    width: 3.5rem;
    height: 3.5rem;
    background-color: var(--skyBlue);
    text-align: center;
    line-height: 3.5rem;
    font-size: 1.8rem;
    color: var(--white);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease-out;
}

.icons .bx:hover {
    box-shadow: 0 0.2rem 2rem rgba(0, 0, 0, .15);
    background-color: var(--white);
    color: var(--skyBlue);
}

.bx.voice_microphone.active {
    width: 3.5rem;
    height: 3.5rem;
    background-color: rgb(228, 112, 112, .3);
    text-align: center;
    line-height: 3.5rem;
    font-size: 1.8rem;
    color: red;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease-out;
}

.from_voice {
    margin-left: .8rem;
}

.word_length {
    font-size: 1.8rem;
    color: var(--deepGray);
}

.copy_popup {
    padding: .5rem 7rem;
    background-color: var(--skyBlue);
    font-size: 2rem;
    border-radius: .5rem;
    color: var(--white);
    text-transform: uppercase;
    position: absolute;
    left: 4rem;
    bottom: -4rem;
    transform: scale(0.2);
    transition: .1s all ease-in-out;
}

.copy_popup.show {
    transform: scale(1);
    bottom: 4rem;
    transition: .1s all ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bxs-check-circle {
    margin-left: .8rem;
}