
* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
}

/* La police utilisé sur l'ensemble de la page */
body {
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

/* La couleur pour les titres*/
h1, h2 {
    color: white;
}

/* Design de l'en-tête */
header {
    display: flex;
    justify-content: space-between;
    background-color: rgba(0, 0, 0, 0.877);
}

/* Les dimensions pour les images */
img {
    width: 50px;
    height: 50px;
    padding: 1% 3%;
    border-radius: 50%;
}

/* Le design de la navigation */
nav {
    width: 35%;
}

nav ul li {
    display: inline-block;
    padding: 5% 5%;
}

nav ul li a {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 14px;
    text-decoration: none;
    color: white;
}

/* L'effet pour les liens lors du survol */
a:hover {
    color: rgb(253, 106, 53);
}

/* Design des sections */
section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgb(218, 161, 74);
}

section h1 {
    color: rgb(253, 253, 253);
    padding: 3%;
}

/* Design des articles */
section article {
    width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(76, 76, 245, 0.907);
    border-radius: 5%;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.33);
    margin: 3%;
    padding: 3% 3%;
}

section article p {
    padding: 5%;
    color: white;
}

section article button {
    width: 100px;
    height: 40px;
    background-color: rgb(249, 94, 38);
    border-radius: 10px;
    box-shadow: 0 0 10px 0 rgba(78, 77, 77, 0.396);
    border: none;
}

section article button:hover {
    background-color: rgba(0, 0, 0, 0.877);
}

section article button a {
    color: white;
}

/* Design pour les formulaires */
form {
    width: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(76, 76, 245, 0.907);
    border-radius: 5%;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.486);
    margin: 5%;
}

form label {
    text-align: center;
    font-size: 13px;
    color: white;
    margin: 5%;
}

/* Design des champs de saisie dans les formulaires */
form input {
    width: 130px;
    margin: 3%;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.425);
}

/* Design des boutons au sein du formulaire */
form .button {
    color: black;
    width: 80px;
    height: 30px;
    background-color: rgb(249, 94, 38);
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.194);
}

form .button:hover {
    color: white;
    background-color: rgba(76, 76, 245, 0.907);
    border: 1px solid white;
}

/* Design pour les liens dans le formulaire*/
form a {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 14px;
    color: white;
}

/* Design pour le titre au sein des formulaires */
form h2 {
    margin: 3%;
    color: white;
}

/* Design pour le bouton modifier */
.btn-update {
    color: white;
    text-align: center;
    width: 100px;
    margin: 5%;
    padding: 3% 3%;
    border-radius: 10px;
    border: 1px solid;
    background-color: rgb(249, 94, 38);
}

/* Design pour le bouton de déconnexion */
.btn-logout {
    border: 1px solid;
    padding: 5%;
    background-color: rgb(249, 94, 38);
    border-radius: 5px;
}

/* Effet */
.btn-update:hover,
.btn-logout:hover {
    color: black;
}

/* Effet de hover sur les liens */
form a:hover {
    color: rgb(249, 94, 38);
}

/* Design pour les tableaux HTML */
table {
    width: 100%;
}

table th {
    font-size: 18px;
    color: rgb(1, 1, 1);
    padding: 3%;
}

table td {
    border: 1px groove white;
    font-size: 13px;
    color: white;
    text-align: center;
    padding: 3% 3%;
}

/* Design pour le pied de page */
footer {
    width: 100%;
    height: 100%;
    position: fixed;
    background-color: rgba(0, 0, 0, 0.877);
}

footer h6 {
    text-align: center;
    color: white;
    padding: 5%;
}

/* PARTIE RESPONSIVE*/


/* responsive design pour smartphones */
@media (max-width: 480px) {

    body {
        font-size: 14px;
        font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
          
      }
  
      header{
          display: flex;
          flex-direction: column;
          align-items: center;
      }

      img{
        margin: 2%;
      }

      nav{
        margin: 3%;
        width: 40%;
        
      }

      nav ul{
        text-align: center;
      }

      nav ul li{
        display: block;
        margin: 5%;
    }

    section h1{
        font-size: 16px;
        text-align: center;
        color: rgb(253, 253, 253);
        margin: 5%;
        padding: 2% 2%;
    }

    section article{
        width: 300px;
        height: 300;
    }

    
    section article p{
        padding: 0;
        margin: 5%;
        color: white;
    
    }

    section article button{
        width: 100px;
        height: 40px;
        background-color: rgb(249, 94, 38);
        border-radius: 10px;
        box-shadow: 0 0 10px 0 rgba(78, 77, 77, 0.396);
        border: none;
    }

    section article button:hover{
        background-color:   rgba(0, 0, 0, 0.877) ;
    }

    section article button a{
        color: white;
    }

    section article button a:hover{
        color: white;
    }

    form{
        width: 300px;
        display: flex;
        flex-direction: column;
        align-items: center;
        background-color: rgba(76, 76, 245, 0.907);
        border-radius: 5%;
        box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.486);
        margin: 5%;
    }

    form h1{
        color: white;
    }

    form label{
        text-align: center;
        font-size: 12px;
        color: white;
    }

    form input{
        width: 120px;
        height: 20px;
        margin: 5%;
        box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.425);
    }

    form a{
        font-size: 14px;
        color: white;
        
    }

    form a:hover{
        color:  rgb(249, 94, 38);
    }

    .btn-update{
        color: white;
        text-align: center;
        width: 100px;
        height: 30px;
        margin: 5%;
        padding: 1% 3%;
        border-radius: 10px;
        border: 1px solid;
        background-color: rgb(249, 94, 38); 
     }


    footer{
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        background-color: rgba(0, 0, 0, 0.877);
    }

    footer h6{
        text-align: center;
        color: white;
    }
      
  
  }

  /* Responsive design pour tablettes */
  @media (min-width: 481px) and (max-width: 794px) {
    header{
        display: flex;
        justify-content: space-between;
    } 

    img{
        width: 35px;
        height: 35px;
    }

    nav{
        margin: 3%;
        width: 50%;
        
      }

      nav ul{
        text-align: center;
      }

      nav ul li{
        display: inline-block;
        padding: 0 5%;
    }

    nav ul li a {
        font-size: 12px;
    }

    section h1{
        font-size: 16px;
        text-align: center;
        color: rgb(253, 253, 253);
        margin: 5%;
        padding: 2% 2%;
    }

    section article{
        width: 300px;
        height: 300;
    }

    
    section article p{
        padding: 0;
        margin: 5%;
        color: white;
    
    }

    section article button{
        width: 100px;
        height: 40px;
        background-color: rgb(249, 94, 38);
        border-radius: 10px;
        box-shadow: 0 0 10px 0 rgba(78, 77, 77, 0.396);
        border: none;
    }

    section article button:hover{
        background-color:   rgba(0, 0, 0, 0.877) ;

    }

    section article button a{
        color: white;
    }

    section article button a:hover{
        color: white;
    }

    form{
        width: 300px;
        display: flex;
        flex-direction: column;
        align-items: center;
        background-color: rgba(76, 76, 245, 0.907);
        border-radius: 10px;
        box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.486);
        margin: 5%;
    }

    form h1{
        color: white;
    }

    form label{
        text-align: center;
        font-size: 12px;
        color: white;
    }

    form input{
        width: 120px;
        height: 20px;
        margin: 5%;
        box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.425);
    }

    form a{
        font-size: 14px;
        color: white;
        
    }

    form a:hover{
        color:  rgb(249, 94, 38);
    }

    .btn-update{
        color: white;
        text-align: center;
        width: 100px;
        height: 30px;
        margin: 5%;
        padding: 1% 3%;
        border-radius: 10px;
        border: 1px solid;
        background-color: rgb(249, 94, 38); 
     }


    footer{
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        background-color: rgba(0, 0, 0, 0.877);
    }

    footer h6{
        text-align: center;
        color: white;
    }
  }