#iframe-tournoi {
    display: none !important;
}

.vote-etoile {
    display: none !important;
}

.avant-live {
    /*
    display: none !important;
*/
    }

.pendant-live {
    display: none !important;
}

.apres-live {
    display: none !important;
}

@font-face {
    font-family: "Loyola Round";
    src: url("https://db.onlinewebfonts.com/t/d9d0c3be740f74cd578418cb0693e2c6.eot");
    src: url("https://db.onlinewebfonts.com/t/d9d0c3be740f74cd578418cb0693e2c6.eot?#iefix")format("embedded-opentype"),
    url("https://db.onlinewebfonts.com/t/d9d0c3be740f74cd578418cb0693e2c6.woff2")format("woff2"),
    url("https://db.onlinewebfonts.com/t/d9d0c3be740f74cd578418cb0693e2c6.woff")format("woff"),
    url("https://db.onlinewebfonts.com/t/d9d0c3be740f74cd578418cb0693e2c6.ttf")format("truetype"),
    url("https://db.onlinewebfonts.com/t/d9d0c3be740f74cd578418cb0693e2c6.svg#Loyola Round")format("svg");
}

:root {
    --contrast-color: #000000;
    --accent-color: #FECBD7;
    --team1-color: #FF5733;
    --team2-color: #33C1FF;
    --team3-color: #75FF33;
    --team4-color: #FF33A8;
}

body {
    font-family: 'Loyola Round', sans-serif;
    margin: 0;
    background-image: url(img-curling/fond.png);
    background-repeat: repeat;
    color: #ffffff;
    overflow-x: hidden;
}

* {
    text-shadow: 1px 0 #000000, -1px 0 #000000, 0 1px #000000, 0 -1px #000000,
             1px 1px #000000, -1px -1px #000000, 1px -1px #000000, -1px 1px #000000;

}

h1 {
    font-size: 5em;
    text-align: center;
    margin: 20px 20px 0 20px
}

h2 {
    font-size: 2em;
    text-align: center;
    margin: 20px 20px 0 20px

}

h3 {
    font-size: 1.5em;
    text-align: center;
    margin: 10px;
}

.equipe-1 {
    color: var(--team1-color);
}
.equipe-2 {
    color: var(--team2-color);
}
.equipe-3 {
    color: var(--team3-color);
}
.equipe-4 {
    color: var(--team4-color);
}

p {
    font-size: 1.6em;
    text-align: center;
    margin: 20px;
}

.presente-par-manu {
    all: unset; /* Resets all styles */
    display: flex;
    align-items: center;
    justify-content: center;

}

.presente-par-manu p {
    font-size: 2em;
    margin: 0 0.5em 0 0;

}

.presente-par-manu img {
    width: 4em;
    height: 4em;
    margin-right: 20px;
}

.bandeau {
    background-color: black;
    padding: 5px;
    width: 100%;
}

.pastille {
    all: unset;
    background-color: white;
    display: flex;
    align-items: center;
    border-radius: 75px;
    height: 100px;
    width: 350px;
    margin: 10px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.pastille:hover:not(.grayed-out) {
    /*add drop shadow and increase size by 10%*/
    /*add transition for smooth effect*/
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    transform: scale(1.1);
    cursor: pointer;
}


.pastille .image-pastille {
    flex: 0 0 auto;
    width: 75px;
    height: 75px;
    padding: 12.5px;
    flex-shrink: 0;
}
.image-pastille img {
    border-radius: 100%;
    border: 4px solid;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    object-fit: cover;
    overflow: hidden;
}

.texte-pastille {
    display: flex;
    text-align: left;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
    margin-top: auto;
    margin-bottom: auto;
    padding-right: 20px;
}

.texte-pastille p {
    margin: 0;
    flex-grow: 1;
    text-align: left;
}

.nom-joueur p {
    font-size: 1.6em;
    color:white;
}

.description-joueur p{
    font-size: 1.1em;
    color: var(--accent-color);
}

.equipe-joueur p {
    font-size: 1em;
}

.liste-pastille {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.grayed-out {
    filter: grayscale(100%);
    opacity: 0.5;
    cursor: not-allowed;
}

iframe,
.fakeFrame {
    margin: 20px;
    max-width: 750px;
    width: calc(100% - 10px);
    height: 525px;
    border: none;
    background-color: #33C1FF;
}

.live {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: row-reverse;
}

.vote-etoile {
    display: flex;
    align-items: center;
    
}

.vote-etoile > a {
    max-width: 400px;
    max-height: 250px;
    aspect-ratio: 400/250;
    background-color: white;
    border-radius: 20px;
    padding: 20px;
    margin: 20px;
    display: grid;
    grid-template-columns: 1fr 3fr;
    align-items: center;
    text-decoration: none;
     transition: all 0.3s ease-in-out;
     box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.vote-etoile > a > p {
    font-size: 3em;
    margin: 0;
    max-width: 100%;
    max-height: 100%;
    color: white;
}

.vote-etoile > a > img {
    max-width: 100%;
    max-height: 100%;
    aspect-ratio: 1.52;
}

.vote-etoile > a:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    transform: scale(1.05);
    cursor: pointer;
}

.space-for-margin {
    height: 150px;
}


.premiere-participation {
    position: relative;
    bottom: 70px;
    left: -90px;
    width: 0;
    transform: rotate(20deg);
}

.premiere-participation p {
    background-color: var(--accent-color);
    width: max-content;
    font-size: 1em;
    color: rgb(255, 255, 255);
    padding: 5px 10px;
    border-radius: 10px;
    display: inline-block;
    margin: 0px;
}

footer {
    background-color: black;
    color: white;
    text-align: center;
    padding: 10px;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
}

/*MAKE NICE ANIMATION*/
footer > div {
    animation: swivel 5s ease-in-out infinite;
}

@keyframes swivel {
    0% {
        transform: rotateZ(-5deg);
    }
    10% {
        transform: rotateZ(5deg);
    }
    20% {
        transform: rotateZ(-5deg);
    }
    25% {
        transform: rotateZ(0deg);
    }
    50% {
        transform: rotateZ(0deg);
    }
    95% {
        transform: rotateZ(0deg);
    }
    100% {
        transform: rotateZ(-5deg);
    }
}

footer a,
footer p {
    margin: 0cqb;
    font-size: 1.5em;
    color: white;
}