body {
  background: url("../img/walpappers/5.PNG") no-repeat fixed;
  background-size: cover;
  width: 100%;
  background-position: center;
}

.all-tips-cont {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.tip-conteneur {
  max-width: 90%;
  background-color: rgba(40, 40, 41, 0.486);
  border-radius: 20px;
  margin-top: 20px;
  margin-bottom: 20px;
  width: 90%;
  height: 200px;
  display: flex;
  align-items: center;
  transition: 0.1s;
  /* background: url("../img/walpappers/5.PNG") no-repeat fixed; */
  color: white;
}

.tip-conteneur:hover {
  scale: 100.5%;
  transition: 0.3s;
}

.image-tip img {
  border-radius: 20px;
  width: 180px;
  max-width: 180px;
  height: 180px;
  max-height: 180px;
  margin-left: 10px;
  object-fit: cover;
  /* transition: 0.1s; */
}

/* .image-tip img:hover {
  scale: 102%;
  transition: 0.3s;
  } */

.information-conteneur {
  /* margin-left: 20px; */
  /* padding-right: 15%; */
  font-family: trois;
}

.name {
  font-family: trois;
  padding: 10px;
  font-size: 1.5rem;
  text-align: center;
}

/* .auteur {
    font-style: italic;
    font-size: 0.7rem;
    padding: 10px;
  
  }
  
  .description {
    padding: 10px;
  } */

/* page de toutes les astuces  */

.astuce-container {
  text-align: left;
  padding: 25px;
  font-family: trois;
}

/* liens  */
.astuce-container a {
  color: rgba(255, 255, 255, 0.493);
  transition: 0.1s;
}

.astuce-container a:hover {
  color: white;
  transition: 0.1s;
}

.astuce-container p {
  padding-top: 5px;
  padding-left: 40px;
}



/* style du conteneur d'image et de l'image, sur la page astuce. s'applique a toutes les images.  */

.tip-visual-cont {
  justify-content: center;
  display: flex;
  align-items: center;
}

.tip-visual-cont img {
  border-radius: 10px;
  max-height: 300px;
  width: 80%;
  object-fit: cover;
  transition: 0.1s;
}
.tip-visual-cont img:hover {
  transition: 0.3s;
  scale: 101%;
}

/* style pour les liens officiels */
.alert-info-cont {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
  margin-bottom: 10px;
}
.alert-info{
padding: 5px 10px;
background: #3c3c3c;
border: solid 1px #545454;
border-radius: 2px;
margin-bottom: 20px;
width: 50%;
display: block;
font-size: 13px;
box-sizing: border-box;
text-align: center;
}



/* RESPONSIVE  */
@media (max-width: 900px) {
  .name {
    font-size: 1.1rem;
  }

  .description {
    font-size: 0.9rem;
  }

  .image-tip img {
    border-radius: 20px;
    width: 150px;
    max-width: 150px;
    height: 150px;
    max-height: 150px;
    margin-left: 10px;
    object-fit: cover;
    /* transition: 0.1s; */
  }
}
