@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Englebert&display=swap');


* {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    user-select: all white;
}

body {
    background-color: black;
    color: white;
    overflow: hidden;
}

::selection {
    background: #60dfff;
    color: #181818;
}

.maincontent {
    overflow-y: scroll;
    max-height: 88.8vh;
}

.maincontent::-webkit-scrollbar{
    width: 2.1px;
}

.slide img {
    border-radius: 10px;
    height: 432px;
}

.slider {
    border-radius: 10px;
    background-color: black;
    display: flex;
    position: relative;
    height: 438px;
    padding: 15px 10px;
    padding-bottom: 7px;
    text-align: center;
    justify-content: center;
}

.slider .slide {
    z-index: 1;
    position: absolute;
    width: 100%;
    clip-path: circle(0% at 0 50%);
}

.slider .slide.active {
    clip-path: circle(150% at 0 50%);
    transition: 2s;
    transition-property: clip-path;
}

.slider .slide img {
    z-index: 1;
}

.slider .slide-auto {
    z-index: 2;
    position: absolute;
    display: flex;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
}

.slider .slide-auto .auto-btn {
    background: rgba(255, 255, 255, 0.5);
    width: 10px;
    height: 10px;
    margin: 12px;
    border-radius: 50%;
    cursor: pointer;
}

.slider .slide-auto .auto-btn.active {
    background: white;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
}

#recent {
    font-size: 29px;
    margin-top: 15px;
    margin-left: 25px;
}

#recent a{
    color: white;
    text-decoration: none;
}

.literature {
    padding: 0px 5px;
}

.article{
    padding-left: 70px;
    width: 65dvw;
}

.literature h1{
    padding: 10px 25px;
}

.literature h2{
    padding: 10px 25px;
}

.literature p{
    padding: 10px 30px;
}

.litContainer {
    margin: 18px;
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: center;
}

.litContainer a {
    display: flex;
    text-decoration: none;
    color: white;
}

.litContainer a:hover {
    text-decoration: none;
    color: #B0E3FF;
    transition: all .2s;
}

.card {
    position: relative;
    width: 195px;
    padding: 10px 3px;
    border-radius: 11px;
    font-size: 17px;
    text-align: center;
    background-color: #181818;
}

.card:hover {
    background-color: #282828;
    box-shadow: 0 0 20px #D7F3FF;
}

#backcover{
    display: none;
}

.card:hover img {
    transform: rotateY(180deg);
    opacity: 0.25;
    transition: ease-in 0.3s;
}

.middle {
    width: 130px;
    background-color: #1818188a;
    border-radius: 11px;
    transition: .5s ease;
    opacity: 0;
    position: absolute;
    top: 41%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: left;
}

#authorname{
    color: white;
    text-align: right;
    padding: 15px 10px;
    font-size: 1rem;
}

.card:hover .middle {
    opacity: 1;
}

.text {
    color: white;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 1rem;
    font-weight: 100;
    padding: 15px 5px 5px 10px;
    word-wrap: break-word;
}

.card img {
    background-image: url("https://images.pexels.com/photos/11741251/pexels-photo-11741251.jpeg");
    background-repeat: no-repeat;
    background-size: cover;
    width: 97%;
    border-radius: 11px;
    object-fit: contain;
    transform-style: preserve-3d;
    transition: ease-in 0.4s;
}

.card h3 {
    font-size: 1.35rem;
    font-family: "Englebert", cursive;
    font-weight: 500;
    padding: 0px 0px;
}

.card p {
    font-weight: 200;
}

.page {
    display: flex;
    justify-content: center;
}

.page a {
    font-size: 15px;
    margin: 10px 6px;
    border: 1px solid gray;
    border-radius: 10px;
    padding: 2px 8px;
    color: white;
    text-decoration: none;
}

.page a:hover {
    background: white;
    color: black;
}

.page .rightnow {
    background: white;
    color: black;
}

@media (max-width: 1455px) {

    .slide img {
        border-radius: 10px;
        height: 390px;
    }

    .slider {
        height: 400px;
    }

    .cardContainer {
        margin: 18px 10px;
        display: flex;
        gap: 19px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .card {
        width: 195px;
        padding: 10px 2px;
        border-radius: 11px;
        font-size: 17px;
        text-align: center;
        background-color: #181818;
    }

    .card:hover {
        background-color: #282828;
    }

    .card img {
        width: 90%;
        border-radius: 11px;
        object-fit: contain;
    }

}

@media (max-width: 1020px) {

    .slide img {
        border-radius: 10px;
        height: 355px;
    }

    .slider {
        height: 365px;
    }

    .cardContainer {
        margin: 18px 10px;
        display: flex;
        gap: 19px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .card {
        width: 175px;
        padding: 10px 2px;
        border-radius: 11px;
        font-size: 17px;
        text-align: center;
        background-color: #181818;
    }

}

@media (max-width: 930px) {
    
    .slide img {
        border-radius: 10px;
        height: 370px;
    }

    .slider {
        height: 375px;
    }

    .filmWare {
        padding: 0px 5px;
    }

    .cardContainer {
        margin: 18px 10px;
        display: flex;
        gap: 19px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .card {
        width: 175px;
        padding: 10px 2px;
        border-radius: 11px;
        font-size: 17px;
        text-align: center;
        background-color: #181818;
    }

    .card h3 {
        padding: 0px 0px;
    }

    .card p {
        padding: 5px 8px;
    }

}

@media (max-width: 730px) {

    .slide img {
        height: 320px;
    }

    .slider {
        height: 330px;
    }

    .filmWare {
        padding: 0px 5px;
    }

    .cardContainer {
        margin: 18px 0px;
        display: flex;
        gap: 18px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .card {
        width: 175px;
        padding: 10px 0px;
        border-radius: 11px;
        font-size: 17px;
        text-align: center;
        background-color: #181818;
    }

    .card img {
        width: 87%;
    }

}

@media (max-width: 630px) {

    .slide img {
        height: 270px;
    }

    .slider {
        height: 280px;
    }

    .filmWare {
        padding: 0px 5px;
    }

    .cardContainer {
        margin: 18px 0px;
        display: flex;
        gap: 18px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .card {
        width: 175px;
        padding: 10px 0px;
        border-radius: 11px;
        font-size: 17px;
        text-align: center;
        background-color: #181818;
    }

    .card:hover {
        background-color: #282828;
    }

    .card img {
        width: 87%;
        border-radius: 11px;
        object-fit: contain;
    }

}

@media (max-width: 535px) {
    .slide img {
        height: 218px;
    }

    .slider {
        height: 228px;
    }

    .filmWare {
        padding: 0px 5px;
    }

    .cardContainer {
        margin: 18px 0px;
        display: flex;
        gap: 18px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .card {
        width: 175px;
        padding: 10px 0px;
        border-radius: 11px;
        font-size: 17px;
        text-align: center;
        background-color: #181818;
    }
}

@media (max-width: 435px) {

    .slide img {
        height: 195px;
    }

    .slider {
        height: 205px;
    }

    .litContainer {
        margin: 18px 2px;
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .maincontent {
        max-height: 88dvh;
    }

    #recent {
        padding: 0px;
        font-size: 20px;
        margin-top: 18px;
        margin-left: 8px;
    }

    .card {
        width: 44.9vw;
        padding: 10px 0px;
        border-radius: 11px;
        font-size: 17px;
        text-align: center;
        background-color: #181818;
    }

    .card:hover {
        background-color: #282828;
    }

    .card img {
        width: 93%;
        border-radius: 11px;
        object-fit: contain;
    }

    .card h3 {
        font-size: 1.5rem;
        font-family: "Englebert", cursive;
        font-weight: 400;
        padding: 0px 2px;
        line-height: 1;
    }

    .card p {
        font-size: 1rem;
        font-weight: 200;
        padding: 0px 3px;
    }

    .text {
        font-size: 0.78rem;
    }

    #authorname{
        font-size: 0.7rem;
    }

    /* .card p{
        padding: 5px 8px;
    } */

}

@media (max-width: 395px) {

    .slide img {
        height: 170px;
    }

    .slider {
        height: 180px;
    }

    #categs {
        margin-left: 5px;
        font-size: 1.5rem;
        font-weight: 400;
    }

    .litContainer {
        margin: 15px 2px;
        display: flex;
        gap: 9px 7px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .card {
        width: 44.7vw;
        padding: 8px 0px;
        border-radius: 11px;
        font-size: 17px;
        text-align: center;
        background-color: #181818;
    }

    .card:hover {
        background-color: #282828;
    }

    .card img {
        width: 94%;
        border-radius: 11px;
        object-fit: contain;
    }

    .card h3 {
        font-size: 1.2rem;
        font-family: "Englebert", cursive;
        font-weight: 400;
        padding: 0px 2px;
        padding-top: 6px;
    }

    .card p {
        padding: 0px 3px;
        font-size: 0.8rem;
        font-weight: 200;
    }

}