* { padding: 0; margin: 0;}

body{
    font-family: sans-serif;
}

.influcard{
    display: flex;
    justify-content: center;
    width: 25rem;
    border: #c4c4c4 solid 0.5px;
    border-radius: 6px;
    box-shadow: 1px 2px 4px #c4c4c4;
    padding: 5px;
    flex-wrap: wrap;
    font-size: 14px;
    margin: 5px;
    position: relative;
}

.influcard::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9); 
    background-repeat: no-repeat;
    z-index: 0;
  }

.datosPersonales{
    display: flex;
    flex-direction: column;
    padding: 15px;
    text-align: center;
    z-index: 1;
}

/*
    Esto hace que el texto de intereses sea recortado por puntos suspensivos
*/

.datosAdicionales > p:nth-child(2){
    width : 100px;
    overflow:hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-top: 10px;
}

/*
    Le da ancho al apartado de metricas
*/
.resumenMetricas{
    flex: 1;
    padding: 10px;
    z-index: 1;
}

#contenedorMosaico{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.resumenMetricas > p:nth-child(1){
    font-weight: 900;
    font-size: 18px;
}

@media only screen and (max-width: 430px) {
    #contenedorMosaico{
        display: flex;
        flex-direction: column;
        width: 400px;
    }
}

.nombreCuenta{
    display: flex;
    margin-top: 10px;
    margin-bottom: 10px;
}

.audiencia{
    display: flex;
    justify-content: center;
    justify-content: space-around;
    border: solid #c4c4c4 1px;
    box-shadow: 1px 2px 4px #c4c4c4;
    padding: 20px;
    border-radius: 5px;
}

.contenedorVertical{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.nombreSeccion{
    display: flex;
    align-items: center;
    width: 100%;
    height: 3rem;
    border-radius: 5px;
    background-color: white;
    border: solid #c4c4c4 1px;
    box-shadow: 1px 2px 4px #c4c4c4;
    padding-top: 20px;
    padding-bottom: 20px;
}

.nombreSeccion > i {
    background-color: rgb(0, 166, 255);
    padding: 15px;
    border-radius: 100%;
    color: white;
    margin-left: 20px;
}

.nombreSeccion > h3{
    margin-left: 10px;
}

.nombreCuenta > p {
    margin-left: 4px;
}

.fotoperfil{
    position: relative;
    opacity: 1;
    border-top-left-radius: 15%;
    border-top-right-radius: 35%;
    border-bottom-left-radius: 35%;
    border-bottom-right-radius: 15%;
    border: #3FB9A7 solid 4px;
    overflow: hidden;
}

.cabecera{
    width: 93vw;
    display: flex;
    padding-top: 50px;
    padding-right: 50px;
    padding-left: 50px;
    padding-bottom: 25px;
}

.cabecera > div{
    flex: 1;
}

.perfil{
    display: flex;
}

.tripleR{
    display: flex;
    justify-content: space-evenly;
}

.opciones{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: self-end;
    font-size: 18px;
}

.informacionPerfilSeleccionado{
    display: flex;
    flex-direction: column;
    margin-left: 10px;
}

.fotoPerfilSeleccionado{
    position: relative;
}

.fotoPerfilSeleccionado > img:nth-child(1){
    position: absolute;
    top: -0.5rem;
    left: -0.5rem;
    z-index: 1;
    border-radius: 100%;
    overflow: hidden;
}

.fotoPerfilSeleccionado > img:nth-child(2){
    position: relative;
    border-radius: 100%;
    border-bottom-right-radius: 35%;
    overflow: hidden;
}

.fotoperfil > img{
    height: 100%;
}

.verInflucard {
    max-width: 100%;
    position: absolute;
    opacity: 0;
    transition: .5s ease;
    z-index: 5;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
}

.fotoperfil:hover > img{
    opacity: 0.3;
    cursor: pointer;
}
  
.fotoperfil:hover > .verInflucard {
    opacity: 1;
    cursor: pointer;
}
  
.metricas{
    display: flex;
    flex-direction: column;
}

.contenedorMetricas{
    display: flex;
    width: 100%;
    justify-content: space-between;
    margin-top: 10px;
}

.tituloMetrica{
    display: flex;
}

.tituloMetrica > p{
    margin-left: 2px;
}

#perfilInflucard {
    z-index: 10;
    position: absolute;
}

.cargado {
    opacity: 1;
    transition: .5s;
    top: 0;
    left: 0;
    background-color: white;
    height: 100vh;
    width: 100%;
}

.cerrado {
    opacity: 0;
    transition: .5s ;
    top: 50%;
    left: 100%;
    height: 0vh;
    width: 0%;
}

#reach{
 width: 120px;
 height: 120px;
}

#relevance{
 width: 120px;
 height: 120px;
}

#resonance{
 width: 120px;
 height: 120px;
}

#distribucion{
    width: 100%;
    height: 400px;
    border: solid #c4c4c4 1px;
    box-shadow: 1px 2px 4px #c4c4c4;
    border-radius: 5px;
}

.restoInformacion{
    display: flex;
    height: 100vh;
    padding-bottom: 20px;
    padding-left: 20px;
    gap: 10px;
}

.seccion{
   flex: 1;
   display: flex;
   flex-direction: column;
   gap: 10px;
}

.distribuciones{
    display: flex;
    gap: 10px;
}

#distribucionGenero{
    flex: 1;
    height: 300px;
    border: solid #c4c4c4 1px;
    box-shadow: 1px 2px 4px #c4c4c4;
    border-radius: 5px;
}

#distribucionPais{
    flex: 1;
    height: 300px;
    border: solid #c4c4c4 1px;
    box-shadow: 1px 2px 4px #c4c4c4;
    border-radius: 5px;
}

#leyendaGrafica{
    display: flex;
}

#leyendaGrafica > p{
    padding: 10px;
}

#distribucionTerritorios{
    width: 100%;
    height: 400px;
    border: solid #c4c4c4 1px;
    box-shadow: 1px 2px 4px #c4c4c4;
    border-radius: 5px;
}

#franjaHoraria{
    width: 100%;
    height: 300px;
    border: solid #c4c4c4 1px;
    box-shadow: 1px 2px 4px #c4c4c4;
    border-radius: 5px;
}

#salir:hover{
    cursor: pointer;
}



.metricasDesempenyo{
    height: 120px;
    border: 1px solid #c4c4c4;
    box-shadow: 1px 2px 4px #c4c4c4;
    padding: 30px;
}
.impresiones{
    height: 120px;
    border: 1px solid #c4c4c4;
    box-shadow: 1px 2px 4px #c4c4c4;
    padding: 30px;
}
.reproducciones{
    height: 120px;
    border: 1px solid #c4c4c4;
    box-shadow: 1px 2px 4px #c4c4c4;
    padding: 30px;
}
.engagement{
    height: 120px;
    border: 1px solid #c4c4c4;
    box-shadow: 1px 2px 4px #c4c4c4;
    padding: 30px;
}

.metricasDesempenyo > .contenedorMetricas > .tituloMetrica > i{
    background-color: rgb(0, 166, 255);
    padding: 15px;
    width: 100%;
    border-radius: 100%;
    color: white;
    margin-right: 15px;
}

.metricasDesempenyo > .contenedorMetricas > .tituloMetrica{
    display: flex;
    justify-content: space-evenly;
}

.impresiones > .contenedorMetricas > .tituloMetrica > i{
    background-color: rgb(0, 166, 255);
    padding: 15px;
    width: 100%;
    border-radius: 100%;
    color: white;
    margin-right: 15px;
}

.impresiones > .contenedorMetricas > .tituloMetrica{
    display: flex;
    justify-content: space-evenly;
}

.reproducciones > .contenedorMetricas > .tituloMetrica > i{
    background-color: rgb(0, 166, 255);
    padding: 15px;
    width: 100%;
    border-radius: 100%;
    color: white;
    margin-right: 15px;
}

.reproducciones > .contenedorMetricas > .tituloMetrica{
    display: flex;
    justify-content: space-evenly;
}

.engagement > .contenedorMetricas > .tituloMetrica > i{
    background-color: rgb(0, 166, 255);
    padding: 15px;
    width: 100%;
    border-radius: 100%;
    color: white;
    margin-right: 15px;
}

.engagement > .contenedorMetricas > .tituloMetrica{
    display: flex;
    justify-content: space-evenly;
}

h3{
    font-weight: lighter;
}

.impresiones > .contenedorMetricas:nth-child(2){
    justify-content: space-evenly;
}

.reproducciones > .contenedorMetricas:nth-child(2){
    justify-content: space-evenly;
}

.engagement > .contenedorMetricas:nth-child(2){
    justify-content: space-evenly;
}

#engagementSegunDia{
    width: 100%;
    height: 300px;
    border: 1px solid #c4c4c4;
    box-shadow: 1px 2px 4px #c4c4c4;
}


