/*
Theme Name: flo
Theme URI: http://localhost:8888/flo/
Author: Louise OBÉ
Author URI: https://louiseobe.com
Description: Thème pour un artiste
Version: 2.0
Tags: louiseobe
*/
@font-face {
  font-family: 'DINCond';
  src: url('fonts/DINCond-Regular.woff2') format('woff2'), url('fonts/DINCond-Regular.woff') format('woff'), url('fonts/DINCond-Regular.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gilda';
  src: url('fonts/GildaDisplay-Regular.woff2') format('woff2'), url('fonts/DINCond-Regular.woff') format('woff'), url('fonts/DINCond-Regular.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
html {
  overflow-x: hidden ;
}
body,
html,
p,
li,
a {
  color: #C45447;
}
h1 {
  text-transform: uppercase;
  font-family: 'DINCond';
  letter-spacing: 0.2em;
  font-size: 48px;
}
h2 {
  text-transform: uppercase;
  font-family: 'DINCond';
  font-size: 28px;
  letter-spacing: 0.2em;
}
h3 {
  text-transform: uppercase;
  font-family: 'Nunito', sans-serif;
  font-weight: 100;
  letter-spacing: 0.1em;
}
p {
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  letter-spacing: 0.05em;
  color: #595959;
  line-height: 27px;
}
.mobile {
  display: none !important;
}
.video-responsive {
  width: 80vw;
  max-width: 100%;
  margin: 0 auto;
  position: relative;
  padding-bottom: 56%;
  height: 0;
  margin-bottom: 30px;
}
.video-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
body.postid-100 .main-section-project .section-container {
  flex-direction: row;
}
.section-container {
  position: relative;
  max-width: 1250px;
  padding: 50px;
  display: flex;
  align-items: center;
  flex-direction: column;
}
a.button {
  text-transform: uppercase;
  background-color: #C45447;
  border: 1px solid #C45447;
  padding: 10px 45px;
  transition: all 0.2s ease-in-out;
  text-decoration: none;
  color: white;
  display: inline-block;
  font-weight: bold;
  border-radius: 30px;
  font-size: 10px;
  letter-spacing: 1px;
  margin-top: 30px;
}
a.button:hover {
  background-color: white;
  color: #C45447;
  border: 1px solid #C45447;
}
header {
  z-index: 2;
}
header .header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
header .header-container .typo {
  width: 150px;
}
header .header-container h1 {
  font-size: 25px;
  margin: 0;
}
header .header-container h2 {
  font-size: 18px;
}
header .header-container nav ul {
  display: flex;
  align-items: center;
}
header .header-container nav li {
  list-style: none;
  text-align: center;
  margin: 0 20px;
}
header .header-container a {
  color: #C45447;
  font-size: 12px;
  letter-spacing: 0em;
  text-transform: uppercase;
  text-decoration: none;
}
header .header-container a:hover {
  color: #C45447;
}
.projet-bloc:nth-child(odd),
.beige {
  background: url(img/texture.jpg);
}
.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}
.gallery .gallery-item {
  float: none;
}
.gallery .gallery-item .gallery-icon {
  width: 100%;
  height: 100%;
}
.gallery .gallery-item .gallery-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.gallery.gallery-columns-2 .gallery-item {
  width: calc(49% - 10px);
}
.gallery.gallery-columns-3 .gallery-item {
  width: calc(33% - 10px);
}
.title-banner {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  padding: 100px 20px;
  color: white;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.title-banner::before {
  content: '';
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  background-color: #00000063;
}
.title-banner div {
  position: relative;
}
.title-banner h1,
.title-banner h3 {
  color: white;
  text-align: center;
}
.projet-bloc h2 {
  margin-bottom: 30px;
}
div.bloc-contenu-vimeo {
  display: flex;
  gap: 30px;
  max-width: 90vw;
}
div.bloc-contenu-vimeo iframe {
  max-width: 100%;
  max-height: fit-content;
}
div.intro {
  width: 75%;
}
div.intro p {
  text-align: justify;
}
section#contact {
  position: relative;
  display: block;
  padding: 30px 0;
  background-color: white;
  border-top: 1px solid #C45447;
}
section#contact .section-container {
  flex-direction: row;
  justify-content: space-between;
  margin: 0 auto;
}
section#contact .section-container h2 {
  font-size: 40px;
}
section#contact .section-container div.socials {
  display: flex;
  gap: 30px;
}
section#contact .section-container div.socials img {
  width: 30px;
  transition: all 0.3s ease-out;
}
section#contact .section-container div.socials img:hover {
  transform: rotate(10deg);
}
section#contact p.bottom {
  width: 100vw;
  text-align: center;
  max-width: none;
  padding: 2px;
  font-size: 10px;
}
.arrow {
  height: 40px;
  position: fixed;
  right: 50px;
  bottom: 50px;
}
section.video .arrow {
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}
section.works .section-container {
  max-width: 1500px;
}
section.works .section-container h2,
section.works .section-container h1 {
  margin-bottom: 40px;
}
section.works .section-container .grid-projets {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
}
section.works .section-container .grid-projets article {
  width: 30%;
  aspect-ratio: 16/9;
}
section.works .section-container .grid-projets article a {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}
section.works .section-container .grid-projets article a:hover .hover {
  opacity: 1;
}
section.works .section-container .grid-projets article a:hover .hover h3 {
  transform: translateY(0);
}
section.works .section-container .grid-projets article a:hover img {
  transform: scale(0.95);
}
section.works .section-container .grid-projets article a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s ease-out;
}
section.works .section-container .grid-projets article a .hover {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0;
  background-color: #ffffffbf;
  border: 1px solid;
  transition: all 0.3s ease-out;
}
section.works .section-container .grid-projets article a .hover h3 {
  font-weight: bold;
  transform: translateY(-20px);
  transition: all 0.2s ease-out;
}
section.about .section-container .content {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
section.about .section-container .content img {
  width: 55%;
}
section.about .section-container .content div {
  width: 45%;
}
section.about .section-container .content div p {
  margin-bottom: 16px;
  line-height: 24px;
}
.mejs-controls,
.mejs-layers {
  display: none !important;
}
section.projet-navigation div.section-container {
  justify-content: space-around;
  width: 100%;
  flex-direction: row;
}
section.projet-navigation div.section-container a.nav-projet {
  width: 300px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
section.projet-navigation div.section-container a.nav-projet span {
  text-transform: uppercase;
}
section.projet-navigation div.section-container a.nav-projet div {
  display: flex;
  justify-content: space-between;
}
section.projet-navigation div.section-container a.nav-projet div.img {
  width: 100%;
  height: 100px;
  transition: all 0.3s ease-out;
  margin-top: 10px;
}
section.projet-navigation div.section-container a.nav-projet div.img:hover {
  transform: scale(1.05);
}
section.projet-navigation div.section-container a.nav-projet div.img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
section.projet-navigation div.section-container a.nav-projet div.img img.img-top {
  object-position: top;
}
section.projet-navigation div.section-container a.nav-projet .arrow-left {
  width: auto;
  height: 10px;
  transform: rotate(180deg);
}
section.projet-navigation div.section-container a.nav-projet .arrow-next {
  width: auto;
  height: 10px;
}
video#bo {
  max-height: 80vh;
}
.acf-videos-wrapper {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.acf-videos-wrapper.col-1 video {
  width: 100%;
}
.acf-videos-wrapper video {
  width: calc(50% - 5px);
}
.acf-videos-wrapper video:nth-child(3) {
  width: 100%;
}
body.postid-192 div.bloc-contenu-vimeo iframe {
  max-height: initial;
}
@media screen and (max-width: 1070px) {
  div.bloc-contenu-vimeo {
    flex-direction: column;
  }
}
@media screen and (max-width: 900px) {
  h1 {
    font-size: 30px;
  }
  .section-container {
    padding: 30px 15px;
  }
  .ham {
    top: 25px;
    right: 25px;
  }
  section.video div {
    width: 100vw !important;
    padding-top: 56% !important;
  }
  section.works .section-container .grid-projets article {
    width: 49%;
  }
  section.works .section-container .grid-projets article a h3 {
    font-size: 14px;
  }
  .mobile {
    display: block !important;
  }
  .desktop {
    display: none !important;
  }
  body.postid-100 .main-section-project .section-container {
    flex-direction: column;
  }
  body.postid-100 .video-responsive {
    padding-bottom: 0;
    width: 100%;
    height: 100vh;
  }
}
@media screen and (max-width: 800px) {
  section.about .section-container .content {
    flex-direction: column;
  }
  section.about .section-container .content img,
  section.about .section-container .content div {
    flex: 1;
    width: 100%;
  }
}
@media screen and (max-width: 700px) {
  section.works .section-container .grid-projets article {
    width: 100%;
  }
  section.projet-navigation div.section-container a.nav-projet {
    width: 35vw;
  }
  section.projet-navigation div.section-container a.nav-projet div.img {
    height: 50px;
  }
  section.projet-navigation div.section-container a.nav-projet div {
    flex-direction: column;
    align-items: baseline;
  }
  div.intro {
    width: 90%;
  }
  div.intro p {
    text-align: left;
    font-size: 14px;
    line-height: 18px;
  }
  .projet-bloc h2.bloc-titre {
    text-align: center;
    line-height: 30px;
  }
  .gallery.gallery-columns-3 .gallery-item,
  .gallery.gallery-columns-2 .gallery-item {
    width: 100%;
  }
  .acf-videos-wrapper video {
    width: 100%;
  }
  h2,
  h1 {
    letter-spacing: 0.1em;
  }
}
