@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald&display=swap');

body {
    transition: .3s all ease;


}

.fa-bookmark:before {
    content: "\f02e";
}

.fa-desktop:before {
    content: "\f108";
}

.dark-mode {
    background-color: #181a2a;
    color: white;
}

.dark-mode .container-section {
    background-color: #181a2a;
    color: white;
}



.dark-mode .card-all-info ul li a, .dark-mode .card-all-info-informatica ul li a,
.dark-mode .card-all-info-game ul li a {
    color: white;
}

.dark-mode .new-object .object-card {
    background-color: rgb(221, 221, 221);
}

#butn-prev:hover, #butn-next:hover {
    background: rgba(0, 0, 0, 0.281);
}

#butn-prev {
    left: 0;
}

#butn-next {
    right: 0;
}

.slider-principal-pagina {
    width: 100%;
    position: relative;
    overflow: hidden;
}


.imagen-slider {
    width: 100%;
    height: 640px;
    position: relative;
}

.imagen-slider img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(50%);
}



.imagen-slider .info-imagen {
    position: absolute;
    top: 50%;
    width: 100%;
    left: 80px;
}

.info-imagen h2 {
    color: white;
    font-family: 'Oswald', Arial, Helvetica, sans-serif;
    font-size: 35px;
    text-align: left;
    text-shadow: 2px 2px 3px #000000;
    letter-spacing: 1px;
}

.info-imagen .go_site{
    margin-top: 20px;
}

.info-imagen a {
    margin: 10px 2px;
    padding: 10px;
    background-color: white;
    text-align: center;
    color: black;
    font-family: 'Oswald', Arial, Helvetica, sans-serif;
    font-size: 17px;
}

.info-imagen a:hover {
    background-color: rgba(255, 153, 0, 0.747);
    color: white;
    cursor: pointer;
}


.owl-nav .owl-prev .owl-nav-prev-principal,
.owl-nav .owl-next .owl-nav-next-principal {
    display: flex;
    width: 30px;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    background-color: rgba(0, 0, 0, 0);
}

.owl-nav .owl-prev .owl-nav-prev-principal i,
.owl-nav .owl-next .owl-nav-next-principal i {
    width: 50px;
    padding: 10px;
    position: absolute;

    transform: translateY(-50%);
    color: white;
    font-size: 25px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  

}

.owl-nav .owl-prev .owl-nav-prev-principal i:hover,
.owl-nav .owl-next .owl-nav-next-principal i:hover {
    font-size: 20px;
}

.owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;


}

.owl-theme .owl-nav [class*=owl-]:hover {
    background-color: transparent;
}

.descubre-nuevo {
    width: 100%;

}

.descubre-nuevo img {
    display: block;
    width: 400px;
    height: 100%;
    margin: 0 auto;
}


section.new-posts {
    width: 100%;
    margin: 0 auto;
}


.new-posts .new-object {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

}

.new-object .object-card {
    display: block;
    width: 350px;
    margin: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid white;
    transition: 300ms ease;
    background-color: #fff;

}

.new-object .object-card:nth-child(1), .new-object .object-card:nth-child(3), .new-object .object-card:nth-child(5) {
    transform: rotate(2deg);
    -webkit-box-shadow: 0px 0px 15px -2px rgba(0, 0, 0, 0.49);
    box-shadow: 0px 0px 15px -2px rgba(0, 0, 0, 0.49);
}

.new-object .object-card:nth-child(2), .new-object .object-card:nth-child(4), .new-object .object-card:nth-child(6) {
    transform: rotate(-2deg);
    -webkit-box-shadow: 0px 0px 15px -2px rgba(0, 0, 0, 0.49);
    box-shadow: 0px 0px 15px -2px rgba(0, 0, 0, 0.49);
}

.new-object .object-card:hover {
    transform: scale(1.1);

}




.object-card .new-content-aviso {
    position: absolute;
    background-color: red;
    border: 2px solid #fff;
    top: -10px;
    left: -30px;
    z-index: 3;
    width: 200px;
    transform: rotate(-20deg);
    animation: newconten 1s infinite;
}

@keyframes newconten {
    0% {
        transform: scale(1.1) rotate(-20deg);
    }

    50% {
        transform: scale(1.0) rotate(-20deg);
    }

    100% {
        transform: scale(1.1) rotate(-20deg);
    }
}

.new-content-aviso h4 {
    font-size: 20px;
    color: white;
    padding: 5px;
    font-family: 'Nunito', Arial, Helvetica, sans-serif;
    display: flex;
    justify-content: center;
    margin-left: -50px;
}


.object-card img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
    filter: brightness(70%);
    border-bottom: 1px solid #000;
    object-position: 20% 20%;
}


.chincheta {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    z-index: 4;


}

.chincheta>img.markchincheta {
    display: block;
    width: 30px;
    height: inherit;
    filter: none;
    border: none;
    margin: 0 auto;

}

.new-object .object-card:nth-child(2) .chincheta>img.markchincheta, .new-object .object-card:nth-child(4) .chincheta>img.markchincheta, 
.new-object .object-card:nth-child(6) .chincheta>img.markchincheta {
    transform: scaleX(-1);

}

.object-card .content-object .content {
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    margin: 10px;
    margin-left: 5px;
}

.content-object .content p {
    color: black;
    font-family: 'Nunito', Arial, Helvetica, sans-serif;
    font-weight: bold;

}





.container-section {
    margin-top: 60px;
}

.libros-info, .informatica-info, .videojuego-info {
    width: 100%;
    margin: 20px auto;
}

.container-info-libros, .container-info-videojuegos {
    padding: 50px 0;
}



.card-all-info h3, .card-all-info-game h3 {
    font-family: 'Fredoka One', Arial, Helvetica, sans-serif;
    font-weight: 700;
    font-size: 30px;
    letter-spacing: 1px;
    text-align: center;

}

.card-all-info h3 i, .card-all-info-game h3 i {
    font-size: 20px;

}

.pages-libros, .pages-videojuegos {
    display: flex;
    width: 100%;
    overflow: hidden;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.pages-libros a, .pages-videojuegos a {
    margin: 10px 20px;
}

.pages-libros a>img {
    display: block;
    width: 300px;
    height: 100%;
    transition: 300ms;
}



.pages-videojuegos a>img {
    display: block;
    width: 280px;
    height: 100%;
    transition: 300ms;
}

.pages-libros a>img:hover, .pages-informatica a>img:hover, .pages-videojuegos a>img:hover {
    transform: scale(1.1);
}


@media only screen and (max-width: 950px) {


    .info-imagen h2 {
        font-size: 30px;
        
    }

}

@media only screen and (max-width: 850px) {


    .new-object .object-card {
        width: 300px;
    }
}

@media only screen and (max-width: 768px) {

    .slider-principal-pagina {
        margin-top: 60px;
    }




    .card-all-info h3, .card-all-info-informatica h3, .card-all-info-game h3 {
        font-size: 25px;
    }

    .card-all-info ul li a, .card-all-info-informatica ul li a, .card-all-info-game ul li a {
        font-size: 15px;
    }

    .imagen-slider {
        height: 500px;
    }

    .new-object .object-card:hover {
        transform: scale(1);
    }

}

@media only screen and (max-width: 700px) {
    .new-object .object-card {
        width: 250px;
    }
}

@media only screen and (max-width: 650px) {


    

    .card-all-info, .card-all-info-informatica, .card-all-info-game {
        margin: 20px;
    }


}


@media only screen and (max-width: 580px) {


    .new-object .object-card {
        width: 200px;
    }

}

@media only screen and (max-width: 550px) {

    .imagen-slider .info-imagen {
       left: 0;
       top: 60%;
    }

    .info-imagen h2{
        text-align: center;
    }

    .info-imagen .go_site{
       display: flex;
       justify-content: center;
       align-items: center;
    }

    .info-imagen a {
        margin: 0 2px;
        font-size: 15px;
    }

}

@media only screen and (max-width: 480px) {
    .new-object .object-card {
        width: 80%;
    }

    .descubre-nuevo img {
        width: 90%;
    }

    .info-imagen h2 {
        font-size: 23px;

    }
}
