/*-----------------------------------------------------------------------------
 * Styles for the header
 *---------------------------------------------------------------------------*/

body > header {
    display: flex;
    flex-direction: row;
    align-items: center;
    align-content: center;
    justify-content: center;
    padding: 0.5rem;
    font-family: header;
}

#header-profile-picture {
    flex: 0 0 8rem;
    width: 8rem;
    height: 8rem;
    border-radius: 4rem;
    border: 0.2em solid skyblue;
    box-sizing: border-box;
    margin-right: 1rem;
    box-shadow: 0em 0em 1em rgba(0, 0, 0, 0.8) inset;
}

@media screen and (max-width: 24rem) {
    #header-profile-picture {
        flex: 0 0 6rem;
        width: 6rem;
        height: 6rem;
        border-radius: 3rem;
    }
}

@media screen and (max-width: 16rem) {
    #header-profile-picture {
        display: none;
    }
}


#header-alias {
    font-size: 4rem;
    padding-right: 1rem;
}

/*-----------------------------------------------------------------------------
 * Styles for the navigation
 *---------------------------------------------------------------------------*/

#navigation-list {
}

#navigation-select {
    display: none;
    
    margin: 0.5rem;
    padding: 0.1rem;
    border: 1px solid lightgray;
    
    background-color: lightblue;
    font-family: navigation;
    font-size: 1.2rem;
    color: white;
}

nav {
    text-align: center;
    background-color: skyblue;
    font-family: header;
    box-shadow: 0rem 0.2rem 0.2rem lightgray;
}

nav > ul {
    margin: 0;
    padding: 0;
}

nav > ul > li {
    display: inline-block;
    padding: 1rem 1rem;
    
    list-style: none;
    transition: border-bottom 0.5s ease;
    border-bottom: 0.2rem solid transparent;
}

nav > ul > li:hover{
    border-bottom: 0.2rem solid white;
}

nav > ul > li > a {
    color: white;
    font-size: 1.2rem;
    text-decoration: none;
    font-family: navigation;
}


@media screen and (max-width: 768px) {
    #header-alias {
        font-size: 3rem;
    }
    
    #navigation-list {
        display: none;
    }
    
    #navigation-select {
        display: inline-block;
    }
}

@media screen and (max-width: 512px) {
    #header-alias {
        font-size: 2rem;
    }
}