/* *{
    outline: 1px solid red;
} */

.contChallengesProfile .header{
    height: 15rem;
    position: relative;
    position: relative;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}
.contChallengesProfile .header a.editBackground{
    position: absolute;
    bottom: 2%;
    right: 2%;
    transform: translate(-50%, -50%);
}
.contChallengesProfile .header a svg{
    width: 2.5rem;
    height: 2.5rem;
}
.contChallengesProfile .header .contImgUser{
    width: 11rem;
    height: 11rem;
    border-radius: 50%;
    border: 4px solid var(--color-green);
    position: absolute;
    top: 90%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: cover !important;
}
.contChallengesProfile .header .contImgUser a.editPic{
    position: absolute;
    bottom: 10%;
    right: -7%;
}
.contChallengesProfile .contInfoUser{
    margin-top: 5rem;   
    position: relative;
}
.contChallengesProfile .contInfoUser a.returnIcon {
    position: absolute;
    top: -20%;
    left: 5%;
}
.contChallengesProfile .contInfoUser a svg{
    width: 2rem;
}
.contChallengesProfile .contInfoUser h3 {
    text-align: center;
}



.contChallengesProfile .contMsn {
    border: 1px solid #D0DBEA;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 3rem;
    margin-top: 3rem;
    background-color: var(--color-orange);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 1rem 2rem ;
}

.contChallengesProfile .contMsn .top{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.contChallengesProfile .contMsn .top svg{
    width: 3.5rem;
}
.contChallengesProfile .contMsn .top p{
    margin: 0;
    color: white;
    font-size: 1.2rem;
    line-height: 1; 
    margin-left: 1rem;   
}
.contChallengesProfile .contMsn .bottom{
    margin-top: 1.5rem;
}
.contChallengesProfile .contMsn .bottom h4{
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    color: white;
    
}
.contChallengesProfile .contCoins{
    background-color: rgb(254 249 220);
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    border-radius: 25px;
    padding:1rem;
}
.contChallengesProfile .contCoins .contLeft{
    display: flex;
    justify-content:center ;
    align-items: center;
    
}
.contChallengesProfile .contCoins .contLeft svg{
    width: 2rem;
    margin-right: .5rem;
}
.contChallengesProfile .contCoins .contLeft p{
    margin: 0;
    font-size: 1.4rem;
    line-height: 1;
    color: black;
}
.contChallengesProfile .contCoins .contRight {}
.contChallengesProfile .contCoins .contRight a{
    background: var(--color-yellow);
    border-radius: 32px;
    padding: .5rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #A67700;
    font-size: 1.4rem;
}
.contChallengesProfile .contInsignias{
    margin-top: 3rem;
}
.contChallengesProfile .contInsignias .contPrincipalInsignia{
    background-color: rgb(235 236 234);
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 1rem 1rem 4rem;
    position: relative;
    border-radius: 15px;
} 
.contChallengesProfile .contInsignias .contPrincipalInsignia .oneMedal{
    width: 6rem;
    height: 5rem;
    margin-bottom: 1rem;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.contChallengesProfile .contInsignias .contPrincipalInsignia a{
    width: 12rem;
    position: absolute;
    bottom: 8%;
    right: 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    background: var(--color-black);
    padding: .5rem .9rem;
    border-radius: 27px;
    color: white;
    line-height: 1;
    
}
.contChallengesProfile .contBanges{
    margin-top: 3rem;
    display: flex;
    flex-direction: row;
    overflow: scroll;
    overflow-y: hidden;
    height: 4rem;
}
.contChallengesProfile .contBanges .badge{
    background: var(--color-green);
    border-radius: 32px;
    padding: .5rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    font-size: 1.2rem;
    width: max-content;
    
    margin-right: 2rem;
    height: 2.8rem;
    position: relative;
}
.contChallengesProfile .contBanges .badge.disabled::before{
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
}
.contChallengesProfile .container.contSleep{

}
.contChallengesProfile .container.contSleep .contPrincSleep{
    border: 1px solid #D0DBEA;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 3rem;
    margin-top: 3rem;
    background-color: #FFEB8A;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 2rem;
}
.contChallengesProfile .container.contSleep .contPrincSleep .left{
    flex-basis: 80%;
    width: 80%;
    padding-right: 1rem;
}
.contChallengesProfile .container.contSleep .contPrincSleep .left p{
    text-align: right;
    margin: 0;
    line-height: 1.2;
    font-size: 1.2rem;
}
.contChallengesProfile .container.contSleep .contPrincSleep .right{
    flex-basis: 20%;
    width: 20%;
}
.contChallengesProfile .container.contSleep .contPrincSleep .right svg{
    width: 4rem;
}





.contChallengesProfile .container.contLevels *{
}

.contChallengesProfile .container.contLevels .oneLevel h3{
    margin-bottom: 1rem;
}
.contChallengesProfile .container.contLevels .oneLevel{
    margin-bottom: 2rem;
    margin-top: 3rem;
}
.contChallengesProfile .container.contLevels .oneLevel .progress{
    height: 2.3rem;
    border-radius: 20px;   
    background-color: #616558;
    position: relative;
}
.contChallengesProfile .container.contLevels .oneLevel .progress .progress-bar.bg-success{
    border-radius: 20px;   
}
.contChallengesProfile .container.contLevels .oneLevel .progress span{
    position: absolute;
    right: 1%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.5rem;
}

.contChallengesProfile  .container.accordion#accordionChallenges{
    margin-top: 3rem;
}
.contChallengesProfile  .container.accordion#accordionChallenges .title{
    margin-bottom: 1.5rem;
}
.contChallengesProfile  .container.accordion#accordionChallenges .card{
    border-radius: 10px;
    margin-top: 1rem;
}
.contChallengesProfile  .container.accordion#accordionChallenges .card .card-header{
    background-color: rgb(235 236 234);
}
.contChallengesProfile  .container.accordion#accordionChallenges .card .card-header button{
    padding: 0;
}
.contChallengesProfile  .container.accordion#accordionChallenges .card .card-header button .contHeader{
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}


.contChallengesProfile  .container.accordion#accordionChallenges .card .card-header button .contHeader .contImg{
    width: 4rem;
    height: 4rem;
    border-radius: 10px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.contChallengesProfile  .container.accordion#accordionChallenges .card .card-header button .contHeader .contText{
    width: 42%;
    height: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
.contChallengesProfile  .container.accordion#accordionChallenges .card .card-header button .contHeader .contText p{
    color: black;
    font-weight: bold;
    margin: 0;
    line-height: 1;
    font-size: 1.2rem;
}

.contChallengesProfile  .container.accordion#accordionChallenges .card .card-header button .contHeader .barProgress{
    width: 4rem;
    height: 4rem;
}




.contChallengesProfile  .container.accordion#accordionChallenges .card .card-header button .contHeader .barProgress .progress#challengePorcentaje {
    width: 4rem;
    height: 4rem;
    background: none;
    position: relative;
    background: #ebecea;
    border-radius: 50%;
}
  
.contChallengesProfile  .container.accordion#accordionChallenges .card .card-header button .contHeader .barProgress .progress#challengePorcentaje::after {
    content: "";
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: .6rem solid black;
    position: absolute;
    top: 0;
    left: 0;
}
  
.contChallengesProfile  .container.accordion#accordionChallenges .card .card-header button .contHeader .barProgress .progress#challengePorcentaje>span {
    width: 50%;
    height: 100%;
    overflow: hidden;
    position: absolute;
    top: 0;
    z-index: 1;
}
  
.contChallengesProfile  .container.accordion#accordionChallenges .card .card-header button .contHeader .barProgress .progress#challengePorcentaje .progress-left {
    left: 0;
}
  
.contChallengesProfile  .container.accordion#accordionChallenges .card .card-header button .contHeader .barProgress .progress#challengePorcentaje .progress-bar {
    width: 100%;
    height: 100%;
    background: none;
    border-width: .6rem;
    border-style: solid;
    position: absolute;
    top: 0;
}
  
.contChallengesProfile  .container.accordion#accordionChallenges .card .card-header button .contHeader .barProgress .progress#challengePorcentaje .progress-left .progress-bar {
    left: 100%;
    border-top-right-radius: 40px;
    border-bottom-right-radius: 40px;
    border-left: 0;
    -webkit-transform-origin: center left;
    transform-origin: center left;
}
  
.contChallengesProfile  .container.accordion#accordionChallenges .card .card-header button .contHeader .barProgress .progress#challengePorcentaje .progress-right {
    right: 0;
}
  
.contChallengesProfile  .container.accordion#accordionChallenges .card .card-header button .contHeader .barProgress  .progress#challengePorcentaje .progress-right .progress-bar {
    left: -100%;
    border-top-left-radius: 40px;
    border-bottom-left-radius: 40px;
    border-right: 0;
    -webkit-transform-origin: center right;
    transform-origin: center right;
}
  
.contChallengesProfile  .container.accordion#accordionChallenges .card .card-header button .contHeader .barProgress .progress#challengePorcentaje .progress-value {
    position: absolute;
    top: 0;
    left: 0;
}
.contChallengesProfile  .container.accordion#accordionChallenges .card .card-header button .contHeader .barProgress .progress#challengePorcentaje .progress-value .infoPorc h3{
    font-size: .9rem;
    color: black;
    font-weight: bold;
}

.contChallengesProfile  .container.accordion#accordionChallenges .card .card-header button .contHeader .contArrow{
    width: 10%;
    height: 4rem;
    display: flex;
    justify-content: end;
    align-items: center;
}

.contChallengesProfile  .container.accordion#accordionChallenges .card .card-header button.collapsed .contHeader .contArrow svg{
    transform: rotate(-90deg);
    transition: .5s;
}
.contChallengesProfile  .container.accordion#accordionChallenges .card .card-header button .contHeader .contArrow svg{
    width: 2rem;
    transform: rotate(0deg);
    transition: .5s;
}


.contChallengesProfile  .container.accordion#accordionChallenges .card .collapse .card-body,
.contChallengesProfile  .container.accordion#accordionChallenges .card .collapsing .card-body{
    display: flex;
    justify-content: center;
    align-items: center;
}
