* {
    box-sizing: border-box;
}

:root {
    --color-background: #d9b6df;
    --color-link: #083e66;
    --color-link-border: #be46c6;
    --color-text: #82105a;
    --footer-height: 4rem;
    --footer-color-background: rgba(255, 255, 255, 0.5);
}

html {
    background-color: var(--color-background);
    color: var(--color-text);
    font-family: 'DM Sans', sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 300;
    margin: 0;
    padding: 0;
}

body {
    color: var(--color-text);
    margin: 0 auto;
    padding: 0;
}

a {
    border-bottom: 2px solid var(--color-link-border);
    color: var(--color-link);
    display: inline-block;
    font-weight: bold;
    line-height: 1.2;
    text-decoration: none;
}

a:hover {
    border-bottom: 2px dotted var(--color-link-border);
}

body {
    margin: 0 auto;
}

.c-content {
    align-items: center;
    display: flex;
    justify-content: center;
    padding-bottom: var(--footer-height);
}

.c-content__inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.c-item {
    padding: 2rem;
    text-align: center;
}

.c-item__img {
    height: auto;
    max-width: 250px;
}

.c-item__heading {
    font-size: 1.25rem;
    margin-top: 0.5rem;
}

.c-item__price {
    margin-top: 0.5rem;
}

.c-footer {
    align-items: center;
    background-color: var(--footer-color-background);
    display: flex;
    font-size: 0.85rem;
    height: var(--footer-height);
    inset: auto 0 0 0;
    justify-content: center;
    padding: 1rem 1.5rem 1rem;
    position: fixed;
    width: 100%;
}

@media (prefers-color-scheme: dark) {
    :root {
        --color-background: #211930;
        --color-link: #dd64b3;
        --color-link-border: #7053a6;
        --color-text: #aeb7fe;
        --footer-color-background: rgba(0, 0, 0, 0.5);
    }
}

@media (min-width: 960px) {
    :root {
        --footer-height: 3rem;
    }

    .c-content {
        height: calc(100vh - var(--footer-height));
    }

    .c-content__inner {
        flex-direction: row;
        padding-bottom: 0;
    }

    .c-item__img {
        height: auto;
        max-width: 150px;
    }
}

@media (min-width: 1100px) {
    .c-item__img {
        max-width: 200px;
    }
}

@media (min-width: 1400px) {
    .c-item__img {
        max-width: 250px;
    }
}