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

body {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    background-color: hsl(212, 45%, 89%);
}

.main-content {
    width: 280px;
    height: 420px;
    background-color: hsl(0, 0%, 100%);
    display: flex;
    align-content: space-around;
    justify-content: center;
    flex-direction: column;
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
    box-shadow: 2px 2px 2px .2px hsl(218, 44%, 22%);
}

img{
    width: 90%;
    height: 90%;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

.qr-code {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-content{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-description {
    width: auto;
    height: auto;
    margin-top: -25px;
}


.qr-description h1 {
    font-size: 20px;
    text-align: center;
    color: hsl(218, 44%, 22%);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    margin-left: 20px;
    margin-right: 20px;
}

.qr-description p {
    font-size: 13px;
    text-align: center;
    color: hsl(220, 15%, 55%);
    font-family: 'Outfit', sans-serif;
    margin-left: 20px;
    margin-right: 20px;
}


.attribution {
    font-size: 14px;
    text-align: center;
    position: absolute;
    bottom: 0;
    color: hsl(218, 44%, 22%);
}
.attribution a {
    color: hsl(228, 45%, 44%);
    text-decoration: none;
}

@media (max-width: 280px) {
    .main-content {
        width: 90%;
        height: auto;
        min-width: 150px;
    }
    .qr-code {
        margin-top: 10px;
    }
    .qr-description{
        margin-top: 0;
    }
    p {
        font-size: 0.7em;
    }
    h1 {
        font-size: 1em;
    }
}




