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

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

:root {
    --white: hsl(0, 0%, 100%);
    --slate-300: hsl(212, 45%, 89%);
    --slate-500: hsl(216, 15%, 48%);
    --slate-900: hsl(218, 44%, 22%);
}

body {
    background-color: var(--slate-300);
    font-family: 'Outfit', sans-serif;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* for mobile */
.qr {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--white);
    max-width: none;
    width: 20rem;
    height: auto;
    padding: 24px;
    border-radius: 15px;
    box-shadow: 2px 4px 10px rgb(152, 152, 152);
}

.qrImg{
    width:100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 16px;
}

#header{
    text-align: center;
    color: var(--slate-900);
    font-size: 20px;
    font-weight: 700;
    margin-top: 16px;
    margin-bottom: 16px;
}

#paragraph {
    text-align: center;
    font-weight: 400;
    font-size: 15px;
    color: var(--slate-500);
    margin-bottom: 16px;
}

footer {
    text-align: center;
    position: absolute;
    bottom: 10px;
    color: black;
}

footer a {
    text-decoration: none;
    color: black;
}

footer a:active {
    color: black;
}

footer a:visited{
    color: black;
}

footer a:hover {
    color: #2c7dfa;
}

/* for desktop */
@media screen and  (min-width: 1440px){
    .qr {
        width: 95%;
        padding: 32px;
        max-width: 480px;
    }

    .qrImg {
        margin-bottom: 24px; 
    }

    #header {
        font-size: 24px;
        margin-bottom: 20px;
    }

    #paragraph {
        font-size: 16px;
        margin-bottom: 24px;
    }

    footer {
        font-size: 18px;
        margin-top: 24px;
    }
}
