/* challenges ini*/
.container .principalChallenge {
  margin-bottom: 3rem;
}
.container.contChallenges .popularsRecipes .rowtop svg {
  width: 1.4rem;
}
.container.contChallenges .popularsRecipes .rowtop.blockedRecipe svg {
  opacity: 0.5;
}
.container.contChallenges .popularsRecipes .rowtop.blockedRecipe h3 {
  opacity: 0.5;
}

.container.contChallenges
  .popularsRecipes
  .contTopRecipes
  .recipeTop
  .imgRecipe {
  width: 21rem;
  height: 13rem;
  border-radius: 10px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}
.container.contChallenges
  .popularsRecipes
  .contTopRecipes
  .recipeTop
  .imgRecipe.blockedRecipe::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.5); /* Color de fondo con opacidad */
  pointer-events: none; /* Evita que el pseudo-elemento interfiera con los eventos del contenedor */
}
.container.contChallenges
  .popularsRecipes
  .contTopRecipes
  .recipeTop
  .imgRecipe
  .complete {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.6rem;
  position: absolute;
  border-radius: 8px;
  background: var(--color-green);
  top: 1rem;
  left: 1rem;
}
.container.contChallenges
  .popularsRecipes
  .contTopRecipes
  .recipeTop
  .imgRecipe
  .blocked {
  position: absolute;
  border-radius: 8px;
  bottom: 1rem;
  left: 1rem;
}
.container.contChallenges
  .popularsRecipes
  .contTopRecipes
  .recipeTop
  .imgRecipe
  .blocked
  svg {
  width: 3rem;
}
.container.contChallenges
  .popularsRecipes
  .contTopRecipes
  .recipeTop
  .imgRecipe
  .shared {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  border-radius: 8px;
  bottom: 1rem;
  left: 1rem;
}
.container.contChallenges
  .popularsRecipes
  .contTopRecipes
  .recipeTop
  .imgRecipe
  .shared
  svg {
  width: 3rem;
}

.container.contChallenges
  .popularsRecipes
  .contTopRecipes
  .recipeTop
  .recipeInfo.blockedRecipe
  p.title {
  font-weight: bold;
  color: var(--color-black);
  margin-bottom: 0.5rem;
  opacity: 0.5;
}

.container.contChallenges .popularsRecipes .rowtop {
  width: 100%;
  display: flex;
  justify-content: start;
}
.container.contChallenges .popularsRecipes .rowtop svg {
  margin-right: 0.5rem;
  width: 1.6rem;
}
/* challenges fin*/

.container.contChallenges .popularsRecipes#fastChallenges {
  background: rgba(105, 192, 84, 0.2);
  padding: 1rem;
}

.container.contChallenges
  .popularsRecipes#fastChallenges
  .contTopRecipes
  .recipeTop
  .imgRecipe {
  width: 14rem;
  /* height: 13rem; */
  border-radius: 10px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.container.contChallenges
  .popularsRecipes#fastChallenges
  .contTopRecipes
  .recipeTop
  .imgRecipe
  .shared {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  border-radius: 8px;
  bottom: 1rem;
  left: 1rem;
}
.container.contChallenges
  .popularsRecipes#fastChallenges
  .contTopRecipes
  .recipeTop
  .imgRecipe
  .shared
  svg {
  width: 3rem;
}
.container.contChallenges .popularsRecipes .rowtop#titleTablePositions {
  display: flex;
  justify-content: space-between;
}
.container.contChallenges
  .popularsRecipes
  .rowtop#titleTablePositions
  .contLeft {
  display: flex;
}
.container.contChallenges
  .popularsRecipes
  .rowtop#titleTablePositions
  .auxVermas {
  display: flex;
  justify-content: flex-end;
}

.positionsTable {
  /* outline: 1px solid red; */
}
.positionsTable h2 {
  margin-top: 1rem;
  margin-bottom: 1rem;
  text-align: center;
  line-height: 1;
}
.positionsTable h4 {
  margin-top: 1rem;
  margin-bottom: 1rem;
  text-align: center;
  line-height: 1;
}

.positionsTable .container {
}
.positionsTable .container .titles {
}
.positionsTable .container .topPositions {
  display: flex;
  justify-content: center;
  align-items: center;
}
.positionsTable .container .topPositions .leftPosition,
.positionsTable .container .topPositions .rightPosition {
  flex-basis: 30%;
}
.positionsTable .container .topPositions .leftPosition,
.positionsTable .container .topPositions .rightPosition {
  margin-top: 5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.positionsTable .container .topPositions .leftPosition .divItemTop .contImg,
.positionsTable .container .topPositions .rightPosition .divItemTop .contImg {
  height: 6rem;
  width: 6rem;
  background-position: center;
  background-size: cover;
  border-radius: 50%;
  /* border: 1px solid red; */
  position: relative;
  box-shadow: 0px 6px 8px 0px #e3c6ea;
}

.positionsTable
  .container
  .topPositions
  .leftPosition
  .divItemTop
  .contImg
  .number,
.positionsTable
  .container
  .topPositions
  .rightPosition
  .divItemTop
  .contImg
  .number {
  position: absolute;
  /* outline: 1px solid red; */
  width: 2rem;
  height: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  /* border: 1px solid red; */
  color: black;
  background: var(--color-green);
  font-weight: bold;
}
.positionsTable
  .container
  .topPositions
  .leftPosition
  .divItemTop
  .contImg
  .score,
.positionsTable
  .container
  .topPositions
  .rightPosition
  .divItemTop
  .contImg
  .score {
  position: absolute;
  margin: 0;
  font-size: 1rem;
  background: var(--color-orange);
  border-radius: 39px;
  border-radius: 27px;
  background: #ffeb8a;
  line-height: 1;
  padding: 0.4rem 1rem;
  text-align: center;
  left: 50%;
  top: 95%;
  font-weight: bold;
  transform: translate(-50%, -50%);
}
.positionsTable .container .topPositions .leftPosition .divItemTop .contName,
.positionsTable .container .topPositions .rightPosition .divItemTop .contName {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.positionsTable
  .container
  .topPositions
  .centerPosition
  .divItemTop
  .contName
  p {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0;
  margin-top: 1rem;
  line-height: 1;
  margin-bottom: 1rem;
}
.positionsTable
  .container
  .topPositions
  .centerPosition
  .divItemTop
  .contName
  p.score {
  font-size: 1rem;
  margin-top: 0rem;
}

.positionsTable .container .topPositions .centerPosition {
  flex-basis: 40%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.positionsTable .container .topPositions .centerPosition .divItemTop {
}
.positionsTable .container .topPositions .centerPosition .divItemTop .contImg {
  height: 9rem;
  width: 9rem;
  background-position: center;
  background-size: cover;
  border-radius: 50%;
  /* border: 1px solid red; */
  position: relative;
  box-shadow: 0px 6px 8px 0px #e3c6ea;
}
.positionsTable
  .container
  .topPositions
  .centerPosition
  .divItemTop
  .contImg
  .number {
  position: absolute;
  /* outline: 1px solid red; */
  width: 2rem;
  height: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  /* border: 1px solid red; */
  color: black;
  background: var(--color-green);
  font-weight: bold;
}
.positionsTable
  .container
  .topPositions
  .centerPosition
  .divItemTop
  .contImg
  .score {
  position: absolute;
  margin: 0;
  font-size: 1rem;
  background: var(--color-orange);
  border-radius: 39px;
  border-radius: 27px;
  background: #ffeb8a;
  line-height: 1;
  padding: 0.4rem 1rem;
  text-align: center;
  left: 50%;
  top: 95%;
  font-weight: bold;
  transform: translate(-50%, -50%);
}

.positionsTable .container .topPositions .centerPosition .divItemTop .contName {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.positionsTable .container .topPositions .leftPosition .divItemTop .contName p,
.positionsTable
  .container
  .topPositions
  .rightPosition
  .divItemTop
  .contName
  p {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0;
  margin-top: 1rem;
  line-height: 1;
  margin-bottom: 1rem;
}
.positionsTable
  .container
  .topPositions
  .leftPosition
  .divItemTop
  .contName
  p.score,
.positionsTable
  .container
  .topPositions
  .rightPosition
  .divItemTop
  .contName
  p.score {
  font-size: 1rem;
  margin-top: 0rem;
}
.positionsTable .container .ranking {
  border-radius: 16px;
  background: rgba(255, 235, 138, 0.7);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.positionsTable .container .ranking .card {
  display: flex;
  width: 90%;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  height: 5rem;
  margin-bottom: 0.6rem;
  margin-top: 0.6rem;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.5);
}
.positionsTable .container .ranking .card.yourself {
  width: 110%;
  background: rgba(255, 235, 138, 1);
  border-radius: 10px;
  border: none;
}

.positionsTable .container .ranking .position {
  width: 10%;
  /* outline: 1px solid blue; */
  display: flex;
  justify-content: center;
  align-items: center;
}
.positionsTable .container .ranking .position p {
  margin: 0;
}
.positionsTable .container .ranking .card .avatar {
  width: 17%;
  display: flex;
  justify-content: center;
  align-items: center;
  /* outline: 1px solid black; */
}
.positionsTable .container .ranking .card .avatar .imgAvatar {
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
}
.positionsTable .container .ranking .card .name {
  width: 50%;
  /* outline: 1px solid green; */
}
.positionsTable .container .ranking .card .name p {
  margin: 0;
  margin-left: 0.5rem;
}
.positionsTable .container .ranking .card .score {
  width: 33%;
  display: flex;
  /* outline: 1px solid red; */
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.positionsTable .container .ranking .card .score .number {
  margin: 0;
  font-size: 1rem;
  background: var(--color-orange);
  border-radius: 39px;
  border-radius: 27px;
  background: #ffeb8a;
  line-height: 1;
  padding: 0.4rem 1rem;
  text-align: center;
}
.positionsTable .container .ranking .card.yourself .score .number {
  background: white;
}
.positionsTable .container .ranking .card.yourself .score .equals {
  font-size: 2rem;
  font-weight: bold;
  margin: 0;
  line-height: 1;
}

.positionsTable .container .ranking .card .score svg {
  width: 1.3rem;
  margin-left: 0.5rem;
}

.arrow-up {
  height: 5rem;
  position: relative;
  width: 100%;
}

.arrow-up:before {
  content: "";
  position: absolute;
  left: 0px;
  width: 50%;
  height: 5rem;
  background: linear-gradient(
    to right bottom,
    #fff 49%,
    rgba(255, 235, 138, 0.7) 50%
  );
}

.arrow-up:after {
  content: "";
  position: absolute;
  right: 0px;
  width: 50%;
  height: 5rem;
  background: linear-gradient(
    to left bottom,
    #fff 49%,
    rgba(255, 235, 138, 0.7) 50%
  );
}

.recipesForyou .onlyRecipe .insertRecipe a.linkSecundary {
  background: var(--color-orange);
  border-radius: 32px;
  padding: 1rem 2rem;
  flex-basis: 70%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
}

.contChallenges .contBtn {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.contChallenges .contBtn .linkSecundary {
  background: var(--color-orange);
  border-radius: 32px;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
}

.dareFriends.imgRecipe {
  width: 100%;
  height: 23rem;
  border-radius: 10px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: flex-start;
  padding: 1rem;
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.dareFriends.imgRecipe .shared svg {
  width: 3.5rem;
}

.dareFriends.imgRecipe p {
  color: white;
  font-size: 1.8rem;
  margin: 0;
  line-height: 1;
}

.dareFriends.imgRecipe p span.bold {
  font-weight: bold;
}

.dareFriends.imgRecipe a {
  background: var(--color-orange);
  border-radius: 32px;
  padding: 1rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  width: max-content;
}

/*
*
* ==========================================
* CUSTOM UTIL CLASSES
* ==========================================
*
*/
.container#contProgress::after {
  content: "";
  position: absolute;
  bottom: 0;
  z-index: -1;
  width: 200%;
  background-color: #c1e5b9;
  height: 65%;
  left: 50%;
  top: 68%;
  border-top-left-radius: 50% 100%;
  border-top-right-radius: 50% 100%;
  transform: translate(-50%, -50%);
}

.container#contProgress {
  padding: 2rem 1rem;
  background: rgba(105, 192, 84, 0.6);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.container#contProgress .contProgressTitle {
  text-align: center;
  margin-bottom: 2rem;
}

.container#contProgress .contProgressPhrase {
  text-align: center;
  margin-top: 2rem;
}

.container#contProgress .contProgressPhrase h3 {
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1.2;
}

.container#contProgress .contProgressPhrase h3 span.bold {
  font-weight: bold;
}

.progress#challenges {
  width: 180px;
  height: 180px;
  background: none;
  position: relative;
  background: var(--color-charcoal);
  border-radius: 50%;
}

.progress#challenges::after {
  content: "";
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2rem solid black;
  position: absolute;
  top: 0;
  left: 0;
}

.progress#challenges > span {
  width: 50%;
  height: 100%;
  overflow: hidden;
  position: absolute;
  top: 0;
  z-index: 1;
}

.progress#challenges .progress-left {
  left: 0;
}

.progress#challenges .progress-bar {
  width: 100%;
  height: 100%;
  background: none;
  border-width: 2rem;
  border-style: solid;
  position: absolute;
  top: 0;
}

.progress#challenges .progress-left .progress-bar {
  left: 100%;
  border-top-right-radius: 110px;
  border-bottom-right-radius: 110px;
  border-left: 0;
  -webkit-transform-origin: center left;
  transform-origin: center left;
}

.progress#challenges .progress-right {
  right: 0;
}

.progress#challenges .progress-right .progress-bar {
  left: -100%;
  border-top-left-radius: 110px;
  border-bottom-left-radius: 110px;
  border-right: 0;
  -webkit-transform-origin: center right;
  transform-origin: center right;
}

.progress#challenges .progress-value {
  position: absolute;
  top: 0;
  left: 0;
}

.border-primary {
  border-color: var(--color-green) !important;
}

.infoPorc {
  z-index: 1;
}

.infoPorc h3 {
  color: white;
  margin: 0;
  line-height: 1;
}
