html, body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
}

/* typography and icons */

.container {
    max-width: 320px;
    margin: 20px auto;
    border-radius: 5px;
    border: solid 1px #999;
    padding: 5px 10px;
}

header {
    background: #FFF;
    min-height: fit-content;
    border-bottom: 1px solid #999;
    padding: 5px 10px;
    display: flex;
    justify-content: space-between;
    box-sizing: border-box;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    margin-bottom: 20px;
}

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

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

.fa-solid{
    color: #999;
}

.liked{
    color: red;
}

.retweeted {
  color: limegreen;
}

/* layout */

/* main {
    width: 320px;
    margin: 0 auto;
} */

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

.form-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

label {
    font-weight: bold;
}

/* 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;
}

.auth-btn {
    width: fit-content;
    font-size: 15px;
    box-sizing: border-box;
}

.reply-btn {
    font-size: 15px;
    margin: 0px 0 10px 40px;
    width: 80%;
}

/* tweet */

.feed {
    margin-top: 20px;;
}

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

.tweet:last-child {
    border-bottom: 0;
}

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

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

.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%;
}

.tweet-input, .tweet-reply-input {
    padding: 10px 20px;
    border-radius: 5px;
    border: solid 1px #d7d2d2;
    box-sizing: border-box;
    font-family: inherit;
}

.tweet-reply-input {
    margin: 10px 0 10px 40px;
    width: 80%;
    font-size: 15px;
}

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

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

.alert {
    display: none;
    border-radius: 5px;
    position: fixed;
    bottom: 5px;
    right: 5px;
    background: #2f3349;
    padding: 10px 20px;
    color: #FFF;
}

/* images */

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

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