/*
Theme Name: Hoerner Ordonneau
Author: Fred Cavender
Text Domain: hoernerordonneau
*/
/* reset */
@import url("https://fonts.googleapis.com/css2?family=Work+Sans:wght@400;500&display=swap");
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%;
  font: inherit;
  vertical-align: baseline; }

body {
  line-height: 1; }

a {
  text-decoration-skip-ink: auto; }

a[href^="tel"] {
  color: inherit;
  text-decoration: none; }

button {
  outline: 0; }

ol, ul {
  list-style: none; }

blockquote, q {
  quotes: none; }

blockquote:before, blockquote:after, q:before, q:after {
  content: '';
  content: none; }

q {
  display: inline;
  font-style: italic; }

q:before {
  content: '"';
  font-style: normal; }

q:after {
  content: '"';
  font-style: normal; }

textarea, input[type="text"], input[type="button"], input[type="submit"], input[type="reset"], input[type="search"], input[type="password"] {
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0; }

input[type="search"] {
  -webkit-appearance: textfield; }

table {
  border-collapse: collapse;
  border-spacing: 0; }

th, td {
  padding: 2px; }

big {
  font-size: 120%; }

small, sup, sub {
  font-size: 80%; }

sup {
  vertical-align: super; }

sub {
  vertical-align: sub; }

dd {
  margin-left: 20px; }

kbd, tt {
  font-family: courier;
  font-size: 12px; }

ins {
  text-decoration: underline; }

del, strike, s {
  text-decoration: line-through; }

dt {
  font-weight: 500; }

address, cite, var {
  font-style: italic; }

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block; }

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent; }

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
  word-break: normal; }

.screen-reader-text:focus {
  background-color: #f7f7f7;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  -webkit-clip-path: none;
  clip-path: none;
  color: #007acc;
  display: block;
  font-size: 14px;
  font-size: .875rem;
  font-weight: 700;
  height: auto;
  right: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000; }

.skip-link {
  left: -9999rem;
  top: 2.5rem;
  z-index: 999999999;
  text-decoration: underline; }

.skip-link:focus {
  display: block;
  left: 6px;
  top: 7px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  line-height: normal;
  padding: 15px 23px 14px;
  z-index: 100000;
  right: auto; }

.visually-hidden:not(:focus):not(:active), .form-allowed-tags:not(:focus):not(:active) {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px 1px 1px 1px);
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap; }

/* google font */
html, body {
  height: 100%; }

body {
  font-family: 'Work Sans', sans-serif;
  font-weight: 400;
  color: #000;
  line-height: 1.2;
  font-size: clamp(15px, 1.2vw, 80px);
  overflow-x: hidden; }

a, a:visited, a:active, a:focus, a:hover {
  color: #000;
  text-decoration: none; }

a:hover, a:active {
  font-style: italic; }

#wrapper {
  position: relative;
  padding: 1.8vw 2.5vw 2vw; }

/* GENERAL CONTENT */
p {
  margin: 1.2em 0; }

/* HEADER */
#header {
  display: inline-block; }

#site-title {
  font-size: clamp(36px, 3.2vw, 100px);
  margin-bottom: 1vw; }
  #site-title a:hover {
    font-style: normal; }

#menu {
  font-size: clamp(15px, 1.2vw, 80px);
  margin-bottom: 1vw; }
  #menu ul {
    display: flex;
    justify-content: space-between;
    text-transform: lowercase;
    font-weight: 500; }
    #menu ul li {
      border-top: 1px solid transparent; }
      #menu ul li a {
        display: block;
        padding: .5vw 0; }
    #menu ul li:not(.menu-item-type-taxonomy) {
      margin-right: 4%; }
    #menu ul li.current-menu-item, #menu ul li.current_page_parent, #menu ul .current-menu-parent {
      border-top: 1px solid #000; }

#menu-toggle, #menu-close {
  display: none; }

#content {
  margin-top: 1.5vw; }

/* HOME */
#home-content {
  display: grid;
  gap: 2vw;
  grid-template-columns: 67% 25%;
  justify-content: space-between;
  animation: previewIn 500ms ease;
  animation-fill-mode: forwards;
  margin-top: 1vw; }
  #home-content p:first-child {
    margin-top: 0; }
  #home-content .text1 {
    font-size: clamp(22px, 1.8vw, 150px);
    margin-bottom: 3%; }
  #home-content .text2 {
    font-size: clamp(15px, 1.2vw, 80px); }
  #home-content .contacts {
    font-size: clamp(22px, 1.8vw, 150px); }
  #home-content .book a {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: .2vw; }

.home #wrapper {
  min-height: 100vh; }

.home-slider-wrapper {
  position: relative;
  width: 100%;
  height: 100%; }
  .home-slider-wrapper h1 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 1.8vw 2.5vw;
    font-size: clamp(36px, 3.2vw, 100px);
    color: #FFF;
    pointer-events: none; }
  .home-slider-wrapper .home-gradient {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 50%;
    left: 0;
    display: block;
    background: -webkit-linear-gradient(#002b40 0%, rgba(0, 43, 64, 0) 100%);
    background: -o-linear-gradient(#002b40 0%, rgba(0, 43, 64, 0) 100%);
    background: linear-gradient(#002b40 0%, rgba(0, 43, 64, 0) 100%);
    mix-blend-mode: multiply;
    pointer-events: none; }
  .home-slider-wrapper .slide img {
    cursor: pointer; }

.home-slider {
  position: absolute;
  inset: 0;
  height: 100%; }
  .home-slider .slide {
    position: relative;
    width: 100%;
    height: 100vh; }
    .home-slider .slide img {
      position: absolute;
      inset: 0;
      object-fit: cover;
      object-position: center;
      width: 100%;
      height: 100vh; }
    .home-slider .slide h3 {
      position: absolute;
      right: 2.5vw;
      bottom: 2vw;
      color: #FFF;
      font-size: clamp(15px, 1.2vw, 80px);
      font-weight: 500; }
  .home-slider .slick-dots {
    position: absolute;
    left: 2.5vw;
    bottom: 2vw;
    display: flex;
    justify-content: flex-start;
    column-gap: .8vw; }
    .home-slider .slick-dots li button {
      position: relative;
      font-size: 0;
      background: transparent;
      outline: 0;
      height: 20px;
      width: 4vw;
      cursor: pointer;
      border: 0; }
      .home-slider .slick-dots li button:hover {
        opacity: 0.5; }
      .home-slider .slick-dots li button::after {
        content: '';
        display: block;
        position: absolute;
        height: 1px;
        left: 0;
        right: 0;
        background: #FFF;
        top: 50%;
        transform: translateY(-50%); }
    .home-slider .slick-dots li.slick-active button::after {
      height: 4px; }

/* PROJET */
.projet-preview {
  max-width: calc(100% - 30px);
  animation: previewIn 500ms ease;
  animation-fill-mode: forwards; }
  .projet-preview header {
    width: 72%;
    position: relative;
    z-index: 100;
    border-bottom: 1px solid #000; }
    .projet-preview header .entry-title {
      position: relative;
      display: block;
      padding: .5vw 0;
      font-size: clamp(24px, 2.2vw, 200px);
      cursor: pointer; }
      .projet-preview header .entry-title:hover {
        font-style: italic; }
  .projet-preview .projet-contenu-wrapper {
    display: none; }
  .projet-preview.active header {
    border: 0; }

@keyframes previewIn {
  0% {
    opacity: 0;
    transform: translateX(3vw); }
  100% {
    opacity: 1;
    transform: translateX(0); } }
#preview-image {
  display: none;
  position: absolute;
  right: 30.2%;
  width: 20vw;
  height: 12vw;
  pointer-events: none;
  background-size: cover;
  transform: translateY(0.2vw); }

.single #wrapper {
  padding-bottom: .5vw; }

.nav-projets {
  position: absolute;
  top: 2.5vw;
  right: 2.5vw; }
  .nav-projets .meta-nav {
    display: block;
    height: 3vw;
    width: 6vw;
    background: url("images/next.svg") no-repeat center center;
    margin-top: .5vw;
    background-size: contain;
    position: relative;
    cursor: pointer;
    translate: 0 0;
    transition: all 100ms ease; }
    .nav-projets .meta-nav:hover {
      translate: 0.5vw 0; }
  .nav-projets .nav-previous {
    margin-right: 2vw; }
    .nav-projets .nav-previous .meta-nav {
      rotate: 180deg; }
      .nav-projets .nav-previous .meta-nav:hover {
        translate: -0.5vw 0; }
  .nav-projets .nav-previous, .nav-projets .nav-next {
    display: inline-block; }

.projet {
  margin-top: 1.5vw; }
  .projet .entry-title {
    font-size: clamp(24px, 2.2vw, 200px);
    padding: .5vw 0 1vw; }

.projet-contenu {
  display: grid;
  grid-template-columns: 72% auto;
  grid-template-rows: 1fr auto;
  gap: 2vw 4vw; }

.projet-images {
  grid-row: 1 / 3; }
  .projet-images img {
    object-fit: cover;
    object-position: center left;
    height: calc(100vh - 20vw);
    width: 100%; }

.admin-bar .projet-images img {
  height: calc(100vh - 20vw - 32px); }

.images-slider {
  position: relative; }
  .images-slider .next-arrow {
    height: 3vw;
    width: 6vw;
    background: url("images/next.svg") no-repeat center center;
    margin-top: .5vw;
    background-size: contain;
    position: absolute;
    right: 0;
    bottom: -3.5vw;
    cursor: pointer;
    translate: 0 0;
    transition: all 100ms ease; }
    .images-slider .next-arrow:hover {
      translate: -0.5vw 0; }

#close-project {
  display: none;
  position: absolute;
  width: 4vw;
  height: 4vw;
  top: 2vw;
  right: 3vw;
  cursor: pointer;
  transition: rotate 200ms ease-in-out; }
  #close-project::before, #close-project::after {
    position: absolute;
    top: 50%;
    transform: translate(0%, -50%);
    content: '';
    display: block;
    height: 1px;
    width: 4vw;
    rotate: 45deg;
    background: #000; }
  #close-project::before {
    rotate: 45deg; }
  #close-project::after {
    rotate: 135deg; }
  #close-project:hover {
    rotate: 90deg; }

/* MEDIA QUERIES */
@media screen and (max-width: 768px) {
  html, body {
    height: 100%;
    font-weight: 500; }

  #wrapper {
    padding: 20px 15px 50px; }

  #site-title {
    margin-bottom: 20px;
    padding-right: 80px;
    font-size: 32px;
    line-height: 1em; }

  #menu {
    display: none;
    position: fixed;
    z-index: 998;
    inset: 0;
    background: #FFF;
    margin-bottom: 0;
    font-size: clamp(24px, 2.2vw, 200px); }
    #menu .menu-menu-principal-container {
      position: absolute;
      inset: 0;
      display: flex;
      flex-wrap: nowrap;
      align-items: center;
      justify-content: center;
      white-space: nowrap; }
    #menu ul {
      text-wrap: nowrap;
      white-space: nowrap;
      display: block; }
      #menu ul li {
        border-top: 0;
        text-wrap: nowrap;
        white-space: nowrap; }
        #menu ul li a {
          white-space: nowrap;
          text-wrap: nowrap;
          display: block;
          padding: 15px 0 3px;
          border-bottom: 1px solid transparent; }
      #menu ul li:not(:first-child) {
        margin-left: 0; }
      #menu ul li.menu-item-type-taxonomy {
        margin-left: 0; }
        #menu ul li.menu-item-type-taxonomy a {
          padding: 8px 0 3px; }
      #menu ul li.current-menu-item, #menu ul li.current_page_parent, #menu ul .current-menu-parent {
        border-top: 0; }
        #menu ul li.current-menu-item a, #menu ul li.current_page_parent a, #menu ul .current-menu-parent a {
          border-bottom: 1px solid #000; }

  #menu-toggle {
    display: block;
    position: fixed;
    z-index: 990;
    top: 30px;
    right: 15px;
    width: 60px;
    height: 50px;
    cursor: pointer;
    background: #FFF;
    transition: all 100ms ease; }
    #menu-toggle span {
      position: absolute;
      left: 10px;
      right: 10px;
      height: 1px;
      background: #000;
      transition: all 100ms ease; }
      #menu-toggle span.line1 {
        top: 10px; }
      #menu-toggle span.line2 {
        top: 50%;
        translate: 0 -50%; }
      #menu-toggle span.line3 {
        bottom: 10px; }

  #menu-toggle.overhome {
    background: transparent; }
    #menu-toggle.overhome span {
      background: #FFF; }

  #menu-close {
    position: fixed;
    z-index: 999;
    top: 30px;
    right: 15px;
    width: 40px;
    height: 30px;
    cursor: pointer; }
    #menu-close span {
      position: absolute;
      left: 0;
      right: 0;
      height: 1px;
      background: #000;
      top: 50%; }
      #menu-close span.line1 {
        rotate: 45deg; }
      #menu-close span.line2 {
        rotate: 135deg; }

  .home-slider-wrapper {
    position: relative;
    z-index: 980;
    height: 100%;
    width: 100%;
    overflow: hidden; }
    .home-slider-wrapper h1 {
      margin-bottom: 10px;
      padding: 20px 100px 20px 15px;
      font-size: 32px;
      line-height: 1em; }

  .home-slider {
    width: 100%;
    overflow: hidden; }
    .home-slider .slick-dots {
      column-gap: 10px;
      left: 15px !important;
      bottom: 20px !important; }
      .home-slider .slick-dots li button {
        width: 50px;
        height: 40px !important; }
    .home-slider h3 {
      display: none;
      right: 15px !important;
      left: 15px;
      bottom: 70px !important;
      font-size: clamp(17px, 1.5vw, 100px) !important; }
    .home-slider .slick-list, .home-slider .slick-track, .home-slider .slide, .home-slider img {
      height: 100%; }

  #home-content {
    grid-template-columns: 1fr;
    gap: 20px; }
    #home-content .text2 {
      font-size: clamp(17px, 1.5vw, 100px); }

  .projet-preview {
    max-width: 100%; }
    .projet-preview header {
      width: 100%; }
      .projet-preview header .entry-title {
        font-size: clamp(22px, 1.8vw, 150px);
        padding: 8px 0; }
        .projet-preview header .entry-title:hover {
          font-style: normal; }
      .projet-preview header img {
        width: 0;
        height: 0; }
    .projet-preview::after {
      width: 100%; }
    .projet-preview .projet-contenu-wrapper {
      padding-top: 5px; }

  .single #wrapper {
    margin-bottom: 30px; }

  .projet-contenu {
    grid-template-columns: 1fr;
    gap: 15px; }

  .projet-images, .admin-bar .project-images {
    overflow: hidden; }
    .projet-images img, .admin-bar .project-images img {
      height: auto !important;
      aspect-ratio: 16 / 12; }

  .images-slider .next-arrow {
    height: 30px;
    width: 80px;
    margin-top: 0;
    position: absolute;
    bottom: 15px;
    right: 15px;
    filter: invert(1); }

  .nav-projets {
    position: relative;
    top: auto;
    right: auto;
    text-align: center;
    padding-bottom: 40px; }
    .nav-projets .meta-nav {
      display: block;
      height: 30px;
      width: 80px;
      background: url("images/next.svg") no-repeat center center;
      margin-top: 20px; }
    .nav-projets .nav-previous {
      margin-right: 0;
      float: left; }
    .nav-projets .nav-next {
      float: right; }
    .nav-projets::after {
      content: '';
      display: block;
      clear: both; }

  #preview-image {
    height: 0;
    width: 0;
    display: none !important;
    visibility: hidden; }

  #close-project {
    position: relative;
    width: 50px;
    height: 50px;
    top: 0;
    right: auto;
    left: 50%;
    translate: -50% 0;
    margin-top: 30px; }
    #close-project::before, #close-project::after {
      width: 50px; } }
@media screen and (max-width: 500px) {
  .projet-preview header .entry-title {
    font-size: clamp(17px, 1.5vw, 100px); } }
