/* Reset de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Big Noodle';
    src: url('../big noodle/big_noodle_titling.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Sen';
    src: url('../sen/Sen-Regular.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-right {
    position: absolute;
    top: 315px;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 350px;
    display: flex;
    flex-direction: column;
    gap: 80px; /* Espace entre les matchs */
    padding: 20px;
}

/* Style pour chaque match */
.Match1, .Match2, .Match3 {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 50%; /* Chaque match occupe la moitié de la hauteur du container */
}

/* BoxTeam1 et BoxTeam2 */
.BoxTeam1, .BoxTeam2 {
    width: 430px;
    height: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2; /* Pour être au-dessus du VS */
}

.Match1 .BoxTeam1 {
    background-color: #adadad;
}

.Match1 .BoxTeam2 {
    background-color: #adadad;
}

.Match2 .BoxTeam1 {
    background-color: #adadad;
}

.Match2 .BoxTeam2 {
    background-color: #adadad;
}

.Match3 .BoxTeam1 {
    background-color: #adadad;
}

.Match3 .BoxTeam2 {
    background-color: #adadad;
}

/* Ajustement du clip-path pour l'effet désiré */
.BoxTeam1 {
    clip-path: polygon(0 0, 95% 0, 100% 100%, 0 100%, 0 100%);
}

.BoxTeam2 {
    clip-path: polygon(5% 0, 100% 0, 100% 100%, 0 100%, 0 100%);
}

/* BoxVS centré et derrière */
.BoxVS {
    font-family: 'Big Noodle';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 89px;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1; /* En dessous des équipes */
}

/* Style pour les titres d'équipe */
.title4, .title6 {
    font-family: 'Sen';
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
}

.Match1 .title4 {    
    color: black;
}

.Match1 .title6 {
    color: black;
}

.Match2 .title4 {
    color: black;
}

.Match2 .title6 {
    color: black;
}

.Match3 .title4 {
    color: black;
}

.Match3 .title6 {
    color: black;
}

/* Style pour l'élément VS */
.BoxVS .title5 {
    font-size: 40px;
    font-weight: bold;
    color: rgb(0, 0, 0); /* Couleur personnalisée pour le VS */
}

/* Style pour les logos */
.team1-logo {
    position: absolute;
    right: 855px;
    width: 120px;
    height: 120px;
}

.team2-logo {
    position: absolute;
    right: -15px;
    width: 120px;
    height: 120px;
}

.live-stream {
    font-family: 'Big Noodle';
    position: fixed;
    top: 700px;
    left: 50%;
    transform: translateX(-50%);
    width: 610px;
    height: 90px;
    background-color: transparent;
    color: rgb(255, 255, 255);
    font-size: 40px;
    font-weight: bold;
    z-index: 2;
    display: flex;              /* Utiliser flexbox */
    align-items: center;        /* Centre verticalement */
    justify-content: center;    /* Centre horizontalement */
    text-align: center;         /* Aligne le texte au centre */
}