/* noto-sans-300 - latin */
@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 300;
  src: local(''),
       url('fonts/noto-sans-v27-latin-300.woff2') format('woff2'),
       url('fonts/noto-sans-v27-latin-300.woff') format('woff');
}

/* noto-sans-300italic - latin */
@font-face {
  font-family: 'Noto Sans';
  font-style: italic;
  font-weight: 300;
  src: local(''),
       url('fonts/noto-sans-v27-latin-300italic.woff2') format('woff2'),
       url('fonts/noto-sans-v27-latin-300italic.woff') format('woff');
}

/* noto-sans-regular - latin */
@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 400;
  src: local(''),
       url('fonts/noto-sans-v27-latin-regular.woff2') format('woff2'),
       url('fonts/noto-sans-v27-latin-regular.woff') format('woff');
}

/* noto-sans-italic - latin */
@font-face {
  font-family: 'Noto Sans';
  font-style: italic;
  font-weight: 400;
  src: local(''),
       url('fonts/noto-sans-v27-latin-italic.woff2') format('woff2'),
       url('fonts/noto-sans-v27-latin-italic.woff') format('woff');
}

/* noto-sans-700 - latin */
@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 700;
  src: local(''),
       url('fonts/noto-sans-v27-latin-700.woff2') format('woff2'),
       url('fonts/noto-sans-v27-latin-700.woff') format('woff');
}

/* noto-sans-700italic - latin */
@font-face {
  font-family: 'Noto Sans';
  font-style: italic;
  font-weight: 700;
  src: local(''),
       url('fonts/noto-sans-v27-latin-700italic.woff2') format('woff2'),
       url('fonts/noto-sans-v27-latin-700italic.woff') format('woff');
}
@font-face {
  font-family: 'Fenyas Dream';
  font-style: normal;
  src: local(''),
       url('fonts/Fenyas-Dream.woff') format('woff');
}

:root {
    --accent-color: #E744FF;
    --link-color: #E744FF;
    --light-text-color: #f7f7f7;
    --background: #1a1a1a;
    --outside-content-background: #101010;
    --text-color: #d9d9d9;
    --border-color: #333;
    --font-size-small: 85%;
    --font-size-large: 120%;

    --transition-fast: 0.333s;
    --transition-slow: 1.333s;

    --background-light: #f7f7f7;
    --font-color-light: #1a1a1a;
    --link-color-light: #881798;

    --color-fenyas-dream: #FF6A00;
}

body {
    background-color: #1a1a1a; /* var(--background); */
    color: #d9d9d9; /* var(--text-color); */
    padding: 0;
    margin: 0;
    font-family: "Noto Sans", "Open Sans", sans-serif;
    font-weight: 400;
}
.font-fenyas-dream { font-family: "Fenyas Dream"; }

.paw { position: absolute; width: 20px; height: 20px; z-index: 3; pointer-events: none; }

.accent-color { color: #881798; }
.accent-background { background-color: #881798; color: #f7f7f7; }
/* .accent-color { color: var(--accent-color); }
.accent-background { background-color: var(--accent-color); color: #f7f7f7; }
*/

a, a:visited {
    color: var(--accent-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

a:hover {
    color: var(--accent-color);
    transition: border var(--transition-fast), color var(--transition-fast);
    border-color: var(--accent-color);
}
.tag-fenyas-dream a, .tag-fenyas-dream a:visited { color: var(--color-fenyas-dream); }
.tag-fenyas-dream a:hover, .tag-fenyas-dream #path a:hover { color: var(--color-fenyas-dream); border-color: var(--color-fenyas-dream); }

h1 { 
    text-align: center;
    width: 80%;
    margin: 20px auto;
    font-variant: small-caps;
}

h2 {
    font-weight: 300;
    font-size: 130%;
    border-bottom: 1px solid var(--accent-color);
    padding-bottom: 5px;
    font-variant: small-caps;
}
body.tag-fenyas-dream h2 { border-color: var(--color-fenyas-dream); }
h2:hover {
    color: var(--accent-color);
    transition: color var(--transition-fast);
}
body.tag-fenyas-dream h2:hover { color: var(--color-fenyas-dream); }

h3 { font-variant: small-caps; font-weight: 300; }


header {
    background-color: var(--outside-content-background);
    filter: drop-shadow(0 0 10px rgba(0,0,0,1));
}

header .cover-home {
    background: url("/assets/images/fox-banner.jpg") no-repeat 50% 50%;
    background-size: cover;
    height: 256px;
}

header .cover-fd {
    background-image: url(/fenyas-dream/assets/fd-banner.jpg);
}

@media screen and (min-width: 640px) {
    header .cover-home { height: 384px; }
}

#fox-shape {
    height: 25px;
    vertical-align: bottom;
}
body.tag-fenyas-dream #fox-shape:hover { content: url("/assets/images/fox-shape-hover-fd.png"); }

#fox-shape:hover {
    content: url("/assets/images/fox-shape-hover.png");
    transition: content var(--transition-fast);
}

footer {
    margin-top: 40px;
    background-color: var(--outside-content-background);
    filter: drop-shadow(0 0 10px rgba(0,0,0,1));
    font-size: 90%;
}

footer ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    line-height: 150%;
    font-weight: 400;
}

ol {
}
ol li { margin-bottom: 3px; }

#path { font-variant: small-caps; font-weight: 300; }
#path a { margin-left: 10px; }
#path a, #path a:visited { color: var(--light-text-color); }
#path a:hover { color: var(--accent-color); }
#path a:first-child { margin-left: 0; border: none; }

@media screen and (min-width: 640px) {
    .footer-row {
        display: flex;
    }

    .col-33 {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }
}

.section { margin: 0; }
.content {
    width: 80%;
    margin: 0 auto;
    padding: 20px 0;
}

/* Post teasers */
.post-item { margin-bottom: 20px; }
.post-item h2 { margin-bottom: 10px; }
.post-item .date { margin-bottom: 5px; font-variant: small-caps; font-size: var(--font-size-small); }
.post-item.tag-fenyas-dream h2 { border-color: var(--color-fenyas-dream); }
.post-item.tag-fenyas-dream h2 a, .post-item.tag-fenyas-dream h2 a:visited { color: var(--color-fenyas-dream); }

/* Compressed post teasers */
.post-item-short { margin-bottom: 5px; }

.card {
    float: left;
    width: 320px;
    height: 520px;
    margin-right: 20px;
}
.card a, .card a:visited { color: var(--light-text-color); border: none; }
.card a:hover { color: var(--accent-color); }
.card img {
    width: 100%;
    filter: drop-shadow(0 0 10px rgba(0,0,0,0));
}
.card img:hover {
    filter: drop-shadow(0 0 10px rgba(0,0,0,1));
    transition: filter var(--transition-fast);
}

ul.page-infos {
    list-style-type: none;
    margin: 0;
    padding: 0;
    font-variant: small-caps;
    font-size: var(--font-size-small)
}
ul.page-infos li { display: inline-block; }

img.full-width { width: 100%; }

/* Art section layout */

.header-items {
    width: 80%;
    margin: 40px auto;
}

.page-title { float: left; }

.page-title a { font-weight: normal; }

.page-title a #subtitle, .page-title a:hover #subtitle, .page-title a:visited #subtitle {
    color: #d9d9d9;
}

.page-title #name {
    font-size: 150%;
    margin-bottom: 8px;
}

.page-title #subtitle { font-size: 80%; }

header.portfolio {
    background-color: transparent;
    filter: none;
}

header #nav {
    float: right;
    font-weight: 300;
    padding-top: 5px;
    padding-bottom: 20px;
    font-size: 80%;
    text-transform: uppercase;
}

header #nav a { padding-left: 20px; }

.project-item {
    width: 90%;
    margin: 0 auto 10px auto;
}

.project-item img, .project-item video {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(0,0,0,.3));
}

.project-item-embed {
    position: relative;
    height: 0;
    padding-bottom: 56.25%;
}

.project-item-embed iframe { position: absolute; }

.project-info {
    width: 60%;
    margin: 20px auto;
    font-weight: 300;
}

.project-info .date {
    width: 30%;
    float: left;
    font-weight: 300;
}

.project-info .date .title { font-weight: bold; }
.project-info .text {
    width: 70%;
    float: left;
}


.project-nav {
    width: 60%;
    margin: 40px auto;
}

.project-nav .item {
    position: relative;
    width: 256px;
    height: 144px;
    text-shadow: 0 .15rem .3rem rgba(0,0,0,.5);
    margin-bottom: 10px;
}

.project-nav .item a {
    position: absolute;
    display: block;
    width: 256px;
    height: 144px;
    top: 0;
    left: 0;
    background: linear-gradient(to bottom, #00000000 0%, #000000a0 100%);
    color: #d9d9d9;
    opacity: 0;
}

.project-nav .item a:hover {
    opacity: 1;
    transition: opacity 0.5s;
}


.project-nav .item img { width: 100%; }
.project-nav #previous { float: left; }
.project-nav #next { float: right; }
.project-nav #previous .nav-link-text { text-align: left; }
.project-nav #next .nav-link-text { text-align: right; }

.project-nav .nav-link-text {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
}

.project-nav .nav-link-type { font-size: 80%; }
.project-nav .nav-link-title { font-weight: bold; }

.link-arrow-edge {
    position: fixed;
    width: 50px;
    height: 100vh;
    top: 0;
    opacity: .3;
}

#edge-left { left: 5px; }
#edge-right { right: 5px; }

.link-arrow-edge:hover {
    opacity: 1;
    transition: opacity 1s;
}

.link-arrow-edge a {
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
}

.link-arrow-edge a img {
    position: absolute;
    top: 50vh;
}

#edge-right a img { right: 0; }


.album {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.album .item {
    position: relative;
    aspect-ratio: 1 / 1;

}

.album .item img {
    width: 100%;
    display: block;
}

.album .item a {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(to bottom, #00000000 0%, #000000a0 100%);
    opacity: 0;
    border: none;
}

.album .item a:hover {
    opacity: 1;
    transition: opacity 0.5s;
}

.album .item .title {
    position: absolute;
    bottom: 10px;
    right: 20px;
    font-size: 100%;
    text-align: right;
    font-weight: bold;
    margin: 0;
    padding: 0;
    text-shadow: 0 .15rem .3rem rgba(0,0,0,.5);
}
