/* Generic */

@font-face {
    font-family: "fertigoProregular";
    font-style: normal;
    font-weight: 400;
    src: url(../fonts/fertigo/fertigopro.eot);
    src: url(../fonts/fertigo/fertigopro.eot?#iefix) format('embedded-opentype'), url(../fonts/fertigo/fertigopro.woff) format('woff'), url(../fonts/fertigo/fertigopro.ttf) format('truetype'), url(../fonts/fertigo/fertigopro.svg#fertigo_proregular) format('svg')
}

html {
    overflow-y: scroll;
    height: 100%;
    margin: 0;
}

body {
    background-image: url(../images/vector-diamond-pattern.jpg);
    background-image: -webkit-image-set(url(../images/vector-diamond-pattern.webp) 1x);
    background-position: center 60px;
    background-color: #f3f3f3;
    font-family: "fertigoProregular", Arial, Helvetica, serif;
    text-shadow:1px 1px rgba(193, 179, 152, 0.5);
    color: #555;
    margin: 0;
    height: 100%;
}

html, button, input, select, textarea, .pure-g [class *= "pure-u"] {
    font-family: "fertigoProregular", Arial, Helvetica, serif;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    text-decoration: none;
}

h1, h2, h3 {
    font-family: "Kaushan Script","Times New Roman", Georgia,cursive;
    font-style: normal;
    font-weight: 400;
    text-align: left;
}

a {
    color: #555;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.clear {
    clear: both;
}

.plain {
    list-style: none;
}

.comment {
    opacity: 0.6;
}

.center {
    text-align: center;
}

.mt20 { margin-top: 20px; }
.mt40 { margin-top: 40px; }
.mt60 { margin-top: 60px; }
.mt70 { margin-top: 70px; }
.mt80 { margin-top: 80px; }
.mt200 { margin-top: 200px; }
.mt-100 { margin-top: -100px; }
.mt-195 { margin-top: -195px; }

/* Elements: container */

#container {
    position: relative;
    background-color: rgba(243, 243, 243, 0.8);
    background-image: url(../images/content_top.png), url(../images/content_body.png);
    background-image: -webkit-image-set(url(../images/content_top.webp) 1x), -webkit-image-set(url(../images/content_body.webp) 1x);
    background-position: 0 0, 0 74px;
    background-repeat: no-repeat, repeat-y;
    text-align: justify;
    max-width: 640px;
    min-height: 100%;
    padding: 70px 70px 70px 80px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 160px;;
    display: flex;
    flex-flow: column;
}

/* Elements: Logo */

#logo {
    display: block;
    position: absolute;
    width: 50px;
    height: 50px;
    top: 35px;
    left: 50%;
    margin-left: -25px;
    z-index: 90;
}
#logo img {
    width: 50px;
    height: 50px;
}

/* Elements: Search */

#search {
    background-image: url(../images/search.png);
    background-image: -webkit-image-set(url(../images/search.webp) 1x);
    background-position: 0 0;
    background-repeat: no-repeat;
    display: block;
    position: absolute;
    width: 159px;
    height: 185px;
    right: 20px;
    top: -120px;
    font-size: 0;
}

#search:hover, #search.active {
    background-image: url(../images/search_hover.png);
    background-image: -webkit-image-set(url(../images/search_hover.webp) 1x);
}

/* Elements: Menu */

#close_menu, #open_menu {
    display: none;
}

#main_menu {
    color: black;
    width: 200px;
    height: 390px;
    position: relative;
    float: left;
}

.diamond a {
    text-decoration: none;
    color: black;
    display: block;
    transform: rotate(-48deg);
}

#main_menu a {
    position: absolute;
    background-position: 0 0;
    background-repeat: no-repeat;
}

#main_menu a label {
    display: none;
}

#bluebutton {
    background-image: url(../images/blue_button.png);
    background-image: -webkit-image-set(url(../images/blue_button.webp) 1x);
    width: 63px;
    height: 142px;
    left: -48px;
    top: -36px;
}

#bluebutton:hover {
    background-image: url(../images/blue_button_hover.png);
    background-image: -webkit-image-set(url(../images/blue_button_hover.webp) 1x);
}

#greenbutton {
    background-image: url(../images/green_button.png);
    background-image: -webkit-image-set(url(../images/green_button.webp) 1x);
    width: 100px;
    height: 113px;
    left: -2px;
    top: -22px;
}

#greenbutton:hover {
    background-image: url(../images/green_button_hover.png);
    background-image: -webkit-image-set(url(../images/green_button_hover.webp) 1x);
}

#yellowbutton {
    background-image: url(../images/yellow_button.png);
    background-image: -webkit-image-set(url(../images/yellow_button.webp) 1x);
    width: 143px;
    height: 64px;
    left: 38px;
    top: 65px;
}

#yellowbutton:hover {
    background-image: url(../images/yellow_button_hover.png);
    background-image: -webkit-image-set(url(../images/yellow_button_hover.webp) 1x);
}

#redbutton {
    background-image: url(../images/red_button.png);
    background-image: -webkit-image-set(url(../images/red_button.webp) 1x);
    width: 111px;
    height: 98px;
    left: 54px;
    top: 112px;
}

#redbutton:hover {
    background-image: url(../images/red_button_hover.png);
    background-image: -webkit-image-set(url(../images/red_button_hover.webp) 1x);
}

.linkbutton {
    background-image: url(../images/blue_link_button.png);
    background-image: -webkit-image-set(url(../images/blue_link_button.webp) 1x);
    width: 16px;
    height: 2px;
    display: block;
    margin-bottom: -19px;
    padding: 21px 27px 39px 33px;
}

.linkbutton:hover {
    background-image: url(../images/white_link_button.png);
    background-image: -webkit-image-set(url(../images/white_link_button.webp) 1x);
}

#external_menu {
    color: black;
    width: 95px;
    min-height: 80px;
    position: relative;
    float: left;
    margin-left: -218px;
    margin-top: 106px;
    margin-bottom: 10px;
}

.linkbutton .icon {
    display: block;
    transform: rotate(21deg);
}

.github_icon { width: 28px; height: 28px; margin-left: -7px; margin-top: -6px; background: url(../images/github.svg); }
.stackoverflow_icon { width: 23px; height: 28px; margin-left: -3px; margin-top: -5px; background: url(../images/stackoverflow.svg); }
.linkedin_icon { width: 24px; height: 24px; margin-left: -4px; margin-top: -3px; background: url(../images/linkedin.svg); }
.goodreads_icon { width: 17px; height: 28px; margin-left: 1px; margin-top: -4px; background: url(../images/goodreads.svg); }
.imdb_icon { width: 33px; height: 28px; margin-left: -7px; margin-top: -4px; background: url(../images/imdb.svg); }
.lastfm_icon { width: 37px; height: 22px; margin-left: -12px; margin-top: -3px; background: url(../images/lastfm.svg); }

#home_icon {
    display: block;
    width: 45px;
    height: 42px;
    margin-left: 6px;
    margin-top: 60px;
    transform: rotate(-66deg);
    background: url(../images/home.svg);
}

#blog_icon {
    display: block;
    width: 38px;
    height: 42px;
    margin-left: 31px;
    margin-top: 36px;
    transform: rotate(-66deg);
    background: url(../images/blog.svg);
}

#photography_icon {
    display: block;
    width: 45px;
    height: 36px;
    margin-left: 42px;
    margin-top: 14px;
    transform: rotate(24deg);
    background: url(../images/photography.svg);
}

#about_icon {
    display: block;
    width: 26px;
    height: 38px;
    margin-left: 43px;
    margin-top: 34px;
    transform: rotate(24deg);
    background: url(../images/gandalf.svg);
}

a:hover #home_icon, a.active #home_icon { background: url(../images/home_hover.svg); }
a:hover #blog_icon, a.active #blog_icon { background: url(../images/blog_hover.svg); }
a:hover #photography_icon, a.active #photography_icon { background: url(../images/photography_hover.svg); }
a:hover #about_icon, a.active #about_icon { background: url(../images/gandalf_hover.svg); }

a:hover .github_icon { background: url(../images/github_hover.svg); }
a:hover .stackoverflow_icon { background: url(../images/stackoverflow_hover.svg); }
a:hover .linkedin_icon { background: url(../images/linkedin_hover.svg); }
a:hover .goodreads_icon { background: url(../images/goodreads_hover.svg); }
a:hover .imdb_icon { background: url(../images/imdb_hover.svg); }
a:hover .lastfm_icon { background: url(../images/lastfm_hover.svg); }

body::after {
    content:
        url(../images/blue_button_hover.webp)
        url(../images/green_button_hover.webp)
        url(../images/yellow_button_hover.webp)
        url(../images/red_button_hover.webp)
        url(../images/search_hover.webp)
        url(../images/blog_hover.svg)
        url(../images/home_hover.svg)
        url(../images/photography_hover.svg)
        url(../images/gandalf_hover.svg)
        url(../images/white_link_button.webp)
        url(../images/github_hover.svg)
        url(../images/stackoverflow_hover.svg)
        url(../images/linkedin_hover.svg)
        url(../images/goodreads_hover.svg)
        url(../images/imdb_hover.svg)
        url(../images/lastfm_hover.svg)
        url(../images/arrows_hover.webp)
        url(../images/spaced_arrows_hover.webp);
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

/* Page: Blog */

code {
    text-shadow: none;
}

pre code {
    border-radius: 10px;
    box-shadow: -5px 5px 30px rgba(85, 85, 85, 0.5);
    border: 1px solid rgba(243, 243, 243, 0.6);
}

.blog.preview {
    display: block;
    width: 530px;
    position: absolute;
    left: 160px;
    height: 200px;
    overflow: hidden;
    top: 300px;
    border: 1px solid #dddddd;
    border-radius: 10px 40px;
    box-shadow: -5px 5px 20px rgba(85, 85, 85, 0.5)
}

.blog.preview img {
    width: 100%;
}

#blog_body {
    clear: both;
}

#blog_body li {
    text-align: left;
}

.blog_list div {
    margin-top: 40px;
}

/* Page: Home */

#feedlist {
    list-style: none;
    font-size: 16px;
    line-height: 20px;
    padding-left: 0;
    text-align: left;
}

li.feedlist {
    margin-bottom: 25px;
    padding-right: 10px;
    clear: both;
}

.feedlist .date {
    display: block;
    float: right;
    margin-left: 10px;
    opacity: 0.8;
}

.feedlist .title {
    display: block;
    opacity: 0.8;
}

.feedlist img {
    vertical-align: middle;
}
.feedlist .title img {
    opacity: 0.8;
}

.feedlist .icon {
    float: left;
    display: block;
    height: 65px;
    width: 40px;
    margin-right: 5px;
    line-height: 40px;
    text-align: center;
}

/* Page: Gallery */

.gallery .image {
    text-decoration: none;
    display: block;
    height: 150px;
    width: 150px;
    margin: 5px;
    float: left;
    position: relative;
    border-radius: 100% 100% 40px 100%;
}

.gallery .image .shadow {
    position: absolute;
    height: 150px;
    width: 150px;
    box-shadow: -5px 5px 20px rgba(85, 85, 85, 0.5);
    border-radius: 100% 100% 40px 100%;
    border: 1px solid rgba(243, 243, 243, 0.6);
    background-image: url(../images/arrows.png);
    background-image: -webkit-image-set(url(../images/arrows.webp) 1x);
    background-position: 126px 127px;
    background-repeat: no-repeat;    
}

.gallery .image:hover .shadow {
    background-image: url(../images/arrows_hover.png);
    background-image: -webkit-image-set(url(../images/arrows_hover.webp) 1x);
}

.gallery .image img {
    border: 1px solid rgba(85, 85, 85, 0.6);
    background-color: rgba(243, 243, 243, 1);
    border-radius: 100%;
    height: 150px;
    width: 150px;
}

.gallery .image:hover .shadow {
    box-shadow: -5px 5px 30px rgba(85, 85, 85, 0.5);
}

.gallery a {
    text-decoration: none;
}

.gallery .col {
    width: 160px;
    float: right;
}

.gallery .image a {
    font-size: 14px;
    display: none;
    position: absolute;
    width: 100%;
    height: 16px;
    padding: 40px 2px 20px 0;
    text-align: center;
}

.gallery .image:hover a {
    display: block;
}

.gallery .image a.image-detail {
    background-color: rgba(200, 200, 255, 0.7);
    color: #222222;
    top: 0;
    border-radius: 150px 150px 0 0;
}

.gallery .image a.image-preview {
    background-color: rgba(0, 0, 50, 0.5);
    color: #eeeeee;
    top: 76px;
    border-radius: 0 0 36px 150px;
}

.gallery .image a.image-detail:hover {
    background-color: rgba(200, 200, 255, 0.8);
}

.gallery .image a.image-preview:hover {
    background-color: rgba(0, 0, 50, 0.6);
}

/* Page: Search */

#search_list {
    padding-left: 0;
}

#search_list li, #search_list li.feedlist {
    padding: 20px 0 0 0;
    list-style-type: none;
    text-align: left;
}

#search_list h2 {
    margin-top: 0;
}

input.shaded, input.shaded:focus {
    -moz-box-shadow:    inset -5px 5px 10px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: inset -5px 5px 10px rgba(0, 0, 0, 0.3);
    box-shadow:         inset -5px 5px 10px rgba(0, 0, 0, 0.3);
    border-color: #ffffff;
    border-radius: 5px 2px 5px 2px;
    outline-style: none;
    outline-width: 0;
    padding: 10px;
    font-size: 18px;
    font-family: inherit;
    box-sizing: border-box;
    width: 100%;
}

input.shaded:focus {
    border-color: #aaaaaa;
}

button.shaded, button.shaded:focus, button.shaded:active {
    -moz-box-shadow:    -2px 2px 4px 2px #ccc;
    -webkit-box-shadow: -2px 2px 4px 2px #ccc;
    box-shadow:         -2px 2px 4px 2px #ccc;
    background-color: #eeeeff;
    border-color: #ffffff;
    border-width: thin;
    border-radius: 8px 2px;
    outline-style: none;
    padding: 10px;
    font-size: 18px;
    cursor: pointer;
    font-family: inherit;
    float: right;
}

button.shaded:focus, button.shaded:hover {
    background-color: #f6f6f6;
    -moz-box-shadow:    none;
    -webkit-box-shadow: none;
    box-shadow:         none;
}

img.inline_icon {
    height: 16px;
    margin-bottom: -3px;
}

.feedlist img.inline_icon {
    margin-bottom: -1px;
}

#search_list .gallery a.image {
    margin-right: 20px;
    margin-bottom: 30px;
}

#search_list .gallery .date {
    margin-right: 20px;
}

/* Page: Single photo */

.image {
    font-size: 0;
    line-height: 0;
    position: relative;
    width: 600px;
    margin: 40px 20px;
    display: block;
    border-radius: 100% 100% 40px 100%;
}

.image .shadow {
    font-size: 0;
    line-height: 0;
    width: 100%;
    height: 100%;
    display: flex;
    box-shadow: -5px 5px 20px rgba(85, 85, 85, 0.5);
    border-radius: 10px 40px;
    border: 1px solid rgba(243, 243, 243, 0.6);
    background-image: url(../images/spaced_arrows.png);
    background-image: -webkit-image-set(url(../images/spaced_arrows.webp) 1x);
    background-position: 100% 100%;
    background-repeat: no-repeat;
}

.image:hover .shadow {
    background-image: url(../images/spaced_arrows_hover.png);
    background-image: -webkit-image-set(url(../images/spaced_arrows_hover.webp) 1x);
    box-shadow: -5px 5px 30px rgba(85, 85, 85, 0.5);
}

.image img {
    width: 598px;
    display: block;
    border: 1px solid rgba(85, 85, 85, 0.5);
    border-radius: 10px 40px 70px 38px;
}

#map {
    width: 600px;
    height: 250px;
    margin: 0 20px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 10px;
}
