
body, html {
margin: 0;
padding: 0;
height: 100%;
overflow: hidden;
font-family: 'Roboto', Arial, sans-serif;
background-color: #333333; 
color: #FFFFFF; 
-webkit-tap-highlight-color: rgba(0,0,0,0);
-webkit-tap-highlight-color: transparent;
}
hr {
border: 1px solid #686868;
}
a {
color: white;
text-decoration: none;
}
.parent {
display: flex;
flex-direction: column;
height: 100%;
}

.top-nav {
background-color: #333;
color: white;
width: 100%;
padding: 10px;
z-index: 1000;
display: flex;
align-items: center;
justify-content: space-between; 
box-sizing: border-box; 
overflow: hidden;
height: 5rem; 
position: fixed; 
top: 0; 
}

.top-nav i {
font-size: 35px;
margin-left: 10px; 
cursor: pointer;
}

.top-nav span {
font-size: 18px;
text-align: center; 
flex-grow: 1; 
display: inline-block; 
margin: 0 auto;
margin-left: -35px;
}

.main-content {
flex-grow: 1;
overflow-y: auto;
padding: 20px;
margin-top: 4rem;
}
@media (hover: hover) and (pointer: fine) {
.main-content::-webkit-scrollbar {
width: 9px; 
height: 9px;
display: initial; 
}

.main-content::-webkit-scrollbar-thumb {
background-color: red; 
border-radius: 5px; 
}

.main-content::-webkit-scrollbar-track {
background-color: rgba(255, 255, 255, 0.5); 
}

.main-content::-webkit-scrollbar-corner {
background-color: transparent; 
}
}

.category {
overflow-x: auto;
white-space: nowrap;
}
.category .round {
display: inline-block;
border: 1px solid #313131;
width: 90px;
height:90px;
margin: 5px;
border-radius: 50%;
opacity: 0.5;
cursor: pointer;
}
.category .current {
opacity: 1.0;
}
.category::-webkit-scrollbar {
display: none;
}
.category {
-ms-overflow-style: none;
scrollbar-width: none;
}

.horrorbg {
background-image: url(../img/bg-horror.png);
background-size: cover;
background-size: 110%;
background-repeat: no-repeat;
}
.thrillerbg {
background-image: url(../img/bg-thriller.png);
background-size: cover;
background-size: 100%;
background-repeat: no-repeat;
} 
.romancebg {
background-image: url(../img/bg-romance.png);
background-size: cover;
background-size: 100%;
background-repeat: no-repeat;
}
.politicsbg {
background-image: url(../img/bg-politics.png);
background-size: cover;
background-size: 100%;
background-repeat: no-repeat;
}
.cricketbg {
background-image: url(../img/bg-cricket.png);
background-size: cover;
background-size: 100%;
background-repeat: no-repeat;
}
.psychologybg {
background-image: url(../img/bg-psychology.png);
background-size: cover;
background-size: 100%;
background-repeat: no-repeat;
}
.sciencefictionbg {
background-image: url(../img/bg-Sciencefiction.png);
background-size: cover;
background-size: 100%;
background-repeat: no-repeat; 
}
.fantasybg {
background-image: url(../img/bg-fantasy.png);
background-size: cover;
background-size: 100%;
background-repeat: no-repeat; 
}
.adventurebg {
background-image: url(../img/bg-adventure.png);
background-size: cover;
background-size: 100%;
background-repeat: no-repeat; 
}
.historicalbg {
background-image: url(../img/bg-historical.png);
background-size: cover;
background-size: 100%;
background-repeat: no-repeat; 
}
.philosophybg {
background-image: url(../img/bg-philosophy.png);
background-size: cover;
background-size: 100%;
background-repeat: no-repeat; 
}

.story_con {
display: flex;
border-radius: 10px;
padding: 10px;
overflow: hidden;
box-sizing: border-box;
text-decoration: none;
color: inherit;
align-items: center;
background-color:#313131;
}
.img_con img {
border-radius: 10px;
width: 100px;
height: 100px;
margin-right: 10px;
}
.details {
flex-grow: 1;
overflow: hidden;
}
.details h4 {
margin: 0;
font-size: 18px;
color: #fa6400;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.details p {
margin: 5px 0;
font-size: 13px;
line-height: 20px;
color: #4caf50;
}
.details .description {
text-align: left;
color: white;
}
.details b {
font-family: 800;
color: white;
font-size: 15px;
}


.language_popup {
position: absolute;
left:0;
right:0;
bottom:0;
height:150px;
background-color: hsl(0, 0%, 100%);
z-index: 2000;
display: none;
}
.language_popup p {
color:#111;
margin-left: 20px;
font-weight: 800;
}
.language_popup b {
color:#111;
margin-right: 20px;
margin-top: 5px;
font-weight: 800;
position: absolute;
top:0;
right: 0;
font-size: 35px;
cursor: pointer;
}
.buttoncon {
display: flex;
width: 100%;
align-items: center;
justify-content: center;
}
.buttoncon button {
background-color: #FFFFFF;
border: 1px solid #222222;
border-radius: 8px;
box-sizing: border-box;
color: #222222;
cursor: pointer;
display: inline-block;
font-family: Circular,-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",sans-serif;
font-size: 16px;
font-weight: 600;
line-height: 20px;
margin: 10px;
outline: none;
padding: 13px 23px;
position: relative;
text-align: center;
text-decoration: none;
user-select: none;
-webkit-user-select: none;
width: auto;
}

.buttoncon button.active {
border:2px solid red;
color:red;
}

.buttoncon button:disabled {
border-color: #DDDDDD;
color: #DDDDDD;
cursor: not-allowed;
opacity: 1;
}