html,
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    position: relative;
    user-select: none;
}

/* typography and icons */

h1 {
    color: #0F8CDF;
    margin-bottom: 10px;
    font-size: 20px;
}

i {
    font-size: 15px;
    cursor: pointer;
}

.fa-solid {
    color: #999;
}

.fa-solid,
.fa-regular {
    transition: .1s ease-in-out;
}

.fa-solid:hover,
.fa-regular:hover {
    opacity: .25;
    transition: .1s ease-in-out;
}

.liked {
    color: red;
    opacity: 1 !important;
}

.retweeted {
    color: limegreen;
    opacity: 1 !important;
}

/* layout */

main,
header {
    width: 290px;
    margin: 0 auto;
}

header {
    padding-bottom: 25px;
}

.tweet-input-area {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

/* textareas + btn */

textarea {
    border: none;
    resize: none;
    padding: 10px;
    margin: 0 0 20px 0;
    height: 60px;
    width: 100%;
    font-size: 20px;
    line-height: 30px;
}

button {
    background-color: #1DA1F2;
    border: none;
    color: white;
    padding: 10px 19px;
    border-radius: 20px;
    width: 100%;
    cursor: pointer;
    font-size: 20px;
    font-weight: 600;
}

/* tweet */

.tweet {
    border-top: 1px solid lightgray;
    padding: 20px 0 0 0;
    width: 100%;
    margin: 15px 0;
}

.tweet-inner {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.tweet-details {
    display: flex;
    font-size: 13px;
    justify-content: space-between;
    width: 195px;
}

.tweet-detail {
    display: flex;
    gap: 4px;
}

.tweet-reply {
    border-top: 1px solid lightgray;
    padding: 20px 0 0 0px;
    margin: 10px 0 10px 40px;
    width: 80%;
}

.handle {
    font-size: 12px;
    font-weight: 500;
    color: #555;
    margin-top: 0;
}

.tweet-text {
    width: 207px;
    font-size: 14px;
    line-height: 20px;
}

/* images */

.profile-pic {
    border: 1px solid lightgray;
    border-radius: 50%;
    width: 48px;
}

/* reply modal */
.reply-modal-container {
    display: flex;
    align-items: start;
    justify-content: start;
    position: fixed;
    inset: 0;
    width: 400px;
    height: fit-content;
    margin: 15px auto;
}

.reply-modal {
    padding: 10px;
    background-color: #252525;
    opacity: .96;
    border: 2px solid #282828;
    border-radius: 4.6px;
    color: whitesmoke;

}

.reply-modal textarea {
    border-radius: 4.6px;
}

.reply-modal p {
    color: whitesmoke;
    margin: 0;

}

.replying-to-wrapper {
    display: grid;
    align-items: center;
    margin: 10px 0 10px 25px;
    padding: 10px;
    border-left: 2px solid gray;
    height: 50px;
}

.reply-modal .tweet-text {
    width: 100%;
}

.close-reply-modal-icon {
    margin: 0 0 10px 0;
    padding: 0;
    width: 35px;
}

/* utility */
.hidden {
    display: none;
}