/*
Theme Name: Thème O+ Urbanistes
Author: Léo Frati
Author URI: https://www.leofrati.fr
Description: Thème pour le site O+ Urbanistes.
Version: 1.0
*/

/* Global */

:root {
  --accent-color: #feee00;
  --grey-txt: #cccccc;
  --grey-bg: #f9f9f9;
  --dark-color: #231f20;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Plus Jakarta Sans";
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--grey-txt);
}

::-webkit-scrollbar-thumb {
  background: var(--dark-color);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-color);
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a {
  color: var(--dark-color);
}

h1 {
  font-size: 39px;
  font-weight: 500;
}

h2 {
  font-size: 20.25px;
}

p {
  font-size: 14px;
  font-weight: normal;
  line-height: 26px;
}

a {
  text-decoration: none;
}

li {
  list-style: none;
}

.subtitle {
  margin-bottom: 28px;
}

.underline {
  background: linear-gradient(to top, var(--accent-color) 31%, transparent 10%);
}

.focus-content {
  padding: 110px 100px 50px 50px;
}

.focus-content h1 {
  margin-bottom: 35px;
}

.path {
  display: flex;
  color: var(--grey-txt);
  text-transform: uppercase;
  margin-bottom: 5px;
}

.path img {
  margin-right: 8px;
}

.radius {
  border-radius: 6px;
}

canvas {
  width: 100%;
  height: 100%;
  position: absolute;
}

/* Navigation */

.wrapper {
  display: flex;
  position: relative;
}

.wrapper .sidebar {
  width: 310px;
  height: 100%;
  border-right: solid 1px var(--grey-bg);
  padding: 30px 0px;
  position: fixed;
}

.logo-container {
  width: 100%;
  display: flex;
  justify-content: center;
}

.logo-container img {
  outline: none;
  transform: translateZ(0);
}

.sidebar img {
  width: 150px;
  height: auto;
}

.nav-items {
  height: 70%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wrapper .sidebar ul {
  display: flex;
  width: 50%;
  justify-content: center;
  flex-direction: column;
}

.wrapper .sidebar ul li {
  padding: 15px;
  list-style: none;
}

.wrapper .sidebar ul li a {
  color: var(--dark-color);
  text-decoration: none;
  display: block;
  font-size: 15px;
}

.wrapper .sidebar ul li a .fas {
  width: 25px;
}

.wrapper .sidebar ul li a:hover {
  font-weight: bold;
}

.wrapper .sidebar .social-media {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
}

.mentions {
  position: absolute;
  bottom: 20px;
  left: 31%;
}

.mentions a {
  text-decoration: none;
  font-size: 14px;
  color: var(--grey-txt);
}

.mentions a:hover {
  text-decoration: underline;
}

.wrapper .sidebar .social-media a {
  display: block;
  width: 40px;
  height: 40px;
  line-height: 45px;
  text-align: center;
  margin: 0 5px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.wrapper .main-content {
  width: 100%;
  margin-left: 310px;
}

nav i {
  color: var(--grey-txt);
  font-size: 16.5px;
  transition: all 0.3s;
}

nav i:hover {
  color: var(--dark-color);
  transition: all 0.3s;
}

.sub-menu {
  position: absolute;
  z-index: 4000000;
  background-color: var(--grey-bg);
  border-radius: 6px;
  width: 320px !important;
  visibility: hidden;
}

.sub-menu a {
  font-weight: lighter !important;
}

.sub-menu a:hover {
  font-weight: 500 !important;
}

#menu-item-593:hover .sub-menu {
  visibility: visible;
}

/* Navigation Mobile */

.barToggle {
  height: 1px;
  background-color: black;
  width: 35px;
  margin: 7px 0px 0px 0px;
  transition: all 0.2s;
  transform-origin: 0% 50%;
  cursor: pointer;
  position: inherit;
  z-index: 30000;
}

#barr {
  position: fixed;
  right: 50px;
  top: 50px;
  z-index: 50000;
}

#inputNav.open #top-nav {
  transform: rotate(45deg) translate(0, -10px);
}

#inputNav.open #bottom-nav {
  transform: rotate(-45deg) translate(0, +10px);
}

#inputNav.open #middle-nav {
  display: none;
}

.logo {
  z-index: -10;
}

.nav-ul {
  position: fixed;
  z-index: 50;
  display: flex;
  flex-direction: column;
  justify-content: center;

  right: -100%;
  background: url("./images/nav-bg.png");
  height: 100vh;
  width: 100%;
  transition: all 0.3s;
  text-align: center;
  background-size: cover;
}

#inputNav.open #menu-nav {
  position: fixed;
  right: 0px !important;
  transition: all 0.3s;
  z-index: 5000;
}

.nav-ul ul {
  list-style: none;
  height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  text-align: center;
}

.nav-ul ul li {
  color: black;
  width: 100%;
  padding: 15px 0px 15px 15px;
}

.nav-ul ul li a {
  text-decoration: none;
  color: black;
  font-weight: bold;
  text-transform: uppercase;
}

.current_page_item a {
  font-weight: bold;
}

.mentions-social {
  display: flex;
  position: absolute;
  bottom: 37px;
  align-items: flex-end;
  width: 85%;
  justify-content: space-between;
}

.social a:first-child {
  margin-right: 10px;
}

.nav-img {
  position: absolute;
  top: 15px;
  left: 30px;
  width: 200px;
  height: auto;
}

/* .mentions-social a i:first-child {
	margin-right: 15px;
} */

/* Accueil */

.banner {
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: url("./images/78247.png");
  background-size: cover;
}

.title-container {
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.site-title {
  font-size: 75px;
  font-weight: 900;
  animation: tracking-in-expand 0.7s cubic-bezier(0.215, 0.61, 0.355, 1) both;
  margin-bottom: 15px;
}

.title-container h2 {
  font-weight: 500;
  animation: tracking-in-expand-fwd-bottom 0.8s
    cubic-bezier(0.215, 0.61, 0.355, 1) both;
}

.banner-pic .pictos {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  justify-content: center;
}

.pictos img {
  width: 50px;
  height: auto;
  margin: 0px 50px 0px 50px;
  transform: translateZ(0);
  object-fit: contain;
}

.picto {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 165px;
}

.picto p {
  margin: 10px 0px 50px 0px;
  width: 60%;
  line-height: 18px;
}

.arrow {
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
  animation: float 2s ease-in-out infinite;
}

.home-desc {
  padding: 165px 35px;
  background-color: var(--grey-bg);
}

.home-desc-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.txt-home-content {
  width: 40%;
}

.home-desc-content img {
  width: 630px;
  height: auto;
}

.home-equipe {
  margin-top: 70px;
}

.home-equipe img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.home-actu {
  margin-top: 70px;
}

.home-actu .actuBtn button {
  height: 40px;
  width: 145px;
  border: none;
  outline: none;
  cursor: pointer;
  background-color: var(--dark-color);
  color: white;
}

.actu-container {
  display: flex;
}

.btnActu {
  width: 100%;
  display: flex;
  justify-content: center;
}

/* Projets */

.categories {
  margin-top: 40px;
}

.card {
  width: 100%;
  height: 200px;
  position: relative;
  background: black;
  margin-bottom: 20px;
  transition: 0.5s ease;
}

.image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 10%;
  border-radius: 6px;
}

.overlay {
  position: absolute;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-direction: column;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  transition: 0.5s ease;
}

.card:hover .overlay {
  opacity: 1;
}

.card:hover .title-overlay,
.card:hover .text-overlay,
.card:hover .btn-overlay button {
  color: white;
  transition: 0.5s ease;
  opacity: 1 !important;
}

.card:hover .overlay {
  transition: 0.5s ease;
  background-color: #000000c4;
}

.title-overlay {
  color: var(--dark-color);
  font-size: 15px;
  text-align: center;
  width: 90%;
  opacity: 1 !important;
  transition: 0.5s ease;
}

.text-overlay {
  color: white;
  text-align: center;
  width: 90%;
  font-size: 12px;
  line-height: 20px;
  opacity: 0;
}

.btn-overlay button {
  padding: 5px 40px;
  color: white;
  background-color: transparent;
  border: solid 1px white;
  transition: all 0.3s;
  cursor: pointer;
  opacity: 0;
}

.btn-overlay button:hover {
  background-color: white;
  color: black !important;
  transition: all 0.3s;
}

/* Categories */

.desc-cat {
  margin-bottom: 15px;
	display:flex;
	flex-wrap:wrap;
	justify-content:space-between;
}

.desc-cat p{
	width:500px;
	margin-bottom:15px;
}



.projets {
  display: flex;
  flex-wrap: wrap;
}

.projet {
  width: 220px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
  margin-right: 40px;
}

.espacespub {
  display: none;
}

.projet-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.projet-thumbnail {
  word-wrap: 100%;
}

.projet-thumbnail img {
  width: 100%;
  height: auto;
}

.projet-divider {
  height: 1px;
  width: 40px;
  background-color: black;
  margin: 10px 0px 10px 0px;
}

.projet h5 {
  font-size: 15px;
}

.projet h6 {
  font-size: 12px;
  font-weight: 300;
}

.projet p {
  font-size: 12px;
  font-weight: 300;
  opacity: 0.5;
}

.drop-container {
  display: flex;
  justify-content: flex-end;
}

.dropdown {
  position: relative;
  width: 100%;
  background-color: var(--grey-bg);
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  font-size: 14px;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  width: 100%;
  padding: 12px 16px;
  z-index: 9000;
  top: 100%;
  left: 0;
}

.dropdown-content a {
  margin-bottom: 10px;
}

.dropdown-content a:hover {
  font-weight: bold;
}

.dropdown-content a:last-child {
  margin-bottom: 0px;
}

.dropdown:hover .dropdown-content {
  display: flex;
  flex-direction: column;
}

.hide {
  display: none;
}

.mix {
  display: none;
}

.filters-container {
  text-align: left !important;
}

.filters-container button {
  background: var(--grey-bg);
  border: solid 1px var(--grey-bg);
  color: var(--grey-txt);
  padding: 0.35em 1em;
  border-radius: 50px;
  cursor: pointer;
  min-width: 90px;
  margin-right: 10px;
  transition: all 0.3s;
}

.filters-container button:hover {
  border: solid 1px var(--grey-txt);
  transition: all 0.3s;
}

.filters-container button.active {
  background-color: var(--dark-color);
  color: white;
  transition: all 0.3s;
}

.filter {
  margin-bottom: 20px;
}

/* Leaflet */

#mapid {
  height: 450px;
  margin-bottom: 30px;
	width: 500px;
	min-width:375px;
}

/* Actualité */

.actuC {
  background-color: var(--grey-bg);
}

.actuContent {
  margin-bottom: 20px;
}

.post {
  width: 100%;
  padding: 15px;
  display: flex;
  background-color: white;
  box-shadow: rgba(78, 78, 126, 0.01) 0px 7px 29px 0px;
  align-items: center;
  margin-bottom: 20px;
  position: relative;
}

.post img {
  width: 20%;
  height: auto;
  object-fit: contain;
  margin-right: 15px;
  border-radius: 10px;
}

.datePost {
  position: absolute;
  right: 10px;
  bottom: 10px;
  font-weight: 600;
}

/* Agence */

.pageAgence h2 {
  margin: 40px 0px;
}

.personnes {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.personne {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
}

.personne img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 100px;
  margin-bottom: 20px;
}

.posture {
  width: 330px;
  margin-bottom: 40px;
}

.postures {
  justify-content: center;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.posture h6 {
  text-align: center;
  font-size: 14px;
  margin: 20px 0px;
}

.posture img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  background-color: var(--grey-bg);
}

.desc {
	margin-bottom:10px;
}

.bio{
	text-align:center;
	font-weight:200;
	text-transform:italic;
	width:300px;
}

/* Contact */

.form-coord {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 50px;
}

.coord {
  background-color: var(--grey-bg);
  padding: 15px;
  width: 350px;
}

.wpcf7-submit {
  height: 40px;
  width: 145px;
  border: none;
  outline: none;
  cursor: pointer;
  float: right;
  background-color: var(--dark-color);
  color: white;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  border: none;
  border-bottom: 1px solid black;
  width: 90%;
  font-size: 14px;
  color: var(--dark-txt);
  outline: none;
  padding: 10px 10px 10px 0px;
}

textarea {
  height: 120px;
  margin-bottom: 15px;
  width: 100%;
}

.obj input[type="text"] {
  width: 100%;
}

::placeholder {
  color: var(--grey-txt);
  opacity: 1;
}

.nom-prenom,
.email-phone {
  display: flex;
  margin-bottom: 15px;
  width: 100%;
  justify-content: space-between;
  flex-wrap: wrap;
}

.form-coord h4,
.form-coord h5 {
  font-size: 14px !important;
}

.form-coord h4 {
  font-weight: 500;
  margin: 15px 0px 15px 0px;
}

.form-coord h5 {
  font-weight: 300;
}

/* 404 */

.lost {
  height: 40px;
  width: 145px;
  border: none;
  outline: none;
  cursor: pointer;
  margin-top: 25px;
  background-color: var(--dark-color);
  color: white;
}

/* Mentions Légales */

.mentionsL h3 {
  margin: 15px 0px 15px 0px;
}

/* KeyFrames */

@keyframes tracking-in-expand {
  0% {
    letter-spacing: -0.5em;
    opacity: 0;
  }
  40% {
    opacity: 0.6;
  }
  100% {
    opacity: 1;
  }
}

@keyframes tracking-in-expand-fwd-bottom {
  0% {
    letter-spacing: -0.5em;
    transform: translateZ(-300px) translateY(200px);
    opacity: 0;
  }
  40% {
    opacity: 0.6;
  }
  100% {
    transform: translateZ(0) translateY(0);
    opacity: 1;
  }
}

@keyframes float {
  0% {
    transform: translatey(0px);
  }
  50% {
    transform: translatey(-10px);
  }
  100% {
    transform: translatey(0px);
  }
}

/* Responsive */

@media screen and (max-width: 911px) {
  canvas {
    display: none;
  }
  .sidebar {
    display: none;
  }

  .main-content {
    margin: 0 !important;
  }

  .toggle-nav {
    display: block;
  }
  .txt-home-content {
    width: 100%;
  }
  .home-desc img {
    margin-left: 0;
    margin-top: 15px;
    width: 100%;
  }
  .focus-content {
    padding: 110px 20px 20px 20px;
  }
  .main-content {
    text-align: center;
  }
  .site-title {
    font-size: 60px;
  }
  /* body {
    display: flex;
  } */
  .mentionsL {
    text-align: left;
  }
  .overlay {
    opacity: 1;
    background-color: #000000c4;
  }
  .card .title-overlay,
  .card .text-overlay,
  .card .btn-overlay button {
    color: white;
    transition: 0.5s ease;
    opacity: 1 !important;
  }
  .card {
    height: 300px;
  }
  .post img {
    margin-top: 0px;
    width: 100%;
    margin-bottom: 20px;
  }
  .post {
    padding: 15px 15px 40px 15px;
  }
}

@media screen and (max-width: 1440px) {
  .txt-home-content {
    width: 100%;
    margin-bottom: 15px;
  }
}

@media screen and (max-width: 770px) {
  .focus-content h1 {
    font-size: 45px;
    text-align: left;
  }
  .articles {
    justify-content: center;
  }
  .article {
    margin-right: 0;
  }
  .form-coord {
    justify-content: center;
  }
  .form {
    width: 100%;
    margin-bottom: 30px;
  }
  .projet {
    margin-right: 0;
    width: 100%;
  }
  .projet h6 {
    font-size: 17px;
  }
  .projet h5 {
    font-size: 16px;
  }
  .projets {
    justify-content: center;
  }
  .picto img {
    margin: 0px 30px 0px 30px;
  }
  .projet-thumbnail img {
    width: 80%;
  }
  .post {
    flex-wrap: wrap;
  }
  .fTopo {
    display: none;
  }
}

@media screen and (min-width: 911px) {
  .nav-list-mobile {
    display: none;
  }
}

/* @media screen and (min-width: 2560px) {
  .txt-home-content {
    width: 70%;
  }
  h1 {
    font-size: 52px;
    font-weight: 500;
  }

  h2 {
    font-size: 27px;
  }

  p {
    font-size: 18px;
    font-weight: normal;
    line-height: 35px;
  }
  li {
    list-style: none;
  }
  .wrapper .sidebar ul li a {
    font-size: 18px;
  }
  .site-title {
    font-size: 100px;
  }
  .dataFilters li button,
  .dropdown {
    font-size: 18px !important;
  }

  .form-coord {
    width: 60%;
  }

  .text-overlay {
    font-size: 15px;
  }
} */
