.zalando-sans-expanded-lien {
  font-family: "Zalando Sans Expanded", sans-serif;
  font-optical-sizing: auto;
  font-weight: 200;
  font-style: normal;
}

.zalando-sans-expanded-text {
  font-family: "Zalando Sans Expanded", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.zalando-sans-expanded-text-titre {
  font-family: "Zalando Sans Expanded", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

.zalando-sans-expanded-titre {
  font-family: "Zalando Sans Expanded", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}

body{
    background-color: #444444;
    color: #FDFBFB;
    height: 100%;
    margin: 0;
}

.nav{
    display: flex;
    justify-content: center;
    background-color: #313131;
}

.nav-a{
  color: #FDFBFB;
  text-decoration: none;
  padding: 10px;
  font-size: 20px;
  display: inline-block;
  position: relative;
  margin-right: 20px;
}

.nav-a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: #FDFBFB;
  transition: width 0.3s ease;
}

.nav-a:hover::after {
  width: 100%;
}

h1{
  text-align: center;
  font-size: 2rem;
}

.main_page{
  display: flex;
  flex-direction: row;
}

.lien_projet {
  color: #FDFBFB;
  text-decoration: none;
  position: relative; 
  display: inline-block;
  padding: 5px 0;    
}

.lien_projet::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: #FDFBFB;
  transition: width 0.3s ease;
}

.lien_projet:hover::after {
  width: 100%;
}

.img-pages{
  border-radius: 15px;
  border: solid #FDFBFB 2px;
  height: 270px;
}


.main_page {
  display: flex;
  flex-direction: column;
  gap: 60px;
  max-width: 1000px;
  margin: auto;
  padding: 40px 20px;
}

.main_article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

article:nth-child(even) {
  flex-direction: row-reverse;
}

article .texte {
  flex: 1;
}

article img {
  flex: 1;           
  max-width: 500px;      
  width: 100%;            
  height: auto; 
  border-radius: 15px;
  object-fit: cover;       
}

.img-css{ 
  border-radius: 15px;
}

.icon{
  max-height: 70px;
  max-width: 70px;
}

.footer-class{
  text-align: center;
  bottom: 0;
  width: 100%;
}

@media (max-width: 768px) {
  article {
    flex-direction: column !important;
    text-align: center;
  }
  
  article img {
    max-width: 100%; 
  }
}