*{
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.4rem;
    font-weight: 400;
  }

header,
footer{
    background-color: white;
    padding: 20px 50px;
    display: flex;
    flex-direction: column;
}

header img{
    width: 160px;
}

nav{
    display: flex;
    flex-direction: row;
    justify-content: space-between ;
    margin:5px 10px;
}
nav div{
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
}

main{
    margin:0;
}

footer{
  background-image: linear-gradient(to bottom right, white, rgb(33, 14, 2));
  padding: 20px 150px;
  display: flex;
  flex-direction: row;
  font-size: 1.5em;
  font-weight: 400;
  font-family : Arial, Helvetica, sans-serif;
}

h1{
    color: rgb(228,114,43);
    font-size: 3.5em;
    font-weight: 700;
    font-family: "Permanent Marker", cursive;
    text-align: center;
    padding-left: 30px;
}

.accueil{
    padding : 40px 0px;
    background-color:  rgb(228,114,43);
}

.box{
    border: 5px solid black;
    border-radius: 10px;
    width: 300px;
    height: 100px;
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: white;
}

.partieAdministre{
  background-color: white;
  display: flex;
  flex-direction: column;
  margin:10px 10px;
  border: 15px solid  rgb(24, 10, 1);
  border-radius: 0 0 20px 20px;
}

.partie{
  background-color: white;
  display: flex;
  flex-direction: column;
  margin:10px 200px;
  border: 15px solid  rgb(24, 10, 1);
  border-radius: 0 0 20px 20px;
}

.titrePartie{
  background: rgb(24, 10, 1);
  color:whitesmoke;
  font-size: 2.5em;
  font-weight: 700;
  font-family: "Permanent Marker", cursive;
  text-align: center;
}

.textePartie{
  text-align: center;
  line-height: 1.5;
  padding: 40px;
  font-weight: 400;
}

.textePartieAdministration{
  text-align: center;
  line-height: 0.8;
  padding: 40px;
  font-weight: 200;
  font-size:0.8rem
}

.titreN2{
    font-size: 1.8rem;
    font-weight: 600;
    text-align: left;
    padding-left:40px;
    color:  rgb(228,114,43);
}

.texteGauche{
    text-align: left;
    padding-left : 100px;
}

.paragraph{
    padding:20px 0px;
    border: 2px solid black;
}


.ecritureResultatNoBorder{
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items:baseline;
    padding: 5px 0;
    gap:40px
    
}

.texteDroit{
    text-align: right;
}

.texteGaucheNoPad{
    text-align: left;
}
.selection .texteGaucheNoPad{
    display:none;
}

.selection .texteGaucheNoPad:target {
  display: block;
  border: 2px solid darkorange;
  background-color: beige;
}


.bouton{
    border:2px;
}

.ecritureResultat{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border: 2px solid black;
    padding: 5px 0;
}

.match{
    display: flex;
    flex-direction: column;
    justify-content: left;
}

.categorie{
    color: rgb(18, 18, 178);
    font-weight: 600;
    padding-left: 10px;
    
}


.equipe{
    font-weight: 700;
    padding: 0 5px;
}

.VS{
    color: rgb(115, 16, 16);
    font-size: 1.7rem;
    font-weight: 800;
    padding: 0 15px;
}

.score{
    color: rgb(238, 124, 10);
    font-size: 1.6rem;
    font-weight: 700;
}

.statut{
    font-size: 1.1rem;
    padding-right: 40px;
}

.terrain{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    justify-content: space-evenly;
    row-gap: 10px;
    margin-bottom: 20px;
}

@media screen and (max-width: 996px) {
    *{
        font-size: 12px;
    }
    header,
footer {
    background-color: white;
  	padding : 0em;
   
}
header img{
    width: 90px;
}
nav{
    
}
nav div{
    gap: 1em;
}

h1{
    color: rgb(228,114,43);
    font-size: 2.5rem;
    font-weight: 700;
    font-family: "Permanent Marker", cursive;
    text-align: center;
  	align-items: center;
}

.accueil{
    padding-top: 40px;
    padding-bottom: 40px;
}

.box{
    border: 5px solid black;
    border-radius: 10px;
    width: 300px;
    height: 100px;
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: white;
}


.partie{
  background-color: white;
  display: flex;
  flex-direction: column;
  margin:10px 20px;
  border: 7px solid  rgb(24, 10, 1);
  border-radius: 0 0 10px 10px;
}


.titrePartie{
  font-size: 1.6em;
  font-weight: 700;
}


.textePartie{
  text-align: center;
  line-height: 1;
  padding: 10px;
}


.texteGauche{
    text-align: left;
    padding-left: 30px;
}


.titreN2{
    font-size: 1.3rem;
    font-weight: 600;
    padding-left:10px;
}

.paragraph{
    margin:5px 0px;
    border: 2px solid black;
}

.ecritureResultatNoBorder{

}
.equipe{
    padding: 0 2px;
}

.VS{
    
    font-size: 14px;
    
    padding: 0 4px;
}

.score{
    
    font-size: 13px;
}

.statut{
    font-size: 10px;
    padding-right: 5px;
}

.petiteImage{
    width: 30px;
}

.terrain{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    justify-content: space-evenly;
    row-gap: 5px;
    margin-bottom: 10px;
    

}


}