/*-----------------------------------------
Autheur:        Ephram Guenaud
Version:        1.0.0
Date:           09.06.2026
Description:    fichier css pour la page 
                "index.html".
-----------------------------------------*/

/* --------------------------
   RESET
-------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* --------------------------
   PAGE
-------------------------- */
body {
    min-height: 100vh;

    display: flex;
    flex-direction: column;

    background-image: url("../images/publicFont.jpg"); /* à adapter */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    font-family: Arial, Helvetica, sans-serif;
    position: relative;
}

/* Flou sur l'arrière-plan */
body::before {
    content: "";
    position: fixed;
    inset: 0;

    background: inherit;
    filter: blur(8px);
    transform: scale(1.05);

    z-index: -2;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;

    background: rgba(255, 255, 255, 0.15);

    z-index: -1;
}

/* --------------------------
   NAVIGATION
-------------------------- */
nav {
    position: absolute;
    top: 25px;
    left: 25px;

    display: flex;
    gap: 15px;
}

button {
    width: 100px;
    height: 40px;

    border: none;
    border-radius: 12px;

    background-color: white;
    cursor: pointer;

    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);

    margin-right: 5px;
    margin-left: 5px;
}

/* --------------------------
   CONTENU PRINCIPAL
-------------------------- */
main {
    width: 550px;
    min-height: 650px;

    margin: auto;

    background-color: rgba(255,255,255,0.92);

    border-radius: 50px;

    display: flex;
    flex-direction: column;
    align-items: center;

    padding: 30px;
}

main h1 {
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 15px;
}

main p {
    font-size: 1.2rem;
    margin-bottom: 50px;
}

/* --------------------------
   LISTE DES JOUEURS
-------------------------- */
#liste {
    width: 420px;
    height: 420px;

    overflow-y: auto;

    padding: 15px;
    border-radius: 10px;

    display: flex;
    justify-content: center;
}

#liste button {
    background-color: #7d67b3;

    transition: 0.2s;

    color: white;

    margin: 5px;
}

#liste button:hover {
    background-color: rgb(204, 84, 84);
}

/* --------------------------
   FOOTER
-------------------------- */
footer {
    position: fixed;
    right: 20px;
    bottom: 15px;
}

footer h2 {
    font-size: 1rem;
    color: rgba(0, 0, 0, 0.4);
    font-weight: normal;
}