@font-face {
    font-family: Cairopixel;
    src: url('Cairopixel-G3DeP.ttf');
}


body {
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    background-size: cover;
    padding: 20pt;
    margin: 0;
}

nav {
    overflow: hidden;
    font-family: Cairopixel, sans-serif;
    font-size: 16pt;
    font-style: normal;
    padding: 10pt;
    width: 100pt;
    background: rgba(203, 219, 252, 0.5);
    clip-path: xywh(0pt 0pt 60pt 60pt);
    transition-timing-function: ease-out;
    transition-duration: 0.75s;
}

nav:hover {
    transition-timing-function: ease-out;
    transition-duration: 0.75s;
    clip-path: xywh(0pt 0pt 160pt 300pt);
}



nav .castlenavicon{
    width:40pt;
    height:40pt;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    transition-duration: 0.75s;
}

nav:hover .castlenavicon{
    transform: translate(30pt);
    transition-duration: 0.75s;
}

a {
    text-decoration: none;
    margin-top: 10pt;
    display: block;
    width: 90pt;
    color: #3f3f74;
    cursor: pointer;
}

a:hover {
    color: #639bff;
}

a:active {
    color: #5b6ee1;
}
