@font-face {
  font-family: 'Noisy Walk';
  src: url(polices/noisy_walk/NoisyWalk.ttf) format('truetype');
}

@font-face {
  font-family: 'Creato Display';
  src: url(polices/creato_display/CreatoDisplay-Black.otf) format('opentype');
}

@font-face {
  font-family: 'Cocogoose';
  src: url(polices/cocogoose/Cocogoose-Pro-Regular-trial.ttf) format('truetype');
}

@font-face {
  font-family: 'CocoSharp';
  src: url(polices/cocosharp/Coco-Sharp-Regular-trial.ttf) format('truetype');
}

:root {
  --primary-color: #ffffff;
    --secondary-color: #eaa845;
    --background-color: #000000;
    --text-color: #ffffff;
    --text-color-alt: #313131;
    --font-family: 'CocoSharp', 'Poppins', sans-serif;
    --font-family-alt: 'Creato Display', 'Cocogoose', sans-serif;
    --font-family-title: 'CocoSharp', 'Poppins', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  background-color: var(--background-color);
}

.menu {
  background-color: var(--background-color);
  color: #fff;
  padding: 15px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.menu .logo {
  font-size: 3em;
  font-weight: bold;
  letter-spacing: 1px;
  font-family: var(--font-family-title);
}

.menu-links {
  list-style: none;
  display: none;
  flex-direction: column;
  background-color: #000000;
  position: absolute;
  top: 80px;
  left: 0;
  width: 100%;
  transition: all 0.3s ease;
  z-index: 1;
  padding-bottom: 100vh;
}


.menu-links li {
  text-align: center;
  padding: 12px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.menu-links a {
  color: #fff;
  text-decoration: none;
  display: block;
  font-size: 2.5em;
  transition: color 0.3s ease;
  text-align: center;
}



.menu-links a:hover {
  color: var(--secondary-color);
}

.menu-toggle {
  display: block;
  font-size: 1.8em;
  cursor: pointer;
}

/* État actif du menu (quand on clique sur le burger) */
.menu.active .menu-links {
  display: flex;
}

/* Version Desktop */
@media (min-width: 1250px) {
  .menu {
    flex-direction: row;
    justify-content: flex-start;
  }

  .menu-links {
    display: flex !important;
    position: static;
    flex-direction: row;
    gap: 25px;
    background: none;
    margin-left: 50px;
    width: 44%;
    padding-bottom: 10px;
  }

  
  .menu-links a {
    color: #fff;
    text-decoration: none;
    display: block;
    font-size: 1.4em;
    transition: color 0.3s ease;
  }


  .menu-links li {
    border: none;
    padding: 0;
  }

  .menu-toggle {
    display: none;
  }
}


.container {
  display: inline-block;
  cursor: pointer;
}

.bar1, .bar2, .bar3 {
  width: 66px;
  height: 12px;
  background-color: var(--secondary-color);
  margin: 6px 0;
  transition: 0.4s;
}

.change .bar1 {
  transform: translate(0, 20px) rotate(-45deg);
}

.change .bar2 {opacity: 0;}

.change .bar3 {
  transform: translate(0, -17px) rotate(45deg);
}



* {box-sizing: border-box}

/* Container needed to position the overlay. Adjust the width as needed */
.theme {
  position: relative;
  width: 50%;
  max-width: 600px;
}

/* Make the image to responsive */
.image {
  display: block;
  width: 100%;
  height: auto;
}

/* The overlay effect - lays on top of the container and over the image */
.overlay {
  position: absolute;
  bottom: 0;
  background: rgb(0, 0, 0);
  background: rgba(0, 0, 0, 0.65); /* Black see-through */
  color: #f1f1f1;
  height: 100%;
  width: 100%;
  transition: .3s ease;
  opacity:0;
  color: var(--secondary-color);
  font-size: 35px;
  padding: 20px;
  text-align: center;
  padding-top: 140px;
}

/* When you mouse over the container, fade in the overlay title */
.theme:hover .overlay {
  opacity: 1;
}

@media (max-width: 1250px) {
  .overlay {
    opacity: 1;
    padding-top: 20%;
    font-size: 3em;
  }

  .subtitle-overlay{
    font-size: 0.4em;
    font-style: italic;
  }
  
}

.theme-section .theme {
  width: 100%;
  font-size: 1.2em;
  color: var(--primary-color);
  margin: 5px;
}

.subtitle-overlay{
  font-size: 0.5em;
  font-style: italic;
}


/***PROJECT CONTAINER***/
.project-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 90%;
  align-items: center;
  align-self: center;
}

.project-container .project img{
    height: 350px;
    background-color: #ccc;
    position: relative;
}


.theme-section{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  align-items: center;
  align-self: center;
  margin-top: 50px;
}
.portrait-section div{
  height: 600px;
  font-size: 1.2em;
  color: var(--primary-color);
  margin: 5px;
}




@media (max-width: 1250px)  {
  .theme-section .theme {
    max-width: 90%;
    font-size: 1.2em;
    color: var(--primary-color);
    margin: 5px;
  }

  a {
    display: flex;
    justify-content: center;
  }
  
}


/**FOOTER**/
footer {
  background-color: var(--background-color);
  color: var(--text-color-alt);
  font-family: var(--font-family-alt);
  text-align: center;
  padding: 20px;
  font-size: 0.7em;
}

/**NOS METIERS**/

.container-texte-visuel{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  color: var(--text-color);
  align-items: flex-start;
  justify-content: center;
  margin-top: 50px;
  
}

.container-texte-visuel .visuel-droite, .container-texte-visuel .visuel-gauche{
  max-width: 30%;
  min-width: 350px;
  margin-left: 50px;
}

.container-texte-visuel .texte-gauche, .container-texte-visuel .texte-droite{
  width: 30%;
  margin-left: 50px;
}

.container-centre{
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--text-color);
  text-align: center;
  margin-top: 50px;
}


@media (max-width: 1250px)  {
  .container-texte-visuel{
    flex-direction: column;
    align-items: center;
  }
  .container-texte-visuel .visuel-droite, .container-texte-visuel .texte-droite{
    margin-top: 20px;
  }
  
  .container-texte-visuel .texte-gauche, .container-texte-visuel .texte-droite{
  width: 80%;
  }

  .container-texte-visuel .visuel-droite, .container-texte-visuel .visuel-gauche{
  max-width: 80%;
  min-width: 350px;
  margin-left: 50px;
}

  .container-reverse{
    flex-direction: column-reverse;
    align-items: center;
  }

  .container-reverse .texte-droite{
    margin-bottom: 20px;
  }

}


/* CSS */
.btn {
  font-size: 16px;
  font-weight: 200;
  letter-spacing: 1px;
  padding: 13px 20px 13px;
  border: 1px solid var(--text-color);
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0);
  margin-top: 50px;
  border-radius: 30px;
}

.btn:hover {
  background-color: var(--secondary-color);
  color: var(--background-color);
  border: 1px solid var(--secondary-color);
}

a{
  text-decoration: none;
  color: var(--text-color);
}

.contact-section{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-color);
  text-align: center;
  margin-top: 50px;
}

.contact-info{
  margin-top: 50px;
}

.phone, .email{
  font-family: var(--font-family-alt);
}

.img-portrait{
  height: 600px;
  min-width: none;
}