:root {
    --slate300: hsl(212, 45%, 89%);
    --slate500: hsl(216, 15%, 48%);
    --slate900: hsl(218, 44%, 22%);
}

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


html {
    background-color: var(--slate300);
    font-family: "Outfit", sans-serif;
    font-size: 15px;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
}

.qrc-container {
    background-color: #fff;
    border-radius: 15px;
    width: 100%;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 0 10px hsl(212, 12%, 70%)
}

.qrc-container img {
    border-radius: 10px;
    margin: 0.70rem;
}

.qrc-container h1 {
    color: var(--slate900);
    font-weight: 700;
    font-size: 1.4rem;
    padding: 10px 24px;
}

.qrc-container p {
    color: var(--slate500);
    font-weight: 400;
    padding: 10px 24px 40px 24px;
}

footer {
    padding: 1rem 0;
}

.attribution { 
    font-size: 11px;
    text-align: center; 
}

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


@media (max-width: 375px) {
    .qrc-container {
    width: 90%;
    }

    .qrc-container h1,
    .qrc-container p {
    padding-inline: 1rem;
    }

    .qrc-container p {
    padding-bottom: 2rem;
    }

    .qrc-container img {
        width: 90%;
        height: 90%;
    }

    main {
    display: flex;
    justify-content: center;
    align-items: center;
    }
}