*{
    padding: 0;
    margin: 0;
    font-style: 'Josefin Sans', sans-serif;
    box-sizing: border-box;
    background-color: #330033;
}


nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 45px;
    padding-left: 8%;
    padding-right: 8%;

}


.logo {
    color: wheat;
    font-size: 35px;
    letter-spacing: 1px;
    cursor: pointer;
}

span {
    color: crimson;
}

nav ul li {
    list-style: none;
    display: inline-block;
    padding: 10px 25px;
}

nav ul li a {
    color: antiquewhite;
    text-decoration: none;
    font-weight: bold;
    text-decoration: capitalize;
}

nav ul li a:hover {
    color: crimson;
    transition: 4s;
}

.btn {
    background-color: crimson;
    color: antiquewhite;
    text-decoration: none;
    border: 2px solid transparent;
    font-weight: bold;
    padding: 10px 25px;
    border-radius: 30px;
    transition: transform 4s;
}

.btn:hover {
    transform: scale(1.2);
}

.content {
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    background-color: #f9004d;
}

h1 {
    color: antiquewhite;
    margin: 20px 0px 20px;
    font-size: 75px;
}

h3 {
    color: antiquewhite;
    font-size: 25px;
    margin-bottom: 50px;
}

h4 {
    color: antiquewhite;
    font-size: 20px;
    letter-spacing: 2px;
}


.about {
    width: 100%;
    padding: 100px 0px;

}

.about img {
    height: auto;
    width: 430px;
}

.about-text {
    width: 100%;
    padding: 100px 0px;
}

.main {
    width: 1130px;
    max-width: 95%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-around;
    
}


.about-text h2 {
    color: antiquewhite;
    font-size: 75px;
    text-transform: capitalize;
    margin-bottom: 20px;
}

.about-text h5 {
    color: antiquewhite;
    letter-spacing: 2px;
    font-size: 22px;
    margin-bottom: 25px;
    text-transform: capitalize;
}

.about-text p {
    color: antiquewhite;
    letter-spacing: 1px;
    line-height: 28px;
    font-size: 18px;
    margin-bottom: 45px;
}

.projet{
    width: 100%;
    /* padding: 100px 0px; */

}


.mesprojets h2 {
      color: antiquewhite;
      font-size: 75px;
      width: 1130px;
      margin: 30px auto;
      text-align: center;
}

.box{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.container {
    max-width: 100vw;
    display: flex;
    flex-wrap: wrap;
    margin: 7% auto 2%;
    padding: 40px 0;
    justify-content: center;
    width: 65%;
    background-color: var(--color-background);
    border-radius: 15px;
  }
  .container a {
    text-decoration: wheat;
  }
  
  .card {
    position: relative;
    width: 31%;
    height: 400px;
    margin: 2% 1%;
    background: #000;
    border-radius: 15px;
    box-shadow: 0 15px 60px rgba(0, 0, 0, 0.5);
  }
  
.card img {
  max-width: 100%; /* Ajuste la largeur de l'image */
  max-height: 100%; /* Ajuste la hauteur de l'image */
  width: auto; /* Rend l'image dimensionnée correctement */
  height: auto; /* Rend l'image dimensionnée correctement */
}

  
  .card a {
    color: wheat;
  }

  .face {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .face1 {
    box-sizing: border-box;
    padding: 20px;
  }
  .face1 h2 {
    margin: 0;
    padding: 0;
  }
  .description {
    color: var(--color-text);
  }
  
  .face2 {
    transition: 0.5s;
  }
  .face2 h2 {
    margin: 0;
    padding: 0;
    font-size: 300%;
    color: #fff;
    transition: 0.5s;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 10;
    text-align: center;
  }
  .card:hover .face.face2 {
    height: 60px;
  }
  .card:hover .face.face2 h2 {
    font-size: 2em;
  }
  .card:nth-child(1) .face.face2 {
    background-image: url(./asset/background-header.jpg);
    border-radius: 15px;
    background-size: cover;
    background-position: center;
  }
  .card:nth-child(2) .face.face2 {
    background-image: url(./asset/bridge-g98e672719_1280.jpg);
    border-radius: 15px;
    background-size: cover;
    border-radius: 15px;
  }
  .card:nth-child(3) .face.face2 {
    background-image: url(./asset/pulp-fiction-550x309.jpg);
    border-radius: 15px;
    background-size: cover;
    border-radius: 15px;
    background-position: right;
  }
  .card:nth-child(4) .face.face2 {
    background-image: url(./asset/fujisan.jpg);
    border-radius: 15px;
    background-size: cover;
    border-radius: 15px;
    background-position: right;
  }
  .card:nth-child(5) .face.face2 {
    background-image: url(./asset/bk_1.jpg);
    border-radius: 15px;
    background-size: cover;
    border-radius: 15px;
    background-position: right;
  }
  .card:nth-child(6) .face.face2 {
    background-image: url(./asset/autocompletion.png);
    border-radius: 15px;
    background-size: cover;
    border-radius: 15px;
    background-position: right;
  }

   .card:nth-child(7) .face.face2 {
    background-image: url(./asset/oclock.jpg);
    border-radius: 15px;
    background-size: cover;
    border-radius: 15px;
    background-position: right;
  }

	.card:nth-child(8) .face.face2 {
    background-image: url(./asset/cinetech.png);
    border-radius: 15px;
    background-size: cover;
    border-radius: 15px;
    background-position: right;
  }

  
  /* RESPONSIVE */
  @media screen and (max-width: 1100px) and (min-width: 769px) {
    .container {
      width: 80%;
    }
    .face2 h2 {
      font-size: 200%;
    }
    #card-title {
      font-size: 180%;
    }
  }
  @media screen and (max-width: 768px) and (min-width: 426px) {
    .container {
      width: 90%;
    }
    .card {
      width: 47%;
    }
    .face2 h2 {
      font-size: 200%;
    }
    #card-title {
      font-size: 180%;
    }
  }
  @media screen and (max-width: 425px) {
    .container {
      width: 80%;
    }
    .card {
      width: 90%;
    }
  }

  p {
    color: antiquewhite;
  }

  footer {
    display: flex;
    flex-direction: column-reverse;
    margin-top: 100px;
  }