#particles-js {
    background-color: rgb(187, 11, 11);
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
}

body {
    margin: 0;
    padding: 20px 10px;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    background-color: #ffffff;
    color: white;
    font-family: Arial, sans-serif;
}

input[list] {
    width: 100%;
    max-width: 600px;
    padding: 10px;
    border-radius: 6px;
    border: none;
    font-size: 1rem;
    box-sizing: border-box;
    background-color: #222;
    color: white;
}

.containerModif {
    max-width: 900px;
    width: 100%;
    margin: auto;
    padding: 15px;
    background-color: #222;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(187,11,11,0.7);
}

h1, h2 {
    margin-bottom: 20px;
}

form {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

form input[type="text"],
form input[type="url"],
form input[type="submit"],
form textarea {
    width: 100%;
    max-width: 500px;
    padding: 8px 12px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    box-sizing: border-box;
}

form input[type="submit"] {
    background-color: rgb(187, 11, 11);
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    max-width: 150px;
}

form input[type="submit"]:hover {
    background-color: #a10a0a;
}

.game-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.game {
    background-color: #333;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(187,11,11,0.5);
    text-align: left;
}

.game h3 {
    margin-top: 0;
    margin-bottom: 8px;
}

.game p {
    margin: 6px 0;
    white-space: pre-wrap;
}

.inline-form {
    display: inline-block;
    margin-bottom: 15px;
}

.delete-link {
    background-color: #aa1111;
    color: white;
    border: none;
    padding: 6px 15px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.delete-link:hover {
    background-color: #880909;
}

.edit-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
    align-items: center;
}

.edit-form input[type="text"],
.edit-form input[type="url"],
.edit-form textarea {
    flex: 1 1 300px;
}

.edit-form input[type="submit"] {
    flex: 0 0 auto;
    max-width: 120px;
}

a.permission-link {
    color: #000000;
    text-decoration: none;
}

a.permission-link:hover {
    text-decoration: underline;
}

.qr-code {
    width: 200px;
    height: 200px;
    margin: 0 auto;
}
.BoutonContributeur {
    position: absolute;  
    top: 10px; 
    right: 100px;  
    display: inline-block;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    color: rgb(255, 255, 255);
    background-color: #ff0000; 
    border: 2px solid #000000; 
    border-radius: 25px;  
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);  
    transition: all 0.3s ease;  
}
#LogoOlanquaInc {
    position: absolute;
  top: 0;
  left: 0;
  width: 100px;
}
/* ------------ MEDIA QUERIES POUR RESPONSIVE DESIGN ------------ */

/* Tablettes (768px ou moins) */
@media (max-width: 768px) {
    .containerModif {
        padding: 10px;
    }

    .edit-form {
        flex-direction: column;
        align-items: stretch;
    }

    .edit-form input[type="submit"] {
        width: 100%;
        max-width: none;
    }

    .qr-code {
        width: 150px;
        height: 150px;
    }
}

/* Mobiles (480px ou moins) */
@media (max-width: 480px) {
    body {
        padding: 10px 5px;
    }

    input[list],
    form input[type="text"],
    form input[type="url"],
    form textarea,
    form input[type="submit"] {
        font-size: 0.95rem;
        max-width: 100%;
    }

    .game {
        padding: 10px 12px;
    }

    .qr-code {
        width: 120px;
        height: 120px;
    }
}
