:root{
    --light-accent: hsl(212, 45%, 89%);
    --mid-accent: hsl(216, 15%, 48%);
    --dark-accent:hsl(218, 44%, 22%);
}

*{
    box-sizing: border-box;
}

body{
    background-color: var(--light-accent);
    font-family: "Outfit", sans-serif;
    font-weight: 400;
    font-size: 15px;
    
    /* Prevents overflow  */
    margin: 0;
}

/* Visually hide h1 but keep it available for screen readers */
.visually-hidden {
    position: absolute;
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}


.container, .card{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 1rem;
}

.container{
    width: 100%;
    height: 100vh;
    gap: 1rem;
}

.card{
    background-color: white;
    width: 96%;
    text-align: center;
}

.img-box{
    margin: 0 auto;
    order: 1;
}

#qr-img{
    width: 100%;
}

#qr-img, .card{
    border-radius: 10px;
}

/* ---------------------------------- */
/* Typography  specifications*/

.card>h2{
    line-height: 120%;
    font-size: 22px;
    color: var(--dark-accent);
    order: 2;
}
.card>p{
    line-height: 140%;
    letter-spacing: 0.2px;
    color: var(--mid-accent);
    order: 3;
}

/* ---------------------------------- */
/* Media Queries for larger devices*/

@media screen and (420px<=width<=520px) {
    .card{
        width: 80%;
    }
} 

@media screen and (width>520px) {
    .card{
        width: 280px;
    }
} 



.attribution { font-size: 11px; text-align: center; }
.attribution a { color: hsl(228, 45%, 44%); }