/* 
  Auteur      : Maxime Bernet
  Description : style de la page potion 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;
}


main {
    display: flex;
    align-items: flex-start;
    gap: 40px;             
    padding: 0 40px;       
    box-sizing: border-box;
}


aside{
    display: block;
    width: 400px;          
    min-height: 900px;
    padding-left: 100px;
    padding-right: 0;
    padding-top: 25px;
    text-align: center;
}


.lignePo{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start; 
    gap: 100px 50px;              
    padding: 25px 0;
    box-sizing: border-box;
}


.potion{
    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;
}
@media screen and (max-width: 768px) {

  body {
    background-size: cover;
    background-position: center;
  }

  header {
    margin-bottom: 20px;
    background-size: cover;
    background-position: center;
  }

  main {
    flex-direction: column;
    gap: 20px;
    padding: 0 15px;
  }

  aside {
    width: 100%;
    min-height: auto;
    padding: 15px 0;
    order: 2; 
  }

  .lignePo {
    justify-content: center;
    gap: 20px;
    padding: 15px 0;
  }

  .potion {
    width: 100%;
    max-width: 320px;
    min-height: 80px;
    padding: 20px;
    font-size: 1.6vh;
  }
}


