@charset "UTF-8";
@font-face {
  font-family: 'Cantarell-Regular';
  src: url("/assets/fonts/Cantarell-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal; }

nav {
  width: 100vw;
  position: fixed;
  top: 0;
  z-index: 2;
  background-color: #1e1e1e; }
  nav .menu_toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    align-items: center;
    padding: 10px; }
    nav .menu_toggle .bar1, nav .menu_toggle .bar2, nav .menu_toggle .bar3 {
      width: 25px;
      height: 3px;
      background-color: white;
      margin: 4px 0;
      transition: 0.4s; }
    nav .menu_toggle:hover .bar1, nav .menu_toggle:hover .bar2, nav .menu_toggle:hover .bar3 {
      background-color: #747474; }
  nav ul {
    padding: 0;
    margin: 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    flex-direction: row; }
    nav ul li {
      width: 100%;
      list-style-type: none;
      text-align: center; }
      nav ul li a {
        display: block;
        width: 100%;
        padding: 15px; }
      nav ul li a:hover {
        background-color: white;
        color: black; }
    nav ul li:nth-child(4), nav ul li:nth-child(5) {
      background-color: #6e6e6e; }
    nav ul li:nth-child(6) {
      background-color: #464646; }
  @media (max-width: 600px) {
    nav .menu_toggle {
      display: flex; }
    nav ul {
      flex-direction: column;
      padding: 0;
      margin: 0; }
      nav ul li a {
        padding: 15px 0; } }

section.main_container {
  height: fit-content;
  min-height: 100vh;
  padding-top: 60px; }

#presentation {
  display: flex; }
  #presentation .presentation_container {
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; }
    #presentation .presentation_container .presentation_content {
      width: 80%;
      text-align: center; }
  #presentation .rightbg {
    width: 40%;
    background: url(../images/moidessin.png);
    background-size: cover; }
  @media (max-width: 700px) {
    #presentation .presentation_container {
      width: 80%; }
    #presentation .rightbg {
      width: 20%; } }

#competences {
  display: flex;
  justify-content: space-between; }
  #competences .formation, #competences .skills {
    width: 50%;
    padding: 20px; }
  #competences .skills {
    max-width: 700px;
    margin: auto; }
    #competences .skills ul {
      padding: 0; }
  #competences .skills li {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #3f3f3f;
    padding: 10px 0; }
    #competences .skills li:last-child {
      border: none; }
    #competences .skills li .skill-list {
      width: 350px; }
      #competences .skills li .skill-list > div {
        display: flex;
        justify-content: space-between; }
  @media (max-width: 800px) {
    #competences .skills .category {
      padding: 10px 0; }
    #competences .skills li {
      flex-direction: column;
      text-align: center; }
    #competences .skills .skill-list {
      width: 90% !important;
      margin: auto; }
      #competences .skills .skill-list > div {
        flex-direction: row;
        justify-content: space-between; } }
  @media (max-width: 660px) {
    #competences {
      flex-direction: column;
      align-items: center; }
      #competences .formation, #competences .skills {
        width: 100vw;
        padding: 0; } }

#realisations {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding-bottom: 20px;
  /* Style pour chaque entreprise */ }
  @media (max-width: 800px) {
    #realisations {
      grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 500px) {
    #realisations {
      grid-template-columns: repeat(1, 1fr); } }
  #realisations .agency {
    width: 100%;
    text-align: end;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px; }
  #realisations .agency-name {
    text-align: center; }
  #realisations .image {
    width: 100%;
    max-width: 90%;
    position: relative;
    transition: transform 0.3s ease;
    /* Style pour les couvertures des projets */ }
    #realisations .image .cover {
      width: 100%;
      height: 200px;
      background-size: cover !important;
      background-position: top left !important;
      border-radius: 10px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
      cursor: pointer; }
      #realisations .image .cover#coma {
        background: url(../images/rea-comafranc.jpeg); }
      #realisations .image .cover#pullin {
        background: url(../images/rea-pullin.jpeg); }
      #realisations .image .cover#artisanart {
        background: url(../images/rea-artisanart.jpeg); }
      #realisations .image .cover#holi {
        background: url(../images/rea-holi.jpeg); }
      #realisations .image .cover#plombier {
        background: url(../images/rea-plombier.jpeg); }
      #realisations .image .cover#esth {
        background: url(../images/rea-esthatika.jpeg); }
      #realisations .image .cover#gip {
        background: url(../images/rea-gip.jpeg); }
      #realisations .image .cover#butthead {
        background: url(../images/butthead.jpeg); }
      #realisations .image .cover#eparlement {
        background: url(../images/eparlement.jpg); }
      #realisations .image .cover#geoprod {
        background: url(../images/geoprod.png); }
      #realisations .image .cover#thierry {
        background: url(../images/thierry.jpg); }
    #realisations .image:hover {
      transform: scale(1.05); }
    #realisations .image .legend {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      text-align: center;
      color: white;
      border-radius: 0 0 10px 10px;
      background-color: rgba(0, 0, 0, 0.7);
      line-height: 30px; }
  #realisations aside {
    position: fixed;
    right: 0;
    width: 500px;
    max-width: calc(100% - 30px);
    background-color: white;
    top: 0;
    z-index: 3;
    height: 100%;
    padding: 15px; }
    #realisations aside #description h3 {
      text-align: center; }
    #realisations aside #description .layer-container {
      display: flex;
      align-items: center; }
      #realisations aside #description .layer-container h4, #realisations aside #description .layer-container ul {
        padding: 0;
        margin: 0; }
      #realisations aside #description .layer-container h4 {
        width: 20%;
        flex-shrink: 0; }
    #realisations aside #description .description-tools {
      list-style-type: none;
      display: flex;
      flex-wrap: wrap; }
      #realisations aside #description .description-tools .description-tool {
        padding: 5px 10px;
        border: 1px solid gray;
        border-radius: 20px;
        margin: 5px; }
    #realisations aside #description .links {
      display: flex;
      justify-content: space-around;
      padding: 25px 0; }
    #realisations aside #description a {
      display: inline-block;
      color: #007bff;
      text-decoration: none;
      font-weight: 500;
      border-bottom: 2px solid transparent;
      transition: color 0.3s ease, border-bottom-color 0.3s ease, transform 0.2s ease; }
      #realisations aside #description a:hover {
        color: #0056b3;
        border-bottom-color: #0056b3;
        transform: translateY(-2px); }
      #realisations aside #description a:active {
        color: #003f7f;
        transform: translateY(0); }
      #realisations aside #description a:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.5); }
    #realisations aside #removeDescription {
      cursor: pointer;
      font-weight: bold;
      z-index: 1;
      position: absolute;
      left: 20px;
      top: 25px; }
      #realisations aside #removeDescription:hover {
        fill: gray !important; }

#presentation {
  /* Appliquer l'animation aux éléments */ }

@keyframes backgroundSlide {
  0% {
    background-position: -100% 0; }
  100% {
    background-position: 0 0; } }
  #presentation .xp, #presentation .spe-one, #presentation .spe-two {
    font-weight: bold;
    padding: 0 5px;
    background: linear-gradient(to right, #0c0c0c 50%, transparent 50%) no-repeat;
    background-size: 200% 100%;
    animation: backgroundSlide 1s forwards;
    color: white; }

body, html {
  height: 100%;
  font-family: 'Cantarell-Regular', sans-serif;
  font-size: 15px;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth; }

body {
  background-color: lightgray; }

h1 {
  text-transform: uppercase;
  font-size: 20px;
  text-align: center; }

h1 span {
  font-size: 25px;
  color: #505050; }

h2 {
  text-transform: uppercase;
  text-align: center;
  font-size: 18px; }

a, a:hover, a:visited {
  color: white;
  text-decoration: none; }

.main_container {
  height: 100%; }

main {
  width: 100%; }

.main_container:nth-child(1) {
  background-color: lightgray; }

#presentation {
  display: flex; }

#presentation > div:nth-child(1) {
  width: 60%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; }

.presentation_content {
  width: 80%;
  text-align: center; }

.rightbg {
  width: 40%;
  background: url(../images/moidessin.png);
  background-size: cover; }

@media (max-width: 700px) {
  #presentation > div:nth-child(1) {
    width: 80%; }
  .rightbg {
    width: 20%; } }

.container:nth-child(2) {
  background-color: gray; }

.container:nth-child(3) {
  background-color: blue; }

.points {
  display: flex;
  gap: 5px; }

.point {
  width: 15px;
  height: 15px;
  border-radius: 3px;
  background-color: white;
  display: inline-block;
  letter-spacing: 2; }

.blue {
  background-color: #1e1e1e; }

.inline {
  display: inline-block; }

#competences {
  display: flex;
  justify-content: center;
  align-items: center; }

/*  FORMATION */
.container_formation {
  padding: 20px;
  background-color: white;
  margin: 15px;
  min-height: 15%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 20px 0 20px 0;
  box-shadow: 5px 5px 10px grey; }

.container_formation header {
  display: flex;
  justify-content: space-between; }

.container_formation .name {
  font-size: 20px;
  text-transform: uppercase;
  text-align: center; }

.container_formation .place {
  text-align: right;
  font-style: italic;
  color: #323232; }

/* Contact */
.main_container:nth-child(4) {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #1e1e1e; }

form[name=contact] {
  width: 70%; }

form[name=contact] input, form[name=contact] textarea {
  width: 100%;
  padding: 20px 10px;
  margin: 10px 0;
  border: 0; }

form[name=contact] input[type="submit"] {
  background: #6e6e6e;
  color: white;
  border: 0; }

form[name=contact] input[type="submit"]:hover {
  background: white;
  color: black; }

@media (max-width: 800px) {
  form[name=contact] {
    width: 90%; }
  form[name=contact] input, form[name=contact] textarea {
    padding: 20px 0; } }

#contact_title {
  background: #6e6e6e;
  width: 50%;
  padding: 20px 10px;
  color: white;
  margin-bottom: 10px;
  text-align: center;
  text-transform: uppercase; }

.flash-notice {
  display: none;
  padding: 15px;
  margin: 10px 0;
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  border-radius: 5px;
  text-align: center; }

.flash-error {
  display: none;
  padding: 15px;
  margin: 10px 0;
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  border-radius: 5px;
  text-align: center; }
