body {
    background-color: black;
    margin: 0px;
}

.header-div {
    display: flex;
    position: absolute;
    z-index: 2;
    width: 100%;
    flex-direction: column;
}

header {
    display: flex;
    color: white;
    justify-content: space-around;
    width: 100%;
}

header p {
    font-family:Oswald;
    font-size: x-large;
    font-weight: bold;
}

#logo {
    display: flex;
    margin-left: auto;
    margin-right: auto;
    width: auto;
    height: 60px;
    z-index: 2;
    padding-top: 5px;
}

.video-fond {
    display: flex;
    position: relative;
    z-index: 1;
}

.video-fond video {
    width: 100%;
    height: auto;
    padding: 0px;
    opacity: 0.55;
}

.Titre {
    color: rgb(255, 255, 255);
    text-shadow: 0px 0px 20px black;
    font-family:Oswald;
    font-size: x-large;
    font-weight: bold;
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    z-index: 2;
    flex-direction: column;
    margin-top: -350px;
}

#title {
    font-size: 4.5em;
    display: flex;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 0px;
}

#subtitle {
    margin-top: 0px;
}

#degrade {
    display: flex;
    position: absolute;
    z-index: 4;
    margin-top: 60px;
    margin-bottom: 0px;
    height: 100px;
    width: 100%;
    background: linear-gradient(to bottom, transparent, black);
}

.match {
    margin-top: 200px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 60px;
    display: flex;
    z-index: 1;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to right, rgb(213, 0, 0), rgb(0, 0, 170));
    border-radius: 50px;
    width: 95%;
    height: 90px;
    overflow: hidden; /* Coupe tout débordement */
}

#match {
    display: block;
    z-index: 2;
    color: rgb(0, 0, 0);
    font-family: Oswald;
    font-size: 8em;
    font-weight: bold;
    text-transform: uppercase; /* Optionnel, rend le texte tout en majuscules */
    line-height: 0.9; /* Évite les espaces entre lignes */
    padding: 0px;
    margin: 0px;
    letter-spacing: 4px;
}

.equipe {
    color: white;
    overflow: hidden;
}

.equipe1 {
    border: 2px solid rgb(252, 197, 0);
    background-color: rgb(252, 197, 0);
    height: 550px;
    clip-path: polygon(0% 0%, 65% 0%, 82% 65%, 82% 100%, 0% 100%, 0% 25%);
    margin-bottom: 30px;
}

#team-name {
    display: flex;
    position: absolute;
    z-index: 2;
    font-family:Oswald;
    font-size: 9em;
    font-weight: bold;
    margin-left: 90px;
    color: white;
}

.equipe1 video {
    display: flex;
    position: relative;
    z-index: 1;
    height: 550px; 
    max-width: auto; 
    margin-top: 25px;
    margin-bottom: 25px;
    clip-path: polygon(5px 0%, 80% 0%, 110% 90%, 5px 90%);
}

.equipe2 {
    border: 2px solid rgb(255, 0, 0);
    background-color: rgb(255, 0, 0);
    height: 550px;
    clip-path: polygon(0% 0%, 65% 0%, 82% 65%, 82% 100%, 0% 100%, 0% 25%);
}

.equipe2 video {
    display: flex;
    position: relative;
    z-index: 1;
    height: 550px; 
    max-width: auto; 
    margin-top: 25px;
    margin-bottom: 25px;
    clip-path: polygon(5px 0%, 80% 0%, 110% 90%, 5px 90%);
}

.bandeau-stats {
    margin-top: 100px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    z-index: 1;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to right, rgb(213, 0, 0), rgb(0, 0, 170));
    border-radius: 50px;
    width: 95%;
    height: 90px;
    overflow: hidden; /* Coupe tout débordement */
}

#bandeau-stats {
    display: block;
    z-index: 2;
    color: rgb(0, 0, 0);
    font-family: Oswald;
    font-size: 8em;
    font-weight: bold;
    text-transform: uppercase; /* Optionnel, rend le texte tout en majuscules */
    line-height: 0.9; /* Évite les espaces entre lignes */
    padding: 0px;
    margin: 0px;
    letter-spacing: 4px;
}

.bandeau-stats2 {
    margin-top: 100px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    z-index: 1;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to right, rgb(213, 0, 0), rgb(0, 0, 170));
    border-radius: 50px;
    width: 80%;
    height: 90px;
    overflow: hidden; /* Coupe tout débordement */
}

#bandeau-stats2 {
    display: block;
    z-index: 2;
    color: rgb(0, 0, 0);
    font-family: Oswald;
    font-size: 8em;
    font-weight: bold;
    text-transform: uppercase; /* Optionnel, rend le texte tout en majuscules */
    line-height: 0.9; /* Évite les espaces entre lignes */
    padding: 0px;
    margin: 0px;
    letter-spacing: 4px;
}

.player-menu {
    color: white;
    font-family:Oswald;
    font-size: 15px;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    width: 75%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 3px;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
}

.player-menu img {
    width: 130px;
    height: auto;
}

.player-stats {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    border-bottom: 1px rgb(116, 116, 116) solid;
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
    padding: 7px;
}

.stats-list {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.pts {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin-left: 250px;
    margin-top: -50px;
}

.fin {
    color : white;
    font-family: Helvetica;
    font-size: 80px;
    text-decoration: solid;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    width: 100%;
    border-top: white solid 3px;
    margin-top: 70px;
}

#p2 {
    margin-top: -80px;
    color: gray;
    font-size : 50px;
}

/* Écrans >= 1450px */
@media (min-width: 1450px) {
    .Titre {
        font-size: 5.5em; /* Ajustement proportionnel */
    }

    #title {
        font-size: 100px;
    }

    .match {
        width: 80%; /* Ajustement proportionnel */
        height: 105px; /* Ajustement proportionnel */
    }

    #match {
        font-size: 9.5em; /* Ajustement proportionnel */
    }

    .equipe1, .equipe2 {
        height: 600px; /* Ajustement proportionnel */
    }

    .bandeau-stats {
        width: 90%; /* Ajustement proportionnel */
        height: 110px; /* Ajustement proportionnel */
    }

    #bandeau-stats {
        font-size: 9.5em; /* Ajustement proportionnel */
    }
}

/* Écrans >= 1920px */
@media (min-width: 1920px) {
    .Titre {
        font-size: 6em; /* Ajustement proportionnel */
    }

    #title {
        font-size: 150px;
        margin-top: -50px;
    }

    .match {
        width: 75%; /* Ajustement proportionnel */
        height: 115px; /* Ajustement proportionnel */
    }

    #match {
        font-size: 10em; /* Ajustement proportionnel */
    }

    .equipe1, .equipe2 {
        height: 650px; /* Ajustement proportionnel */
    }

    .bandeau-stats {
        width: 85%; /* Ajustement proportionnel */
        height: 120px; /* Ajustement proportionnel */
    }

    #bandeau-stats {
        font-size: 10em; /* Ajustement proportionnel */
    }
}

/* Écrans >= 2560px (2K/4K) */
@media (min-width: 2560px) {
    .Titre {
        font-size: 6.5em; /* Ajustement proportionnel */
    }

    #title {
        font-size: 200px;
        margin-top: -150px;
    }

    .match {
        width: 70%; /* Ajustement proportionnel */
        height: 130px; /* Ajustement proportionnel */
    }

    #match {
        font-size: 11em; /* Ajustement proportionnel */
    }

    .equipe1, .equipe2 {
        height: 700px; /* Ajustement proportionnel */
    }

    .bandeau-stats {
        width: 80%; /* Ajustement proportionnel */
        height: 130px; /* Ajustement proportionnel */
    }

    #bandeau-stats {
        font-size: 11em; /* Ajustement proportionnel */
    }
}
