
@font-face {
    font-family: "Book Antiqua Bold";
    src: url("https://db.onlinewebfonts.com/t/127984ac535ca158ad9724f752ade6a6.eot");
    src: url("https://db.onlinewebfonts.com/t/127984ac535ca158ad9724f752ade6a6.eot?#iefix")format("embedded-opentype"),
    url("https://db.onlinewebfonts.com/t/127984ac535ca158ad9724f752ade6a6.woff2")format("woff2"),
    url("https://db.onlinewebfonts.com/t/127984ac535ca158ad9724f752ade6a6.woff")format("woff"),
    url("https://db.onlinewebfonts.com/t/127984ac535ca158ad9724f752ade6a6.ttf")format("truetype"),
    url("https://db.onlinewebfonts.com/t/127984ac535ca158ad9724f752ade6a6.svg#Book Antiqua Bold")format("svg");
}
body {
    font-family: Book Antiqua Bold;
    margin: 0;
    padding: 0;
    background-color: #f4edd3;
}



/* HTML: <div class="loader"></div> */
.loader {
    width: 50px;
    aspect-ratio: 1;
    color: #854f1d;
    border-radius: 50%;
    display: grid;
    background: 
        conic-gradient(from 90deg at 4px 4px,#0000 90deg,currentColor 0)
        -4px -4px/calc(50% + 2px) calc(50% + 2px),
        radial-gradient(farthest-side,currentColor 6px,#0000 7px calc(100% - 6px),currentColor calc(100% - 5px)) no-repeat;
    animation: l10 2s infinite linear;
    position: relative;
}
.loader:before {
    content: "";
    border-radius: inherit;
    background: inherit;
    transform: rotate(45deg);
}
@keyframes l10 {to{transform: rotate(.5turn)}}

main {
    text-align: center;
    padding: 20px;
}
#game-features {
    color: #5d5147;
    display: flex;
    flex-wrap: wrap; /* Permettre le wrapping des éléments flexibles */
}

#game-feature{
    margin: auto;
    margin-left: 5%;
    margin-right: 5%;
    margin-bottom: 30px;
    border-radius: 10px;
    flex: 1; /* Pour que chaque game feature occupe toute la largeur sur mobile */
}
#game-feature img{
    border-radius: 10px;
    height: 300px;
    width: 100%;
    background-size: cover;
    background-position: center;
    object-fit: cover; /* Redimensionner l'image tout en conservant son ratio */
    object-position: center; /* Centrer l'image horizontalement et verticalement */
    border: 5px solid #925d29;
}
#game-feature img:hover{
    transform: scale(1.1);
    transition: 1.0s;
    border: 10px solid #925d29;
}

#game-description {
    /*background-color: #fff;*/
    height: 600px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 60px;
    background-image: url('/static/Images/index.png'); /* Chemin vers votre image */
    background-size: cover; /* Redimensionne l'image pour couvrir toute la zone */
    background-position: center; /* Centre l'image dans le formulaire */
    border-bottom: 7px solid #875957;
}

.play-button {
    position: relative;
    top: 100%; 
    left: 0%; /* Positionner le bouton au milieu de l'image horizontalement */
    transform: translate(-50%, -50%); /* Déplacer le bouton de moitié de sa taille */
    background: #001320; /* Couleur de fond */
    color: #f4edd3; /* Couleur du texte */
    padding: 20px 40px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
    border: 5px solid #925d29;
    background-clip: padding-box;
    transition: transform 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);

}
.play-button:hover {
    background: linear-gradient(to bottom, #f2e8cf, #925d29); /* Dégradé inversé au survol */
    transform: translate(-50%, -50%) scale(1.1);
}
.image-container {
    max-width: 80vw;
    position: relative;
    text-align: center;
    display: block;
    margin: 0 auto; /* Pour centrer l'image horizontalement */
}
.image-container img {
    max-width: 80vw; /* Limite la largeur de l'image à 80% de la largeur de la vue */
    height: auto; /* Permet à la hauteur de s'ajuster automatiquement pour conserver les proportions de l'image */
    display: block; /* Pour éviter tout espace supplémentaire sous l'image */
    margin: 0 auto; /* Centre l'image horizontalement */
}

.dropdown-menu {
    margin-right: 0%; /* Ajustez selon l'espace que vous voulez entre le nav et le bord droit */
    display: none;
    position: absolute;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1;
    list-style: none;
    padding: 0;
    animation: fadeIn 0.3s ease-in forwards; /* Ajoutez une animation */
    border-radius: 10px; /* Bords arrondis */
    right: 0;
}

.dropdown-menu li {
    padding: 10px;
}

.dropdown-menu li:hover {
    background-color: #f0f0f0;
}

.dropdown-menu a {
    text-decoration: none;
    color: #333;
    display: block;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown:hover .dropdown-menu {
    display: block;
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


*,
*:before,
*:after{
padding: 0;
margin: 0;
box-sizing: border-box;
}
form {
    width: 400px;
    /*background-color: rgba(255,255,255,0.13);*/
    margin: 0 auto; /* Ajoutez cette ligne pour centrer horizontalement */
    margin-top: 50px; /* Réglez la marge supérieure selon vos besoins */
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.1);
    box-shadow: 0 0 40px rgba(8,7,16,0.6);
    padding: 50px 35px;
    background-image: url('/static/Images/form.png'); /* Chemin vers votre image */
    background-size: cover; /* Redimensionne l'image pour couvrir toute la zone */
    background-position: center; /* Centre l'image dans le formulaire */
    
}

#login_form *{
    color: #ffffff;
    letter-spacing: 0.5px;
    outline: none;
    border: none;
    
}
#login_form h3{
    font-size: 21px;
    font-weight: 300;
    line-height: 42px;
    text-align: center;
    text-transform: uppercase;
    margin-top: -34px;
    transition: 1.5s;
    cursor: pointer;

}
#login_form a:hover{
    background-color: rgb( 235, 138, 13);
}
#login_form i h2{
    font-size: 21px;
    font-weight: 300;
    text-transform: uppercase;
    margin-top: -51px;
    background-color: #fff;
    width: 30px;
    height: 25px;
    font-weight: bold;
    color: #000;
    border: none;
    outline: none;
    transition: 1.5s;

}
#login_form label{
    display: block;
    margin-top: 12px;
    font-size: 16px;
    font-weight: 500;
}
#login_form input{
    display: block;
    height: 50px;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.901);
    border-radius: 20px;
    padding: 0 10px;
    margin-top: 8px;
    font-size: 14px;
    font-weight: 300;
    transition: 1.5s;
}
::placeholder{
    color: #09000071;
}

.register_option{
    text-align: center;
}
#login_form button:hover{
    transform: scale(1.2);
    transition: 1.5s;
}
#login_form input:hover
{
    transform: scale(1.2);
    transition: 1.5s;
}
#error_message {
    color: #960000;
    display: none;
    text-align: center;
    font-weight: bold;  
}
#login_form button{
width: 100%;
background-color: rgb( 235, 138, 13);
color: #080710;
padding: 15px 0;
font-size: 18px;
font-weight: 600;
border-radius: 20px;
cursor: pointer;
transition: 1.5s;
}

#register_form button:hover
    {
    transform: scale(1.2);
    transition: 1.5s;
    }
#register_form input:hover
{
transform: scale(1.2);
transition: 1.5s;
}

#register_form label a {
    color: #ffffff;
    text-decoration: underline; /* Pour rendre le lien souligné */
}

#register_form label a:hover {
    color: rgb( 235, 138, 13); /* Changement de couleur au survol */
}
#register_form label {
    display: inline-flex; /* Utiliser flexbox en ligne pour aligner les éléments horizontalement */
    align-items: center; /* Aligner les éléments verticalement */
}
#register_form input[type="checkbox"] {
    width: 20px; /* Définit la largeur de la checkbox */
    height: 20px; /* Définit la hauteur de la checkbox */
    margin-right: 10px; /* Ajoute un espacement à droite de la checkbox */
}
#register_form button{
    margin-top: 50px;
    width: 100%;
    background-color: rgb( 235, 138, 13);
    color: #080710;
    padding: 15px 0;
    font-size: 18px;
    font-weight: 600;
    border-radius: 20px;
    cursor: pointer;
    transition: 1.5s;
    }
#register_form *{
    color: #ffffff;
    letter-spacing: 0.5px;
    outline: none;
    border: none;
}
#register_form h3{
    font-size: 21px;
    font-weight: 300;
    line-height: 42px;
    text-align: center;
    text-transform: uppercase;
    margin-top: -34px;
    transition: 1.5s;
    cursor: pointer;

}
#register_form a:hover{
    background-color: rgb( 235, 138, 13);
}
#register_form i h2{
    font-size: 21px;
    font-weight: 300;
    text-transform: uppercase;
    margin-top: -51px;
    background-color: #fff;
    width: 30px;
    height: 25px;
    font-weight: bold;
    color: #000;
    border: none;
    outline: none;
    transition: 1.5s;

}
#register_form label{
    display: block;
    margin-top: 12px;
    font-size: 16px;
    font-weight: 500;
    }
#register_form input{
    display: block;
    height: 50px;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.901);
    border-radius: 20px;
    padding: 0 10px;
    margin-top: 8px;
    font-size: 14px;
    font-weight: 300;
    transition: 1.5s;
    }
.container_TOS {
    max-width: 800px;
    margin: 0 auto;
}
.TOS_div{
    text-align: center;
    align-items: center;
    display: flex;
}
.main-container {
    max-width: 80%;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    margin-top: 100px;  /* Crée de l'espace sous l'en-tête */
    margin-bottom: 50px;  /* Crée de l'espace au-dessus du pied de page */
    height: auto; /* Permet de s'ajuster à la taille du contenu */
}
.main-container .left-column {
    display: flex;
    flex-direction: column; /* Empile les éléments verticalement */
    flex: 5; /* Prend 1/4 du conteneur */
}
.worker-name{  
    font-weight: bold;
    display: flex;
}
.levels{
    max-width: 25%;
    padding: 20px;
    background-color: #706514;
}
.main-container h1 {
display: flex;
text-align: center;
}
.main-container table {
    width: 100%; /* Largeur du tableau */
    border-collapse: collapse; /* Fusion des bordures */
}
.main-container th, td {
    border: 1px solid black; /* Bordures des cellules */
    padding: 8px; /* Espacement interne */
    text-align: center; /* Centrage du texte */
}
.main-container .right-column {
    flex: 1; /* Prend 1/4 du conteneur */
}
.workers-info {
    max-width: 70%;
    margin: 20px auto;
    padding: 20px;
    background-color: #c7781de5;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column; /* Empile les éléments verticalement */
}
.container_item {
    max-width: 80%;
    margin: 20px auto;
    padding: 20px;
    background-color: #b9880070;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.container_item .item-box {
    display: flex;
    justify-content: space-between; /* Les éléments seront espacés également */
    align-items: center;
    border: 5px solid #665300;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}
.container_item .item-image {
    width: 15%;
    height: 15%;
    align-self: flex-end;
    border-radius: 50px;
    border: 5px solid #665300;
}
.container_item .item-details {
    width: 70%;
    align-self: flex-start;
    border: 5px solid #665300;
}
.container_item .item-name {
    font-weight: bold;
}
header {
    width: 100%;
    font-size: large;
    background-color: #16242d;
    color: #cdac8e;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 5px solid #875957;
    position: fixed;
    top: 0;
    z-index: 1000;  /* Toujours au-dessus du contenu principal */
}

footer {
    clear: both;
    background-color: #16242d;
    color: #cdac8e;
    text-align: center;
    padding: 10px 0;
    width: 100%;
    bottom: 0;
    position: fixed;
    left: 0;
    z-index: 1000;  /* Toujours au-dessus du contenu principal */
}
nav {
    margin-right: 1%; /* Ajustez selon l'espace que vous voulez entre le nav et le bord droit */
}
header h1 {
    margin: 0;
}
nav ul {
    
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
}
nav ul li {
    margin-left: 20px;
    margin-right: 20px;
}

nav ul li a {
    color: #cdac8e;
    text-decoration: none;
}
/* Media query pour les appareils mobiles */
@media (max-width: 600px) {
    body {
        
        margin: 0;
        padding: 0;
    }
    #game-feature {
        flex-basis: 100%; /* Chaque game feature occupe toute la largeur sur les appareils mobiles */
    }
}
