/***********************/
/*        FONTS        */
/***********************/

@font-face {
    font-family: 'MedievalSharp';
    src: url('../fonts/MedievalSharp-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'MedulaOne';
    src: url('../fonts/MedulaOne-Regular.ttf') format('truetype');
}

/***********************/
/*       GENERAL       */
/***********************/

/* background */

body {
    background-image: url("../images/background.png");
    background-size: cover;
    background-position: center;
    font-family: 'MedievalSharp';
    height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
}

button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* bouttons */

a {
    color: black;
    text-decoration: none;
}

.btn {
    background-color: #DEB887 !important;
    text-align: center;
    margin: auto;
    align-items: center;
    padding: 10px 50px;
    font-family: 'MedievalSharp';
    border-radius: 5px;
    border: black solid 2px;
    font-size: 25px;
    width: 90%;
    max-width: 300px;
    color: black;
}

.btn:disabled {
    background-color: #C1B7AB;
    text-align: center;
    margin: auto;
    align-items: center;
    padding: 10px 50px;
    font-family: 'MedievalSharp';
    border-color: black;
    color: rgb(59, 59, 59);
    border-radius: 5px;
    font-size: 25px;
    width: 100%;
}

.bouttons {
    text-align: center;
    margin: auto;
    margin-bottom: 15%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bouttons .btn {
    margin-bottom: 10px;
}

/* texte */

h1 {
    font-size: 2.5em;
    margin: 20px;
    text-align: center;
}

h2 {
    font-size: 2em;
    margin: 10px;
    text-align: center;
}

h3 {
    font-family: 'MedulaOne';
    font-size: 1.5em;
}

p {
    margin: 10px 10px;
}

/***********************/
/*     FORMULAIRE      */
/***********************/

input {
    background-color: transparent;
    border: none;
    border-bottom: solid black 3px;
    font-family: 'MedulaOne';
    font-size: 1.5em;
}

/***********************/
/*        INDEX        */
/***********************/

.index {
    text-align: center;
    margin: auto;
}

.index h1 {
    font-size: 3.5em;
}

/***********************/
/*       REGLES        */
/***********************/

a.lien {
    color: red;
    text-decoration: underline;
}

/***********************/
/*    CREER PARTIE     */
/***********************/

.ajouter_joueur button {
    background-color: #DEB887;
    border:solid 2px black;
    border-radius: 5px;
    font-family: 'MedievalSharp';
    font-size: 1.5em;
}

.supprimer-joueur {
    color: red;
}

#liste_joueurs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.carte_joueur {
    margin: auto 10px;
}

.carte_joueur h3 {
    font-size: 2em;
    margin-bottom: 5px;
}

.carte_joueur img {
    height: 6em;
}

/***********************/
/*      JOUER.PHP      */
/***********************/

.carte52 {
    border: solid black 3px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    background-color: #DEB887;
}

.carte52 p {
    font-family: 'MedulaOne';
    font-size: 1.8em;
    text-align: right;
}

.carte52 p:first-child {
    text-align: left;
}

.carte52 img {
    height: 4em;
    margin: 0 1em;
}

.trebuchet h3 {
    color: red;
}
.trebuchet .carte52 {
    border-color: red;
}

.resultats {
    text-align: center;
    margin-top: 1em;
}

.resultats h2 {
    font-size: 2em;
}

.resultats h3 {
    color: red;
    font-size: 2em;
    margin-top: 0;
}

/***********************/
/*   PARAMETRES.PHP    */
/***********************/

.liste_joueurs_params {
    margin-bottom: 2em;
}


thead tr th {
    font-size: 1.5em;
}

tbody tr th {
    font-family: 'MedulaOne';
    font-size: 1.8em;
}

tbody tr th .btn {
    font-size: 0.8em;
    padding: 10px 20px;
    font-family: 'MedulaOne';
}

form.ajouter_joueur {
    display: flex;
    justify-content: center;
}
