.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: none;
}

.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);
}

.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(../ASSETS/Japon/fujisan.jpg);
  border-radius: 15px;
  background-size: cover;
  background-position: right;
}
.card:nth-child(2) .face.face2 {
  background-image: url(../ASSETS/australie/australia-canberra-ge324d3818_1280.jpg);
  border-radius: 15px;
  background-size: cover;
  border-radius: 15px;
}
.card:nth-child(3) .face.face2 {
  background-image: url(../ASSETS/Coree_du_sud/Korea_Seoul.jpg);
  border-radius: 15px;
  background-size: cover;
  border-radius: 15px;
}
.card:nth-child(4) .face.face2 {
  background-image: url(../ASSETS/Sri-lanka/pageaccueil.jpg);
  border-radius: 15px;
  background-size: cover;
  border-radius: 15px;
}
.card:nth-child(5) .face.face2 {
  background-image: url(../ASSETS/Bresil/bresil.jpg);
  border-radius: 15px;
  background-size: cover;
  border-radius: 15px;
}
.card:nth-child(6) .face.face2 {
  background-image: url(../ASSETS/etats-unis/Accueil.webp);
  border-radius: 15px;
  background-size: cover;
  border-radius: 15px;
}
.card:nth-child(7) .face.face2 {
  background-image: url(../ASSETS/France/BG-France.jpg);
  background-position: 80%;
  border-radius: 15px;
  background-size: cover;
  border-radius: 15px;
}
.card:nth-child(8) .face.face2 {
  background-image: url(../ASSETS/Inde/photo1.jpg);
  border-radius: 15px;
  background-size: cover;
  border-radius: 15px;
}
.card:nth-child(9) .face.face2 {
  background-image: url(../ASSETS/Nouvelle-zelande/fond_nz.jpeg);
  border-radius: 15px;
  background-size: cover;
  border-radius: 15px;
}
.card:nth-child(10) .face.face2 {
  background-image: url(../ASSETS/Islande/cottages-campagne-islande.1546209.w740.jpeg);
  border-radius: 15px;
  background-size: cover;
  border-radius: 15px;
}
.card:nth-child(11) .face.face2 {
  background-image: url(../ASSETS/Norvege/BG-Norvege.jpg);
  border-radius: 15px;
  background-size: cover;
  border-radius: 15px;
}
.card:nth-child(12) .face.face2 {
  background-image: url(../ASSETS/Thailand/bk.jpg);
  border-radius: 15px;
  background-size: cover;
  border-radius: 15px;
}

/* 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%;
  }
}
