:root {
  --belt-height: 40px; /* Altura base del cinturón */
  --belt-width: 300px; /* Ancho base del cinturón */
  --stripe-width: 5px; /* Ancho base de las rayas */
  --first-stripe-position: 20px; /* Ancho base de las rayas */
  --final-band-width: 70px; /* Ancho de la banda final */
  --_podium-size: 5px;

}

body {
  background: #bec2be;
  font-family: Arial, sans-serif;
  text-align: center;
}


a {
  text-decoration: none;
  color: black;
}

#formularioBusqueda {
  padding: 5px;
  height: 60px;
  border: 2px solid black;
  border-radius: 5px;
  margin: 0 10px;
}

select {
  text-align-last: center;
}

.avatar {
  border: 1px solid rgba(197, 196, 196);
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}

.avatar-xs {
  height: 32px;
  width: 32px;
}

.avatar-s {
  height: 64px;
  width: 64px;
}

.avatar-m {
  height: 96px;
  width: 96px;
}

.avatar-l {
  height: 128px;
  width: 128px;
}

.avatar-xl {
  height: 256px;
  width: 256px;
}

.miniatura {
  border: 1px solid var(--amarillo);
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  height: 32px;
  width: 32px;
}

.fichaAnuncio {
  /*  width: 500px; */
  height: 200px;
  display: flex;
  flex-flow: row nowrap;
  background: white;
  margin: auto;
  border-radius: 20px;
  text-align: center;
  box-shadow: -1px 15px 30px -12px black;
  margin: 25px auto;
  padding: 15px;
  text-decoration: none;
  justify-content: space-between;
  align-items: center;
}

.fa {
  color: rgb(191, 0, 255);
}

a * {
  text-decoration: none !important;
  color: black;
}

.footer {
  margin: 0px;
  padding: 0px;
  height: 40px;
  color: white;
}

.footer div {
  margin: 0px 10px;
}

.footer p {
  margin: 0px;
}

.footer a {
  margin: 5px;
  height: 40px;
  color: white;
}

.copyleft {
  display: inline-block;
  transform: rotate(180deg);
}

.flag {
  width: 20px;
  height: 15px;
  object-fit: cover;
}


#week {
  width: 100%;
  display: grid !important;
  grid-template-columns: repeat(7, minmax(15%, 1fr));

}

.hidden {
  display: none;
}

.visible {
  display: block;
}

.day {
  place-self: center stretch;
  width: 90%;
  height: 60px;
  background: #908d8d;
  /* margin: 5px; */
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  font-weight: bold;
  color: black;
  border-radius: 5%;
  border: 1px solid black;

}

.clase {
  width: 90%;
  height: 60px;
  background: #f2e2e2;
  margin: 5px 0px;
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  font-size: 10px;
  /*  font-weight: bold; */
  color: black;
  border-radius: 5%;
  border: 1px solid black;
}


/* ========== calendario styles  ========= */

.calendar {
  display: flex;
  flex-direction: column;
  max-width: 600px;
  margin: auto;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}

.calendar-day,
.calendar-cell {
  padding: 10px;
  border: 1px solid #ddd;
  text-align: center;
}

.calendar-cell {
  cursor: pointer;
}

.calendar-cell:hover {
  background-color: #f0f0f0;
}


/* ============ fin calendario styles ========= */


/* ========== CINTURONES BJJ  styles  ========= */



/* Cinturones */
.belt-container {
  margin: 0px auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.belt {
  position: relative;
  width: var(--belt-width);
  height: var(--belt-height);
  line-height: var(--belt-height);
  color: white;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
  border: 1px solid #333;
  display: inline-block;
}

/* Banda final (negra por defecto) */
.final-band {
  position: absolute;
  top: -1px;
  right: calc(var(--belt-height) / 4);
  width: var(--final-band-width);
  /* Banda ocupa todo el ancho */
  height: var(--belt-height);
  /* Alto de la banda final */
  background-color: #000;
  /* Negra por defecto */
  z-index:1;
}

/* Banda roja para cinturón negro */
.final-band-red {
  background-color: #b00000;
  /* Rojo para cinturón negro */
}

.along-band-negro, .along-band-blanco {
  position: absolute;
  right: 0;
  top: calc(var(--belt-height) / 4);
  width: 100%;
  /* Banda ocupa todo el ancho */
  height: calc(var(--belt-height) / 2);
  /* Alto de la banda final */
  background-color: #000;
  /* Negra por defecto */
  z-index:0;
}

.along-band-blanco {
  background-color: #f6f1f1;
  /* Negra por defecto */
}

/* Grados (rayas blancas) */
.belt .stripe {
  position: absolute;
  bottom: -1px;
  right: var(--first-stripe-position);
  height: var(--belt-height);
  width: var(--stripe-width);
  background-color: #fff;
  z-index: 2;
}

.belt .stripe:nth-child(1) { right: calc(var(--first-stripe-position) + var(--stripe-width) * 0); }
.belt .stripe:nth-child(2) { right: calc(var(--first-stripe-position) + var(--stripe-width) * 2); }
.belt .stripe:nth-child(3) { right: calc(var(--first-stripe-position) + var(--stripe-width) * 4); }
.belt .stripe:nth-child(4) { right: calc(var(--first-stripe-position) + var(--stripe-width) * 6); }
.belt .stripe:nth-child(5) { right: calc(var(--first-stripe-position) + var(--stripe-width) * 8); }

/* Colores de los cinturones */
.blanco {
  background-color: #fefefe;
  color: #333;
}

/* Blanco */
.gris {
  background-color: #a9a9a9;
}

/* Gris */
.amarillo {
  background-color: #ffdd00;
  color: #333;
}

/* Amarillo */
.naranja {
  background-color: #ff8800;
}

/* Naranja */
.verde {
  background-color: #008000;
}

/* Verde */
.azul {
  background-color: #0000ff;
}

/* Azul */
.morado {
  background-color: #800080;
}

/* Morado */
.marron {
  background-color: #8b4513;
}

/* Marrón */
.negro {
  background-color: #000000;
}
.cinturon-grande{
  --belt-height: 35px; /* Altura base del cinturón */
  --belt-width: 260px; /* Ancho base del cinturón */
  --first-stripe-position: 20px;
  --stripe-width: 5px; /* Ancho base de las rayas */
  --final-band-width: 70px; /* Ancho de la banda final */
}

.cinturon-pequeño{
  --belt-height: 20px; /* Altura base del cinturón */
  --belt-width: 100px; /* Ancho base del cinturón */
  --first-stripe-position: 10px;
  --stripe-width: 3px; /* Ancho base de las rayas */
  --final-band-width: 40px; /* Ancho de la banda final */
}


/* Negro */
/* ========== FIN CINTURONES BJJ  styles  ========= */



/* ==== PODIUM  ==== */ 
.podium-container {
  perspective: calc(var(--_podium-size) * 50);
  margin-top: calc(var(--_podium-size) * 20);
  display: grid;
  place-items: center;
}
@media only screen and (min-width: 600px) {
  .podium-container {
    --_podium-size: 7.5px;
  }
}
@media only screen and (min-width: 960px) {
  .podium-container {
    --_podium-size: 10px;
  }
}

.podium {
  display: grid;
  align-items: end;
  grid-template-columns: repeat(3, 1fr);
  transform-style: preserve-3d;
  font-size: calc(var(--_podium-size) * 2);
  font-weight: 900;
  gap: 12px;
  transform: rotateX(-40deg);
  text-align: center;
}

.podium__front {
  background: red;
  padding-inline: calc(var(--_podium-size) * 5);
  padding-bottom: calc(var(--_podium-size) * 3);
  position: relative;
  transform-style: preserve-3d;
  transform-origin: top;
  transition: transform 0.25s;
}

.podium__front:hover {
  transform: translate3d(0, 0, 15px);
}

.podium__center {
  transform: translate3d(0, 0, 5px);
}

.podium__center:hover {
  transform: translate3d(0, 0, 20px);
}

.podium__front::after {
  transform-style: preserve-3d;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform-origin: top;
  transform: rotatex(-90deg);
}

.podium__left::before,
.podium__right::before {
  background: #394c0c;
  background: linear-gradient(to left, #394c0c, transparent);
  transform-style: preserve-3d;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform-origin: right;
  transform: rotatey(-90deg);
}

.podium__right::before {
  background: linear-gradient(to right, #394c0c, transparent);
  transform-origin: left;
  transform: rotatey(90deg);
}

.podium__left {
  padding-top: calc(var(--_podium-size) * 3);
  background: #81ac1c;
}

.podium__left::after {
  background: #739919;
  background: linear-gradient(#739919, transparent);
}

.podium__center {
  padding-top: calc(var(--_podium-size) * 5);
  background: #90c020;
}

.podium__center::after {
  background: #81ac1c;
  background: linear-gradient(#90c020, transparent);
}

.podium__right {
  padding-top: calc(var(--_podium-size) * 1);
  background: #739919;
}

.podium__right::after {
  background: #648616;
  background: linear-gradient(#648616, transparent);
}

.podium__image {
  position: absolute;
  top: 0%;
  left: 50%;
  transform: translate(-50%, -80%) translatez(-55px) rotatey(0);
  transform-style: preserve-3d;
  transform-origin: center;
}

.podium__image > img {
  width: calc(var(--_podium-size) * 10);
}

.podium__image::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: calc(var(--_podium-size) * 6);
  border-radius: 100%;
  filter: blur(20px);
  background: #0e1303;
  background: linear-gradient(#0e1303, transparent);
  transform: rotatex(90deg);
}

.podium__front:hover > .podium__image {
  animation: rotate 10s linear infinite;
}

.podium span {
  padding:0px;
  margin: 0px;
  font-size: 20px;
  font-weight: 100;
}

@keyframes rotate {
  to {
    transform: translate(-50%, -80%) translateZ(-55px) rotateY(360deg);
  }
}
/* ==== fin PODIUM  ==== */ 

@media (min-width: 992px) {}