:root {
    --textColor: white;
    --invertColor: black;
    --font: 'Karla', sans-serif;
}

html {
    /*FONT:*/   
    font-family: var(--font);
    color: var(--textColor);
    font-size: 18px; 
    font-weight: 400;

    /*BACKGROUND:*/
    background: url('./images/back.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

body {
    margin: 10px auto; /*auto - center the linktree*/
    max-width: 70ch;
}

img {
    width: 130px;
    height: 130px;
    display: block;
    margin: 20px auto;
}

#userName {
    font-weight: 700; /*bold*/
}

#description {
    margin: 20px auto;
}

main {
    width: auto;
    max-width: 500px;
    margin: 15px auto;
}

a {
    /*LINKS TEXT*/
    color: var(--textColor);
    text-decoration: none;
}

/*LINKS*/
a.btn {
    /*LINKS TEXT*/
    color: var(--textColor);
    text-decoration: none;
    text-align: center;

    /*LINKS BORDER:*/
    border: 2px solid var(--textColor);
    border-radius: 10px;

    display: block; /*each link takes a whole line*/
    margin: 10px;
    padding: 10px;
    transition: .2s;    

    /* GLASS EFFECT */
    background: rgba(255, 255, 255, 0.2); /* semi-transparent white */
    backdrop-filter: blur(10px); /* blur effect */
    -webkit-backdrop-filter: blur(10px); /* for Safari */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* subtle shadow */
}

a.btn:hover {
    background-color: var(--textColor);
    color: var(--invertColor);
    transition: .2s;
}