/* 

## Colors

- White: hsl(0, 0%, 100%)

- Slate 300: hsl(212, 45%, 89%)
- Slate 500: hsl(216, 15%, 48%)
- Slate 900: hsl(218, 44%, 22%)

#Font

// <uniquifier>: Use a unique and descriptive class name
// <weight>: Use a value from 100 to 900

.outfit-<uniquifier> {
  font-family: "Outfit", serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}


*/

:root {
    --white: hsl(0, 0%, 100%);

    --slate-300: hsl(212, 45%, 89%);
    --slate-500: hsl(216, 15%, 48%);
    --slate-900: hsl(218, 44%, 22%);
}

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

html {
    font-size: 10px;
}

body {
    font-size: 1.5rem;
}

.wrapper {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    background-color: var(--slate-300);
}

main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


.qr-code-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 320px;
    width: 90%;
    border-radius: 20px;
    background-color: var(--white);
    padding: 15px 20px 35px 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
}

.qr-code-img {
    display: block;
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
}

.card-title {
    font-family: "Outfit", serif;
    font-optical-sizing: auto;
    font-weight: bold;
    font-style: normal;
    font-size: 2.2rem;
    color: var(--slate-900);
    line-height: 120%;
}   

.card-description {
    font-family: "Outfit", serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
    font-size: 1.5rem;
    letter-spacing: 0.2px;
    color: var(--slate-500);
    line-height: 140%;
    padding-top: 15px;
}

footer {
    display: flex;
    justify-content: center;
    margin-top: auto;
    width: 100%;
    font-family: Helvetica, sans-serif;
    font-size: 1rem;
}

.attribution {
    display: flex;
    text-wrap: nowrap;

}

.attribution * {
    padding-bottom: 5px;
}

.project-author {
 padding-left: 4px;
}

@media (min-width: 768px) {
    footer {
        font-size: 1.3rem;
    }
}