/* Styles globaux */

@font-face {
    font-family: 'Rubik';
    src: url('../Rubik Font/static/Rubik-Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    background-color: #111;
    color: #fff;
    font-family: Rubik;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center; /* Centre le contenu horizontalement */
    align-items: center; /* Centre le contenu verticalement */
    height: 100vh; /* Prend toute la hauteur de la vue */
}

.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Place l'image en arrière-plan */
    object-fit: cover; /* S'adapte à la taille de la fenêtre tout en maintenant les proportions */
}

/* Logo */
.logo-container {
    position: absolute;
    top: 60px;
    left: 80px;
    z-index: 2;
}

.logotournoi {
    width: 200px;
    height: auto;
}


.Texte {
    position: absolute;
    top: 80px;
    left: 300px;
    z-index: 2;
    color: #ffffff;
    font-size: 100px;
    font-weight: bold;
    font-style: italic;   
    text-shadow: 5px 5px 10px rgba(0, 0, 0, 0.7); /* Ombre du texte */
}

.divider {
    position: absolute;
    top: 200px;
    left: 300px;
    width: 250px;
    border: 5px solid #ffffff;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.7); /* Ombre de la barre */
}

#map-pool-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 0 0 0 0; /* Ajout d'un padding en haut */
    width: 1920px; /* Largeur à 1920 pixels */
    overflow: hidden;
}

.map-card {
    background-color: #0D182A;
    height: 600px;
    transform: skewX(-10deg);
    position: relative;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    border: 10px solid transparent; /* Couleur du bord par défaut */
    transition: border-color 0.3s ease; /* Transition pour la couleur de bord */
    width: 200px; /* Largeur par défaut pour BO7 */
}

.map-card.map-played {
    border-color: #00CCCC; /* Couleur du bord pour la carte jouée */
}

.map-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80.5%;
    background-position: center;
    background-size: cover;
    z-index: 1;
}

.map-info {
    padding: 10px;
    text-align: center;
    z-index: 2;
    background-color: #0D182A;
}

.map-finished .overlay {
    background-color: #0D182A;
    padding: 10px;
    position: absolute;
    bottom: 300px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 3; /* Ensure overlay is above other content */
}

.logo {
    width: 50px;
    height: auto;
}

.winner-name {
    font-weight: bold;
    margin: 5px 0;
}

.winner-score {
    font-size: 1.2rem;
}

video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}