body {
    background-color: #ededed;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

header {
    width: 50vw;
    margin: 0 auto 3em auto;
    text-align: center;
}

header h1 {
    font-size: 3rem;
}

#tagline {
    font-size: 0.75rem;
}

footer {
    width: 75vw;
    margin: 4em auto 0 auto;
    text-align: center;
    font-size: 0.75rem;
}
footer a:link, footer a:visited {
    color: black;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

article, .twitter-head {
    padding: 0 1em;
}

article img {
    max-width: 85%;
    display: block;
}

.twitter-head {
    width: 75%;
    margin: auto;
    text-align: center;
}

article {
    display: flex;
    margin-bottom: 2em;
}

article a:link, article a:visited {
    color: rgb(0, 186, 124);
    text-decoration: none;
}

article a:hover {
    text-decoration: underline;
}

.profile-picture {
    max-width: 15%;
    margin-right: 1em;
}

.profile-picture img {
    border-radius: 100px;
}

.tweet {
    display: flex;
    flex-direction: column;
}

.tweet-metadata {
    display: flex;
    gap: 0.5em;
    align-items: end;
    margin-bottom: 0.75em;
    color: #ccc;
}

.tweet-metadata a:link, .tweet-metadata a:visited {
    color: white;
    text-decoration: none;
}

.tweet-metadata a:hover {
    color: #ccc;
}

.username {
    font-weight: bolder;
    color: #fff;
}

.username span {
    font-weight: lighter;
    font-size: 0.9em;
}
.timestamp {
    font-weight: light;
    font-size: 0.8em;
}

.metrics {
    display: flex;
    gap: 1em;
    color: #ccc;
    font-size: 0.9em;
    font-weight: light;
}

.tweet-form {
    background-color: #222;
    color: #fff;
    border-radius: 10px;
    padding: 3em;
    width: fit-content;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 1em 1em #333);

    position: absolute;
    z-index: 10;
}

#close-button {
    width: 100%;    
    display: flex;
    justify-content: end;
}

#close-button svg {
    width: 5%;
    fill: white;
    margin-bottom: 0.25em;
}

#close-button svg:hover {
    fill: #eee;
    cursor: pointer;
}

#tweet-button {
    width: 2em;
    height: 2em;
    background-color: #1DA1F2;
    filter: drop-shadow(0 1em 1em #333);
    padding: 0.75em;
    border-radius: 50px;
    left: 90%;
    top: 95%;
    transform: translate(-90%, -90%);
    
    position: absolute;
    z-index: 15;
}

#tweet-button:hover {
    filter: drop-shadow(0 0 0.25em #1DA1F2);
}

#tweet-button svg:hover {
    fill: #ccc;
}

#tweet-button svg {
    fill: #fff;
}