@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@700&family=Great+Vibes&display=swap');

body {
    background: url('images/campnou.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #FFF;
    font-family: 'Arial', sans-serif;
}

.navbar {
    background-color: #004AAD;
}

.navbar-brand,
.nav-link {
    color: #FFCC00 !important;
    font-weight: bold;
}

.container {
    margin-top: 20px;
}

.card {
    background-color: #FFCC00;
    color: #004AAD;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
}

.table th,
.table td {
    text-align: center;
}

img {
    width: 50px;
    margin: 10px;
}

.countdown {
    font-size: 20px;
    font-weight: bold;
    color: #FFCC00;
}

.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: #004AAD;
}

.logo {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    transition: opacity 1s ease-in-out;
}


.hidden {
    opacity: 0;
}







.viscabarca {
    font-size: 28px;
    font-family: 'Raleway', sans-serif;
    font-weight: bold;
    background: linear-gradient(90deg, #A50044, #FFCC00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-left: 15px;
}

.viscabarca span {
    font-family: 'Great Vibes', cursive;
    font-size: 36px;
}



h1 {
    background: rgba(165, 0, 68, 0.8);
    color: #FFF;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    padding: 15px;
}

h2 {
    background: rgba(0, 74, 173, 0.8);
    color: #FFF;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    padding: 15px;
}




/* Style du bouton hamburger */
.navbar-toggler {
    background: none;
    border: none;
    font-size: 28px;
    color: #FFCC00;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 20px;
    z-index: 1100;
    /* Augmenté pour être sûr qu'il est au-dessus de tout */
}

/* Overlay pour masquer le fond lorsque le menu est ouvert */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Semi-transparent */
    z-index: 1000;
    display: none;
    /* Caché par défaut */
}

/* MENU MOBILE */
.navbar-toggler {
    background: none;
    border: none;
    font-size: 28px;
    color: #FFCC00;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 20px;
    z-index: 1001;
}

/* MENU LATÉRAL */
.menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: rgba(0, 74, 173, 0.95);
    box-shadow: -5px 0 10px rgba(0, 0, 0, 0.3);
    padding-top: 60px;
    transition: right 0.3s ease-in-out;
    z-index: 1002;
}

.menu.show {
    right: 0;
}

/* OVERLAY POUR MASQUER LE CONTENU QUAND LE MENU EST OUVERT */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 1001;
}

.overlay.show {
    display: block;
}

.menu ul {
    list-style: none;
    padding: 0;
    width: 100%;
    text-align: center;
}

.menu ul li {
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
}

.menu ul li:hover {
    background: rgba(255, 204, 0, 0.8);
}

/* BOUTON FERMER */
.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

/* ANIMATION DES TROPHÉES */
.trophies-blink {
    display: flex;
    justify-content: center;
    margin-top: 135px;
    /* Position en haut du menu latéral */
    margin-bottom: 20px;
    /* Espacement sous l’image */
}

.trophies-blink img {
    width: 30%;
    /* Même taille que ton premier code */
    animation: blink 4s infinite;
    /* Effet de clignotement */
}

/* Animation clignotante */
@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }

    100% {
        opacity: 1;
    }
}



















@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }

    100% {
        opacity: 1;
    }
}

#toggle-matches {
    animation: blink 1.5s infinite;
}

/* Style du tableau des matchs précédents */
#matchs-prec {
    background: rgba(255, 255, 255, 0.9);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
}

/* Ajustement des icônes des équipes */
#previous-matches img {
    width: 35px;
    height: auto;
    margin-right: 8px;
    vertical-align: middle;
}
















/* index */





 
        @import url('https://fonts.googleapis.com/css2?family=Raleway:wght@700&family=Great+Vibes&display=swap');

        body {
            background: url('images/campnou.jpg') no-repeat center center fixed;
            background-size: cover;
            color: #FFF;
            font-family: 'Arial', sans-serif;
        }

        .navbar {
            background-color: #004AAD;
        }

        .navbar-brand,
        .nav-link {
            color: #FFCC00 !important;
            font-weight: bold;
        }

        .container {
            margin-top: 20px;
        }

        .card {
            background-color: #FFCC00;
            color: #004AAD;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            border-radius: 10px;
            margin-bottom: 20px;
            text-align: center;
        }

        .table th,
        .table td {
            text-align: center;
        }

        img {
            width: 50px;
            margin: 10px;
        }

        .countdown {
            font-size: 20px;
            font-weight: bold;
            color: #FFCC00;
        }

        .top-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px;
            background-color: #004AAD;
        }

        .logo {
            width: 110px;
            height: 110px;
            border-radius: 50%;
            object-fit: cover;
            transition: opacity 1s ease-in-out;
        }


        .hidden {
            opacity: 0;
        }







        .viscabarca {
            font-size: 28px;
            font-family: 'Raleway', sans-serif;
            font-weight: bold;
            background: linear-gradient(90deg, #A50044, #FFCC00);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
            margin-left: 15px;
        }

        .viscabarca span {
            font-family: 'Great Vibes', cursive;
            font-size: 36px;
        }



        h1 {
            background: rgba(165, 0, 68, 0.8);
            color: #FFF;
            font-weight: bold;
            text-transform: uppercase;
            text-align: center;
            padding: 15px;
        }

        h2 {
            background: rgba(0, 74, 173, 0.8);
            color: #FFF;
            font-weight: bold;
            text-transform: uppercase;
            text-align: center;
            padding: 15px;
        }




        /* Style du bouton hamburger */
        .navbar-toggler {
            background: none;
            border: none;
            font-size: 28px;
            color: #FFCC00;
            cursor: pointer;
            position: absolute;
            top: 15px;
            right: 20px;
            z-index: 1100;
            /* Augmenté pour être sûr qu'il est au-dessus de tout */
        }

        /* Overlay pour masquer le fond lorsque le menu est ouvert */
        .overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            /* Semi-transparent */
            z-index: 1000;
            display: none;
            /* Caché par défaut */
        }

        /* MENU MOBILE */
        .navbar-toggler {
            background: none;
            border: none;
            font-size: 28px;
            color: #FFCC00;
            cursor: pointer;
            position: absolute;
            top: 15px;
            right: 20px;
            z-index: 1001;
        }

        /* MENU LATÉRAL */
        .menu {
            position: fixed;
            top: 0;
            right: -100%;
            width: 80%;
            max-width: 300px;
            height: 100vh;
            background: rgba(0, 74, 173, 0.95);
            box-shadow: -5px 0 10px rgba(0, 0, 0, 0.3);
            padding-top: 60px;
            transition: right 0.3s ease-in-out;
            z-index: 1002;
        }

        .menu.show {
            right: 0;
        }

        /* OVERLAY POUR MASQUER LE CONTENU QUAND LE MENU EST OUVERT */
        .overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background: rgba(0, 0, 0, 0.5);
            display: none;
            z-index: 1001;
        }

        .overlay.show {
            display: block;
        }

        .menu ul {
            list-style: none;
            padding: 0;
            width: 100%;
            text-align: center;
        }

        .menu ul li {
            padding: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .menu ul li a {
            color: #EFCC00;
            text-decoration: none;
            font-size: 18px;
            font-weight: bold;
        }

        .menu ul li:hover {
            background: rgba(255, 204, 0, 0.8);
        }

        /* BOUTON FERMER */
        .close-btn {
            position: absolute;
            top: 10px;
            right: 15px;
            font-size: 24px;
            background: none;
            border: none;
            color: white;
            cursor: pointer;
        }

        /* ANIMATION DES TROPHÉES */
        .trophies-blink {
            display: flex;
            justify-content: center;
            margin-top: 100px;
            /* Position en haut du menu latéral */
            margin-bottom: 20px;
            /* Espacement sous l’image */
        }

        .trophies-blink img {
            width: 30%;
            /* Même taille que ton premier code */
            animation: blink 4s infinite;
            /* Effet de clignotement */
        }

        /* Animation clignotante */
        @keyframes blink {
            0% {
                opacity: 1;
            }

            50% {
                opacity: 0.4;
            }

            100% {
                opacity: 1;
            }
        }
    
        @keyframes blink {
            0% {
                opacity: 1;
            }

            50% {
                opacity: 0.6;
            }

            100% {
                opacity: 1;
            }
        }

        #toggle-matches {
            animation: blink 1.5s infinite;
        }

        /* Style du tableau des matchs précédents */
        #matchs-prec {
            background: rgba(255, 255, 255, 0.9);
            padding: 15px;
            border-radius: 10px;
            box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
        }

        /* Ajustement des icônes des équipes */
        #previous-matches img {
            width: 35px;
            height: auto;
            margin-right: 8px;
            vertical-align: middle;
        }
    


    
.like-share-container {
display: flex;
justify-content: center;
align-items: center;
gap: 8px; /* Espacement équilibré */
margin-top: 10px;
flex-wrap: wrap; /* Empêche les boutons de sortir de l'écran */
max-width: 100%; /* Évite le débordement */
}

/* ✅ Uniformisation des boutons */
#like-btn, #comment-btn, #share-btn {
display: flex;
align-items: center;
justify-content: center;
gap: 5px; /* Espacement entre icône et texte */
padding: 10px 15px;
font-size: 14px;
font-weight: bold;
border-radius: 25px;
cursor: pointer;
transition: all 0.3s ease-in-out;
outline: none;
min-width: 100px;
text-align: center;
border: none; /* Supprime la bordure noire */
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* ✅ Styles spécifiques à chaque bouton */
#like-btn {
background: linear-gradient(135deg, #007BFF, #0056b3);
color: white;
}

#comment-btn {
background: linear-gradient(135deg, #FFCC00, #A50044);
color: white;
}

#share-btn {
background: linear-gradient(135deg, #28A745, #1D7A32);
color: white;
}

/* ✅ Taille des icônes */
#like-btn i, #comment-btn i, #share-btn i {
font-size: 16px;
}

/* ✅ Effet au survol */
#like-btn:hover, #comment-btn:hover, #share-btn:hover {
transform: scale(1.05);
}
    



















@keyframes feu {
    0% {
        box-shadow: 0 0 10px red, 0 0 20px orange;
    }

    50% {
        box-shadow: 0 0 20px orange, 0 0 30px yellow;
        transform: scale(1.05);
    }

    100% {
        box-shadow: 0 0 10px red, 0 0 20px orange;
        transform: scale(1);
    }
}

.match-hot {
    animation: feu 1.5s infinite alternate;
    border: 3px solid red !important;
    padding: 15px;
    text-align: center;
    font-weight: bold;
    color: white;
    background: linear-gradient(45deg, red, orange, yellow) !important;
    border-radius: 10px;
    transition: all 0.5s ease-in-out;
}




















/* Conteneur des icônes */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

/* Style des icônes */
.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: #222;
    color: gold;
    font-size: 24px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

/* Animation de clignotement douce */
@keyframes blink-soft {
    0% {
        opacity: 1;
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    }

    50% {
        opacity: 0.6;
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
    }

    100% {
        opacity: 1;
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    }
}

/* Appliquer l'animation en continu */
.social-icons a[href*="facebook.com"],
.social-icons a[href*="youtube.com"] {
    animation: blink-soft 1.5s infinite;
}

/* Couleurs spécifiques */
.social-icons a[href*="facebook.com"] {
    background: #1877F2;
    box-shadow: 0 0 15px #1877F2;
}

.social-icons a[href*="youtube.com"] {
    background: #FF0000;
    box-shadow: 0 0 15px #FF0000;
}

#treve-banner {
    background: linear-gradient(90deg, #A50044, #FFCC00);
    color: white;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    padding: 10px 15px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    animation: blink 1.5s infinite alternate;
}

/* Animation douce pour attirer l'attention */
@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }

    100% {
        opacity: 1;
    }
}


.like-animation {
    position: fixed;
    font-size: 28px;
    pointer-events: none;
    z-index: 10000;
    opacity: 0;
    animation: like-pop 0.8s ease-out forwards;
    transform: translate(-50%, -50%) scale(0.8) rotate(0deg);
    color: #ff4081;
    /* rose flashy par défaut */
}

/* Animation qui fait apparaître le like, le fait flotter, tourner et disparaître */
@keyframes like-pop {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.2) rotate(0deg);
    }

    50% {
        transform: translate(-50%, -150%) scale(1.4) rotate(15deg);
        opacity: 0.9;
    }

    100% {
        transform: translate(-50%, -250%) scale(0.8) rotate(30deg);
        opacity: 0;
    }
}

