/*************** En-tête ***************/

/* main
{
    margin-bottom: 5rem;
} */
main h2
{
    grid-column: span 6;
    grid-row: auto;

    text-align: center;
    font-size: 2rem;
    margin: auto auto 2rem auto;
}
main h3
{
    text-align: center;
    font-size: 1.5rem;
    margin-top: 5rem;
}

main p
{
    font-size: 1.2rem;
    margin-top: 1.2rem;  
}

.boxAbout
{
    grid-column: span 6;
    grid-row: auto;

    margin: 10px 10% 10px 10%;
    display: flex;
    flex-direction: row;
    height: auto;
    justify-content:center;
}
.boxBtn
{
  grid-column: span 6;
  grid-row: auto;
}
.btnAbout
{
  display: flex;
  justify-content: center;
}
.txtAbout
{
    width: 60%;
    margin-right: 10px;
}
.imgAbout
{
    max-width: 300px;
}
.imgAbout img
{
  border: 5px solid #ffa500;
  border-radius: 10px;
  width: 100%;
  height: auto;
}

/******************************/
/* Style pour écran < 1024 px */
/******************************/
@media only screen and (max-width: 1024px) 
{
  
  /********** Corps principal ************/

  .boxAbout
  {
    grid-column: span 1;
    margin: 10px 5% 10px 5%;
    display: flex;
    flex-direction: column-reverse;
    height: auto;
  }

  .txtAbout
  {
    width: 100%;
    height: auto;
  }
  main h2
  {
    grid-column: auto;
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 1.3rem;
  }

  .txtAbout p
  {
    font-size: 1rem;
    text-align: center;
    margin-top: 1rem;
  }
  .imgAbout
  {
    margin: auto;
  }
  .imgAbout img
  {
    width: 70%;
    height: auto;
    display: flex;
    margin: auto;
  }
  .imgAbout .none
  {
    display: none;
  }
}