/* 
  Auteur      : Maxime Bernet
  Description : style description des enchantements de mon projet personnel du module 293 (minecraft)
  Date        : 15.01.2026
*/

header{
    background-image: url(../image/banniere.gif);
    margin-bottom: 50px;
}
h1{
    text-align: center;
    color: aliceblue;
    font-family: Arial, Helvetica, sans-serif;
    padding-bottom: 10px;
    padding-top: 10px;
    font-size: 4vh;
}
body{
    background-image: url(../image/deepslateBackground.webp);
    margin: 0;
}
main {
  display: flex;
  justify-content: space-evenly;
  gap: 40px;              
  margin: 40px auto;
  width: 90%;
}
.description {
  width: 800px;
  height: auto;
  border: 10px solid black;
  border-collapse: collapse;
  padding: 15px;
  box-sizing: border-box;
  background-color: azure;
}
.image {
  width: 300px;
  height: auto;
  border: 10px solid black;
  border-collapse: collapse;
  padding: 15px;
  box-sizing: border-box;
  background-color: azure;
}
.table {
  vertical-align: top;
  padding: 10px;
  font-family: Arial, sans-serif;
  font-size: 20px;
}
img{
  max-width: 100%;
  max-height: 100%;
  object-fit: contain
}

ul {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
@media screen and (max-width: 768px) {

  body {
    background-size: cover;
    background-position: center;
  }

  header {
    margin-bottom: 20px;
    background-size: cover;
    background-position: center;
  }

  h1 {
    font-size: 3vh;
    padding: 8px 0;
  }

  main {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
    margin: 20px auto;
  }

  .description,
  .image {
    width: 95%;
    border-width: 6px;
    padding: 10px;
  }

  .table {
    font-size: 16px;
    padding: 8px;
  }

  ul {
    gap: 15px;
  }
}