/* css reset rule */

* {
    margin: 0; padding: 0; border: 0; box-sizing: border-box;
}

body {
    background-image: linear-gradient(#aaadc4,#50514f);
    min-height: 100vh;
    font-family: 'Exo 2', sans-serif;
}
header {
    height: 170px;
    border-top: 8px solid #1b065e;
    border-bottom: 8px solid #1b065e;
    text-align: right;
}

h1 {
    font-family: 'Exo 2', sans-serif;
    color: #50514f;
}

h1 span {
    color: #1b065e;
    font-size: 1.8em;
}

h1 span2 {
    color: #ffe066;
    font-size: 1.5em;
}
nav {
    padding-left: 151px;
}

nav a {
    display: inline-block;
    background-color: #1b065e;
    color: #222;
    font-size: 1em;
    color: #ffe066;
    text-decoration: none;
    border-radius: 4px;
    box-shadow: 4px 4px 3px #777;
    font-family: 'Bruno Ace SC', cursive; 
    padding: 0px 5px;
    margin: 2px;
}

nav a:hover {
    background-color: #ffe066;
    color: #1b065e;
}

nav a:active {
    box-shadow: 2px 2px 1.5px #777;
    position: relative;
    top: 1px;
}

figure.pic-of-me:hover{
    border-color: orange;
}

figure.pic-of-me:active {
    box-shadow: 2px 2px 1.5px #777;
    top: 1px;
}

figure.pic-of-me {
    border: 2px solid yellow;
    position: absolute; top: 9px; left: 2px;
    width: 151px; height: 151px;
    background-image: url(../images/pic-of-me.jpg);
    background-size: cover;
    border-radius: 50%;
}

figure.pic-of-me a {
    display: block; width: 100%;height: 100%;
    border-radius: 50%;
    text-decoration: none;
}

figure.pic-of-me a i {
    color: transparent;
}