@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Aboreto&display=swap");
@import url('https://fonts.googleapis.com/css?family=Comfortaa&display=swap');

:root {
  --exact-prono-color: rgba(0, 128, 0, 1);
  --good-prono-color: #88bd80;
  --bad-prono-color: grey;
}

.table::-webkit-scrollbar {
  display: none;
}


.topPage {
  position: relative;
  width: 100%;
  height: 40vh;
}

.background_image {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  height: 100%;
  width: 100vw;
  z-index: 0;
}

.background_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.containner-toggle {
  padding: 0;
  box-sizing: border-box;
  height: 30px;
  width: 90px;
  display: flex;
  justify-content: center;
  align-items: center;
  position:absolute;
  

}

.match .tri-state-toggle .button {
  height: 31px;
  width: 31px;
  appearance: none;
  background-color: green;
  border-radius: 50px;
  opacity: 0;
  margin: 0;
  bottom:0;
  position: relative;
  left: 0;
  transform: none;
}



input:hover {
  cursor: pointer;
}

.tri-state-toggle {
  position:relative;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  border: 1px solid var(--secondary-color);
  border-radius: 50px;

}
#two {
  opacity: 1;
}

.page.matchs {
  display: flex;
  margin: auto;
  align-items: center;
  width: 100%;
  z-index: 2;
  flex-direction: column;
  position: relative;
  /*background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200"><rect width="100%" height="100%" fill="url(%23checkerboard)"/></svg>');*/
  /*background: url(/img/motif_fond.svg) top / auto 400px;*/
  background-image: url('/img/motif_fond.svg');
  background-repeat: repeat;
  background-position: top;
  background-size: auto 400px;
  
}

.topPage .logo {
  font-style: italic;
  font-weight: 100;
  font-size: 5em;
  width: unset;
  padding: 0;
  margin: 0;
  position: absolute;
  bottom: 10px;
  left: 100px;
  z-index: 2;
  color: var(--text-color);
}

.titles {
  margin: 0;
}

.headline h1 {
  text-align: center;
  font-style: italic;
  margin-bottom: 0;
  font-weight: 300;
}

.subtitle p {
  text-align: center;
  margin-top: 5px;
}

.headline b {
  font-weight: 900;
  font-size: large;
}

.slider {
  position: relative;
  width: 100vw;
  overflow: hidden;
  
  }
.button-go-up{
  font-size: xx-large;
  position: fixed;
  bottom:10%;
  right:5%;
  z-index: 100;
  border-radius: 50%;
  color:white;
  color:#283040;
  padding:3px;
  background-color: #283040;
  background-color: white;
  box-shadow: 5xp 5px 5px 5px rgba(0,0,0,0.8);

}

  .progress-bar{
/*    background-color: rgba(255, 255, 255, 0.92);*/
   /*  background-image: url(/img/motif_fond.svg);*/
    background-repeat: repeat;
    background-position: top;
    background-size: auto 400px;
    /*background-color: var(--color2);*/
    color:white;
    position: relative;
    font-size: x-small;
    display: flex;
    flex-direction: column;
    top:0;
    width:100%;
    margin: 0 auto;
    max-width: 800px;
    z-index: 100;
  }

  .progress-bar-content{
    margin:10px;
  }

  .progress-bar-bar{
    position: relative;
 
    display: flex;
    align-items: center;
    color:white;
    height: 10px;
    width:95%;
    background-color: rgba(170, 170, 170, 0.5);
   /* border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;*/
    left:0; 
   
    margin-top: 2px;
    margin-bottom: 2px;
  }

  .progress-bar-bar-fill{
    position: relative;
    display: flex;
    align-items: center;
    color:white;
    height: 100%;
    /*width:50%;*/
    /*background-color: blue;*/
    left:0; 
    margin-top: 2px;
    margin-bottom: 2px;
    transition: width 0.5s ease;
  }
  
.slider-carousel {
  width: 300%;
  display: flex;
  min-height: 60vh;
  justify-content: space-around;
  flex-direction: row-reverse;
  transform: translateX(1);
  transition: 0.5s ease;
}

.slider-carousel.page2 .slider-content.page3,
.slider-carousel.page2 .slider-content.page1,
.slider-carousel.page3 .slider-content.page3,
.slider-carousel.page3 .slider-content.page2,
.slider-carousel.page1 .slider-content.page2,
.slider-carousel.page1 .slider-content.page1 {
  opacity: 0;
  transition: 0.4s all ease;
}

.slider-carousel.page2 {
  transform: translateX(-33.3%);
  transition: 0.5s ease;
}

.slider-carousel.page3 {
  transform: translateX(-66.6%);
  transition: 0.5s ease;
}

.slider-content {
  width: 33.3%;
  position: relative;
 }

.matches {
  width: 90%;
  margin: auto;
  background-color: var(--secondary-color);
  border-radius: 20px;
  max-width: 1024px;
  padding-bottom: 40px;
  box-shadow: 0px 5px 25px 3px rgba(26, 25, 76, 0.6509803922);
  margin-bottom: 40px;
  overflow: visible;
}

.match {
  display:block;
  position: relative;
  max-width: 800px;
  width: 95%;
  height: 80px;
  border-radius: 5px;
  color: var(--main-color);
  background-color: #ffffff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
  margin: 10px auto 0;
  z-index: 2;
  overflow: hidden;
}
.match .infos {
  font-weight: 500;
  color: var(--secondary-color);
  font-size: 0.84rem;
  height: 20px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}


.stat-icon{
  color:black;
  position: absolute;
  right:5px;
  top: 5px;
/*  content: "\f00d"; *//* Code Unicode pour l'icône Xmark */
  /*font-family: "Font Awesome 6 Free";*/
}

.connexion-chip{
  display: inline-block;
  border-radius: 50%;
  width:7px;
  height: 7px;
  background: var(--clr);
}

.popup-stat {
  display:none;
  background-color: rgba(0, 0, 0, 0.8);
  border-radius: 5px;
  position: fixed;
  bottom:0;
  left: 50%*1/3;
  width:100%;
  height: 200%;
  transform: translate(0, 25%);
  z-index: 101;
  overflow: visible;
  justify-content: center;
  align-items: center;

}



.popup-stat-content{
  position: absolute;
  width:100%;
  top:50%;
  transform: translateY(-50%);
}


.close-stat {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 20px;
  cursor: pointer;
}


.marquee-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: white;
  color: red;
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 800;
  top: 0;
  left: 0;
  padding: 10px 0;
}

.marquee {
  display: inline-block;
  white-space: nowrap;
  animation: marquee 14s linear infinite;
}

.marquee p {
  display: inline;
  margin: 0;
  padding: 0 50%;
}

@keyframes marquee {
  0% {
      transform: translateX(20%);
  }
  100% {
      transform: translateX(-150%);
  }
}
.match .scores {
  font-weight: 700;
  vertical-align: center;
  margin-bottom: 0px;
  font-size: 1.32em;
  white-space: nowrap;
}
.match .scores .score {
  position: relative;
}
.match .scores .score .cote {
  font-size: 0.8rem;
  font-weight: 500;
  position: absolute;
  letter-spacing: 1px;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 5px;
  text-align: center;
}
.match .scores .score .cote.winner {
  background: rgb(232, 42, 0);
  border-radius: 6px;
  color: white;
  font-weight: bold;
}
.match .scores .score .cote.winner.potential {
  background-color: rgb(141, 141, 141);
  animation: changeColorCote infinite 1s ease-in-out;
}
.match .scores .score .scoreToProno ~ .cote {
  left: 45%;
  bottom: -35px;
}
.match .scores .dash {
  margin: 0px 10px;
  font-weight: 600;
}
.match .button {
  bottom: -15px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%) scale(0.8);
  z-index: 10;
}
.match .container2 {
  background-color: #ffffff;
  overflow: hidden;
  color:var(--secondary-color);
  
  width: 100%;
  height: 100%;
  display: flex;
  position: relative;
  flex-direction: row;
  justify-content: flex-start;
  border-radius: 16.1px;
}

.live-indicator {
  width: 14px;
  height: 2px;
  background-color: #167001;
  position: relative;
  animation: liveIndicator 1.6s infinite;
}

@keyframes liveIndicator {
  0%,
  100% {
    transform: scaleX(1);
  }
  25% {
    transform: scaleX(0.5) translateX(-50%);
  }
  50% {
    transform: scaleX(1) translateX(0);
  }
  75% {
    transform: scaleX(0.5) translateX(50%);
  }
}


.match:not(.pronoexact) .state_points .star {
  display: none;
}

.match.bonprono {
  border: var(--good-prono-color) 4px solid;
  overflow: visible;
}
.match.bonprono .state_points {
  background-color: var(--good-prono-color);
}

.match.mauvaisprono {
  border: var(--bad-prono-color) 4px solid;
  overflow: visible;
}
.match.mauvaisprono .state_points {
  background-color: var(--bad-prono-color);
}

.infosMatch {
  color: black;
  text-align: center;
  font-size: 0.8rem;
  height: 20%;
}

.equipe {
  margin-left: 30pX;
  display: flex;
  align-items: center;
  position: relative;
  width: 30%;


}
.form-hidden{
  display: inline-block;
  display:flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height:100%;
  width:100%;
  
  }
  .button-winner{
    width:60px;
    height:40px;
    
    padding: 0px;
  }
.embleme {
  background-color: var(--secondary-color);
  object-fit: cover;
  float:left;
  border-radius: 10%;
  font-weight: bold;
  width: 90px;
  height: 60px;
  box-shadow: 0 0 10px rgba(150, 150, 150, 0.8);
}

.embleme img {
  object-fit: cover;

margin-top: 0px;
}


.match .center {
  flex: 1;
  text-align: center;
  z-index: 4;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}


.embleme_backdrop {
  position: absolute;
  top: 0px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.embleme_backdrop_overlay {
  position: absolute;
  top: 0px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0 1px;
  padding: 1px;
}

.equipe .embleme_backdrop_overlay {
  background: linear-gradient(to right, transparent, white);
}
.equipe .team {
  width:100%;
  text-align: right;
  font-weight: bold;
  height: 30px;
}

.equipe.adverse {
  margin-left: 0px;
  margin-right: 30px;
  flex-direction: row-reverse;
}
.equipe.adverse .team {
  text-align: left;
}
.equipe.adverse .embleme_backdrop_overlay {
  background: linear-gradient(to left, transparent, white);
}


.score_container > * {
  display: inline-block;
}

.score_container {
  height: 40%;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.score {
  position: relative;
  width: 50px;
  height: 50px;
  color: var(--secondary-color);
}

.caseScore {
  position: relative;
  width: 100%;
  height: 100%;
}

.last_update {
  width: 90%;
  margin: auto;
  font-size: 0.8rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.7019607843);
  margin-top: 20px;
  text-align: right;
}

.caseScore p {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  margin: 0;
}

.scoreMatch > p {
  font-size: 2rem;
  color: red;
  text-align: center;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none; /* Désactive l'apparence par défaut des boutons */
  margin: 0; /* Supprime la marge par défaut */
}

.team {
  width: 155px;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.team a {
  text-decoration: none;
  color: var(--secondary-color);
}

.team a:hover {
  text-decoration: underline;
}

.team p {
  font-size: 1.25rem;
  color: var(--secondary-color);
  font-weight: 900;
  text-transform: uppercase;
  font-style: italic;
  
}

.team.opponent p {
  text-align: left;
}

.pronosBox {
  position: relative;
  width: 89%;
  margin: auto;
  border-radius: 25px;
  transition: 1s ease;
  align-self: center;
  z-index: 1;
  top: -20px;
  overflow: hidden;
  background-color: var(--main-color);
}
.pronosBox table {
  font-size: 0.9rem;
  margin-top: 30px;
}
.pronosBox table thead tr th {
  background-color: transparent;
  padding-bottom: 10px;
  font-weight: 700;
  font-size: 1em;
  font-style: italic;
  color: white;
}
.pronosBox table td.pronostic,
.pronosBox table th.pronostic {
  width: 20%;
  text-align: center;
}

.pronosBox table td.pronostic {
  font-weight: 600;
  font-size: 1.1em;
}
.pronosBox table td:first-child,
.pronosBox table th:first-child {
  width: 40%;
}
.pronosBox table td:last-child,
.pronosBox table th:last-child {
  width: 40%;
}
.pronosBox table tbody td.user {
  font-weight: bold;
  font-style: italic;
}
.pronosBox table tbody td.user .rank {
  font-size: 0.7em;
}
.pronosBox table tbody td.user img {
  vertical-align: middle;
  margin-right: 5px;
}
.pronosBox table tr.user td {
  background-color: #cccbf5;
}

.points .star {
  display: none;
}
.points.exact .star {
  display: initial;
}

.section-to-toggle {
  display: none;
}
.section-to-toggle.toggle {
  display: flex;
  flex-direction: column;
  transition: 0.3s;
  height: max-content;
}

.ligne {
  display: flex;
  justify-content: space-between;
  color: var(--secondary-color);
  padding: 10px 10px;
  background-color: white;
  order: 2;
  align-items: center;
}

.ligne p {
  margin: 0;
}

.ligne:first-child p {
  margin-top: 15px;
  padding-top: 10px;
}

.ligne.user {
  background-color: rgb(255 224 217) !important;
  order: 2;
}

.column.user {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
}

.profile-picture {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}

.column.user a:hover {
  text-decoration: underline;
}

.column.user div {
  margin-right: 10px;
  width: unset;
  padding: 0;
  text-overflow: ellipsis;
  text-wrap: nowrap;
  overflow: hidden;
}

.ligne div {
  width: 300px;
}

.points {
  text-align: right;
  font-style: italic;
  color: rgba(0, 128, 0, 0.5);
  font-weight: bold;
}

.points.exact {
  color: green;
  font-weight: bolder;
}

.points.perdu {
  color: grey;
  font-weight: normal;
}

.slider-content.page1,
.slider-content.page2,
.slider-content.page3 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: max-content;
}

input.champScore {
  outline: none;
  width: 35px;
  height: 35px;
  border: none;
  border-bottom: rgba(26, 25, 76, 0.7) solid 3px;
  background-color: rgba(26, 25, 76, 0.11);
  border-radius: 5px;
  text-align: center;
  color: rgb(26, 25, 76);
  transition: 0.2s;
  font-weight: 700;
  font-size: inherit;
  box-shadow: 0px 0px 4px 0px #1a194c4d;
  padding: 0px;
  margin-bottom: 0px;
}

.champScore:focus {
  border-bottom-color: var(--alternate-color);
  background-color: rgba(26, 25, 76, 0.21);
  color: var(--alternate-color);
}

.dateMatch {
  font-size: 1.3rem;
  text-align: center;
  font-weight: normal;
  width: auto;
  color: white;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.1098039216);
  color: white;
  padding: 10px;
}
.dateMatch:first-child {
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}
.dateMatch:not(:first-child) {
  margin-top: 50px;
}

.noMatch {
  text-align: center;
  width: 90%;
  margin: auto;
  padding-top: 20px;
  margin-bottom: -15px;
}
.noMatch .title {
  font-size: 1.3em;
}
.noMatch .subtitle {
  color: rgba(255, 255, 255, 0.6705882353);
}

@keyframes changeColor {
  from,
  to {
    border: #00f127 solid 5px;
  }
  50% {
    border: #025402 solid 5px;
  }
}
@keyframes changeColorCote {
  from,
  to {
    background-color: rgba(226, 80, 70, 0.555);
  }
  50% {
    background-color: rgb(226, 80, 70);
  }
}
@media only screen and (max-width: 1000px) {
  .state_points {
    font-size: 0.8rem;
  }
.button-winner{
  font-size: 0.8rem;
    width:45px;
      height:30px;
    }
  .subtitle p {
    font-size: 1rem;
  }
  .dateMatch {
    font-size: 1.01rem;
  }
  .topPage {
    height: 20vh;
  }
  .topPage .logo {
    bottom: 5px;
    left: 20px;
    width: 50%;
  }
  .logo img {
    max-width: 100%;
  }
  
  .slider-content img {
    max-width: 100%;
  }
  .headline h1 {
    font-size: 1.5em;
  }
  .slider {
    width: 100%;
  }
  .slider-content {
    height: 50vh;
  }
  .slider-content {
    height: unset;
  }
  .matches {
    width: 99%;
  }
  .match {
    width: 96%;

    height: 80px;
  }
  .match .infos {
    font-size: 0.65rem;
    height: 20px;
   
  }
  .match .scores {
    font-weight: 700;
    margin-bottom: 0px;
    font-size: 1.32em;
  }
  .match .scores .score {
    position: relative;
  }
  .match .scores .score .cote {
    font-size: 0.8rem;
    font-weight: 500;
    position: absolute;
    letter-spacing: 1px;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    padding: 3px 5px;
    text-align: center;
  }
  .match .scores .score .cote.winner {
    border-radius: 6px;
  }
  .match .scores .dash {
    margin: 0px 6px;
  }
  .match .equipe {
    width: 30%;
    margin: 0px;
    flex-direction: column;
    align-items: center;
    align-content: center;
    
    flex: 1;
  }
  .match .center {
    flex: 1;
  }
  .match .equipe.adverse {
    margin: 0px;
    flex-direction: column;
  }
  .match .button {
    bottom: -15px;
    transform: translateX(-50%) scale(0.7);
  }
  .match .dash {
    color: var(--secondary-color);
  }
  .pronosBox {
    width: 95%;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
  }
  .embleme {
    margin-top: 8px;
    width: 60px;
    height: 40px;
  }
  .score {
    width: 35%;
    height: 90%;
    position: relative;
  }
  .infosMatch {
    margin-top: 2px;
    font-size: 0.7rem;
  }
  .infosMatch p {
    margin: 0;
  }
  .infosMatch.horaire p {
    margin: 3px;
    bottom: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  .cote {
    bottom: 0;
  }
  .team {
    
    color: var(--secondary-color);
    border-radius: 8px;
    padding: 2px 0px;
  }
  .team p {
    font-size: 0.8rem;
    text-align: center;
    padding: 0;
    margin: 0;
    letter-spacing: 0.4px;
    color: var(--secondary-color);
  }
  .champScore {
    font-size: 1.5rem;
    width: 28px;
    height: 28px;
  }
  .page3 .cote,
  .page2 .cote {
    bottom: -25px;
  }

  .topPage {
    position: relative;
    width: 100%;
    height: 40vh;
  }
}
@media only screen and (max-width: 360px) {
  .match .scores .dash {
    margin: 0px 1px;
  }
  .champScore {
    font-size: 1.4rem;
    width: 26px;
    height: 26px;
  }
}

@media only screen and (max-width: 780px) {
  body,
  html {
    user-select: none;
  }
  .pronosBox table td:first-child,
  .pronosBox table th:first-child {
    width: 50%;
  }
  .pronosBox table td:last-child,
  .pronosBox table th:last-child {
    width: 30%;
  }
  .pronosBox table {
    font-size: 0.85rem;
    margin-top: 30px;
  }
}
