html {
    font-family: 'Outfit', sans-serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
    font-size: 18px;

    --white: hsl(0, 0%, 100%);
    --card-bg: hsl(216, 50%, 16%);
    --page-bg: hsl(217, 54%, 11%);
    --eth-font: hsl(178, 100%, 50%);
    --font: hsl(215, 51%, 70%);
}

.card-background {
    min-height: 97vh;
    background-color: var(--page-bg);
    display: flex;
}

.card {
    margin: auto;
    padding: 24px;
    border-radius: 15px;
    background-color: var(--card-bg);
    color: var(--font);
    max-width: 30ch;
    box-shadow: 0px 16px 8px 4px hsl(217, 30%, 10%), 0px 0px 16px 16px hsl(217, 30%, 10%);
}

.image-container {
    position: relative;
    cursor: pointer;
}

.image-container img {
    border-radius: 10px;
}

.overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: hsl(178, 100%, 50%, 0.3);
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-container:hover .overlay {
    opacity: 1;
}

.card > * {
    margin: 0px 0px 16px 0px;
}

.counters {
    display: flex;
    justify-content: space-between;
}

.eth-counter {
    color: var(--eth-font);
    display: flex;
    align-items: center;
}

.day-counter {
    display: flex;
    align-items: center;
}

.counters img {
    display: inline;
    margin: 0px 6px 0px 0px;
    height: 1.1rem;
}

.author {
    padding-top: 16px;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    border-top: 1px solid hsl(215, 32%, 27%);
    margin: 0px;
}

.author > img {
    width: 2rem;
    border-radius: 50%;
    border: 1px solid var(--white);
}

h2,
.author-name {
    color: var(--white);
    transition: all 0.2s ease;
}

h2:hover,
.author-name:hover {
    color: var(--eth-font);
    cursor: pointer;
}

a {
    text-decoration: none;
}

.attribution {
    min-height: 3vh;
    font-size: 12px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    background-color: var(--page-bg);
    color: var(--font);
}
.attribution a {
    color: var(--white);
    transition: all 0.2s ease;
}

.attribution a:hover {
    color: var(--eth-font);
    text-decoration: underline;
}
