body {
    background-color: aqua;
}

:root {
    /* Primary colors */
    --color-card-text-primary: hsl(215, 51%, 70%);      /* Soft blue */
    --color-card-text-price: hsl(178, 100%, 50%);       /* Cyan */
    --color-card-text-secondary: hsl(0, 0%, 100%);          /* White */

    /* Neutral colors */
    --color-main-bg: hsl(217, 54%, 11%);            /* Very dark blue (main BG) */
    --color-card-bg: hsl(216, 50%, 16%);            /* Very dark blue (card BG) */
    --color-card-separator: hsl(215, 32%, 27%);     /* Very dark blue (line) */

    /* Icons */
    --icon-ethereum:    url("images/icon-ethereum.svg");
    --icon-time:        url("images/icon-clock.svg");
}

/* CSS reset */

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

/* OUTSIDE THE CARD */

body {
    padding: 85px;
    background-color: var(--color-main-bg);
}

/* CARD */

.qr-preview-card {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 320px;
    margin: 0 auto;
    border-radius: 16px;
    padding: 24px;
    background-color: var(--color-card-bg);
    
    color: var(--color-card-text-primary);
    
    font-family: "Outfit", sans-serif;
}

/* TEXT STYLES */

.qr-preview-card h2 {
    color: var(--color-card-text-secondary);
    font-weight: 600;
}

.qr-preview-card p {
    color: var(--color-card-text-primary);
    font-weight: 300;
    font-size: 18px;
    line-height: 150%;
}

.qr-preview-card a {
    color: var(--color-card-text-secondary);
}

.img-preview {
    display: block;
    width: 100%;
    border-radius: 4px;     
}

#nft-price {
    color: var(--color-card-text-price);
}

.nft-time-left {
    float: right;
}

/* ICONS */

.icon-before::before {
    display: inline-block;
    content: "";
    height: 18px;
    width: 18px;
                                    /* <-- add background-image to add the icon */ 
    background-size: contain;
    background-repeat: no-repeat; 
    background-position: center;
    margin-right: 4px;
    vertical-align: -10%;
}

.nft-time-left::before {
    background-image: var(--icon-time);   
}

.nft-price::before {
    background-image: var(--icon-ethereum);   
}

.qr-preview-card hr {
    border: 1px solid var(--color-card-separator);
}

.qr-preview-card a {
    text-decoration: none;
}

/* PROFILE */

.profile {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
}

.profile p {
    font-size: 14px;
}

#profile-picture {
    height: 3rem;
    width: 3rem;
    border: 2px solid var(--color-card-text-secondary);
    border-radius: 50%;
}

