/*
Theme Name: Ella Numminen
Theme URI: https://ellanumminen.art/
Author: Ella Numminen
Description: The original Ella Numminen portfolio, recreated for WordPress. Finnish pages, local Montserrat typography and a photo gallery.
Version: 1.2.1
Requires at least: 6.6
Requires PHP: 8.0
Text Domain: ella-numminen
*/
@font-face{font-family:Montserrat;font-style:normal;font-weight:100 900;font-display:swap;src:url(assets/fonts/montserrat-latin-ext.woff2) format('woff2');unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:Montserrat;font-style:normal;font-weight:100 900;font-display:swap;src:url(assets/fonts/montserrat-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
body{background:#ccc;color:#000;margin:0;font-family:Montserrat,Arial,sans-serif;font-size:16px}
a{color:#000}a:visited,a:hover{color:gray}h3{font-weight:600}
button,input,textarea{font:inherit}
:focus-visible{outline:2px solid #333;outline-offset:4px}
.site-title{font-weight:100;font-size:5rem;text-align:center;padding-top:5rem;min-width:5rem;margin:.67em 0}
.site-navigation{width:100%}
.site-navigation ul{display:flex;justify-content:space-evenly;list-style:none;padding:0;margin:0 0 2rem}
.site-navigation li{margin:0;padding:0}
.site-navigation a,.site-navigation a:visited{display:block;text-decoration:none;color:#000;margin: .83em 2rem .83em 0;font-size:1.5rem;font-weight:400}
.site-navigation a:hover{color:gray}
.page-body{font-size:1rem;line-height:1.5rem;font-weight:400;margin:0 auto;text-align:center;padding-bottom:1rem;overflow-wrap:break-word}
.page-body--home{max-width:55rem;padding-inline:1rem}
.page-body--home h3{font-size:1rem;line-height:1.5rem;margin-top:1em}
.page-body--home p{margin:0 0 1.5rem}
.page-body--cv{width:53%;text-align:left;position:relative}
.page-body--cv p{margin-bottom:0}
.page-body--contact{width:32rem;max-width:calc(100% - 2rem)}
.page-body--contact p{text-align:left}
.page-body--video{width:510px;max-width:calc(100% - 2rem)}
.page-body--video .wp-block-audio{margin:1rem 0 2rem}
.page-body--video .wp-block-audio audio{max-width:100%;width:300px}
.page-body--video figcaption{font-size:1rem;margin-bottom:.5rem}
.page-body--video .video-wrapper{margin:1rem 0}
.page-body--video iframe{width:510px;max-width:100%;height:auto;aspect-ratio:510/320;border:0}
.page-body--gallery{margin-inline:10%}
.page-body img{max-width:100%;height:auto;-webkit-touch-callout:none}
.page-body .wp-block-image{margin-top:0}
.page-body .wp-block-image.aligncenter{margin-inline:auto}
.page-body .ella-home-photo{margin-bottom:1rem;text-align:center}
.page-body .ella-home-photo img{object-fit:contain;width:600px;height:400px}
.page-body .ella-contact-photo{margin-top:1rem;text-align:center}
.page-body .ella-contact-photo img{width:300px;height:300px;object-fit:contain}
.page-body .ella-cv-photo{float:right;margin:0 0 1rem 1rem;max-width:40%}
.page-body .ella-cv-photo img{width:160px;height:240px;object-fit:cover}
@media(min-width:741px){.page-body .ella-cv-photo{position:absolute;top:0;left:25rem;margin:0;max-width:none}}
@media(min-width:1300px){.page-body .ella-cv-photo{left:30rem}}
@media(max-width:900px){.page-body .ella-home-photo img{width:80vw!important;height:29vh}}
.page-body--gallery .wp-block-gallery[hidden]{display:none}
.page-body--gallery:has(.wp-block-gallery img) .ella-gallery-empty{display:none}
.ella-gallery-mount{line-height:normal}
.ella-gallery-caption{background:rgba(0,0,0,.4);bottom:70px;color:#fff;left:0;line-height:1;padding:10px 20px;position:absolute;white-space:normal;text-align:left}
.ella-gallery-mount .image-gallery-slide img{width:100%;height:30rem;object-fit:contain}
.ella-gallery-mount .image-gallery-thumbnail.active,.ella-gallery-mount .image-gallery-thumbnail:focus{border:4px solid #3d3a3a}
@media(hover:hover) and (pointer:fine){.ella-gallery-mount .image-gallery-thumbnail:hover{border:4px solid #3d3a3a}.ella-gallery-mount .image-gallery-icon:hover{color:#3d3a3a}}
.screen-reader-text,.skip-link{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link:focus{position:fixed;top:1rem;left:1rem;width:auto;height:auto;padding:1rem;clip:auto;background:#fff;z-index:100000}
@media(min-width:1200px){.page-body--gallery{margin-inline:20%}}
@media(min-width:1920px){.page-body--gallery{margin-inline:30%}}
@media(min-height:720px){.ella-gallery-mount :fullscreen .image-gallery-slide img,.ella-gallery-mount .fullscreen .image-gallery-slide img{height:78vh}}
@media(max-width:740px){.site-navigation ul{display:block;text-align:center}.site-navigation a{margin-block:.83em}.page-body--cv{width:auto;margin-inline:2rem}.page-body--gallery{margin-inline:0}.ella-gallery-mount .image-gallery-slide img{height:min(30rem,65vh)}}
@media(max-width:490px){.site-title{font-size:3rem}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
