/* Styles généraux */
body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #444e73, #634c4c);
    color: #333;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Header */
#Undercover_header {
    background: linear-gradient(180deg, #000000, #013471);
    padding: 20px 0;
    z-index: 1;
    border-bottom: #595bff solid 2px;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    text-align: center;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

#list_header {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 25px;
}

.li_header {
    display: flex;
    border-radius: .5em;
    border-width: 0.1em;
    padding: 0.5em 2em 0.5em 2em;
    background: linear-gradient(180deg, #000eae, #002151);
    transition: 0.3s;
}

.lien_b {
    text-decoration: none;
    color: #ffffff;
    font-size: 20px;
    font-weight: bold;
    transition: color 0.3s, transform 0.2s;
}

.lien_b:hover {
    color: #cc67ff;
}

.li_header:hover {
    color: #fbc2eb;
    transform: scale(1.1);
}

/* Contenu principal */

#trydiv{
    width: 100%;
    display: flex;
    z-index: 0;
    perspective-origin: bottom;
    filter: drop-shadow(4px 4px 6px rgba(131, 157, 255, 0.81));
    background-image: url("../image/espion-bg.png");

}
#maindiv {
    max-width: 850px;
    margin: 120px auto 50px;
    background: rgba(255, 255, 255, 0.9);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.2);
    text-align: center;
}

#title h1 {
    font-size: 40px;
    color: #1b354a;
    text-shadow: 2px 2px 8px rgba(119, 112, 250, 0.5);
}

#rule {
    font-size: 20px;
    color: #353535;
    line-height: 1.8;
    font-weight: 400;
}

/* Image */
#image {
    max-width: 300px;
    margin: 25px 0;
    filter: drop-shadow(4px 4px 6px rgba(131, 157, 255, 0.81));
}

/* Jeu */
#game {
    background: #fff7f3;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
}

#animetitle {
    font-size: 22px;
    color: #23246a;
    font-weight: bold;
}

#turn {
    font-size: 18px;
    color: #333;
    opacity: 0.9;
}

#admin{
    padding-top: 2em;
    display: flex;
    margin: auto;
}

.buttonadmin{
    border-radius: .5em;
    cursor: pointer;
    margin: auto;
    color: white;
    border-width: 2px;
    border-color: #002151;
    padding: 1em 2em 1em 2em;
    background: linear-gradient(140deg, #4669f3, #00214a);
}

#sectionAuth {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
    padding-top: 80px;
}

#form_auth {
    background: rgba(255, 255, 255, 0.9);
    padding: 5%;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 80%;
}

.auth_form h2 {
    color: #1b354a;
    font-size: 24px;
    margin-bottom: 20px;
}

.text_enter {
    width: calc(100% - 20px);
    padding: 10px;
    margin-top: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

#grid_buton_auth {
    margin-top: 20px;
}

.bouton_auth {
    padding: 10px 15px;
    margin: 5px;
    border: none;
    border-radius: 5px;
    background: linear-gradient(140deg, #4669f3, #00214a);
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.bouton_auth:hover {
    background: linear-gradient(140deg, #5b7df5, #00306a);
    transform: scale(1.05);
}

