/* estilos general */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* estilos body */
body{
    width: 100%;
    min-height: 100vh;
    background-image: url(../assets/images/background_Site.jpg);
    background-attachment: fixed;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow-x: hidden;
}
/* estilos backdrop */
.backdrop{
    position: absolute;
    display: none;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99;
    width: 110vw;
    height: 110vh;
    opacity: 0.6;
    filter: blur(6px);
    backdrop-filter: blur(6px);
    background-color: rgb(0, 0, 0);
}
/* estilos header */
.section-header{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
}
/* estilos contenedor logo de header */
.content-logo{
    width: 100vw;
    transform: translateY(-50%);
    background-color:  rgb(17, 16, 16);
}
/* estilos para div de contenedor logo de header */
.content-logo>div{
    display: flex;
    align-items: center;
    width: max-content;
    margin: 0 auto;
    transform: translateY(50%);
}
/* estilos contenedor icono de header */
.content-icon{
    display: flex;
    width: 15vw;
}
/* estilos icono de header */
.content-icon img{
    object-fit: cover;
    width: 100%;
    height: 100%;
}
/* estilos logo de header */
.logo{
    width: 60vw;
}
/* estilos main */
main{
    display: flex;
    flex-wrap: wrap;
    width: 100vw;
    max-width: 90%;
    margin: 0 auto;
    padding-top: 30px;
}
/* estilos para barra de opciones filtros y orden */
.options-bar{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    width: 100%;
    padding: 0 20px;
}
/* estilos para botones de opciones filtros y orden  */
.buttton-1{
    display: flex;
    justify-content: center;
    align-items: center;
    font-family:"nunito";
    font-weight: bold;
    padding: 2px 8px;
    gap: 8px;
    border: none;
    border-radius: 6px;
    color: #ffffff;
    background-color: rgb(255, 28, 28);
}
/* estilos seccion filtros (contiene todos los filtros y la x para cerrar ventana) */
.aside-filter{
    position: absolute;
    z-index: 100;
    left: 50%;
    top: 40px;
    display: none;
    align-self: flex-start;
    width: 100%;
    max-width: 320px;
    transform: translateX(-50%);
    margin: 0 auto;
    font-family:"nunito";
    font-weight: bold;
    line-height: 1.6;
    border-radius: 6px;
    background-color: #ffffff;
    color:rgb(17, 16, 16);
}
/* estilos para contenedor de icono x que cierra ventana */
.filter__close{
    position: relative;
    width: 100%;
    height: 100%;
}
/* estilos icono x que cierra ventana  */
.filter__close i{
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 20px;
    transition: all ease-in-out;
}
/* estilos icono x cuando este activo */
.filter__close i:active{
    color:#FFA000;
}
/* estilos contenedor de filtros */
.filter__content{
    display: flex;
    flex-direction:column;
    width: 100%;
    padding: 20px 40px;
}
/* estilos seccion filter__item hijo de filter__content hijo aside-filter */
.filter__item{
    padding-left: 16px;
}
/* estilos seccion h3 hijo de filter__item hijo de filter__content hijo aside-filter*/
.aside-filter h3::first-letter{
    text-transform: uppercase;
}
/* estilos seccion ul hijo de filter__item hijo de filter__content hijo aside-filter */
.aside-filter ul{
    text-transform: uppercase;
}
/* estilos seccion li hijo de filter__item hijo de filter__content hijo aside-filter */
.aside-filter li{
    list-style: none;
    color:rgb(17, 16, 16);
}
/* estilos seccion card (contiene todas las tarjetas) */
.section-cards{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    overflow: scroll;
    gap: 30px;
    flex-wrap: wrap;
    overflow: hidden;
    padding: 20px;
}
/* estilos tarjeta contenedor padre */
.card{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 180px; 
    min-width: 180px;
    font-family:"nunito";
    outline: 2px solid #302e2e;
    border-radius: 0.5rem;
    box-shadow: 0 1px 4px 2px rgba(0,0,0, 0.2);
    background-image: url(../assets/images/Background_Card.png);
    /* flex-shrink: 0; para no se reduzca tamaño
    flex-grow: 0; para no se amplie tamaño*/
}
/* estilos id contenedor hijo de card */
.card__id{
    align-self: flex-start;
    text-align: center;
    height: 25px;
    width: 42px;
    margin: 5px;
    font-weight: bold;
    border-radius: 0.3rem;
    background-color: #FFA000;
}
/* estilos contenedor de imagen de tarjeta */
.card__character{
    height: 115px;
    width: 115px;
}
/* estilos imagen de tarjeta */
.card__image{
    display: flex;
    justify-content: center;
    align-items: center;
    object-fit: cover;
    height: 100%;
    width: 100%;
}
/* estilos informacion de tarjeta */
.card__content{
    justify-self: end;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start; 
    height: 160px;
    width: 100%;
    color: #F4EBEB; 
    padding: 20px;
    border-bottom-left-radius: 0.5rem;
    border-end-end-radius: 0.5rem;
    background-color: rgb(17, 16, 16) ;
    background-position: 100%;
}
/* estilos h3 de informacion de tarjeta*/
.card__content h3::first-letter{
    text-transform: uppercase;
}