/* GT Flex */
@font-face {
  font-family: 'gtfr';
  src: url("../assets/fonts/mateifont/GT-Flexa-Regular-Trial.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'gtfri';
  src: url("../assets/fonts/mateifont/GT-Flexa-Regular-Italic-Trial.woff2") format("woff2");
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: 'gtfxebo';
  src: url("../assets/fonts/mateifont/GT-Flexa-X-Compressed-Bold-Trial.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'gtfxebl';
  src: url("../assets/fonts/mateifont/GT-Flexa-X-Compressed-Black-Trial.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}

/* Bluunext */
/* RESET */
* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

html {
  height: 100%;
  font-size: 18px;
}

/* COLORS */
/* DEVICES */
/* FIRST SLIDESHOW */
@-webkit-keyframes slideshow1 {
  0% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  100% {
    -webkit-transform: translateX(-1437px);
            transform: translateX(-1437px);
  }
}
@keyframes slideshow1 {
  0% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  100% {
    -webkit-transform: translateX(-1437px);
            transform: translateX(-1437px);
  }
}

/* SECOND SLIDESHOW */
@-webkit-keyframes slideshow2 {
  0% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  100% {
    -webkit-transform: translateX(1041px);
            transform: translateX(1041px);
  }
}
@keyframes slideshow2 {
  0% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  100% {
    -webkit-transform: translateX(1041px);
            transform: translateX(1041px);
  }
}

/* MOBILE */
@-webkit-keyframes slideshow1-mobile {
  0% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  100% {
    -webkit-transform: translateX(-1023px);
            transform: translateX(-1023px);
  }
}
@keyframes slideshow1-mobile {
  0% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  100% {
    -webkit-transform: translateX(-1023px);
            transform: translateX(-1023px);
  }
}

@-webkit-keyframes slideshow2-mobile {
  0% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  100% {
    -webkit-transform: translateX(725px);
            transform: translateX(725px);
  }
}

@keyframes slideshow2-mobile {
  0% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  100% {
    -webkit-transform: translateX(725px);
            transform: translateX(725px);
  }
}

/* MAIN */
body {
  height: 100vh;
  background-color: #f0e8e2;
  padding: 2.78rem;
}

@media screen and (max-width: 200000px) {
  body {
    min-height: 100vh;
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
    padding: .8rem;
  }
}

.wrapper {
  border: 7px solid #ba4b2f;
  max-width: 1820px;
  min-height: 890px;
  height: 100%;
  overflow: hidden;
  margin: 0 auto;
  margin-bottom: .78rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

@media screen and (max-width: 20000px) {
  .wrapper {
    margin-bottom: 0;
  }
}

@media screen and (min-height: 990px) {
  .wrapper {
    margin-bottom: 0;
  }
}

.wrapper .header .primary-slideshow, .wrapper .header .secondary-slideshow {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.wrapper .header .primary-slideshow .name, .wrapper .header .primary-slideshow .job, .wrapper .header .secondary-slideshow .name, .wrapper .header .secondary-slideshow .job {
  white-space: nowrap;
  color: #ba4b2f;
}



.texte{margin-top: 10px;} 
.texte2 {
  display: inline-block;
  transform: translateY(-10px);
  color: #ba4b2f;
  font-weight: bold;
}  



.copyright{
  color: #ba4b2f;
  font: 0.7rem "poppins-regular", sans-serif;
}
.js-copy{font: 0.7rem "poppins-regular", sans-serif;
  color: #ffffff;
  background-color: #ba4b2f;
  }
input{
  padding-left: 2px ;
  padding-right: 2px;
}
.wrapper .header .primary-slideshow {
  margin: -.65rem 0 -.25rem 0;
  -webkit-animation: slideshow1 30s infinite linear;
          animation: slideshow1 30s infinite linear;
}

@media screen and (max-width: 20000px) {
  .wrapper .header .primary-slideshow {
    -webkit-animation: slideshow1-mobile 30s infinite linear;
            animation: slideshow1-mobile 30s infinite linear;
  }
}

.wrapper .header .primary-slideshow .name {
  font: 8.89rem "gtfxebl", sans-serif;
  margin-right: 1.83rem;
}

@media screen and (max-width: 20000px) {
  .wrapper .header .primary-slideshow .name {
    font-size: 6.2rem;
  }
}

.wrapper .header .primary-slideshow .name:nth-child(odd) {
  -webkit-text-stroke: 2px #ba4b2f;
  -webkit-text-fill-color: transparent;
}

.wrapper .header .secondary-slideshow {
  border-bottom: 7px solid #ba4b2f;
  border-top: 7px solid #ba4b2f;
  padding: .38rem 0;
  float: right;
  -webkit-animation: slideshow2 25s infinite linear;
          animation: slideshow2 25s infinite linear;
}

@media screen and (max-width: 20000px) {
  .wrapper .header .secondary-slideshow {
    -webkit-animation: slideshow2-mobile 25s infinite linear;
            animation: slideshow2-mobile 25s infinite linear;
  }
}

.wrapper .header .secondary-slideshow .job {
  font: 2.61rem "gtfxebo", sans-serif;
  margin-right: 0.69rem;
}

@media screen and (max-width: 20000px) {
  .wrapper .header .secondary-slideshow .job {
    font-size: 1.8rem;
  }
}

.wrapper .header .secondary-slideshow .job:nth-child(even) {
  -webkit-text-stroke: 1px #ba4b2f;
  -webkit-text-fill-color: transparent;
}

.wrapper .content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: space-evenly;
      -ms-flex-pack: space-evenly;
          justify-content: space-evenly;
  width: 100%;
  height: 100%;
  padding: 0 2rem 0 2rem;
}

@media screen and (max-width: 20000px) {
  .wrapper .content {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
    padding: 0;
    margin-top: 2.5rem;
  }
}

@media screen and (min-width: 400px) and (max-width: 20000px) {
  .wrapper .content {
    margin-top: 3rem;
  }
}

.wrapper .content .photo-animation {
  height: -webkit-min-content;
  height: -moz-min-content;
  height: min-content;
  position: relative;
  -ms-flex-item-align: end;
      align-self: flex-end;
  margin: 0 30px 15px 0;
}

@media screen and (max-width: 20000px) {
  .wrapper .content .photo-animation {
    margin: 2.5 0 -10px 0;
    -ms-flex-item-align: center;
        -ms-grid-row-align: center;
        align-self: center;
  }
}

.wrapper .content .photo-animation .circle {
  position: absolute;
  border-radius: 50%;
  background-color: #ba4b2f;
  
}



.wrapper .content .photo-animation .circle.big {
  width: 513px;
  height: 513px;
  z-index: -10;
  top: 18px;
  left: 10px;
  padding-right: 20px;
}

@media screen and (max-width: 20000px) {
  .wrapper .content .photo-animation .circle.big {
    width: 240px;
    height: 240px;
  }
}

@media screen and (min-width: 400px) and (max-width: 20000px) {
  .wrapper .content .photo-animation .circle.big {
    width: 380px;
    height: 380px;
  }
}

.wrapper .content .photo-animation .circle.small {
  width: 44px;
  height: 44px;
  z-index: 10;
  bottom: 118px;
  right: 225px;
}

@media screen and (max-width: 20000px) {
  .wrapper .content .photo-animation .circle.small {
    width: 21px;
    height: 21px;
    bottom: 50px;
    right: 110px;
  }
}

@media screen and (min-width: 400px) and (max-width: 20000px) {
  .wrapper .content .photo-animation .circle.small {
    width: 35px;
    height: 35px;
    bottom: 18%;
    right: 33%;
  }
}



.wrapper .content .photo-animation .photo {
  max-width: 755px;
  width: 100%;
}

@media screen and (max-width: 20000px) {
  .wrapper .content .photo-animation .photo {
    max-width: 600px;
  }
}

.wrapper .content .main {
  width: 376px;
  max-width: 650px;
  font: 0.980rem "poppins-regular", sans-serif;
  color: #382626;
  line-height: 1.56rem;
  -ms-flex-item-align: center;
      -ms-grid-row-align: center;
      align-self: center;
}


@media screen and (max-width: 20000px) {
  .wrapper .content .main {
    max-width: 900px;
    width: 100%;
    padding: 0 1.5rem;
  }
}

.wrapper .content .main .italic {
  font-family: "poppins-thin-italic";
}

.wrapper .content .main .underline {
  /* Fake underline but same as xd design */
  padding-bottom: 2px;
  border-bottom: 1px solid #ba4b2f;
  /* Real underline */
}

.butmmi{color:#ba4b2f;
  text-decoration: none;
  border-bottom: 1px solid #ba4b2f;}

.wrapper .content .main .mail {
  position: relative;
  transition: all 1s ease;
  padding-bottom: 2px;
  color:#ba4b2f;
  text-decoration: none;
  
}
.mail2{
  position: relative;
  transition: all 1s ease;
  padding-bottom: 2px;
  border-bottom: 1px solid #ba4b2f;
  color:#382626;
  text-decoration: none;
}
/*
.wrapper .content .main .mail:hover {
  color: #ffffff;
  transform:scale(0.05);
  
}
*/
.wrapper .content .main .mail3 {
  display : flex;
  justify-content : center; 
  position: relative;
  transition: all 0.5s ease;
  padding-bottom: 2px;
  color:#ffffff;
  text-decoration:none;
}

.wrapper .content .main .mail3:hover {
  color: #ba4b2f;
  text-decoration:none;
  transform:scale(1.3);
  
}
.wrapper .content .main .mail4 {
  display : flex;
  justify-content : center; 
  position: relative;
  transition: all 0.5s ease;
  padding-bottom: 2px;
  color:#382626;
  text-decoration:none;
}

.wrapper .content .main .mail4:hover {
  color: #ba4b2f;
  text-decoration:none;
  
}

.envoirplus{
  color:#ffffff;
  text-decoration:none;
}
.wrapper .content .main .envoirplus:hover {
  color: #ba4b2f;
  text-decoration:none;
  
}

.alignementportfolio {display: flex;
  justify-content: center;
  flex-direction: column;
  transition: all 0.5s ease;
  color:#ffffff;
  text-decoration:none;
  
}

.wrapper .content .main .alignementportfolio:hover {
  color: #ba4b2f;
  text-decoration:none;
  transform:scale(1.3);


}

.wrapper .content .main .mail-icon {
  width: 30px;
  fill: #ba4b2f;
  position: relative;
  top: 6px;
  margin-top: .785rem;
  margin-right: .35rem;
}

.row {
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px;
}

/* Create four equal columns that sits next to each other */
.column {
  flex: 33%;
  max-width: 33%;
  padding: 0 4px;
}

.column img {
  margin-top: 8px;
  vertical-align: middle;
  width: 100%;
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 800px) {
  .column {
    flex: 50%;
    max-width: 50%;
  }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .column {
    flex: 100%;
    max-width: 100%;
  }
}

.project {
    position: relative;
    overflow: hidden;
    display: inline-block;
  }

  .project img, .project iframe, .project video {
    width: 100%;
    display: block;
    transition: transform 0.3s ease;
  }

  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ba4b2f;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    flex-direction: column;
    text-align: center;
    padding: 10px;
  }

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

  .project:hover img, .project:hover iframe, .project:hover video {
    transform: scale(1.05);
  }
  .popup {
    display: none; /* Assure que la pop-up est masquée par défaut */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
  }
  
  .popup-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 80%;
    max-height: 90%;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    position: relative;
  }
  
  .popup-images {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-top: 30px;
    margin-bottom: 10px;
  }
  
  .popup-images img {
    max-width: 100%;
    max-height: 350px; /* Limite la hauteur des images pour s'assurer qu'elles restent visibles */
    object-fit: cover;
    border-radius: 5px;
  }
  
  .popup-text {
    text-align: left;
    width: 100%;
  }
  
  .popup-text h2 {
    margin-bottom: 10px;
    font-size: 24px;
    color: #382626;
  }
  
  .popup-text h3 {
    margin-top: 10px;
    font-size: 20px; /* Vous pouvez ajuster la taille selon vos préférences */
    color: #382626;
  }
  
  .popup-text p {
    font-size: 16px;
    color: #382626;
    line-height: 120%;
  }
  
  .tags-container {
    display: flex;
    gap: 10px; /* Espace entre les tags */
    margin-top: 20px;
  }
  
  
 .tags-container .tag {

    border: 1px solid #382626; /* Ajoute la largeur et la couleur de la bordure */

    color: #382626;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
  }

  .tags-container .tag2 {
    border: 1px solid #ba4b2f; /* Ajoute la largeur et la couleur de la bordure */
    color: #ba4b2f;
    padding: 5px 10px;
    border-radius: 35px;
    font-size: 14px;
  }
  
  .close {
    position: absolute;
    top: 10px;
    right: 20px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }
  .popup-videos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-bottom: 20px;
  }
  
  .popup-videos iframe {
    width: 100vw;
    height: 50vh;
    border-radius: 5px;
  }
  


  .poppins-thin {
    font-family: "Poppins", serif;
    font-weight: 100;
    font-style: normal;
  }
  
  .poppins-extralight {
    font-family: "Poppins", serif;
    font-weight: 200;
    font-style: normal;
  }
  
  .poppins-light {
    font-family: "Poppins", serif;
    font-weight: 300;
    font-style: normal;
  }
  
  .poppins-regular {
    font-family: "Poppins", serif;
    font-weight: 400;
    font-style: normal;
  }
  
  .poppins-medium {
    font-family: "Poppins", serif;
    font-weight: 500;
    font-style: normal;
  }
  
  .poppins-semibold {
    font-family: "Poppins", serif;
    font-weight: 600;
    font-style: normal;
  }
  
  .poppins-bold {
    font-family: "Poppins", serif;
    font-weight: 700;
    font-style: normal;
  }
  
  .poppins-extrabold {
    font-family: "Poppins", serif;
    font-weight: 800;
    font-style: normal;
  }
  
  .poppins-black {
    font-family: "Poppins", serif;
    font-weight: 900;
    font-style: normal;
  }
  
  .poppins-thin-italic {
    font-family: "Poppins", serif;
    font-weight: 100;
    font-style: italic;
  }
  
  .poppins-extralight-italic {
    font-family: "Poppins", serif;
    font-weight: 200;
    font-style: italic;
  }
  
  .poppins-light-italic {
    font-family: "Poppins", serif;
    font-weight: 300;
    font-style: italic;
  }
  
  .poppins-regular-italic {
    font-family: "Poppins", serif;
    font-weight: 400;
    font-style: italic;
  }
  
  .poppins-medium-italic {
    font-family: "Poppins", serif;
    font-weight: 500;
    font-style: italic;
  }
  
  .poppins-semibold-italic {
    font-family: "Poppins", serif;
    font-weight: 600;
    font-style: italic;
  }
  
  .poppins-bold-italic {
    font-family: "Poppins", serif;
    font-weight: 700;
    font-style: italic;
  }
  
  .poppins-extrabold-italic {
    font-family: "Poppins", serif;
    font-weight: 800;
    font-style: italic;
  }
  
  .poppins-black-italic {
    font-family: "Poppins", serif;
    font-weight: 900;
    font-style: italic;
  }
  .troisicones{text-decoration: none;}
  .row img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  
