html, body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background-color: #0d0d0d;
    color: #eaeaea;
    margin-top: 20px;
    font-size: 20px;
}

/* typography and icons */

h1 {
    color: #c9c9c9;
    margin-bottom: 15px;
    font-size: 40px;
    font-family: 'Cinzel', serif;
}

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

.fa-solid {
    color: #999;
}

.liked {
    color: #e50914;
}

.retweeted {
    color: limegreen;
}

/* layout */

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

header {
    padding-bottom: 30px;
}

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

/* textareas + btn */

textarea {
    border: 2px solid #333;
    border-radius: 10px;
    background-color: #1a1a1a;
    color: #fff;
    resize: none;
    padding: 15px;
    margin: 0 0 25px 0;
    height: 80px;
    width: 100%;
    font-size: 22px;
    line-height: 32px;
    outline: none;
}

textarea:focus {
    border-color: #dcdcdc5d;
}

button {
    background-color: #dcdcdc;
    border: none;
    color: rgb(0, 0, 0);
    padding: 15px 25px;
    border-radius: 8px;
    width: 100%; 
    cursor: pointer;
    font-size: 22px;
    font-weight: 600;
    transition: background 0.2s ease;
}

button:hover {
    background-color: #c5c5c5;
}

/* tweet */

.tweet {
    background-color: #141414;
    border: 1px solid #222;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tweet:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.6);
}

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

.tweet-details {
    display: flex;
    font-size: 18px;
    justify-content: space-between;
    gap: 20px;
    width: auto;
    color: #aaa;
    margin-top: 10px;
}

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

.tweet-reply {
    background-color: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    padding: 12px 15px;
    margin: 15px 0 15px 70px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.tweet-reply:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.tweet-reply .tweet-text {
    margin-top: 4px;
}

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

.tweet-text {
    font-size: 20px;
    line-height: 28px;
    color: #f5f5f5;
    width: 100%;
    word-wrap: break-word;
    overflow-wrap: anywhere;
}

.tweet-time {
    font-size: 12px;
    color: #888;
    margin: 2px 0 8px 0;
}

/* images */

.profile-pic {
    border: 2px solid #dcdcdc39;
    border-radius: 60%;
    width: 80px;
}

.profile-pic:hover {
    border-color: #dcdcdc88;
}

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

/* reply input area */
.reply-input-area {
    margin-left: 80px;
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

.reply-input-area input {
    flex: 1;
    padding: 12px 16px;
    outline: none;
    font-size: 18px;
    background-color: #1a1a1a;
    border: 2px solid #333;
    border-radius: 10px;
    color: #fff;
}

.reply-input-area input:focus {
    border-color: #dcdcdc5d;
}

.reply-input-area button {
    padding: 12px 18px;
    background: #dcdcdc;
    color: rgb(0, 0, 0);
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.2s ease;
}

.reply-input-area button:hover {
    background: #c5c5c5;
}
