

 /* ============================================================================
   HEADINGS
============================================================================ */

 h4,h5,h6 {
   color: var(--project-theme-3);
 }


/* Header Styles */
header {
width: 100%;
/*min-width: 400px; Ajout d'une largeur minimale pour le header */
opacity: 0;
transition: opacity 0.5s ease-in-out;
}

a {
color: #121212;
text-decoration: none;
letter-spacing: normal;
}


/* Project Name Styles */
.project-name {
display: flex;
max-width: 545px;
padding: 0 0 0 130px;
flex-direction: column;
justify-content: center;
align-items: flex-start;
flex: 1 0 0;
align-self: stretch;
}

/* Project Styles */
.project {
display: flex;
width: 100%;
height: 540px;
padding-right:10px;
justify-content: space-between;
align-items: flex-end;
align-self: stretch;
background-color: #265964;
border-radius:32px;
}

/* Hero Styles */
.hero {
display: flex;
justify-content: center;
flex-direction: column;
width: 100%;
min-width: 700px; /* Ajout d'une largeur minimale pour le hero */
padding: 80px 7%; /* Utilisation de pourcentages pour mieux s'adapter à la largeur */
gap: 40px;
}

/* Main Styles */
main {
margin: auto;
opacity: 0;
transition: opacity 0.5s ease-in-out;
}

header.active {
opacity: 1;
}

main.active{
opacity:1;
}

.text-container p {
  width:100%;
}

.text-container {
display: inline-flex;
flex-direction: column;
align-items: center;
margin:auto;
padding:180px 10% 180px;
gap: 16px;
max-width: 1400px;
min-width: 600px; /* Ajout d'une largeur minimale pour le main */
}

.demo{
  padding-top:72px;
}

/*Cards insights */

.cards-container {
display: flex;
margin-top:24px;
gap: 48px;
width:100%;
}

.card {
flex: 1;
background: white;
box-shadow: 0px 0px 18px rgba(0, 0, 0, 0.11);
border-radius: 24px;
padding: 24px;
display: flex;
flex-direction: column;
align-items: center;
gap: 24px;
text-align: center;
}

.card img {
width: 208px;
height: 208px;
}

.card-content {
height: auto;
display: flex;
flex-direction: column;
gap: 16px;
text-align: left;
}

.card-content h3 {
color: #121212;
font-size: 18px;
font-weight: 700;
}

.card-content p {
color: #2F2F2F;
font-size: 13px;
font-weight: 400;
line-height: 24px;
}


.quote{
display:flex;
flex-direction: column;
padding:128px 18% 128px;
min-width: 600px; /* Ajout d'une largeur minimale pour le main */
background-color:#E8EDEE;
text-align: center;
color: #2F2F2F;
font-family: Gotham-Book;
font-size: 22px;
font-style: normal;
font-weight: 400;
line-height: 36px;
gap:24px;
margin-bottom:64px;
}

.content {
max-width: 800px;
margin: 100px auto;
padding: 20px;
border-radius: 8px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.mockup{
display: flex;
align-items: center;
flex-direction: column;
margin:auto;
padding: 108px 10%;
}

.product{
display: flex;
justify-content: space-between;
align-items: center;
width:100%;
}

.app{
max-width:300px;
min-width:120px;
}

/*section Design Thinking*/
.thinking1{
display: flex;
width:100%;
background: #F4F7F7;
gap: 8px;
height: auto;
}

.thinking{
display: flex;
background:#FBFBFB;
width:100%;
gap: 8px;
height: auto;
}

.persona{
height: auto;
display: flex;
max-width: 590px;
min-width: 200px;
}

.carousel {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.carousel-viewport {
  overflow: hidden;
  width: 100%; /* ou une largeur fixe */
}

.carousel-images {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-images img {
  width: 100%; /* ou fixe selon design */
  flex-shrink: 0;
}

.actions{
display: flex;
justify-content: center;
gap:16px;
}

.neutral {
top: 50%;
background-color: rgba(255, 255, 255,0);
color: rgb(58, 121, 111);
border: none;
padding: 4px 16px;
cursor: pointer;
font-size: 24px;
border-radius: 50%;

}

.neutral:hover {
background-color: rgb(58, 121, 111,0.12);
}

.checklist,.intro{
width:100%;
padding-left:0px;
}

/* Lightbox */
.lightbox {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.9);
justify-content: center;
align-items: center;
z-index: 1000;
transition: opacity 0.3s ease-in-out;
}

.lightbox img {
max-width: 100%;
max-height: 100%;
border-radius: 10px;
}

.close {
position: absolute;
top: 20px;
right: 30px;
font-size: 40px;
color: white;
cursor: pointer;
}


.intro{
  display: flex;
  flex-direction: column;
  gap:16px;
}

.part,.part2{
  display: flex;
  flex-direction: column;
  gap:48px;
  width:100%;
}

.part{
  padding-bottom:64px;
}

.goal,.goal2{
display: flex;
flex-direction: column;
justify-content: center;
align-items: flex-start;
gap: 8px;
align-self: stretch;
color: #2F2F2F;
font-family: 'Nutino', sans-serif;
font-size: 17px;
}

.goal2{
  margin-top:16px;
  }

.highlight{
color: #111012;
font-size: 24px;
font-family: Gotham-Medium;
font-weight: 500;
word-wrap: break-word
}

/* Text Image Styles */
.text-img {
display: flex;
height: auto;
gap:80px;
align-items: center;
align-self: stretch;
margin-bottom: 40px;
}

.project-image{
max-width: 600px;
min-width:300px;
}

/* Example Styles */
.exemple {
width: 100%;
height: auto;
margin-bottom: 72px;
}

.space{
  margin-top:48px;
}

/* Styles pour la section de navigation vers d'autres projets */
.other-projects {
  display: inline-flex;
      flex-direction: column;
      align-items: flex-start;
      margin: auto;
      padding: 180px 10% 180px;
      gap: 16px;
      width: 1400px;
      min-width: 600px;
flex-direction: column;
gap:24px;

/*background-color: #f5f5f5;*/
}


.project-cards {
display: flex;
gap:24px;
flex-wrap: wrap;
width:100%;
}



.project-card {
display: flex;
align-items: flex-start;
justify-content: space-between;
padding-right:48px;
background: #F4F4F4;
color:#121212;
clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
transition: 0.7s;
transition: opacity 0.8, transform 0.8s ease;
max-height:100%;
border-radius:24px;
}

.size_link{
  width: calc(50% - 20px);
}

.project-name2 {
display: flex;
padding: 0px 0px 48px 48px;
flex-direction: column;
justify-content: flex-end;
align-items: flex-start;
align-self: stretch;
width:90%;
}

.title2 {
font-family: Gotham-Medium;
font-size: 25px;
font-style: normal;
font-weight: 700;
line-height: normal;

}

.subtitle2 {
font-family: Gotham-Book;
font-size: 20px;
font-style: normal;
font-weight: 400;
line-height: normal;
}

.project-img{
max-width: 400px;
min-width:130px;
}


.project-card img {
width:100%;
transition: 0.3s;
filter: grayscale(100%);
}

.project-card:hover img {
filter: grayscale(0%);
}

.project-card:hover {
clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%, 0 0);
}


.mgdis:hover {
  background-color: #0F056B;
  color:#FFFFFF;
  }
  
.solana:hover {
background-color:#ffebe1;
color:#030A3F;
}


/*progress bar*/
#progressContainer {
position: fixed;
bottom: 0;  /* Modifier la position vers le bas de l'écran */
left: 0;
width: 100%;
height: 4px;
background-color: #ececec;
opacity: 0;
transition: opacity 0.8s;
z-index: 9999;
}

#progressBar {
height: 100%;
width: 0;
background-color: #265964;
}

.btn-sm{
background-color: #066477;
width:40px;
height:40px; 
padding:0;
}

.btn-sm:hover{
background-color:#087a91;
}

.horizontal{
display:flex;
flex-direction:row;
gap:96px;
padding-top:48px;
padding-bottom:48px;
}

.left-side{
  max-width:70%;
}



@media only screen and (max-width: 1023px){

/* Project Name Styles */
.project-name {
display: flex;
min-width: 350px;
padding: 0 0 64px 76px;
flex-direction: column;
justify-content: flex-end;
align-items: flex-start;
flex: 1 0 0;
align-self: stretch;
}

.title,
.subtitle {
font-size: 45px;
}
.subtitle {
font-size: 35px;
}

/* Project Styles */
.project {
display: flex;
width: 100%;
height: 100%;
padding-right:10px;
justify-content: space-between;
align-items: flex-end;
align-self: stretch;
}

.card {
flex-direction:row;
}

.cards-container {
  flex-direction: column;
  }


}



@media only screen and (max-width: 768px) {

.text-img {
display: flex;
flex-direction: column;
height: auto;
gap:32px;
align-items: center;
align-self: stretch;
margin-bottom: 40px;
} 

.hero {
display: flex;
justify-content: center;
flex-direction: column;
height:480px;
max-width:768px;
min-width:375px;
padding: 177px 7% 20px; /* Utilisation de pourcentages pour mieux s'adapter à la largeur */
gap: 40px;
}

.quote{
  padding: 128px 10% 128px; 
  margin-bottom:0px;
}

.app{
  max-width:300px;
  min-width:80px;
  }

.secondary{
  margin-top:48px;
}

.text-container{
padding: 90px 10% 90px;
}


/* Project Styles */
.project {
display: flex;
width: 100%;
min-height: 140px;
gap:8px;
padding-right:10px;
justify-content: space-between;
align-items: flex-end;
align-self: stretch;
margin-bottom:0px;
}


.project-name {
  min-width: 200px;
  padding: 0px 0px 8% 8%;
}

.project-name .subtitle {
  font-size: 1.4rem;
}
.project-image{
  max-width:40%;
  min-width:30%;
  height:auto;
}


.card {
flex-direction:column;
}

.cards-container {
  flex-direction: column;
  }

.text-container,nav,.quote,.hero,.about,footer{
  max-width:768px;
  min-width:340px;
}

.other-projects{
  max-width:768px;
  min-width:350px;
}


}

@media only screen and (max-width: 420px) {

  .hero {
    display: flex;
    justify-content: center;
    flex-direction: column;
    height:320px;
    max-width:768px;
    min-width:375px;
    padding: 177px 7% 20px; /* Utilisation de pourcentages pour mieux s'adapter à la largeur */
    gap: 40px;
    }

  .project{
    border-radius:20px;
  }

  .text-container,.quote{
    padding: 90px 7% 90px;
  }

  .title{
    font-size:20px !important;
  }
  .subtitle{
    font-size:18px !important;
  }

  .other-projects {
    padding: 48px 7% 96px;
}
  .project-cards {
    display:flex;
    flex-direction: column;
    align-items: stretch;
  }

  
.project-card {
display: flex;
align-items: flex-start;
justify-content: space-between;
padding-right:16px;
transition: 0.3s;
filter: grayscale(0%);
}

.solana{
background-color:#ffebe1;
color:#030A3F;
}

.mgdis{
background:#0F056B;
color:#FFFFFF;
}

.project-name2{
padding-left:24px;
}

.title2{
font-size:18px;
}

.subtitle2{
font-size:16px;
}

  .size_link{
    width:100%;
  }

.project-card img{
filter: grayscale(0%);
}

.horizontal{
  display:flex;
  flex-direction:column;
  gap:24px;
  padding-top:24px;
  padding-bottom:24px;
  }
  
  .left-side{
    max-width:100%;
  }
}