/* 
  Auteur      : Maxime Bernet
  Description : style de la page enchantement de mon projet personnel du module 293 (minecraft)
  Date        : 15.01.2026
*/
body{
    background-image: url(../image/deepslateBackground.webp);
    margin: 0;
}

header{
    background-image: url(../image/banniere.gif);
    margin-bottom: 50px;
}
.soustitre{
    text-align: center;
    color: aliceblue;
    font-family: Arial, Helvetica, sans-serif;
    padding-bottom: 10px;
    padding-top: 10px;
    font-size: 3vh;
}
h1{
    margin-bottom: 100px;
}
.enchantement{
    display: flex;               
    align-items: center;
    justify-content: center;
    text-align: center;

    
    width: 220px;                
    min-height: 100px;           
    padding: 30px 50px;
    box-sizing: border-box;
    max-height: 100px;

    
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.68vh;           
    font-weight: bold;
    color: #CCC4C4;              
    background-color: #7C788A;   

    
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 3px;
}
.ligneEn{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 100px 50px;
    padding: 25px 0;
    box-sizing: border-box;
    min-height: 200px;
   
    
}
main{
    display: flex;
    justify-content: center;
    flex-direction: column;
}
@media screen and (max-width: 768px) {

  body {
    background-size: cover;
    background-position: center;
  }

  header {
    margin-bottom: 20px;
    background-size: cover;
    background-position: center;
  }

  h1 {
    margin-bottom: 40px;
  }

  .soustitre {
    font-size: 2.4vh;
    padding: 8px 0;
  }

  .ligneEn {
    justify-content: center;
    gap: 20px;
    padding: 15px 0;
    min-height: auto;
  }

  .enchantement {
    width: 100%;
    max-width: 320px;
    min-height: 80px;
    padding: 20px;
    font-size: 1.6vh;
  }

  main {
    padding: 0 15px;
  }
}