*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root{
    --navBarHeight: 50px;
    --header-bg:#182b33;
    --igColor:#ba3d84;
    --fbColor:#2363e0;
    --xColor: #000000;
    --twColor:#50c7fa;
    --ytColor:#dc392b;
    --wsColor: #25D366;
    --tgColor: #0088cc;
    --prColor: #E60023;

    --title-color:#333333;
    --title-hover:#fdebb5;
    --text-color:#555555;
    --meta-color-1:#777777;
    --meta-color-2:#dbdbdb;
    --box-comment:#e0f6ca;
    --section-separator:#e3e3e3;

    --main-bg: #f3f3f3;
    --second-bg: #181818;

    --hue: 233;
	--primary: #204d5f;
	--trans-dur: 0.6s;
	--trans-timing: cubic-bezier(0.65,0,0.35,1);
}
@media (prefers-color-scheme: dark) {
    :root {
        --main-bg: #232323;
        --box-comment: #005d4b;
        --title-color:#dddddd;
        --text-color:#cccccc;
        --meta-color-1:#aaaaaa;
        --section-separator:#4d4d4d;
    }
}

[data-theme="dark"] {
    --main-bg: #232323;
    --box-comment: #005d4b;
    --title-color:#dddddd;
    --text-color:#cccccc;
    --meta-color-1:#aaaaaa;
    --section-separator:#4d4d4d;
}

[data-theme="light"]{
    --main-bg: #f3f3f3;
    --box-comment: #e0f6ca;
    --title-color:#333333;
    --text-color:#555555;
    --meta-color-1:#777777;
    --section-separator:#e3e3e3;
}

html {scroll-behavior: smooth;}

a {text-decoration: none;color: unset;}
h1,h2,h3,h4,h5 {text-wrap: pretty;}
.img {width: 100%; height: 100%; object-fit: cover;display: block;}
.icon {width: 1em; height: 1em; fill: currentColor;}

@font-face {font-family: classic; src: url(../font/ClassicComic.otf);}

body{
    font-family: 'Roboto', sans-serif;
    background-color: var(--main-bg);
    transition: background .2s;
}

/*:::::::::::::::: ESTRUCTURA :::::::::::::::::::*/

.container {max-width: 1200px; width: 100%; padding: 0px 20px; margin: 0 auto;}

.content{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-template-areas: "main main sidebar";
}
.content--second {grid-template-areas: "main2 main2 sidebar2";}

.main {grid-area: main; padding: 20px 10px 0px 0px;}
.main--second {grid-area: main2;}

.sidebar {grid-area: sidebar; padding: 20px 0px 0px 40px;}
.sidebar--second {grid-area: sidebar2;}
.sidebar__content{
    position: sticky;
    top:20px;
    margin-bottom: 35px;
}

/*:::::::::::::::: HEADER :::::::::::::::::::*/

.header{
    background-color: var(--header-bg);
    background-image: url(../img/background-dark.webp);
    background-position: top center;
    background-size: auto;
    background-repeat: no-repeat;
}
.header .container {
    display: flex; 
    justify-content: space-between; 
    height: 110px; 
    align-items: center;
}
.header img {height: 70px;}

.header__social{
    color: white;
    background-color: var(--second-bg);
    align-self: flex-start;
    padding: 10px 20px;
    display: flex;
    gap: 20px;
    border-radius: 0 0 10px 10px;
}
.header__social a{ display: flex; align-items: center;}

/*:::::::::::::::: SECCION BASE :::::::::::::::::::*/

.section{
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 35px;
}
.section--dark{
    background-color: var(--second-bg);
    margin: 0px -20px 35px -20px;
    padding: 20px 20px 30px 20px;
    color: white;
}
.section__header{
    color: var(--title-color);
	padding-bottom:5px;
	display:flex;
	justify-content: space-between;
	align-items: center;
    border-bottom: 2px solid var(--section-separator);
    transition: color .2s, border-bottom .2s;
}
.section__header h1 {font-size: 16px;}
.section__filter{
    text-transform: uppercase;
    font-size: 11px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
    position: relative;
}
.section__filter span{
    color: var(--title-color);
    cursor: pointer;
    padding:5px;
    border-radius: 2px;
    transition: all .2s;
}
.section__filter span:hover {background-color: var(--title-color); color:white;}
[data-theme="dark"] .section__filter span:hover {background-color: var(--title-color); color:rgb(0, 0, 0);}
.filter__button{
    border: 1px solid currentColor;
    display: none;
}
.selected {background-color: var(--title-color); color: white!important;}
[data-theme="dark"] .selected {background-color: var(--title-color); color: black!important;}

.section--dark .section__filter span:hover {background-color: white; color:black;}
.section--dark .section__header {border-bottom: 2px solid #4d4d4d; color: #dddddd;}
.section--dark .selected {background-color: #dddddd; color: #333333;}

.pagination{
    display: flex;
    height: 35px;
    font-size: 13px;
    justify-content:space-between;
}
.pagination__button{
    padding:10px;
    border:1px solid #aaaaaa;
    border-radius: 5px;
    color: var(--text-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: background .3s, color .2s;
    gap: 10px;
}
[data-theme="dark"] .pagination__button {border:1px solid #5f5f5f;}
.pagination__button:hover {background-color: #0000001d;}
[data-theme="dark"] .pagination__button:hover {background-color: #00000060;}
.pagination__button span {font-size: 10px;}
.pagination__button--next span {border-left: 1px solid #aaaaaa; padding:10px 0px 10px 10px;}
[data-theme="dark"] .pagination__button--next span{border-left: 1px solid #5f5f5f;}
.pagination__button--prev span {border-right: 1px solid #aaaaaa; padding:10px 10px 10px 0px;}
[data-theme="dark"] .pagination__button--prev span{border-right: 1px solid #5f5f5f;}
.section--dark .pagination__button {color: #dbdbdb;}
.section--dark .pagination__button:hover {background-color: #00000077;}


/*:::::::::::::::: META TAGS :::::::::::::::::::*/

.meta-tags{
    font-family: 'Roboto';
    display: flex;
    font-size: 12px;
    color:var(--meta-color-1);
    transition: color .2s;
    gap: 12px;
}
.meta-tags__autor,
.meta-tags__date {display: flex; align-items: center; gap: 5px;}
.meta-tags .icon{margin-bottom: 3px;}


/*:::::::::::::::: BLOQUE 1 ARTICULOS :::::::::::::::::::*/

.block-1 {display:flex; flex-direction: column; gap: 25px;}
.block-1__post {display:flex; gap:20px;}
.block-1__post-title{
    font-family: khand;
    font-size: 20px;
    line-height: 1.3;
    color:var(--title-color);
    transition: color .2s;
}
.block-1__post-content {display: flex; flex-direction: column; gap: 5px;}
.block-1__post-content > p {
    font-family: 'Noto Sans', sans-serif; 
    font-size: 14px; 
    color:var(--text-color);
    transition: color .2s;
}
.block-1__thumbnaill {flex: 0 0 250px; height: 150px;}
.block-1__thumbnaill img {transition: all .5s;}
.block-1__post:hover .block-1__thumbnaill img {filter: brightness(0.7);}
.block-1 .icon {margin-bottom: 0;}
.block-1__button{
    padding: 10px;
    width: 110px;
    border-radius: 5px;
    margin-top: 25px;
    background-color: var(--primary);
    color: #ffffff;
    font-size: 12px;
    text-transform: uppercase;
    text-align: center;
    align-self: center;
    cursor: pointer;
}

/*:::::::::::::::: SECCION NAVBAR:::::::::::::::::::*/

.nav{
    height:var(--navBarHeight);
    background-color: var(--second-bg);
    position: sticky;
    display: flex;
    top:calc(var(--navBarHeight) * -1);
    transition: top .3s;
    z-index: 9999;
    color: white;
}
.nav .container {display: flex; justify-content: space-between; align-items: center; position: relative;}
.nav--show {top:0; box-shadow: 0px 0px 10px 2px #000000;}
.nav__logo {
    visibility: hidden; 
    opacity: 0;
    transition: opacity .15s, visibility .15s step-end;
}
.nav__logo--show {visibility: visible; opacity: 1;}
.nav__logo img {width: auto;height: 40px;}
.nav__menu {list-style: none;display:flex;}
.nav__menu li:hover {background-color: #0e0e0e;}

.nav__menu a, .nav__menu span{
    height: 100%;
    font-size: 14px;
    text-decoration: none;
	line-height: 50px;
	font-weight: 700;
    text-transform: uppercase;
	display: flex;
    align-items: center;
    padding: 0px 15px;
}
.nav__menu span{ cursor: pointer;}



#menu_checkbox {display: none;}
.nav__burguer {width: 25px;height: 25px;cursor: pointer; display: none;}
.nav__burguer div {
    position: relative;
    top: 0;
    height: 3px;
    background-color: currentColor;
    margin-bottom: 7px; 
    transition: 0.3s ease transform, 0.3s ease top, 0.3s ease width,
        0.3s ease right;
    border-radius: 2px;
}
.nav__burguer div:nth-child(2) {transform-origin: 0;}
.nav__burguer div:last-child {margin-bottom: 0;transform-origin: 25px; }
.nav__burguer div:nth-child(3) {right: 0;width: 25px;}
#menu_checkbox:checked ~ div:first-of-type {top: -2.5px;transform: rotateZ(45deg);}
#menu_checkbox:checked ~ div:last-of-type {top: 2.5px;transform: rotateZ(45deg);}
#menu_checkbox:checked ~ div:nth-of-type(2) {
    width: 35px;
    top: 0;
    right: 5px;
    transform: rotateZ(-45deg);
}


/*:::::::::::::::: SECTION FEATURED :::::::::::::::*/

.featured{
    max-width: 1400px;
    margin: 0 auto;
    height: 490px;
    padding:20px;
    display: grid;
    gap: 5px;
    grid-template-columns: repeat(4,1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-template-areas: 
        "item_a item_a item_b item_b"
        "item_a item_a item_c item_c";
}
.featured__item{
    background-color: #000000;
    width: 100%;
    height: 100%;
    position: relative;
}
.featured__image {position: absolute; inset: 0;}
.featured__item:hover .featured__title {background-color: #000000cc;}
.featured__item img {transition: filter .5s;}
.featured__item:hover img {filter: brightness(0.7);}
.item_a{
    grid-area: item_a;
    clip-path: polygon(0 0, 97% 0, 100% 100%, 0 100%);
}
.item_a img{
    clip-path: polygon(0 0, 97% 0, 100% 100%, 0 100%);
    transform: scale(0.98);
}
.item_b{
    grid-area: item_b;
    clip-path: polygon(0 0, 100% 0, 100% 97%, 1.6% 100%);
    margin-left: -1.6%;
    width: calc(100% + 1.6%); 
}
.item_b img{
    clip-path: polygon(0 0, 100% 0, 100% 97%, 1.6% 100%);
    transform: scale(0.98,0.95);
}
.item_c{
    grid-area: item_c;
    clip-path: polygon(0 3%, 100% 0, 100% 100%, 1.5% 100%);
}
.item_c img{
    clip-path: polygon(0 3%, 100% 0, 100% 100%, 1.5% 100%);
    transform: scale(0.98,0.95);
}
.featured__title{
	position: absolute;
	bottom: 0;
    text-align: center;
	background-color: #00000099;
	width: 100%;
	padding: 10px 20px 15px;
    color:#dddddd;
	transition: all .5s;
    font-family: khand;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap:7px;
    z-index: 3;
}
.featured__title h1 {font-size: 22px; line-height: 1;}
.featured__title h1:hover {color: var(--title-hover)}
.featured__item:first-child .featured__title h1 {font-size: 30px;line-height: 1;}
.featured__category{
    background-color: white;
    color: #000000;
    border:2px solid currentColor;
    position: absolute;
    padding:5px 10px;
    top:20px;
    left:20px;
    font-family: classic;
    font-size: 15px;
    font-weight: bold;
    transition: all .3s;
    z-index: 3;
}
.featured__category:hover {background-color: black; color: white;}
.meta-tags--featured {color: var(--meta-color-2); font-size: 14px;}

/*::::::::::::::::::::::::::::::*/


/*:::::::::::::::: TRENDING :::::::::::::::*/

.trending {display: flex; flex-direction: column; gap: 10px;}
.trending__item{
    display: flex;
    padding-left: 5px;
    position: relative;
    gap: 15px;
}
.trending__item::before{
    content: attr(data-position);
    position: absolute;
    display: flex;
    top: -5px;
    left: -5px;
    width: 30px;
    height: 30px;
    background-color: black;
    font-size: 14px;
    font-weight: bold;
    border-radius: 50%;
    color: white;
    z-index: 1;
    justify-content: center;
    align-items: center;
}
.trending__item:hover .trending__thumbnaill img {filter: brightness(0.7);}
.trending__thumbnaill {flex: 0 0 110px; height: 75px;}
.trending__thumbnaill img {transition: all .5s;}
.trending__content {display: flex; flex-direction: column; gap:5px;}
.trending__title{
    font-family: khand;
    font-size: 15px;
    line-height: 1.3;
    color:var(--title-color);
    transition: color .2s;
}
.trending__date{
    display: flex;
    font-size: 12px;
    color:var(--meta-color-1);
    transition: color .2s;
    gap:5px;
}
.trending__autor {font-size: 13px;}




/*:::::::::::::::: LATEST :::::::::::::::*/

.latest {display: flex; flex-direction: column; gap: 10px;}
.latest__item{
    display: flex;
    position: relative;
    gap: 15px;
}

.latest__item:hover .latest__thumbnaill img {filter: brightness(0.7);}
.latest__thumbnaill {flex: 0 0 110px; height: 75px;}
.latest__thumbnaill img {transition: all .5s;}
.latest__content {display: flex; flex-direction: column; gap:5px;}
.latest__title{
    font-family: khand;
    font-size: 15px;
    line-height: 1.3;
    color:var(--title-color);
    transition: color .2s;
}
.latest__date{
    display: flex;
    font-size: 12px;
    color:var(--meta-color-1);
    transition: color .2s;
    gap:5px;
}
.latest__autor {font-size: 13px;}

/*:::::::::::::::::: BLOQUE 3 CATEGORIAS::::::::::::::::::::*/

.block-3 {margin: 0 0 10px 0;}
.block-3 .container{
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: 160px;
    padding:20px;
}
.block-3__item{
    background-color: black;
    font-family: classic;
    filter: grayscale(.6);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: filter .3s;
}
.block-3__item:hover {filter: grayscale(0);}
.block-3__item a{
    padding: 10px;
    background-color: white;
    border: 2px solid black;
    color: black;
    text-transform: uppercase;
    font-size: 17px;
    font-weight: bold;
    transition: all .3s;
}
.block-3__item--comics {clip-path: polygon(0 0, 95% 0, 100% 100%, 0% 100%);}
.block-3__item--movies{clip-path: polygon(0 0, 100% 0, 95% 100%, 5% 100%);}
.block-3__item--tv{clip-path: polygon(5% 0, 95% 0, 100% 100%, 0 100%);}
.block-3__item--anime{clip-path: polygon(0 0, 100% 0, 95% 100%, 5% 100%);}
.block-3__item--manga{clip-path: polygon(5% 0, 95% 0, 100% 100%, 0 100%);}
.block-3__item--videogames{clip-path: polygon(0 0, 100% 0, 100% 100%, 5% 100%);}

.block-3__comics, 
.block-3__movies, 
.block-3__tv, 
.block-3__videogames, 
.block-3__anime, 
.block-3__manga{
    display: flex;
    width: 96%;
    height: 96%;
    background-position: center;
    background-size: cover;
    align-items: center;
    justify-content: center;
}
.block-3__comics {clip-path: polygon(0 0, 95% 0, 100% 100%, 0% 100%); background-image: url(../img/categorias/1.webp);}
.block-3__movies {clip-path: polygon(0 0, 100% 0, 95% 100%, 5% 100%);background-image: url(../img/categorias/3.webp);}
.block-3__tv {clip-path: polygon(5% 0, 95% 0, 100% 100%, 0 100%);background-image: url(../img/categorias/4.webp);}
.block-3__videogames {clip-path: polygon(0 0, 100% 0, 100% 100%, 5% 100%);background-image: url(../img/categorias/2.webp);}
.block-3__anime {clip-path: polygon(0 0, 100% 0, 95% 100%, 5% 100%);background-image: url(../img/categorias/6.webp);}
.block-3__manga {clip-path: polygon(5% 0, 95% 0, 100% 100%, 0 100%);background-image: url(../img/categorias/5.webp);}


/*::::::::::::::::::: FOOTER ::::::::::::::::::*/

.footer{
    background-color: var(--second-bg);
    color:white;
}
.footer>.container{
    padding: 50px 20px;
    min-height: 100px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/*::::::::::::::: SUBFOOTER :::::::::::::::*/
.subfooter{
    color: #dddddd;
    height: 45px;
    background-color: #0e0e0e;
    font-size: 13px;
    text-transform: uppercase;
}
.subfooter .container{
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}
.subfooter a:hover{
    color: var(--title-hover);
}
/*::::::::::::: BLOQUE ABOUT ::::::::::::::::*/

.about{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}
.about__logo {height: 75px;}
.about__text {font-size: 14px; line-height: 1.4; color: #cccccc;}

/*::::::::::::: BLOQUE FEED INSTAGRAM ::::::::::::::::*/

.block-insta{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-template-rows: repeat(2,90px);
    gap:5px;
}
.block-insta__photo {width: 100%;height: 100%;}

/*:::::::::::::::: NEWSLETTER ::::::::::::::::::*/

.newsletter {display: flex; flex-direction: column; gap: 5px;}
.newsletter__title {font-size: 18px; margin-bottom: 7px; color: #dddddd;}
.newsletter__text {font-size: 14px; margin-bottom: 7px; color: #cccccc;}
.newsletter__email {padding:10px; font-size: 14px;}
.newsletter__email:focus-visible {outline: none;}
.newsletter__button {height: 40px; border: none; transition: all .3s;}
.newsletter__button:hover {background-color: var(--primary); color: white;}

/*:::::::::::::::: social links footer:::::::::::::::::::*/

.social-footer {display: flex; flex-direction: column; justify-self: center;}
.social-footer__container {display: flex; flex-direction: column; gap: 10px;}
.social__title {font-size: 18px; margin-bottom: 15px; color: #dddddd;}
.social-footer__item {display: flex; gap: 10px; align-items: center; color: #cccccc;}
.social-footer__item .icon {font-size: 1.3em}
.social-footer__item p {font-size: 12px;}


/*::::::::::::: BLOQUE 4 CARTELERA :::::::::::::::::::*/

.block-4{
    --positionBackground: 0;
    --positionSlide: 0;
    padding: 25px 0px;
    align-self: center;
    width: 720px;
    background: url(../img/film.png) var(--positionBackground) top / 28.8px 100% repeat no-repeat;
    transition: background 0.23s ease-in-out;
    display: flex;
    gap: 5px;
    overflow-x: hidden;
    user-select: none;
}
aside .block-4{
    width: 285px;
    background: url(../img/film.png) var(--positionBackground) top / 28.5px 100% repeat no-repeat;
}
.block-4__item{
    transform: translate(var(--positionSlide));
    width: 140px;
    height: 210px;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap:2px;
    transition: transform 0.23s ease-in-out;
    overflow: hidden;
}
.block-4__content{
    position: absolute;
    padding: 5px;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    gap: 5px;
}
.block-4__content::after{
    content: "";
    inset: 0;
    z-index: -1;
    position: absolute;
    background: linear-gradient(0deg, rgba(0,0,0,0.9248074229691877) 5%, rgba(0,0,0,0.5886729691876751) 35%, rgba(0,0,0,0) 55%);
}
.block-4__item img {transition: all .5s;}
.block-4__item:hover img {transform: scale(1.1); filter: brightness(0.7);}
.block-4__title{
    font-family: khand;
    font-size: 15px;
    line-height: 1.2;
    text-transform: uppercase;
    text-align: center;
}
.block-4__date{
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: var(--meta-color-2);
}
.block-4__buttons {display: flex; gap:15px;}
.block-4__buttons svg {cursor: pointer;}
.blocked {color:#606060; cursor: default!important;}

/*:::::::::::::::: SOCIAL BAR ::::::::::::::::*/

.social-bar{
    color:white;
    text-transform: uppercase;
    font-weight: bold;
    display:flex;
    flex-wrap: wrap;
    gap: 5px;
}
.social-bar__item{
    flex-basis:calc(50% - 2.5px);
    height: 50px;
    display: flex;
    align-items: center;
    padding-left: 15px;
    gap:10px;
}
.social-bar__item--x {background-color: var(--xColor);}
.social-bar__item--facebook {background-color: var(--fbColor);}
.social-bar__item--twitter {background-color: var(--twColor);}
.social-bar__item--instagram {background-color: var(--igColor);}
.social-bar__item--youtube {background-color: var(--ytColor);}
.social-bar__count {font-size: 11px;}

/*:::::::::::::: bottom top ::::::::::::::::::*/

.button-top{
    position:fixed;
    bottom: -35px;
    right: 10px;
    width: 35px;
    height: 35px;
    font-size: 25px;
    color: black;
    transition: bottom .5s ease-in-out;
    cursor: pointer;
    z-index: 10;
}
.button-top__container{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    border: 1px solid currentColor;
}
.button-top__container::before,
.button-top__container::after {content: ''; position: absolute;}
.button-top__container::before{
    height: 100%;
    top: 3px;
    left: -4px;
    right: -4px;
    background-color: currentColor;
    z-index: -1;
}
.button-top__container::after{
    bottom:-10px;
    left:12px;
    width: 0; 
    height: 0; 
    border-top: 8px solid currentColor;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
}
.button-top--show {
    bottom: 15px;
    animation: upDown 1.5s ease-in-out infinite;
    animation-delay: .5s;
}
@keyframes upDown {
    0%, 100% {transform: translateY(0);}
    20% {transform: translateY(-2px);}
    80% {transform: translateY(2px);}
}

/*::::::::::::::: BLOQUE 5 NOTICIAS:::::::::::::::::::::*/

.block-5{
    display: grid;
    gap:20px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(4, auto);
}
.block-5__post{display: flex;}
.block-5__post:not(:nth-child(1)) {gap: 15px;}
.block-5__post:not(:nth-child(1)) .block-5__thumbnail {flex: 0 0 110px; height: 75px;}
.block-5__post:first-child {grid-area: 1/1/5/2; flex-direction: column; gap:10px;}
.block-5__post:first-child .block-5__thumbnail {height: 220px;}
.block-5__thumbnail img {transition: all .5s;}
.block-5__post:hover .block-5__thumbnail img {filter: brightness(0.7);}
.block-5__content {display: flex; flex-direction: column;gap: 5px;}
.block-5__title{
    font-family: khand;
    font-size: 15px;
    line-height: 1.3;
    color:var(--title-color);
    transition: color .2s;
}
.block-5__title--first {font-size: 20px;}
.block-5__autor {font-size: 13px;}
.block-5__date {
    display: flex; 
    gap:5px; 
    font-size: 12px; 
    color:var(--meta-color-1);
    transition: color .2s;
}
.block-5 .exctract {
    font-family: 'Noto Sans', sans-serif; 
    font-size: 14px; 
    color: var(--text-color);
    transition: color .2s;
}


/*::::::::::: block 6 RESEÑAS - ANIME - LISTAS - TOPS ::::::::::::::::::::*/

.section--review, .section--articles{
    width: 100%;
}
.block-6{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap:10px;
}
.sidebar .block-6{
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, auto);
}
.block-6__post {height: 160px; position: relative}
.sidebar .block-6__post {height: auto; aspect-ratio: 5/3;}
.block-6__post img {transition: all .5s;}
.block-6__post .img:hover {filter: brightness(0.7);}
.block-6__content{
    position: absolute;
    padding: 2% 4.1%;
    color: white;
    inset: 0;
    z-index: 1;
    display: flex;
    gap: 5px;
    pointer-events: none;
    flex-direction: column;
    justify-content: flex-end;
}
.block-6__date {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: var(--meta-color-2);
}
.block-6__title {
    font-family: khand;
    font-size: 17px;
    line-height: 1.2;
    font-weight: normal;
    pointer-events: auto;
}
.block-6__title:hover {color: var(--title-hover);}
.block-6__content::after {
    content: "";
    inset: 0;
    z-index: -1;
    position: absolute;
    background: linear-gradient(0deg, rgba(0,0,0,1) 15%, rgba(0,0,0,0.6) 40%, rgba(0,0,0,0) 60%);
}
.score{
	position:absolute;
	top:5px;
	right:5px;
	background-color: rgba(0,0,0,.7);
    border-radius: 50%;
    z-index: 2;
}
.score__number {fill: white; font-size: 25px; text-anchor: middle;}
.score__box {fill: #000000b3;}
.score__progress {
	stroke-width: 8;
	fill: none;
	transform: rotate(270deg);
	transform-origin: center;
	stroke-dasharray: 188.495;
}

/*::::::::::::::::::: SWITCH DARK LIGHT :::::::::::::::::::::*/


.switch,
.switch__input {
    font: 20px/1.5 sans-serif;
	display: block;
	-webkit-tap-highlight-color: transparent;
}
.switch {position: relative; user-select: none;}
.switch__icon {
	color: #c7c8d1;
	pointer-events: none;
	position: absolute;
	top: 0.375em;
	left: 0.375em;
	width: 0.75em;
	height: 0.75em;
	transition: color .6s, transform .6s cubic-bezier(0.65,0,0.35,1);
}
.switch__icon:nth-of-type(2) {right: 0.375em; left: auto;}
.switch__inner,
.switch__inner-icons {
	border-radius: 0.5em;
	display: block;
	overflow: hidden;
	position: absolute;
	top: 0.25em;
	left: 0.25em;
	width: 2.25em;
	height: 1em;
}
.switch__inner:before,
.switch__inner-icons {transition: transform .6s cubic-bezier(0.65,0,0.35,1); transform: translateX(-1.25em);}
.switch__inner:before {
	background-color: var(--primary);
	border-radius: inherit;
	content: "";
	display: block;
	width: 100%;
	height: 100%;
}
.switch__inner-icons {pointer-events: none;}
.switch__inner-icons .switch__icon {color: white;top: 0.125em; left: 0.125em; transform: translateX(1.25em);}
.switch__inner-icons .switch__icon:nth-child(2) {right: 0.125em; left: auto;}
.switch__input {
	background-color: #dddddd;
	border-radius: 0.75em;
	outline: transparent;
	width: 2.75em;
	height: 1.5em;
	appearance: none;
	transition: background-color .6s, box-shadow .6s;
}
.switch__input:checked { background-color: #0d0d0d;}
.switch__input:checked ~ .switch__icon {color: #5c5e70;}
.switch__input:checked ~ .switch__inner:before,
.switch__input:checked ~ .switch__inner-icons {transform: translateX(1.25em);}
.switch__input:not(:checked) ~ .switch__icon:first-of-type,
.switch__input:checked ~ .switch__icon:nth-of-type(2) {transform: rotate(360deg);}
.switch__input:checked ~ .switch__inner-icons .switch__icon:first-of-type {
	transform: translateX(-1.25em) rotate(-360deg);
}
.switch__input:checked ~ .switch__inner-icons .switch__icon:nth-of-type(2) {
	transform: translateX(-1.25em) rotate(360deg);
}
.switch__input:focus-visible, 
.switch:hover .switch__input{box-shadow: 0 0 0 0.0625em var(--primary), 0 0.125em 0.5em var(--primary);}
.switch__sr {overflow: hidden; position: absolute; width: 1px; height: 1px;}

/*::::::::::::::::::: block comments :::::::::::::::::::::*/

.comments {display: flex; flex-direction: column; gap: 10px;}
.comments__item {display: flex; height: 75px; gap: 20px;}
.comments__thumbnaill {flex-basis: 75px; flex-shrink: 0;}
.comments__thumbnaill img {border-radius: 50%;}
.comments__content {
    display: flex;
    flex-direction: column;
    background-color: var(--box-comment);
    transition: background .2s;
    padding: 10px 10px 5px 10px;
    position: relative;
    justify-content: space-between;
    border-radius: 5px;
}
.comments__content::before{
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    top: 20px;
    left: -15px;
    border-right: 25px solid var(--box-comment);
    transition: border-right .2s;
    border-bottom: 15px solid transparent;
    border-top: 15px solid transparent;
    z-index: -1;
}
.comments__message {font-size: 12px; color:var(--text-color); transition: color .2s; }
[data-theme="dark"] .comments__message {color: #f4f4f4;}
.meta-tags--comments {gap: 3px; font-size: 11px; justify-content: flex-end;}
[data-theme="dark"] .meta-tags--comments {color: #f0f0f0;}

/*::::::::::::::::::::::::::::::::::::::*/

/*::::::::::::::::::: MEDIA QUERIES:::::::::::::::::::::*/

@media screen and (max-width:1125px) {
    .container {max-width: 980px; width: 100%;}
    .content{
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        grid-template-areas:"main"
                            "sidebar";
    }
    .content--second{
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        grid-template-areas:"main2"
                            "sidebar2";
    }
    .main {padding-right: 0;}
    .nav__menu a {font-size: clamp(10px, 1.3vw, 14px);}

    .sidebar {padding: 20px 0; padding-bottom: 0;}
    .sidebar__content {display: flex; gap: 30px; margin-bottom: 0;position: static;}
    /* .sidebar__content .section {margin-bottom: 20px;} */
    .social-bar {flex-grow: 1;}
    .social-bar__item {flex-basis: 100%; height: auto; padding-left: 30px;}

    .featured {grid-template-columns: 1fr 2fr 1fr 1fr; height: 53vw; max-height: 500px;}

    .block-6__post, .sidebar .block-6__post {height: 20vw; max-height: 190px; aspect-ratio: unset;}

    .block-3 .container {grid-template-columns: repeat(3, 1fr); grid-template-rows: 150px 150px; gap: 15px 0;}
    .block-3 {margin: 0;}
    .block-3__item--tv {clip-path: polygon(5% 0, 100% 0, 100% 100%, 0 100%);}
    .block-3__tv {clip-path: polygon(5% 0, 100% 0, 100% 100%, 0 100%);}
    .block-3__item--anime {clip-path: polygon(0 0, 100% 0, 95% 100%, 0% 100%);}
    .block-3__anime {clip-path: polygon(0 0, 100% 0, 95% 100%, 0% 100%);}

    .block-1__post {display: grid; grid-template-columns: 1fr 2fr;}
    .block-1__thumbnaill {height: 20vw; max-height: 190px;}
    .block-1__button {margin-top: 10px;}

    .block-insta {grid-template-rows: repeat(2,110px);}
    .button-top--show{bottom: 50px;}
}


@media screen and (max-width:768px) {
    .header {display: none;}

    .section__header h1 {font-size: clamp(18px, 3.2vw, 22px);}

    .filter__button {display: block;}
    .filter__options{
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: 0;
        background-color: var(--main-bg);
        z-index: 3;
    }
    .show-options .filter__options {display: flex;}

    .nav .container{
        display: grid;
        grid-template-columns: 1fr 1fr 25px;
        justify-items: end;
        gap: 30px;
    }
    .nav__logo {visibility: visible; opacity: 1; justify-self: start;}
    .nav__menu{
        position: absolute;
        z-index: -1;
        top: 0;
        height: 100vh;
        width: 100%;
        transform: translateX(-100%);
        background-color: var(--second-bg);
        transition: transform .3s;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding-top: 50px;
    }
    .nav__menu--show .nav__menu {transform: translateX(0);}
    .nav__menu li {width: 80%;height: 40px;text-align: center;}
    .nav__menu a {justify-content: center; font-size: clamp(14px, 3.3vw, 18px);}
    .nav__menu li:last-child {order: -1;}
    .nav__burguer {display: block;}

    .featured{
        height: auto;
        max-height: unset;
        gap: 10px 0px;
        padding: 10px;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 350px 250px;
        grid-template-areas:"item_a item_a"
                            "item_b item_c";
    }
    .item_a {clip-path: none;}
    .item_a img {clip-path: none; transform: scale(0.98);}
    .item_b{
        clip-path: polygon(0 0, 100% 0, 97% 100%, 0% 100%);
        margin-left: 0px;
        width: 100%; 
    }
    .item_b img{
        clip-path: polygon(0 0, 100% 0, 97% 100%, 0% 100%);
        transform: scale(0.96);
    }
    .item_c {clip-path: polygon(3% 0%, 100% 0, 100% 100%, 0% 100%);}
    .item_c img{
        clip-path: polygon(3% 0%, 100% 0, 100% 100%, 0% 100%);
        transform: scale(0.96);
    }
    .item_c .featured__category {left: 30px;}

    .sidebar__content {display: grid; grid-template-columns: 1fr 2fr;}
    .sidebar--second .sidebar__content {grid-template-columns: 1fr 1fr;}

    .block-1 {gap: 35px;}
    .block-1__post {height: auto; grid-template-columns: 1fr; grid-template-rows: auto;}
    .block-1__thumbnaill {height: 50vw; max-height: unset;}
    .block-1__post-title{
        font-size: clamp(20px, 4.2vw, 30px);
    }
    .block-1__post-content > p {font-size: clamp(14px, 4vw, 20px);}

    .block-3 .container {gap: 10px 0;}
    .block-3__item a {font-size: clamp(14px, 2.4vw, 17px);}

    .block-4{
        width: 520px;
        padding: 30px 0px;
        background: url(../img/film.png) var(--positionBackground) top / 34.666px 100% repeat no-repeat;
    }
    .block-4__item {width: 170px; height: 255px;}
    .block-4__content {padding: 10px;}

    .block-5 {grid-template-rows: repeat(3, auto);}
    .block-5__post:first-child {grid-area: 1/1/2/3; margin-bottom: 10px;}
    .block-5__post:first-child .block-5__thumbnail {height: 50vw;}

    .block-6 {grid-template-columns: 1fr; grid-template-rows: repeat(3, auto);}
    .block-6__post, .sidebar .block-6__post {height: 50vw; max-height: unset;}
    .block-6__title {font-size: clamp(21px, 4.5vw, 34px);}
    .block-6__date {font-size: clamp(11px, 3vw, 15px);}

    .meta-tags {font-size: clamp(12px, 3.5vw, 16px);}
    .meta-tags--comments{
        font-size: 12px
    }

    .comments__item {height: auto;}
    .comments__content {gap:5px;}
    .comments__content::before {top: 5%;}
    .comments__thumbnaill {flex-basis: 40px; height: 40px;}
    .comments__message {font-size: 14px;}

    .footer>.container {grid-template-columns: 1fr 1fr;}
    .social-footer {display: none;}
}


@media screen and (max-width:576px) {
    .container {padding: 0 10px;}
    .featured{
        height: auto;
        padding: 3px;
        gap: 3px;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3,55vw);
        grid-template-areas:"item_a"
                            "item_b"
                            "item_c";
        
    }
    .featured__item .featured__title h1,
    .featured__item:first-child .featured__title h1 {font-size: clamp(18px, 5.5vw, 30px);}
    .featured__image {border: 6px solid black;}
    .item_a img {transform: unset;}
    .item_b {clip-path: none;}
    .item_b img {clip-path: none; transform: unset;}
    .item_c {clip-path: none;}
    .item_c img {clip-path: none;transform: unset;}
    .item_c .featured__category {left: 20px;}

    .section--dark {margin: 0px -10px 35px -10px; padding: 20px 10px 30px}

    .block-3 .container {grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(3,150px);}
    .block-3__item a {font-size: clamp(12px, 3.4vw, 17px);}
    .block-3 .container {padding: 20px 10px;}

    .block-3__item--comics, 
    .block-3__comics, 
    .block-3__item--manga, 
    .block-3__manga {clip-path: polygon(0 0, 95% 0, 100% 100%, 0% 100%)}

    .block-3__item--tv,
    .block-3__tv { clip-path: polygon(0 0, 100% 0, 95% 100%, 0% 100%);}

    .block-3__item--anime,
    .block-3__anime {clip-path: polygon(5% 0, 100% 0, 100% 100%, 0 100%);}

    .block-3__item--movies, 
    .block-3__movies, 
    .block-3__item--videogames, 
    .block-3__videogames {clip-path: polygon(0 0, 100% 0, 100% 100%, 5% 100%);}

    .block-4{
        width: 260px;
        padding: 45px 0px;
        background: url(../img/film.png) var(--positionBackground) top / 52px 100% repeat no-repeat;
    }
    .block-4__content {padding: 15px;}
    .block-4__item {width: 260px;height: 390px;}
    .block-4__title {font-size: 22px;}
    .block-4__date {font-size: 14px;}

    .block-5 {grid-template-columns: 1fr; grid-template-rows: repeat(5, auto);}
    .block-5__post:first-child {grid-area: 1/1/2/2;}

    .sidebar__content, 
    .sidebar--second .sidebar__content{
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
    }

    .social-bar__item {flex-basis: calc(50% - 2.5px); height: 50px;}
    .comments__message {
        font-size: clamp(13px, 3.5vw, 16px);
    }
    .comments__thumbnaill {
        flex-basis: 75px;
        height: 75px;
    }
    .footer>.container {grid-template-columns: 1fr; justify-items: center; text-align: center;}
    .about {align-items: center;}
    .subfooter {font-size: 11px;}
}