/* Reset de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Rubik';
    src: url('../Rubik Font/static/Rubik-Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    font-family: Rubik;
    background-color: black; /* Couleur de fond */
}

/* Conteneur principal */
.container {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.Background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Pour s'assurer que la vidéo couvre tout l'espace */
    z-index: -1; /* Assurer que la vidéo est en arrière-plan */
}

.logo-section {
    position: fixed;
    top: 0; /* Position du logo */
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    margin: 0 0 50px 0;
}

.dragon-logo {
    width: auto;
    height: 300px; /* Ajustez cette hauteur si nécessaire */
}

.sponsorlogo-section {
    position: fixed;
    top: 85%; /* Position du logo */
    left: 85%;
    z-index: 2;
}

.sponsor-logo {
    width: auto;
    height: 150px; /* Ajustez cette hauteur si nécessaire */
}

/* Style général du conteneur avec positionnement */
.container-versus {
    position: absolute;
    top: 153px;
    left: 50%;
    transform: translateX(-50%);
    width: 1920px;
    height: 533px;
    display: flex;
    flex-direction: column;
}

.team1-logo {
    position: fixed;
    top: 15px;
    left: 140px;
}

.team2-logo {
    position: fixed;
    top: 15px;
    left: 1250px;
}

/* BoxVS centré et derrière */
.BoxVS {
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    width: 330px;
    height: 330px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1; /* En dessous des équipes */
}

/* Style pour l'élément VS */
.BoxVS .title5 {
    font-size: 70px;
    font-weight: bold;
    color: rgb(255, 255, 255); /* Couleur personnalisée pour le VS */
}

/* Style pour les logos */
.team1-logo {
    position: absolute;
    right: 855px;
    width: auto;
    height: 500px;
}

.team2-logo {
    position: absolute;
    right: -15px;
    width: auto;
    height: 500px;
}

/* Style général du conteneur avec positionnement */
.container-map {
    position: absolute;
    top: 808px;
    left: 50%;
    transform: translateX(-50%);
    width: 860px;
    height: 154px;
    overflow: hidden; /* Cache tout dépassement de l'image */
}

.map-played {    
    width: 100%;
    height: 100%;
    object-fit: cover; /* Assure que l'image couvre tout le conteneur */
    display: block; /* Supprime l'espace blanc autour de l'image */
}

.title6 {
    position: absolute;
    bottom: 0; /* Collé en haut de la box */
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    color: white;
    background: rgba(0, 0, 0, 0.6); /* Fond semi-transparent pour lisibilité */
    padding: 5px 0;
    z-index: 2; /* S'assurer qu'il est au-dessus de l'image */
}
