:root {
    --Yellow: hsl(47, 88%, 63%);

    --White: hsl(0, 0%, 100%);
    --Grey: hsl(0, 0%, 50%);
    --Black: hsl(0, 0%, 7%);

    height: 100%;
}

* {
    box-sizing: border-box;
    margin: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

@font-face {
    font-family: Figtree;
    src: url(./assets/fonts/Figtree-VariableFont_wght.ttf);
}

body {
    font-family: Figtree;
    margin: 0;
    height: 100%;
    background-color: var(--Yellow);
}

main {
    height: 100%;
    display: grid;
    place-content: center;
    border: 1px solid;
}

.card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background-color: var(--White);
    width: 350px;
    padding: 1.1rem;
    border-radius: 1em;
    border: 2px solid var(--Black);
    box-shadow: 5px 5px 0 0 var(--Black);
    transition: box-shadow 200ms;
}
.card:is(:hover, :focus-within) {
    box-shadow: 10px 10px 0 0 var(--Black);
}

.card__poster {
    border-radius: .5em;
}

.card__tag {
    background-color: var(--Yellow);
    align-self: start;
    padding: .3em .5em;
    border-radius: .2em;
    font-weight: 900;
}

.card__title  {
    font-weight: 900;
    transition: color 200ms ease-in-out;
}
.card__title:hover {
    color: var(--Yellow);
}

.card__body {
    color: var(--Grey);
}

.card__footer {
    display: flex;
    align-items: center;
    gap: .5rem;
}
.card__footer img {
    width: 28px;
}
.card__footer p {
    font-weight: 900;
}