
/*
Theme Name: Jonas
Theme URI: https://www.jonasphotographie.com
Author: Studio A. Stein
Author URI: https://studioastein.com
Description: Bespoke theme designed for Jonas Jacquel
Version: 2.0.0
Text Domain: jonas
*/

@font-face  {
  font-family: "Freight Big";
  src: url("fonts/freight-big.woff2") format("woff2"),
        url("fonts/freight-big.woff") format("woff");
}
@font-face  {
  font-family: "Freight Sans";
  src: url("fonts/freight-sans.woff2") format("woff2"),
         url("fonts/freight-sans.woff") format("woff");
}

/* BASE / UTILITAIRES */
body {
  margin: 0;
  padding: 0;
  font-family: "Freight Sans", Arial, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* NAVIGATION */
#header,
#main {
  position: absolute;
  top: 0;
}

/* SECTIONS */
body.page #main .section .section-inner.row .col.section-inner-image img {
  width: 100%;
  height: auto;
}

/* NAVIGATION */
#header {
  z-index: 9997;
}
#header a {
  display: inline-block;
  font-size: 24pt;
  font-family: "Freight Big", Times, serif;
  color: #fff;
  text-decoration: none;
  transition: color .8s ease-in-out;
}
body.page #header a {
  color: #000;
  text-shadow: none;
}

/* BASE / UTILITAIRES */
#main {
  z-index: 9996;
  width: 100vw;
}

/* ACCUEIL / CYCLE2 */
#front {
  background-color: #333;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: calc(100vh - 300px);
  background-size: cover;
}

/* SECTIONS */
.section-title {
  margin-top: 2rem;
}

/* ACCUEIL / CYCLE2 */
#front h1 {
  font-family: "Freight Big", Times, serif;
  margin: 0 auto;
  text-align: center;
  color: #fff;
  letter-spacing: 1pt;
  text-shadow: 0px 0px 18px #000000;
  font-size: 24pt;
  line-height: 30pt;
}
#front h2 {
  font-family: "Freight Big", Times, serif;
  margin: 0 auto;
  text-align: center;
  color: #fff;
  letter-spacing: 1pt;
  text-shadow: 0px 0px 18px #000000;
  font-size: 18pt;
  line-height: 20pt;
}
#front p {
  font-family: "Freight Big", Times, serif;
  margin: 0 auto;
  text-align: center;
  color: #fff;
  letter-spacing: 1pt;
  text-shadow: 0px 0px 18px #000000;
}
#front p a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid #fff;
}

/* SECTIONS */
.section {
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
}
.section.section-half-h {
  height: 50vh;
}
.section.section-third-h {
  height: 33vh;
}
.section.padded {
  padding: 80px 0;
}

@media (max-width: 1200px) {
  .section.padded {
    padding: 30px 0;
  }
}

/* SECTIONS */
.section.bg-light-grey {
  background: #eee;
}
.section .section-inner.row {
  overflow: hidden;
}
.section .section-inner.row .col.section-inner-text h2,
.section .section-inner.row .col.section-inner-text h3 {
  font-family: "Freight Big", Times, serif;
  font-size: 22pt;
  font-weight: lighter;
}
.section .section-inner.row .col.section-inner-text p {
  font-size: 15pt;
  line-height: 20pt;
  text-align: justify;
  margin: 0;
  padding: 0;
}
.section .section-inner.row .col.section-inner-image {
  height: 100%;
}
.section .section-inner.row .col.section-inner-text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
.section .section-inner.row .col.section-inner-text .col-content {
  flex-grow: 1;
}
.section .section-inner.row .col.section-inner-text .col-footer {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}
.section-full {
  height: 100vh;
  position: relative;
}
.section.section-full .section-inner.row .col.section-inner-text,
.section.section-full .section-inner.row .col.section-inner-text .col-footer {
  border: 0 !important;
}
.section.section-full .section-inner.row .col.section-inner-text h2,
.section.section-full .section-inner.row .col.section-inner-text p,
.section.section-full .section-inner.row .col.section-inner-text h3 {
  color: #fff !important;
  text-shadow: 0px 0px 18px #000000;
}
.section-full.section-full-background {
  background-position: center center;
  background-repeat: no-repeat;
  min-height: 100vh;
  background-size: cover;
}

/* BASE / UTILITAIRES */
.clear {
  clear: both;
}

/* PIED DE PAGE */
.section#contact h2 {
  font-family: "Freight Big", Times, serif;
  font-size: 22pt;
  font-weight: lighter;
  color: #000;
  text-align: center;
}
.section#contact {
  text-align: center;
}
.section#contact p {
  font-size: 12pt;
  line-height: 18pt;
}
.section#contact p a:hover {
  border-color: #000;
}
.section#legal {
  background: #f0f0f0;
  padding: 30px 0 35px 0;
  position: relative;
}
.section#legal a {
  font-size: 12pt;
  color: #000;
  margin: 10px 0 3px 10px;
  text-decoration: none;
  padding-bottom: 1px;
  border-bottom: 1px solid #fff;
  display: inline-block;
  transition: border-color .4s ease-in-out;
}
.section#legal a:hover {
  border-color: #000;
}
.section#legal .backtotop {
  position: absolute;
  right: 30px;
  top: 30px;
  display: block;
  font-size: 0;
  background: url(img/icon-arrow-top.svg) center center / 15px auto no-repeat;
  width: 15px;
  height: 15px;
  border: 0 !important;
}

/* JOURNAL */
.journal.bg-light-grey {
  background: #eee;
}
.journal .section-inner.row .col.section-inner-text,
.journal .section-inner.row .col.section-inner-text .col-footer {
  border: 0 !important;
}
.journal .section-inner.row .col.section-inner-text h2 a,
.journal .section-inner.row .col.section-inner-text h3 a {
  color: #000;
  text-decoration: none;
}
.journal .section-inner.row .col.section-inner-text a.journal-link {
  color: #000;
  border: 1px solid #eee;
  padding: 10px;
  text-decoration: none;
  font-size: 13pt;
  background-color: transparent;
  transition: border-color .4s ease-in-out, background-color .4s ease-in-out;
}
.journal .section-inner.row .col.section-inner-text a.journal-link:hover {
  border-color: #aaa;
  background-color: #eee;
}
.journal.bg-light-grey .section-inner.row .col.section-inner-text a.journal-link {
  border: 1px solid #ddd;
}
.journal.bg-light-grey .section-inner.row .col.section-inner-text a.journal-link:hover {
  border-color: #aaa;
  background-color: #fff;
}
.journal .section-inner.row .col.section-inner-text a.journal-link::after {
  display: inline-block;
  width: 14px;
  height: 14px;
  background: url("img/icon-arrow-right.svg") center center / 100% auto no-repeat;
  content: "";
  vertical-align: middle;
  margin-left: 10px;
}
.journal .section-inner.row .col.section-inner-text col-content span {
  margin-bottom: 20px;
  display: block;
}
.introduction-journal {
  text-align: center;
}
.introduction-journal h2,
.introduction-journal h1 {
  font-family: "Freight Big",Times,serif;
  margin: 0 auto;
  text-align: center;
  color: #000;
  letter-spacing: 1pt;
  font-weight: normal;
  font-size: 30pt;
  line-height: 42pt;
}

@media (max-width: 1280px) {
  .introduction-journal h2 {
    font-size: 14pt;
    line-height: 1em;
  }
}

/* BASE / UTILITAIRES */
body.fr .translate.fr {
  display: block !important;
}
body.fr .translate.en {
  display: none !important;
}
body.en .translate.en {
  display: block !important;
}
body.en .translate.fr {
  display: none !important;
}

@media only screen and (max-width : 768px) {
  #front p,
.section .section-inner.row {
    width: 90vw;
    margin: 0 auto;
  }
  #header {
    background: #fff;
  }
  #header a {
    color: #000 !important;
    text-shadow: none !important;
  }
  #front {
    height: auto !important;
    min-height: 0 !important;
    background-size: 100% auto !important;
    background-position: top center;
    background-repeat: no-repeat;
    padding-bottom: 0 !important;
    background-color: #fff !important;
    display: unset !important;
    background-image: unset !important;
  }
  #front-slideshow {
    position: relative;
    width: 100%;
  }
  #front p,
#front p a {
    font-size: 18pt;
    line-height: 28pt;
    color: #000 !important;
    text-shadow: none !important;
  }
  .section-full.section-full-background .section-inner.row .col {
    width: 100%;
  }
  .section-full.section-full-background .section-inner.row .col .col-content {
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
  }
  .section .section-inner.row .col.section-inner-image {
    padding: 30px 0 0 0;
  }
  .section.section-full-h {
    height: auto;
    padding: 80px 0;
  }
  .section .section-inner.row .col.section-inner-text .col-footer {
    display: none;
  }
}

@media only screen and (min-width : 768px) {
  #front p,
.section .section-inner.row {
    width: 1120px;
  }
  #front p {
    font-size: 30pt;
    line-height: 42pt;
  }
  .section .section-inner.row .col {
    padding: 0 40px;
  }
  .section .section-inner.row .col {
    width: calc(50% - 80px);
  }
  .section .section-inner.row .col {
    float: left;
  }
  .section.section-full-h {
    height: 100vh;
  }
}

@media (max-width: 1200px) {
  .section-reverse-mobile {
    display: flex;
    flex-direction: column;
  }
  .section-reverse-mobile .section-inner-image {
    order: 2;
  }
  .section-reverse-mobile .section-inner-texte {
    order: 1;
  }
}

/* SECTIONS */
.section-title-article h1 {
  font-size: 30pt;
}

/* NAVIGATION */
#header {
  width: 100%;
  box-sizing: border-box;
  padding: 20px 30px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #fff;
  transition: background-color .8s ease-in-out, padding .8s ease-in-out;
}

/* SECTIONS */
.section-padded {
  padding-bottom: 60px;
}

@media only screen and (min-width : 768px) {
  .show-mobile {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }
  #header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  #header.sticky {
    background: #000;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.45) 50%);
    padding: 30px 30px;
  }
  #header #header-menu ul li a.cta {
    border: 1px solid #ddd;
    padding: 8px 14px;
    border-radius: 25px;
    background-color: transparent;
    transition: background-color .6s ease-in-out, color .6s ease-in-out, border-color .6s ease-in-out;
  }
  #front .section-inner {
    background: #000000;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.45) 50%);
  }
  #header #header-menu ul li {
    list-style: none;
    display: inline-block;
    vertical-align: middle;
    margin-left: 30px;
  }
  #header #header-menu ul li a {
    font-size: 1.2rem;
  }
  #header.sticky #header-menu .icon.instagram {
    background-image: url("img/icon-instagram-w.svg");
  }
  #header #header-menu .icon.instagram {
    width: 16px;
    height: 16px;
  }
  #header #header-menu ul li a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0px;
    height: 1px;
    background-color: transparent;
    transition: background-color .6s ease-in-out, width .6s ease-in-out;
  }
  #header #header-menu ul li a.selected::after,
#header #header-menu ul li a:not(.cta):hover::after {
    background-color: #000;
    width: 100%;
  }
  #gallery .section-inner img {
    height: 80%;
    width: auto;
  }
  #portfolio {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 60px;
  }
  #portfolio article.small a,
#portfolio article.center.small a {
    width: 50%;
    margin: 0 25%;
  }
  #portfolio article.medium a {
    width: 60%;
    margin: 0 20%;
  }
  #portfolio article.big a {
    width: 70%;
    margin: 0 15%;
  }
  #portfolio article.margin {
    padding-top: 15vh;
  }
  #portfolio article.center {
    grid-column: 1 / -1;
  }
  #portfolio article.landscape a {
    width: 80%;
    margin: 0 10%;
  }
  section#gallery .section-inner {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* NAVIGATION */
#header #header-title a {
  font-size: 2.2rem;
}
#header #header-menu ul {
  margin: 0;
  padding: 0;
}
#header #header-menu ul li a {
  font-family: "Freight Sans";
  position: relative;
}
#header.sticky #header-menu ul li a,
#header.sticky #header-title a {
  color: #fff;
}
#header #header-title a {
  letter-spacing: 2pt;
}
#header #header-title a i {
  margin-right: 2px;
}
#header #header-menu ul li a,
#header #header-title a {
  color: #000;
}
#header.sticky #header-menu ul li a.cta {
  border-color: #fff;
}
#header #header-menu ul li a.cta:hover {
  color: #000;
  background-color: #fff;
}
#header #header-menu ul li a.cta:hover {
  border-color: #000;
}
#header #header-menu .icon.instagram {
  margin-right: 0;
}

/* ACCUEIL / CYCLE2 */
#front {
  align-items: self-end;
  justify-content: flex-start;
  box-sizing: border-box;
}
#front h1,
#front h2 {
  text-align: left !important;
  font-weight: lighter !important;
}
#front h2 {
  margin-top: 3px;
}
#front .section-inner {
  padding: 30px;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
}

@media only screen and (min-width : 768px) {
  .section.double-pictures {
    display: block;
  }
  .section.double-pictures .col {
    width: 50%;
    float: left;
  }
  .section.double-pictures .col img {
    width: 50%;
    max-width: 600px;
    margin: 0 25%;
    height: auto;
    display: block;
  }
  .section.double-pictures .col:nth-child(odd) {
    margin-top: 25vh;
  }
  #gallery-nav .gallery-nav-inner,
#journal .journal-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
  }
}

@media only screen and (max-width : 768px) {
  .hide-mobile {
    display: none !important;
  }
  #header #header-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  #header #header-title #open-menu {
    font-family: "freight sans";
    font-size: 1.2rem;
    line-height: 0.4;
    transition: .8s ease-in-out;
  }
  #header.open #header-title #open-menu {
    transform: rotate(90deg);
  }
  #header #header-menu {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    background-color: #fff;
    padding-top: 0;
    transition: all 1s ease-in-out;
  }
  #header.open #header-menu {
    max-height: 1000px;
    opacity: 1;
    padding-top: 30px;
  }
  #header.open #header-menu ul {
    line-height: 3rem;
  }
  #header.open #header-menu ul li {
    position: relative;
    width: 100%;
  }
  #header #header-menu ul li::after {
    position: absolute;
    width: 0;
    background-color: #fff;
    height: 1px;
    content: "";
    left: 0;
    bottom: 0;
    transition: 1s ease-in-out;
  }
  #header.open #header-menu ul li:not(:last-child)::after {
    width: 100%;
    background-color: #ddd;
  }
  #header #header-menu ul li a {
    transition: .8s ease-in-out;
  }
  #header #header-menu ul li a {
    font-size: 1.5rem;
    display: block;
  }
  #header.open #header-menu ul li a {
    padding: 5px 0;
  }
  #front-slideshow {
    margin-bottom: 30px !important;
  }
  #front h1,
#front h2 {
    text-shadow: unset;
    padding: 0 30px;
    color: #000;
  }
  #front .show-mobile img {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 100px;
  }
  #front .section-inner * {
    color: #000000;
  }
  #front h1,
#front h2 {
    font-size: 20pt;
    line-height: 28pt;
    font-weight: lighter;
  }
  #portfolio {
    display: block;
  }
  #portfolio article {
    margin-bottom: 30px;
  }
  #portfolio article {
    width: 100%;
  }
  section#gallery .section-inner {
    margin-bottom: 60px;
  }
  #portfolio article a,
section#gallery .section-inner img,
#analog .section img {
    width: calc(100% - 60px);
    margin: 0 auto;
    display: block;
  }
  #portfolio article a img {
    width: 100%;
  }
  section#gallery {
    margin-top: 60px;
  }
  #journal .journal-inner .thumbnail,
#gallery-nav .gallery-nav-inner .thumbnail {
    padding: 0 30px;
  }
  .section#contact h2 {
    max-width: 80%;
    margin: 0 auto;
  }
  #analog .section {
    display: block !important;
  }
  #analog .section.parallax .section-inner,
#analog .section.analog-text {
    padding: 0 30px;
    width: calc(100vw - 60px);
  }
  #analog .section.double-pictures .col:not(:last-child) {
    padding-bottom: 30px;
  }
}

/* BASE / UTILITAIRES */
.spacer {
  height: 60px;
  border: 0;
  clear: both;
}

/* ACCUEIL / CYCLE2 */
#front-slideshow {
  margin: 0;
  padding: 0;
}
#front-slideshow li {
  list-style: none;
}
#front-slideshow,
#front-slideshow .slide {
  height: 100%;
  width: 100%;
  overflow: hidden;
}
#front-slideshow .slide {
  cursor: e-resize;
}
#front-slideshow .slide img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
#front-slideshow .slide-caption {
  position: absolute;
  z-index: 9999;
  padding: 30px;
  box-sizing: border-box;
  left: 0;
  bottom: 0;
}

/* GALERIES */
#journal,
#gallery-nav {
  display: block;
}
section#gallery {
  display: block !important;
}
section#gallery .section-inner {
  width: 100vw;
}

/* SECTIONS */
.section-title {
  text-align: center;
  width: 100%;
  padding: 30px 0;
}

/* JOURNAL */
#journal .journal-button {
  text-align: center;
  width: 100%;
  padding-top: 60px;
}

/* SECTIONS */
.section-title h2,
.section-title h3,
#about h1 {
  font-family: "Freight Big", Times, serif;
  font-size: 22pt;
  font-weight: lighter;
}

/* BASE / UTILITAIRES */
.button {
  border: 1px solid #ddd;
  padding: 8px 36px 8px 14px;
  border-radius: 25px;
  display: inline-block;
  width: auto;
  color: #000;
  text-decoration: none;
  font-size: 1rem;
  background-image: url("img/icon-arrow-right.svg");
  background-size: 14px auto;
  background-position: center right 12px;
  background-repeat: no-repeat;
  transition: color .6s ease-in-out, background-color .6s ease-in-out;
}
.button:hover {
  color: #fff;
  background-color: #666;
}

/* GALERIES */
#gallery-nav .gallery-nav-inner .thumbnail a,
#journal .journal-inner .thumbnail a {
  color: #000;
  text-decoration: none;
}
#gallery-nav .gallery-nav-inner .thumbnail .thumbnail-inner,
#journal .journal-inner .thumbnail .thumbnail-inner {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  margin-bottom: 10px;
}
#gallery-nav .gallery-nav-inner .thumbnail .thumbnail-inner img,
#journal .journal-inner .thumbnail .thumbnail-inner img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: transform .8s ease-in-out;
}
#gallery-nav .gallery-nav-inner .thumbnail .thumbnail-inner:hover img,
#journal .journal-inner .thumbnail:hover .thumbnail-inner:hover img {
  transform: scale(1.05);
}

/* PORTFOLIO */
#portfolio {
  padding-top: 60px;
}
#portfolio article {
  float: left;
}
#portfolio article a {
  display: block;
  color: #000;
  text-decoration: none;
}
#portfolio article a figure {
  overflow: hidden;
}
#portfolio article a figure img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .6s ease-in-out;
}
#portfolio article a:hover figure img {
  transform: scale(1.05);
}
#portfolio article a figurecaption h3 {
  font-family: "Freight Big", Times, serif;
  font-size: 18pt;
  font-weight: lighter;
  margin-top: 10px;
  margin-bottom: 0;
}
#portfolio article a figurecaption h4 {
  font-weight: lighter;
  color: #888;
  margin-top: 5px;
  margin-bottom: 0;
  transition: color .6s ease-in-out;
}
#portfolio article a:hover figurecaption h4 {
  color: #000;
}
#portfolio article a figurecaption h3,
#portfolio article a figurecaption h4 {
  text-align: center;
}

/* ARGENTIQUE */
#analog {
  margin-top: 80px;
}
.analog-text h1 {
  font-family: "Freight Big", Times, serif;
  font-size: 22pt;
  font-weight: lighter;
  text-align: center;
}

/* PORTFOLIO */
#about,
#album,
#portfolio {
  margin-top: 40px;
}
