/* 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-team {
    position: fixed;
    top: 300px;
    left: 50%;
    transform: translateX(-50%);
    height: 600px;
    width: 991px;
    display: flex; /* Utilisation de flexbox */
    flex-direction: column; /* Organiser les matchs en colonne */
    justify-content: center; /* Centrer verticalement */
    align-items: center; /* Centrer horizontalement */
    overflow-y: auto; /* Pour gérer l'affichage en cas de dépassement */
}

/* Style pour chaque match */
.Match1, .Match2, .Match3 {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 991px;
    height: 200px;
    margin-bottom: 10px; /* Espacement entre les matchs */
    transition: opacity 0.3s ease; /* Transition pour masquer les matchs */
}

.Match1 {
    background-color: rgb(0, 0, 0);
}

.Match2, .Match2 .title1, .Match2 .match-info {
    color: black;
    background-color: rgb(255, 255, 255);
}

.Match3 {
    background-color: rgb(0, 0, 0);
}

.title1 {
    position: absolute;
    left: 259px;
    font-size: 60px;
    font-weight: bold;
    color: white;
    text-align: center;
}

.team1-logo {
    position: absolute;
    left: 77px;
    top: 49px;
}

.team2-logo {
    position: absolute;
    left: 427px;
    top: 49px;
}

.team1-logo, .team2-logo {
    position: absolute;
    height: 103px;
    width: 103px;
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
}



.match-info {
    position: absolute;
    left: 616px;
    display: flex;
    flex-direction: column;
    color: white;
    font-size: 40px;
}

.title4 {
    font-size: 30px;
}

/* Cacher les matchs invisibles */
.Match[style*="display: none"] {
    opacity: 0; /* Masquer le match */
    visibility: hidden; /* Cache les éléments */
}


.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 */
}