@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Outfit", sans-serif;;
}

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

body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--slate-300);
}

.qr-container {
    background: var(--white);
    width: 320px;
    height: 499px;
    padding: 16px 16px 40px 16px;
    border-radius: 20px;
}

.qr-image {
    width: 288px;
    height: 288px;
    border-radius: 10px;
    margin-bottom: 24px;
}

.text {
    padding: 0 16px 0;
}

.text h1 {
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: var(--slate-900);
    line-height: 120%;
    letter-spacing: 0px;
}

.text p {
    font-size: 15px;
    font-weight: 400;
    text-align: center;
    color: var(--slate-500);
    line-height: 140%;
    letter-spacing: 0.2px;
}

.attribution { 
    position: absolute;
    bottom: 0;
    font-size: 16px; 
    text-align: center; 
}

.attribution a {
    color: hsl(228, 45%, 44%); 
}

@media (max-width: 450px) {
    .attribution {
        font-size: 14px;
    }
}