@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');

/* Font Faces */
@font-face {
font-family: 'Gotham-Medium';
src: url('/fonts/Gotham/Gotham-Medium.otf');
}


/* 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: #000000;
text-decoration: none;
letter-spacing: normal;
}


/* Project Name Styles */
.project-name {
display: flex;
max-width: 545px;
padding: 0 0 118px 130px;
flex-direction: column;
justify-content: flex-end;
align-items: flex-start;
flex: 1 0 0;
align-self: stretch;
}

.title,
.subtitle {
color: #030A3F;
font-family: "Gotham Black", Gotham;
font-size: 60px;
font-style: normal;
font-weight: 500;
line-height: normal;
}
.subtitle {
font-family: Gotham;
font-size: 50px;
}

/* Project Styles */
.project {
display: flex;
width: 100%;
height: 516px;
padding-right:10px;
justify-content: space-between;
align-items: flex-end;
align-self: stretch;
background-color: #FFEBE1;
border-radius:24px;
}

/* 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;
}

/* Info Block Styles */
.bloc_info {
display: flex;
flex-direction: column;
}

/* Main Styles */
main {
margin: auto;
opacity: 0;
transition: opacity 0.5s ease-in-out;
}

header.active {
opacity: 1;
}

main.active{
opacity:1;
}

/* Intro Styles */
.intro{
  display: flex;
  flex-direction: column;
  gap:16px;
}

/* Text Container Styles */
.heading {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 8px;
}

.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 */
}

/* Text Styles */
  /* Text Styles */
  h3 {
  color: #111012;
  font-family: Gotham-Medium;
  font-size: 32px;
  font-style: normal;
  font-weight: 500;
  margin: 0;
  text-transform: none !important;
  letter-spacing: normal !important;
  }

  h4 {
  color: #0F056B;
  font-family: Gotham;
  font-size: 25px;
  font-style: normal;
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: normal !important;
  }
  

h5{
color: #303662;
font-family: 'Gotham-Medium';
font-size: 22px;
font-style: normal;
font-weight: 700;
line-height: 36px; /* 144% */
text-transform: uppercase;
margin:0px;
}

h6 {
color: #303662;
font-family: Gotham;
font-size: 16px;
font-style: normal;
font-weight: 700;
line-height: 30px;
text-transform: uppercase;
margin:0px;
}

/* Text Image Styles */
.text-img {
display: flex;
height: auto;
justify-content: center;
margin-bottom: 40px;
}

img{
  border-radius:24px;
}

.project-image{
max-width: 485px;
min-width:300px;
}


.project-image2 {
height: auto;
max-height: 450px;
min-height: 300px;
}

/* Example Styles */
.exemple {
width: 100%;
height: auto;
margin-bottom: 72px;
}


/*section Design Thinking*/
.thinking1{
display: flex;
width:100%;
background: #FFF7F3;
gap: 8px;
height: auto;
}

.thinking{
display: flex;
background:#FBFBFB;
width:100%;
gap: 8px;
height: auto;
}


/* 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:197px;
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;
font-size: 25px;
font-style: normal;
font-weight: 700;
line-height: normal;
}

.subtitle2 {
font-family: Gotham;
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 {
background-color:#ffebe1;
clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%, 0 0);
}

.salvia:hover {
background-color:#265964;
color:#FFFFFF;
}

.motion:hover{
background-color: #5F6BE0;
color:#FFFFFF;
}


/*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:#030A3F;
}

.btn-sm{
background-color: #030A3F;
width:40px;
height:40px; 
padding:0;
}

.btn-sm:hover{
background-color:#041067;
}

.container{
  display:flex;
  justify-content: center;
  flex-direction: row;
  flex-wrap: wrap;
  width:100%;
  gap:56px;
}

.col-1,.col-2{
  display:flex;
  flex-direction: column;
  justify-content: center;
  width:45%;
}

.bloc{
  border-radius:24px;
}

  .actions{
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  justify-content: center;
  gap:16px;
  }
  
    .bloc_ds{
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin:auto;
  padding:120px 10% 120px;
  gap: 64px;
  max-width: 1400px;
  min-width: 600px; /* Ajout d'une largeur minimale pour le main */
  width:100%;
  }

    .secondary{
  text-align: center;
  padding: 16px 24px;
  gap: 8px;
  border-radius: 40px;
  background: #EEE;
  max-width:300px;
  border:none;
  color: #121212;
  font-size: 12px;
  font-family: Gotham;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 15px;
  letter-spacing: 0.50px;
  word-wrap: break-word;
  margin-top:40px;
  }

  .secondary:hover{
  background: #dbdbdb;
  transition: .4s;
  }


.subheading{
color: #030A3F;
font-family: Gotham;
font-size: 20px;
font-weight: 700;
line-height: 32px; /* 160% */
text-transform: uppercase; 
}



@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 {
color: #030A3F;
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;
background-color: #FFEBE1;
}

}






@media only screen and (max-width: 768px) {

.about{
padding:20px 10% 180px;
display:flex;
flex-direction:column;
}

.text-img {
height: auto;
justify-content: center;
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,.quote2{
  padding: 128px 10% 128px; 
  margin-bottom:0px;
}

.app{
  max-width:300px;
  min-width:80px;
  }

.secondary{
  margin-top:48px;
}

.text-container,.bloc_ds{
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,.bloc_ds,nav,.hero,.about,footer{
  max-width:768px;
  min-width:340px;
}

.other-projects{
  max-width:768px;
  min-width:350px;
}

}


  @media only screen and (max-width: 420px) {
  
main {
  padding-left:0px;
  padding-right:0px;
  }
  
  .hero {
    display: flex;
    justify-content: center;
    flex-direction: column;
    height:auto;
    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;
  }

  #intro{
    padding:0px;
    flex-direction:column;
  }

  .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%);
}

.motion{
background-color: #5F6BE0;
color:#FFFFFF;
}

.salvia{
background-color:#265964;
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%;
  }

  .col-1,.col-2{
    width:100%;
  }

  /* Example Styles */
.exemple {
width: 100%;
height: auto;
margin-left:0px;
margin-right:0px;
border-radius:0px;
}

h3{
font-size:24px;
}
}

