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

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

/* COLORS */

:root {
    --white: hsl(0, 0%, 100%);
    --light-gray: hsl(212, 45%, 89%);
    --grayish-blue: hsl(216, 15%, 48%);
    --blue: hsl(218, 44%, 22%);
}

/* MOBILE DESIGN FIRST */

body {
    font-size: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--light-gray);
    max-width: 375px;
    margin: auto;
    overflow: hidden;
}

main {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    margin: 50px auto 0 auto;
    border-radius: 20px;
}

.wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: white;
    margin: auto;
    padding: 20px;
    border-radius: 20px;
}

.QR-code {
    display: flex;
    object-fit: cover;
    justify-content: center;
    align-items: center;
}
 
img {
    display: block;
    width: 100%;
    border-radius: 12px;
}

.text {
    font-family: 'Outfit', sans-serif;
    text-align: center;
    padding: 0 10px;
}

h1 {
    font-size: 1.6rem;
    margin-top: 30px;
    color: hsl(218, 44%, 22);
    line-height: 30px;
}

p {
    color: var(--grayish-blue);
    font-size: 1.1rem;
    margin: 20px auto;
    

}