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

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

#home {
    background-color: #000a;
    border-color: #555;
    border-radius: 10px;
    border-style: solid;
    border-width: 1px;
    box-shadow: 0 5px 5px #000a;
    cursor: pointer;
    fill: #fff;
    height: 30px;
    right: 1rem;
    padding: 5px;
    position: fixed;
    bottom: 1rem;
    width: 30px;
    z-index: 99;
}

body {
    background-color: #222;
    color: #fff;
    display: flex;
    font-family: 'Roboto', sans-serif;
    height: 100vh;
    overflow: hidden;
    place-content: center;
    place-items: center;
}

img {
    max-width: 100%;
}

.card {
    box-shadow: 0 2px 10px #0001;
    border-radius: 10px;
    overflow: hidden;
    width: 350px;
}

.card-header {
    height: 200px;
}

.card-header img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.card-content {
    background-color: #333;
    padding: 30px;
}

.card-title {
    height: 20px;
    margin: 0;
}

.card-excerpt {
    color: #aaa;
    margin: 10px 0 20px;
}

.author {
    display: flex;
}

.profile-img {
    border-radius: 50%;
    height: 40px;
    overflow: hidden;
    width: 40px;
}

.author-info {
    display: flex;
    flex-direction: column;
    margin-left: 10px;
    place-content: space-around;
    width: 100px;
}

.author-info small {
    color: #fff;
    margin-top: 5px;
}

.animated-bg {
    animation-duration: 1337ms;
    animation-iteration-count: infinite;
    animation-name: bg-pos;
    animation-timing-function: linear;
    background-image: linear-gradient(
                        to right,
                        #222 0%,
                        #333 10%,
                        #222 20%,
                        #222 100%);
    background-size: 200% 100%;
}

.animated-bg-text {
    border-radius: 5px;
    display: inline-block;
    height: 10px;
    width: 100%;
}

@keyframes bg-pos {
    0% {
        background-position: 50% 0;
    }
    100% {
        background-position: -150% 0;
    }
}