@font-face {
    font-family: 'Syncopate';
    src: url('ressources/polices/Syncopate-Regular.ttf') format('truetype'); /* Remplacez 'your-font' par le nom de votre fichier de police et indiquez le bon chemin vers le fichier */
    font-weight: normal;
    font-style: normal;
}


/* Styles pour le corps de la page */
body {
    background-image: url("image/BG.jpg");
    background-attachment: fixed;
	margin-top: 100px;
}

.bienvenue {
    display: flex;
    justify-content: center;
}

.square-container {
    display: flex;
    border-radius: 20px;
    gap: 20px; /* Espacement entre les carrés */
}

.square {
    position: relative;
    width: 300px;
    height: 300px;
    background: linear-gradient(to top right, #343434, #141414);
    border-radius: 20px;
    border: 5px solid transparent;
    transition: border-color 0.5s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 20px;
    margin-top: 150px;
}

.square:hover {
    border-color: #0EFF87;
}

.square img {
    height: 50px;
    width: 50px;
    margin-top: 50px;
}

.square-link {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
	width: 100%;
    text-decoration: none;
	font-family: Syncopate;
}




/* Styles pour les tableaux */
.tab {
    margin: auto;
    margin-bottom: +200px;
    border-spacing: 10px;
}

/* Styles pour les cellules du tableau */
td, th {
    margin: auto;
    margin: 10px;
    color: white;
    text-align: center;
}

.index-content{
	margin-top: 200px;
	width: 1000px;
	height: 1000px;
	margin: auto;
}

/* Styles pour les noms des Pokémon */
.poke_name {
    width: 100px;
    height: 25px;
    /*border: 2px solid #181818;*/
    border-radius: 10px;
    margin-bottom: 5px;
    font-family: Arial, bold, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Styles pour les images des Pokémon */
.poke_image {
    position: relative;
    width: 100px;
    height: 100px;
    /*border: 2px solid #181818;*/
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pokemon-known {
    /* Styles pour les Pokémon connus */
    border: 2px solid #0EFF87; /* Bordure verte pour les Pokémon connus */
	border-image: linear-gradient(to top, #0EFF87, #26FEFF 50%, );
	border-image-slice: 1;
	border-radius: 10px;
    /* Autres styles... */
}

.pokemon-unknown {
    /* Styles pour les Pokémon inconnus */
    border: 2px solid black; /* Bordure rouge pour les Pokémon inconnus */
    /* Autres styles... */
}


/* Styles pour les compteurs de Pokémon capturés */
.poke_captured_count {
    position: absolute;
    top: 5px;
    right: 5px;
    color: white;
    border: 2px solid #181818;
    border-radius: 100%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Styles pour le nombre total de Pokémon */
.Nb_Pokemon {
    width: 1000px;
    height: 30px;
    margin: auto;
    text-align: center;
    font-size: 20px;
    color: white;
    font-family: Syncopate, bold, sans-serif;
}

/* Styles pour le pourcentage */
.Purcent {
    background: #141414;
    border: 2px solid black;
    width: 300px;
    padding: 20px;
    height: 80px;
    margin: auto;
    text-align: center;
    font-size: 80px;
    color: white;
    margin-bottom: 5px;
    font-family: Syncopate, bold, sans-serif;
    border-radius: 25px; 
}

/* Styles pour le pourcentage */
.pokedex_switch {
    background: #141414;
    border: 2px solid black;
    width: 250px;
    padding: 5px;
    height: 30px;
    margin: auto;
    text-align: center;
    font-size: 14px;
    color: white;
    margin-bottom: 30px;
    font-family: Syncopate, bold, sans-serif;
    border-radius: 10px; 
}

.pokedex_switch:hover{
	border: 2px solid #0EFF87;
}


.pokedex_form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
	font-family: Syncopate;
	margin-top: 275px;
}

.pokedex_form div {
    font-size: 24px;
	font-family: Syncopate;
    color: white;
}

.pokedex_form form {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.pokedex_form input[type="text"] {
    width: 800px;
    height: 50px;
    border-radius: 25px;
    border: 1px solid black;
	font-family: Syncopate;
	font-size: 24px;
    padding: 10px;
    margin-bottom: 20px;
	text-align: center;
}

.pokedex_form input[type="submit"] {
	font-family: Syncopate;
    width: 200px;
    height: 50px;
    background-color: #141414;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
	font-size: 20px;
}

.pokedex_form input[type="submit"]:hover {
    border: 2px solid #0EFF87;
}


/* Styles pour les titres */
.titre {
    text-align: center;
    font-size: 30px;
    margin-top: 50px;
    margin-bottom: 50px;
    line-height: 40px;
    color: white;
    font-family: Syncopate, bold, sans-serif;
}

/* Styles pour les colonnes */
.shop_columns {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
	font-family: Syncopate; 
}
}

/* Styles pour chaque colonne */
.shop_column {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px;
	font-family: Syncopate; 
}
}

/* Styles pour les blocs d'article */
.shop_article {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px;
	font-family: Syncopate; 
}

/* Styles pour les images des articles */
.shop_image img {
    width: 200px;
    height: 200px;
    border-radius: 20px;
}

.shop_name{
	font-family: Syncopate;
	margin-bottom: 10px;
}

.shop_acheter{
	font-family: Syncopate;
	margin-top: 10px;
	margin-bottom: 30px;
	height: 20px; 
	width: 200px; 
	border: 2px solid black; 
	border-radius: 25px; 
	background: #343434;
}

.shop_acheter: hover{
	border: 5px solid green; 
	transition: opacity 0.5 ease; 
	
}



/* Styles pour les liens "Acheter" */
.shop_link {
    display: block;
    text-align: center;
    margin-top: 10px;
}
/* Nouveau CSS */
.shop_parent_container {
    display: flex;
    justify-content: center;
    align-items: center;
	margin-bottom: 50px;
	margin-top: -40px;
}

.shop_partner {
    color: white;
    font-family: Syncopate;
    text-align: center; /* Pour centrer le texte à l'intérieur de la div */
}

.shop_partner img {
    border-radius: 10px;
    border: 2px solid white;
    height: 50px;
    width: 313px; /* J'ai corrigé l'erreur de virgule dans la valeur width */
}


/* Styles pour le contenu principal */
.main-content {
    /* Autres styles */
    min-height: 100vh;
    margin-bottom: -185px; /* Ajouter un padding équivalent à la hauteur du pied de page */
    /* ou utilisez margin-bottom: -150px; */
}

/* Styles pour le pied de page */
.foot {
    height: 150px;
    background-image: linear-gradient(to bottom, black, #141414);
    left: 0;
    right: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
	bottom: 0;
}



/* Styles pour le texte du pied de page */
.foot_text {
    color: white;
    font-size: 12px;
    font-family: Syncopate, bold, sans-serif;
    background-image: linear-gradient(to bottom, black, #141414);
    transition: background-image 0.5s ease; /* Ajouter une transition de 0.5s */
}


/* Styles pour les colonnes du pied de page */
.colonne {
    display: inline-block;
    margin: 0 20px;
    vertical-align: top; /* Pour aligner les éléments en haut */
    font-size: 16px; /* Réduire la taille du texte */
    margin-bottom: 10px; /* Ajouter un peu d'espace entre les titres et les sous-catégories */
}


/* Styles pour les titres du pied de page */
.foot-titre {
	margin: auto;
	padding-top: 20px;
    font-size: 14px; /* Réduire la taille du texte */
    font-weight: bold;
    margin-bottom: 5px; /* Ajouter un peu d'espace entre les titres et les sous-catégories */
}

/* Styles pour les listes dans les colonnes du pied de page */
ul {
    list-style-type: none;
    padding: 0;
}

/* Styles pour les éléments de liste dans les colonnes du pied de page */
li {
    margin-bottom: 5px;
}

/* Styles pour les liens dans les colonnes du pied de page */
a {
    text-decoration: none;
    color: white;
    transition: color 0.5s;
}

/* Styles pour les liens au survol dans les colonnes du pied de page */
a:hover {
	color: #0EFF87;
}

/* Styles pour les icônes de réseaux sociaux dans le pied de page */
.social-link {
    display: inline-block;
    position: relative;
    margin: 0 10px;
}

.social-icon,
.social-icon-overlay {
    max-width: 100%;
    height: auto;
    transform: scale(0.5);
}

.social-icon {
    opacity: 1;
    transition: opacity 0.5s ease;
}

.social-icon-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.social-link:hover .social-icon {
    opacity: 0;
}

.social-link:hover .social-icon-overlay {
    opacity: 1;
}

/* Styles pour le compte à rebours */
.countdown {
    font-size: 48px;
    font-weight: bold;
    text-align: center;
}

.hidden {
    display: none;
}

/* Styles pour l'annonce du gagnant */
#winner {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-top: 20px;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.fade-in {
  animation: fadeIn 1s ease-in-out;
}


/* Styles pour l'animation de fade-in */
.fade-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.fade-in.fade-in-active {
    opacity: 1;
    transform: scale(1);
}
/* Style du menu */


.navbar {
    background-color: #141414;
    position: fixed;
    top: 0;
    width: 100%;
    height: 46px;
    z-index: 999;
    font-family: Syncopate; 
    display: flex;
    justify-content: space-between;
}

.navbar-content {
    width: 100%;
    max-width: 1000px; /* Ajuster selon vos besoins */
    margin: auto;
    display: flex;
    justify-content: center;
}


.navbar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.navbar li {
    display: inline-block;
}

.navbar a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

.navbar a:hover {
    background-color: #ddd;
    color: black;
}

.log{
	z-index: 9999;
	position: fixed;
	margin-left: 5px;
    margin-top: 7px;
	right: 10px;
	top: 0px;
	
}


.login{ 
    
    background: linear-gradient(to top, #545454, #444444);
    color: black;
    font-family: Syncopate;
    font-size: 12px;
    border: 2px solid black;
    border-radius: 6px;
    display: flex;
    align-items: center; /* Centre verticalement */
    padding: 5px;
}

.login .username {
    display: flex;
    align-items: center; /* Centre verticalement */
}

.login:hover{
	border: 2px solid #0EFF87;
}

.logout{
	width: 30px;
	height: 30px;
    background: linear-gradient(to top, #545454, #444444);
    color: black;
    font-family: Syncopate;
    font-size: 12px;
    border: 2px solid black;
    border-radius: 6px;
    position: fixed;
	margin-left: -35px;
    display: flex;
    align-items: center; /* Centre verticalement */
}

.logout img{
	height: 20px;
	width: 20px;
	margin-left: 5px;
}

/*
.login-container .submenu {
    display: none;
    position: absolute;
    background-color: #545454;
    list-style: none;
    padding: 0;
    border: 2px solid black;
    border-radius: 6px;
    z-index: 9999;
}

.login-container:hover .submenu {
    display: block;
}

*/
.user-info {
    display: flex;
    align-items: center;
    margin-right: 20px; /* Ajuster la marge droite pour espacement */
}

.avatar{
	width: 20px;
	height: 20px;
	margin-right: 5px;
}
.user-info .avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin-left: 10px; /* Ajoutez cette ligne pour espacement */
}

.user-info .username {
    position: relative;
    color: white;
    cursor: pointer;
}

.username {
    margin-right: 10px;
    color: white; /* Ajoutez la couleur du texte */
}


.user-dropdown {
    position: relative;
}

.user-dropdown-toggle {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.user-submenu {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    background-color: #141414;
    padding: 5px 0;
    list-style: none;
    border: 1px solid #ccc;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.user-dropdown:hover .user-submenu {
    display: block;
}

}

.user-submenu li {
    padding: 10px 15px;
}

.user-submenu a {
    color: white;
    text-decoration: none;
}

.user-submenu a:hover {
    background-color: #ddd;
    color: black;
}


.submenu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #141414;
    list-style: none;
    padding: 0;
}

.username:hover .submenu {
    display: block;
}


.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #141414;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content li {
    padding: 12px 16px;
}

/* Ajoutez cette règle pour cacher la liste déroulante lorsque le pointeur de la souris ne survole plus le lien */
.navbar li:not(:hover) .dropdown-content {
    display: none;
}

.navbar .user-dropdown:not(:hover) .user-submenu {
    display: none;
}


.dropdown:hover .dropdown-content {
    display: block;
}

.content {
    margin-top: 60px; /* Assurez-vous que le contenu n'est pas caché derrière le menu */
}


* {
    margin: 0;
    padding: 0;
}

