/* Global styles */
* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    font-family: 'Outfit', Arial, Helvetica, sans-serif;
    font-size: 0.94rem;
    line-height: 1.5;
    background: hsl(212, 45%, 89%);
    color: hsl(218, 44%, 22%);
}

a {
    text-decoration: none;
    color: hsl(216, 15%, 48%);
}

a:hover,
a:focus {
    text-decoration: underline;
}

.main-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.qrcard {
    width: min(90vw, 327px);
    background: hsl(0, 0%, 100%);
    border-radius: 24px;
    box-shadow: 0 20px 30px rgba(31, 49, 79, 0.12);
    overflow: hidden;
}

.card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 24px;
}

.qrimage {
    width: 100%;
    display: block;
    border-radius: 24px;
}

.qrtext {
    text-align: center;
}

.qrtext h1 {
    margin: 0;
    font-size: 1.4rem;
    line-height: 1.3;
    font-weight: 700;
    color: hsl(218, 44%, 22%);
}

.qrtext p {
    margin: 16px 0 0;
    color: hsl(216, 15%, 48%);
    font-size: 0.95rem;
}

.site-footer {
    margin-top: 24px;
    text-align: center;
}

.site-footer p {
    margin: 0;
    color: hsl(216, 15%, 48%);
    font-size: 0.85rem;
}

@media (min-width: 760px) {
    .main-container {
        padding: 40px;
    }

    .qrcard {
        width: 327px;
    }
}
