.puntos-bar {
    background-color: #EFE4D0;
    border-radius: 8px 0 0 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 1.3);
    height: 345px;
    position: fixed;
    right: -648px;
    top: 4%;
    transition: right 0.3s ease;
    width: 688px;
    z-index: 1000;
}

.puntos-bar.open {
    right: 0;
}

.puntos-bar .card-fondo {
    height: 385px;
    width: 103%;
    z-index: -1;
}

.contenedor-puntos-bar {
    display: flex;
    gap: 10px;
    height: 100%;
    justify-content: center;
    position: absolute;
    right: 0;
    top: 0;
    width: calc(100% - 50px);
}

.contenedor-puntos-bar .perfil {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 2px;
    justify-content: center;
    width: calc(30% - 10px);
}

.contenedor-puntos-bar .stats {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    width: calc(70% - 10px);
}

.contenedor-puntos-bar .perfil .img {
    background-position: 50%;
    background-size: cover;
    border-radius: 50%;
    border: 3px solid #300505;
    display: block;
    height: 150px;
    width: 150px;
}

.contenedor-puntos-bar .perfil .nombre {
    color: #300505;
    font-size: 18px;
    text-align: center;
}

.contenedor-puntos-bar .perfil .cargo,
.contenedor-puntos-bar .perfil .rango {
    font-size: 14px;
}

.contenedor-puntos-bar .perfil .miperfil a,
.contenedor-puntos-bar .perfil .avances a {
    color: #300505;
    font-size: 14px;
}


.contenedor-puntos-bar .stats .puntos {
    display: flex;
    gap: 40px;
    justify-content: center;
}

.contenedor-puntos-bar .stats .puntos>div {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: calc(20% - 40px);
}

.contenedor-puntos-bar .stats .puntos>div img {
    width: 100%;
}

.contenedor-puntos-bar .stats .puntos>div span {
    font-weight: 700;
}

.avances-titulo-seccion {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}

.avance-contenedor-esta-semana {
    display: flex;
    flex-wrap: wrap;
    gap: 100px;
    justify-content: center;
    margin-bottom: 40px;
    margin-top: 80px;
    position: relative;
}

.avance-contenedor-esta-semana::before {
    bottom: 0;
    content: "Esta Semana";
    font-size: 24px;
    left: 0;
    position: absolute;
    text-align: center;
    transform: translate(-100px, -100px) rotate(270deg);
    width: 200px;
}

.avance-contenedor-esta-semana .circulo {
    align-items: center;
    aspect-ratio: 1;
    border-radius: 50%;
    box-shadow: 2px 2px 2px #bbbbbb;
    display: flex;
    justify-content: center;
    position: relative;
    width: calc(25% - 100px);
}

.avance-contenedor-esta-semana .circulo .dominio {
    align-items: center;
    display: flex;
    font-size: 28px;
    font-weight: 700;
    justify-content: center;
    overflow: visible;
    position: absolute;
    text-align: center;
    top: -50px;
    white-space: nowrap;
    width: calc(25% - 100px);
}

.avance-contenedor-esta-semana .circulo:nth-child(1) {
    background-color: #4ea72e;
}

.avance-contenedor-esta-semana .circulo:nth-child(2) {
    background-color: #ed8d5d;
}

.avance-contenedor-esta-semana .circulo:nth-child(3) {
    background-color: #b4e5a2;
}

.avance-contenedor-esta-semana .circulo:nth-child(4) {
    background-color: #fbbd00;
}

.avance-contenedor-esta-semana .circulo .cuadrado {
    align-items: center;
    aspect-ratio: 10/8;
    box-shadow: 1px 1px 1px #aaaaaa;
    display: flex;
    font-size: 48px;
    font-weight: 700;
    justify-content: center;
    width: calc(100% - 10px);
}

.avance-contenedor-esta-semana .circulo:nth-child(1) .cuadrado {
    background-color: #ffc000;
    transform: rotate(-10deg);
}

.avance-contenedor-esta-semana .circulo:nth-child(2) .cuadrado {
    background-color: #96dcf8;
    transform: rotate(10deg);
}

.avance-contenedor-esta-semana .circulo:nth-child(3) .cuadrado {
    background-color: #92d050;
    transform: rotate(-10deg);
}

.avance-contenedor-esta-semana .circulo:nth-child(4) .cuadrado {
    background-color: #ed8d5d;
    transform: rotate(10deg);
}

.avances-contenedor-barras {
    display: flex;
    gap: 100px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

.avances-contenedor-barras::before {
    bottom: 0;
    content: "¿Cuánto has avanzado?";
    font-size: 24px;
    left: 0;
    position: absolute;
    text-align: center;
    transform: translate(-150px, -130px) rotate(270deg);
    width: 300px;
}

.avances-contenedor-barras .barra {
    box-shadow: 5px 5px 5px #cccccc;
    display: flex;
    flex-direction: column;
    height: 300px;
    justify-content: flex-end;
    position: relative;
    width: calc(25% - 100px);
}

.avances-contenedor-barras .barra .porcentaje {
    bottom: 50px;
    font-size: 32px;
    font-weight: 700;
    position: absolute;
    text-align: center;
    width: 100%;
}

.avances-contenedor-barras .barra .relleno {
    display: flex;
    height: 0;
    transition: height 800ms ease;
    width: 100%;
}

.avances-contenedor-barras .barra:nth-child(1) {
    background-color: #ffd88b;
}

.avances-contenedor-barras .barra:nth-child(2) {
    background-color: #83cbeb;
}

.avances-contenedor-barras .barra:nth-child(3) {
    background-color: #c2f1c8;
}

.avances-contenedor-barras .barra:nth-child(4) {
    background-color: #f6c6ad;
}

.avances-contenedor-barras .barra:nth-child(1) .relleno {
    background-color: #ffc000;
}

.avances-contenedor-barras .barra:nth-child(2) .relleno {
    background-color: #00b0f0;
}

.avances-contenedor-barras .barra:nth-child(3) .relleno {
    background-color: #47d45a;
}

.avances-contenedor-barras .barra:nth-child(4) .relleno {
    background-color: #e15c19;
}


.avances-contenedor-actividades {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
    margin-bottom: 40px;
}

.avances-contenedor-actividades .actividad {
    aspect-ratio: 21 / 22;
    background-color: #EFE4D0;
    border-radius: 10px;
    box-shadow: 5px 5px 5px #cccccc;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px;
    width: calc(20% - 10px);
}



.avances-contenedor-actividades .actividad .imagen {
    aspect-ratio: 16 / 9;
    background-position: 50%;
    background-size: cover;
    border-radius: 10px;
    width: 100%;
}

.avances-contenedor-actividades .actividad .descripcion {
    line-height: 18px;
    min-height: calc(18px * 2);
}

.avances-contenedor-actividades .actividad .resultados {
    display: flex;
    gap: 5px;
    justify-content: center;
}

.avances-contenedor-actividades .actividad .resultados .fecha,
.avances-contenedor-actividades .actividad .resultados .puntaje {
    align-items: center;
    background-color: #75595A;
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    font-size: 12px;
    padding: 5px;
    width: calc(50% - 5px);
}

.avances-contenedor-actividades .actividad.academia .resultados .fecha,
.avances-contenedor-actividades .actividad.academia .resultados .puntaje{
    background-color: #85BF49 !important;
}

.avances-contenedor-actividades .actividad.puerto .resultados .fecha,
.avances-contenedor-actividades .actividad.puerto .resultados .puntaje {
    background-color: #BC4A60 !important;
}

.avances-contenedor-actividades .actividad.distrito .resultados .fecha,
.avances-contenedor-actividades .actividad.distrito .resultados .puntaje {
    background-color: #4ABCA6 !important;
}

.avances-contenedor-actividades .actividad .resultados .fecha {
    border-radius: 0px 0px 0px 10px;
}

.avances-contenedor-actividades .actividad .resultados .puntaje {
    border-radius: 0px 0px 10px 0px;
}


.avances-titulo-ambiente {
    color: #300505;
    font-size: 26px;
    font-weight: 700;
}

.avances-titulo-ambiente.academia {
    color: #85BF49;
}

.avances-titulo-ambiente.puerto {
    color: #BC4A60;
}

.avances-titulo-ambiente.distrito {
    color: #4ABCA6;
}


.avances-contenedor-puntos {
    display: flex;
    gap: 40px;
    justify-content: center;
}

.avances-contenedor-puntos>div {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: calc(20% - 40px);
}

.avances-contenedor-puntos>div span {
    font-size: 24px;
}