html, body {
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #f0f0f0; 
}

.homePage-container {
  width: 100vw;
  height: 98vh;
  display: flex;
  flex-direction: column; /* Empile les éléments verticalement */
  justify-content: center;
  align-items: center;
  gap: 10px; /* Espacement entre les éléments flex */
}
.last {
  margin-top: auto;
}

.logo {
  max-width: 30vw;
  animation: float 3s ease-in-out infinite;
}

.logoShadow {
  max-width: 30vw;
  animation: floatShadow 3s ease-in-out infinite;
  opacity:0.66;
  margin-top:-1em;
}

.podium-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
}

.podium-image {
  width: 160px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.podium-image:hover {
  transform: scale(1.1);
  box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.3);
}

@keyframes floatShadow {
  0%, 100% { transform: scale(0.5, 0.5); }
  50% { transform: scale(0.25, 0.25); }
}

/* Styles pour les ordinateurs de bureau */
@media screen and (min-width: 760px) {
  .logo, .logoShadow {
      max-width: 20vw;
      top: 5%;
  }

  .gelatine {
      animation: gelatine 0.5s 4;
  }
  .button-visual:hover {
      letter-spacing: 0.5vw !important;
  }
}

/* Styles pour les mobiles */
@media screen and (max-width: 759px) {
  .logo, .logoShadow {
      max-width: 60vw;
  }

  .gelatine {
      animation: gelatine 0.5s 4;
  }

  .catchphrase {
      font-size: 18px; /* Taille plus petite pour les écrans mobiles */
  }
  .button-visual:hover {
      letter-spacing: 1.5vw !important;
  }
}

@keyframes gelatine {
  from, to { transform: scale(1, 1); }
  25% { transform: scale(0.9, 1.1); }
  50% { transform: scale(1.1, 0.9); }
  75% { transform: scale(0.95, 1.05); }
}

/* Animation pour faire flotter le logo */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.box-container {
  display: flex;
  flex-direction: row; 
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0 2vw;
  font-size:0.75em;
  
}

.box {
  width: 8em;
  height: 8em;
  background-color: #9bc3b2;
  border: 1px solid #ccc;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  border-radius: 10px;
  color: #ffffff; 

  transition: background-color 0.3s, border-radius 0.3s, border 0.3s, color 0.3s; 
}

.box a{
    font-weight:bold;
   text-decoration:none;
  transition: color 0.3s; 
}

.box:hover{
  background-color: #ffffff; 
  border-radius: 20px; 
  border: 2px solid #9bc3b2;
  color: #9bc3b2;
}

.box a:hover{
  color: #9bc3b2;  
}

.description {
  margin: 0; 
  font-size: 1.2em; 
  color: #333; 
  text-align: center; 
}
a {
  text-decoration: none;
}

.button-visual {
  background: #9bc3b2;
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pulsate-fwd {
	-webkit-animation: pulsate-fwd 1.5s ease-in-out infinite both;
	        animation: pulsate-fwd 1.5s ease-in-out infinite both;
}

/* ----------------------------------------------
 * Generated by Animista on 2025-3-25 19:23:21
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation pulsate-fwd
 * ----------------------------------------
 */
 @-webkit-keyframes pulsate-fwd {
  0% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  50% {
    -webkit-transform: scale(1.05);
            transform: scale(1.05);
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}
@keyframes pulsate-fwd {
  0% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  50% {
    -webkit-transform: scale(1.05);
            transform: scale(1.05);
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}


.mib img{
  width:5em;
}

.homeFooter{
    text-align:center;
    font-size:0.6em;
    a{
        text-decoration:none;
        cursor:pointer;
        color:#70bebe;
    }
}
  .heartbeat {
    -webkit-animation: heartbeat 1.5s ease-in-out infinite both;
            animation: heartbeat 1.5s ease-in-out infinite both;
  }

  /* ----------------------------------------------
 * Generated by Animista on 2025-3-24 19:16:43
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation heartbeat
 * ----------------------------------------
 */
@-webkit-keyframes heartbeat {
  from {
    -webkit-transform: scale(1.5);
            transform: scale(1.5);
    -webkit-transform-origin: center center;
            transform-origin: center center;
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  10% {
    -webkit-transform: scale(0.91);
            transform: scale(0.91);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  17% {
    -webkit-transform: scale(1.48);
            transform: scale(1.48);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  33% {
    -webkit-transform: scale(0.87);
            transform: scale(0.87);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  45% {
    -webkit-transform: scale(1.5);
            transform: scale(1.5);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
}

@keyframes heartbeat {
  from {
    -webkit-transform: scale(1.5);
            transform: scale(1.5);
    -webkit-transform-origin: center center;
            transform-origin: center center;
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  10% {
    -webkit-transform: scale(0.91);
            transform: scale(0.91);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  17% {
    -webkit-transform: scale(1.48);
            transform: scale(1.48);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  33% {
    -webkit-transform: scale(0.87);
            transform: scale(0.87);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  45% {
    -webkit-transform: scale(1.5);
            transform: scale(1.5);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
}




.tracking-in-contract {
-webkit-animation: tracking-in-contract 0.8s cubic-bezier(0.215, 0.610, 0.355, 1.000) none;
        animation: tracking-in-contract 0.8s cubic-bezier(0.215, 0.610, 0.355, 1.000) none;
}

/* ----------------------------------------------
* Generated by Animista on 2024-1-25 20:37:32
* Licensed under FreeBSD License.
* See http://animista.net/license for more info. 
* w: http://animista.net, t: @cssanimista
* ---------------------------------------------- */

/**
* ----------------------------------------
* animation tracking-in-contract
* ----------------------------------------
*/

/* Styles pour les cellules des femmes */
tbody td.femme {
  background-color: #ffe4e1; /* Rose pâle */
}

/* Styles pour les cellules des hommes */
tbody td.homme {
  background-color: #add8e6; /* Bleu pâle */
}


@-webkit-keyframes tracking-in-contract {
  0% {
    letter-spacing: 1em;
    opacity: 0;
  }
  40% {
    opacity: 0.6;
  }
  100% {
    letter-spacing: normal;
    opacity: 1;
  }
}
@keyframes tracking-in-contract {
  0% {
    letter-spacing: 1em;
    opacity: 0;
  }
  40% {
    opacity: 0.6;
  }
  100% {
    letter-spacing: normal;
    opacity: 1;
  }
}

/*---------------------------------
------ DATATABLE UI-------*/
/* @link https://utopia.fyi/type/calculator?c=920,16,1.2,1500,24,1.25,5,2,568&s=0.75|0.5|0.25,1.5|2|3|4|6,s-l */

:root {
  --step--2: clamp(0.69rem, calc(0.27rem + 0.73vw), 0.96rem);
  --step--1: clamp(0.83rem, calc(0.25rem + 1.01vw), 1.2rem);
  --step-0: clamp(1rem, calc(0.21rem + 1.38vw), 1.5rem);
  --step-1: clamp(1.2rem, calc(0.13rem + 1.86vw), 1.88rem);
  --step-2: clamp(1.44rem, calc(0.01rem + 2.49vw), 2.34rem);
  --step-3: clamp(1.73rem, calc(-0.18rem + 3.32vw), 2.93rem);
  --step-4: clamp(2.07rem, calc(-0.45rem + 4.38vw), 3.66rem);
  --step-5: clamp(2.49rem, calc(-0.83rem + 5.76vw), 4.58rem);
}

:root {
  --color-primary: #1c1e0b;
  --color-secondary: #f5d13a;
  --color-tertiary: rgba(0, 0, 0, 0.25);

  --font-body: "Montserrat", sans-serif;
}

caption {
  text-align: left;
}

#viewTitle {
  font-size: var(--step-3);
  line-height: var(--step-3);
  font-weight: bold;
  list-style: none;
  margin-top: 0;
  margin-bottom: var(--step-2);
}

table {
  text-align: left;
  border-collapse: collapse;
  width: 100%;
  border: 2px solid var(--color-tertiary);
  background-color: rgba(255, 255, 255, 0.2);
}

thead th {
  padding-bottom: var(--step--2);
  font-weight: bold;
  vertical-align: top;
}

thead th,
tbody td {
  padding: var(--step-1) var(--step-0) var(--step--2) var(--step-0);
}

tbody td {
  padding-top: var(--step-0);
  padding-bottom: var(--step--2);
  vertical-align: middle;
}

tbody tr:nth-child(odd) {
  background-color: rgba(0, 0, 0, 0.07);
}

tr > * + * {
  padding-left: var(--step-2);
}

thead {
  border-bottom: 2px solid var(--color-primary);
}

tbody tr {
  border-bottom: 1px solid var(--color-tertiary);
}

tbody td::before {
  display: none;
}

.tableAvatar {
  border-radius: 100%;
  width: 4rem;
  aspect-ratio: 1;
  border: 3px solid var(--color-tertiary);
  display: inline-block;
  vertical-align: middle;
  margin-right: 1rem;
}

@media screen and (max-width: 880px) {
  thead {
    display: none;
  }

  table,
  tbody,
  tbody tr,
  tbody td,
  caption {
    display: flex;
    flex-directioN: column;
    width: 100%;
    word-break: break-all;
  }
  
  table {
    background-color: transparent;
    border-width: 0;
  }
  
  tbody {
  border: 2px solid var(--color-tertiary);
  background-color: rgba(255, 255, 255, 0.2);
  }

  table tr {
    padding-bottom: 1rem;
  }
  
    table tr td:first-child {
      margin-bottom: calc(-1 * var(--step-0));
      flex-direction: row;
      align-items: center;
  }


  table tr td:not(:first-child) {
    padding-left: calc(6rem);
    padding-top: 0;
  }

  .table-wrapper {
    max-width: 568px;
  }

  tbody tr td:not(:first-child)::before {
    font-weight: 600;
    font-size: var(--step--1);
    display: block;
  }
}

tbody tr {
  transform: translate(0, 0);
  transform: scale(1);
  transition: transform 0.1s ease;
}

/* Ajouter une transformation lors du survol */
tbody tr:hover {
  transform: scale(1.01);
  transform: translate(-5px, 0px);
}

/**********************REGLEMENT*******************/

/* Styles pour le conteneur du règlement */
.reglement-container {
    width: 80%;
    margin: 20px auto;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Styles pour les articles du règlement */
.reglement-article {
    margin-bottom: 20px;
}

.reglement-article h2 {
    font-size: 1.5em;
    color: #333;
    border-bottom: 2px solid #9bc3b2;
    padding-bottom: 5px;
}

.reglement-article p {
    font-size: 1.1em;
    color: #666;
    line-height: 1.6;
}
