.wrap {
    width: 100%;
    max-height: 100svh;
    padding: 30px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sideNavContents_wrap {
    width: 100%;
    max-height: 100svh;
    padding: 30px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.inputWrap {
    max-width: 400px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.textArea {
    width: 100%;
    max-height: 200px;
    padding: 20px;
    border-radius: 10px;
    font-size: 20px;
    background-color: #76a8ff6a;
    border: 0;
    outline: 0;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    resize: none;
}

.changeLanguageArea {
    width: 100%;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.languageOption {
    width: 40%;
    padding: 15px 0;
    border-radius: 10px;
    background-color: #5C80BC;
    text-align: center;
    cursor: default;
}

.changeLanguageBtn {
    width: 13% !important;
    height: 49px;
    /* padding: 10px 0; */
    border: 0;
    /* border-radius: 1000px; */
    /* background-color: #20063B; */
    color: #E9F1FF;
    text-align: center;
    /* font-size: 25px; */
    display: flex;
    justify-content: center;
    align-items: center;
}

.rotateEvent {
    transform: rotate(180deg);
    transform-origin: center;
}

.outputText {
    cursor: default; /* Change later */
    text-wrap: pretty;
    word-wrap: break-word;
}

.selectable {
    cursor: pointer;
}

.selectable.notSelected {
    background-color: #9331cf /* Change! This is temporary*/
}

.selectable.selected {
    background-color: #e1f05e /* Change! This is temporary*/
}

/* word details styling */
#word-details {
    width: 100%;
    background-color: #76a8ff6a;
    padding: 20px;
    border-radius: 10px;
    font-size: 20px;
    display: none;
    flex-direction: column;
    gap: 10px;
    position: relative;
}

.wordInfoBox {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.wordInfoBox h4,
.wordInfoBox p {
    width: calc(100% - 50px);
}

.audioBtn {
    width: 40px;
    background-color: unset;
    border: 0;
    position: absolute;
    top: 20px;
    right: 20px;
}

.wordInfoBoxIcon {
    font-size: 27px;
}


@media screen and (max-width: 500px) {
    .sideNavContents_wrap {
        padding: 40px 30px;
    }

    .textArea,
    #word-details {
        font-size: 18px;
    }

    .wordInfoBoxIcon {
        font-size: 25px;
    }
}

@media screen and (max-width: 400px) {
    .wrap {
        height: max-content;
        padding: 40px 20px;
    }

    .sideNavContents_wrap {
        padding: 40px 20px;
    }

    .textArea,
    #word-details {
        font-size: 16px;
    }

    .languageOption {
        font-size: 13px;
    }

    .changeLanguageBtn {
        height: 46px;
    }

    .wordInfoBoxIcon {
        font-size: 20px;
    }
}
  