/*
 Theme Name: Art Yourself Studio Minimal Theme
 Description: Theme for Art Yourself Studio
 Author: Ying Dong
 Author URI: https://whoisyingdong.com/
 Version: 1.0
 */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
a, figcaption {
  text-decoration: none;
  color: black;
}
button {
  border: none;
  margin: 0;
  padding: 0;
  width: auto;
  overflow: visible;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: normal;
  -webkit-font-smoothing: inherit;
  -moz-osx-font-smoothing: inherit;
  -webkit-appearance: none;
}
-moz-focus-inner {
  border: 0;
  padding: 0;
}
/* muli-200 - latin */
@font-face {
  font-family: 'Muli';
  font-style: normal;
  font-weight: 200;
  src: url('./fonts/muli-v19-latin-200.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('./fonts/muli-v19-latin-200.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('./fonts/muli-v19-latin-200.woff2') format('woff2'), /* Super Modern Browsers */
       url('./fonts/muli-v19-latin-200.woff') format('woff'), /* Modern Browsers */
       url('./fonts/muli-v19-latin-200.ttf') format('truetype'), /* Safari, Android, iOS */
       url('./fonts/muli-v19-latin-200.svg#Muli') format('svg'); /* Legacy iOS */
}
@font-face {
font-family: AYA Inter;
src: url("https://www.artyourself-studio.com/wp-content/themes/artyourself-studio/fonts/art-yourself-atelier-inter/art-yourself-atelier-Inter.eot");
src: url("https://www.artyourself-studio.com/wp-content/themes/artyourself-studio/fonts/art-yourself-atelier-inter/art-yourself-atelier-Inter.eot?#iefix") format("embedded-opentype"),url("https://www.artyourself-studio.com/wp-content/themes/artyourself-studio/fonts/art-yourself-atelier-inter/art-yourself-atelier-Inter.woff2") format("woff2"),url("https://www.artyourself-studio.com/wp-content/themes/artyourself-studio/fonts/art-yourself-atelier-inter/art-yourself-atelier-Inter.woff") format("woff");
font-weight: 400;
font-style: normal
}
* {
  box-sizing: border-box;
}
html, body {
  width: 100%;
  min-height: 100%;
  font-family: 'AYA Inter';
  font-size: 1.1rem;
  -webkit-font-smoothing: antialiased;
}
.a-fade {
  transition: opacity 0.3s;
  opacity: 1;
}
html.is-animating .a-fade {
  opacity: 0;
}
body {
  transition: margin-top 0.5s;
}
body h1 {
  transition: font-size 0.1s, opacity 0.5s, transform 0.6s;
}
/*header .header-item:nth-of-type(2), body.home header .header-item:nth-of-type(3){
 transition-property: opacity;
 transition-duration: .3s;
 transition-delay: .3s;
 }*/
body.home {
  margin-top: 35vh;
}
body.home h1 {
  font-size: 1.1rem;
}
/*body.home header .header-item:nth-of-type(2), body.home header .header-item:nth-of-type(3) {
 opacity: 0;
 transition-property: opacity;
 transition-duration: .3s;
 transition-delay: .0s;
 }*/
.swiper-container {
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.3s;
}
.swiper-container.visible {
  opacity: 1;
}
.swiper-container .swiper-wrapper {
  width: 100%;
  height: 100%;
}
.swiper-container .swiper-wrapper .swiper-slide {
  background-color: white;
  width: 100%;
  height: 100%;
}
.swiper-container .swiper-wrapper .swiper-slide:last-child {
  z-index: 500;
}
.swiper-container .swiper-wrapper .swiper-slide .pictures-bloc {
  width: 100%;
  height: 100%;
  display: grid;
}
.swiper-container .swiper-wrapper .swiper-slide .pictures-bloc.grid-1 {
  grid-template-columns: 1fr;
  text-align: center;
}
.swiper-container .swiper-wrapper .swiper-slide .pictures-bloc.grid-2 {
  padding: 0 calc(90px * 2);
  grid-template-columns: repeat(2, 1fr);
}
.swiper-container .swiper-wrapper .swiper-slide .pictures-bloc.grid-2 .pictures-bloc-items:nth-of-type(1) {
  text-align: center;
}
.swiper-container .swiper-wrapper .swiper-slide .pictures-bloc.grid-2 .pictures-bloc-items:nth-of-type(2) {
  text-align: center;
}
.swiper-container .swiper-wrapper .swiper-slide .pictures-bloc .pictures-bloc-items {
  position: relative;
}
.swiper-container .swiper-wrapper .swiper-slide .pictures-bloc .pictures-bloc-items img {
  max-width: 90%;
  max-height: calc((100vh - (90px * 2)) - 10%);
}
.swiper-container .swiper-button-white {
  width: 50%;
  height: calc(100vh - 90px);
  top: 90px;
  position: fixed;
  opacity: 0;
  z-index: 50;
}
.swiper-container .swiper-button-white.swiper-button-next {
  right: 0;
  cursor: url('./icons/s-right.svg'), url(./icons/s-right.svg), pointer;
}
.swiper-container .swiper-button-white.swiper-button-prev {
  left: 0;
  cursor: url('./icons/s-left.svg'), url(./icons/s-left.svg), pointer;
}
header {
  width: 100%;
  height: 90px;
  padding: 35px 40px;
  position: fixed;
  display: grid;
  grid-template-columns: 150px 1fr 150px;
  z-index: 50;
}
header .header-item:nth-of-type(1) {
  height: 50px;
}
header .header-item:nth-of-type(1) h1 {
  font-family: 'AYA Inter';
}
header .header-item:nth-of-type(2) {
  text-align: center;
  display: none;
}
header .header-item:nth-of-type(2) .menu-menu {
  display: inline-block;
}
header .header-item:nth-of-type(2) .menu-item {
  margin: 0;
  padding: 0;
  display: inline-block;
}
header .header-item:nth-of-type(2) .menu-menu-container .menu-item::after {
  content: ', ';
}
header .header-item:nth-of-type(2) .menu-menu-container .menu-item:last-of-type::after {
  content: '.';
}
header .header-item:nth-of-type(3) {
  display: none;
  position: relative;
}
header .header-item:nth-of-type(3) .container-burger {
  display: none;
  position: absolute;
  top: -5px;
  right: -9px;
  cursor: pointer;
  width: 44px;
  height: 30px;
  transition: top 0.3s;
}
header .header-item:nth-of-type(3) .container-burger .bar1, header .header-item:nth-of-type(3) .container-burger .bar2, header .header-item:nth-of-type(3) .container-burger .bar3 {
  width: 35px;
  height: 2px;
  background-color: #333;
  margin: 6px 0;
  transition: 0.4s;
}
header .header-item:nth-of-type(3) .container-burger.change {
  top: 0px;
}
header .header-item:nth-of-type(3) .container-burger.change .bar1 {
  transform-origin: right;
  -webkit-transform: rotate(-45deg) translate(0px, -7px);
  transform: rotate(-45deg) translate(0px, -7px);
}
header .header-item:nth-of-type(3) .container-burger.change .bar2 {
  opacity: 0;
}
header .header-item:nth-of-type(3) .container-burger.change .bar3 {
  -webkit-transform: rotate(45deg) translate(-6px, -6px);
  transform: rotate(45deg) translate(-6px, -6px);
}
.menu-item {
  transition: opacity 0.3s;
}
.menu-item:hover {
  opacity: 0.4;
}
@keyframes kload {
  0% {
    transform: scale(1, 1);
  }
  50% {
    transform: scale(1.05, 1.05);
  }
  100% {
    transform: scale(1, 1);
  }
}
@-webkit-keyframes kload {
  0% {
    transform: scale(1, 1);
  }
  50% {
    transform: scale(1.05, 1.05);
  }
  100% {
    transform: scale(1, 1);
  }
}
.load {
  opacity: 0;
  position: fixed;
  top: calc(35px - 3px);
  right: 40px;
  width: 95px;
  -webkit-animation: kload 1.5s infinite;
  animation: kload 1.5s infinite;
  transition: opacity 0.4s;
  transition-delay: 0.3s;
}
html.is-leaving .load {
  opacity: 1;
}
body {
  line-height: 1.2;
}
main {
  width: 100%;
  height: auto;
  padding: 90px 40px;
}
main article {
  width: 100%;
  height: auto;
}
main #article-photography {
  padding: 0 50px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: auto;
  grid-column-gap: 0;
  grid-row-gap: calc(90px / 3 * 2.2);
}
main #article-photography section {
  width: 100%;
  height: 100%;
  font-size: 0.89rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
main #article-photography section .section-container {
  width: 85%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
}
main #article-photography img {
  width: 100%;
  height: auto;
  object-fit: scale-down;
  max-width: 100%;
  max-height: 19vw;
  z-index: 10;
  transition: opacity 0.3s, filter 0.5s;
}
main #article-photography img:hover {
  opacity: 0.1;
  filter: contrast(22%);
}
main #article-photography .title {
  width: 80%;
  height: auto;
  padding: 35px calc(40px / 2);
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: center center;
  transform-style: preserve-3d;
  transform: translate3d(-50%, -50%, 0);
  z-index: -5;
}
main #article-films {
  padding: 0 50px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
  grid-column-gap: 0;
  grid-row-gap: calc(90px / 3 * 1.7);
}
main #article-films section {
  width: 100%;
  height: 100%;
  font-size: 0.89rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
main #article-films section .section-container {
  width: 85%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
}
main #article-films img {
  width: 100%;
  height: auto;
  object-fit: cover;
  max-width: 100%;
  max-height: 100%;
  z-index: 10;
  transition: opacity 0.3s, filter 0.4s;
}
main #article-films img:hover {
  opacity: 0.1;
  filter: contrast(25%);
}
main #article-films .title {
  width: 100%;
  height: auto;
  padding: 35px calc(40px / 2);
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: center center;
  transform-style: preserve-3d;
  transform: translate3d(-50%, -50%, 0);
  z-index: -5;
}
main footer {
  width: 100%;
  height: 70px;
  padding: calc(35px * 2) 40px;
  font-size: 1.1rem;
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 300;
  transition: padding 0.4s;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
main footer div:nth-child(2) {
  text-align: right;
}
main footer div:nth-child(2) a {
  transition: opacity 0.3s;
}
main footer div:nth-child(2) a:hover {
  opacity: 0.4;
}
main #article-photography-single {
  width: 100%;
  height: calc(100vh - (90px * 2.5));
}
main #article-photography-single .hidden {
  width: 40%;
  height: calc(100vh - (90px * 2));
  position: fixed;
  background-color: red;
  z-index: 25;
  display: block;
  opacity: 0;
  top: 90px;
}
main #article-photography-single .hidden.hidden-left {
  left: 0;
  cursor: url('./icons/s-left.svg'), url(./icons/s-left.svg), pointer;
}
main #article-photography-single .hidden.hidden-right {
  right: 0;
  cursor: url('./icons/s-right.svg'), url(./icons/s-right.svg), pointer;
}
main #article-photography-single .hidden.active {
  display: block;
}
main #article-films-single {
  width: 100%;
  height: calc(100vh - (90px * 2.5));
  position: relative;
}
main #article-films-single .film-title {
  padding: calc(35px * 2) 40px;
  font-size: 0.89rem;
  position: fixed;
  left: 0;
  bottom: 0;
}
main #article-films-single .film-container {
  width: 70%;
  height: 70%;
  max-width: 80%;
  max-height: 80%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: center center;
  transform-style: preserve-3d;
  transform: translate3d(-50%, -50%, 0);
}
main #article-films-single .film-container iframe {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
}
main #article-films-single .slide-btn {
  width: 50%;
  height: calc(100vh - (90px * 2));
  position: fixed;
}
main #article-films-single .slide-btn.slide-btn-prev {
  left: 0;
  cursor: url('./icons/s-left.svg'), url(./icons/s-left.svg), pointer;
}
main #article-films-single .slide-btn.slide-btn-next {
  right: 0;
  cursor: url('./icons/s-right.svg'), url(./icons/s-right.svg), pointer;
}
main #article-about .about-bloc {
  width: 60%;
  padding: 0px 0px 40px 0px;
}
main #article-about .about-bloc h2 {
  margin-bottom: 0.4rem;
  font-family: 'AYA Inter';
  font-size: 1.1rem;
}
main #article-about .about-bloc h2:first-of-type {
  font-family: 'AYA Inter';
  text-decoration: underline;
}
main #article-about .about-bloc p {
  font-size: 0.89rem;
  line-height: calc(0.89rem + 0.15rem);
}
main #article-about .about-bloc a {
  transition: opacity 0.3s;
}
main #article-about .about-bloc a:hover {
  opacity: 0.4;
}
main #article-contact {
  height: calc(100vh - 90px * 2);
  position: relative;
}
main #article-contact .contact-container {
  width: 40%;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: center center;
  transform-style: preserve-3d;
  transform: translate3d(-50%, -50%, 0);
}
main #article-contact .contact-container .contact-bloc {
  width: 100%;
  height: 100%;
  padding: 0px 0px 40px 0px;
}
main #article-contact .contact-container .contact-bloc h2 {
  margin-bottom: 0.4rem;
  font-family: 'AYA Inter';
  font-size: 1.1rem;
}
main #article-contact .contact-container .contact-bloc p {
  font-size: 0.89rem;
  line-height: calc(0.89rem + 0.15rem);
}
main #article-contact .contact-container .contact-bloc a {
  transition: opacity 0.3s;
}
main #article-contact .contact-container .contact-bloc a:hover {
  opacity: 0.4;
}
@media screen and (max-width: 1280px) {
  .swiper-container .swiper-wrapper .swiper-slide .pictures-bloc.grid-2 {
    padding: 0px 90px;
  }
}
@media screen and (max-width: 1080px) {
  main #article-photography {
    padding: 0 25px;
    grid-template-columns: repeat(3, 1fr);
  }
  main #article-photography img {
    max-height: 30vw;
  }
  main #article-films {
    padding: 0 25px;
    grid-template-columns: repeat(2, 1fr);
  }
  main #article-about .about-bloc {
    width: 90%;
  }
  main #article-contact {
    height: auto;
    position: relative;
  }
  main #article-contact .contact-container {
    width: 80%;
    height: auto;
    position: relative;
    top: auto;
    left: auto;
    transform-origin: left;
    transform-style: preserve-3d;
    transform: translate3d(0, 0, 0);
  }
  main #article-contact .contact-container .contact-bloc {
    width: 100%;
    height: 100%;
    padding-bottom: calc(40px * 2);
  }
  main #article-contact .contact-container .contact-bloc h2 {
    margin-bottom: 0.3rem;
  }
  main #article-contact .contact-container .contact-bloc p {
    font-size: 0.89rem;
    line-height: calc(0.89rem + 0.1rem);
  }
  .swiper-container .swiper-wrapper .swiper-slide .pictures-bloc.grid-2 {
    padding: 0px 0px;
  }
  .swiper-container .swiper-button-white {
    opacity: 0;
  }
}
@media screen and (max-width: 650px) {
  .load {
    top: 10px;
    right: 10px;
    font-size: 0.8rem;
  }
  main {
    width: 100%;
    height: auto;
    padding: 75px 10px;
  }
  header {
    width: 100%;
    height: 75px;
    padding: 10px 10px;
  }
  body.single-photography h1, body.single-films h1 {
    position: absolute;
    transform: translate(0px, 0px);
  }
  main footer {
    width: 100%;
    height: 60px;
    padding: calc(10px * 2) 10px;
    font-size: 0.89rem;
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 300;
    display: grid;
    grid-template-columns: 2fr 1fr;
  }
  main footer div:nth-child(2) {
    text-align: right;
  }
  header .header-item:nth-of-type(3) {
    position: relative;
  }
  header .header-item:nth-of-type(3) .container-burger {
    display: block;
  }
  header .header-item .menu-menu-container {
    display: none;
  }
  main #article-photography {
    padding: 0 10px;
    grid-template-columns: repeat(1, 1fr);
  }
  main #article-photography img {
    width: 100%;
    height: auto;
    max-height: 100%;
  }
  main #article-films {
    padding: 0 10px;
    grid-template-columns: repeat(1, 1fr);
  }
  main #article-about .about-bloc {
    padding: 0px 0px calc(10px * 3) 0px;
  }
  #article-films-single {
    width: 100%;
    height: calc(100vh - (75px * 2));
    position: relative;
  }
  #article-films-single .film-container {
    width: 100vw;
    height: auto;
    max-width: 100%;
    max-height: 100%;
  }
}
@media screen and (max-height: 430px) {
  main {
    width: 100%;
    height: auto;
    padding: calc(75px / 1) 10px;
  }
  main #article-films-single {
    width: 100%;
    height: calc(100vh - (75px / 1.5 * 2.5));
    position: relative;
  }
}
