@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap');

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


body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: #1da1f2;
}

::selection{
    color: #fff;
    background: #1da1f2;
}

.wrapper {
    background: #fff;
    max-width: 475px;
    width: 100%;
    border-radius: 15px;
    padding: 25px 25px 15px 25px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, .1);
}

.input-box {
    padding-top: 10px;
    border-bottom: 1px solid #e6e6e6;
}

.input-box .tweet-area{
    position: relative;
    min-height: 130px;
    max-width: 170px;
    overflow-y: auto;
}

.tweet-area::-webkit-scrollbar {
    width: 0;
}

.tweet-area .placeholder {
    position: absolute;
    margin-top: -3px;
    font-size: 22px;
    color: #98A5B1;
    pointer-events: none;
}

.tweet-area .input {
    outline: none;
    font-size: 17px;
    min-height: inherit;
    word-wrap: break-word;
    word-break: break-all;
}

.tweet-area .editable {
    position: relative;
    z-index: 5;
}

.tweet-area .readonly {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    color : transparent;
    background: transparent;
}

.readonly .hightlight{
    background: #fd9bb0;
}

.input-box .privacy {
    color: #1da1f2;
    margin: 15px 0;
    display: inline-flex;
    align-items: center;
    padding: 7px 10px;
    border-radius: 50px;
    cursor: pointer;
    transition: background .2s ease;
}

.privacy:hover , .icons li:hover {
    background: #e7f5fe;
}

.privacy i {
    font-size: 18px;
}

.privacy span {
    font-size: 15px;
    font-weight: 600;
    margin-left: 7px;
}

.bottom {
    display: flex;
    margin-top: 13px;
    align-items: center;
    justify-content: space-between;
}

.bottom .icons {
    display: inline-flex;
}
.icons li {
    list-style:     none;
    color: #1da1f2;
    font-size: 20px;
    margin: 0 2px;
    height: 38px;
    width: 38px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background .2 ease;
}


.bottom .content {
    display: flex;
    align-items: center;
    justify-content: center;
}


.bottom .counter {
    color: #333;
    display: none;
    font-weight: 500;
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid #aab8c2 ;
}

.bottom button {
    padding: 9px 18px;
    border: none;
    outline: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    background: #1da1f2;
    color: #fff;
    cursor: pointer;
    opacity: .5;
    pointer-events: none;
    transition: background .2s ease;
}

.bottom button.active {
    opacity: 1 !important;
    pointer-events: auto;
   
}

.bottom button:hover {
    background: #0d8db9 ;}