/*
Theme Name: FastX
Theme URI: https://example.com
Author: RPN
Author URI: https://example.com
Description: A lightweight and fast WordPress theme.
Version: 3.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: minimal, lightweight, fast
Text Domain: fastx
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin: 0;
    padding: 0;
    background: #2e355b;
    color: #ffffff;
}

a {
    color: #5d6afd;
}

p {
    margin-bottom: 10px;
}

h1,
h2,
h3,
h4 {
    margin-bottom: 10px;
    font-weight: 500;
    line-height: 1.2;
}

h1 {
    font-size: 24px;
}

h2 {
    font-size: 20px;
}

h3 {
    font-size: 18px;
}

a.logo {
    font-size: 30px!important;
    line-height: 15px;
}

.videos {
    display: grid;
    gap: 5px;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
}

.video a {
    color: #fff;
}

.video {
    aspect-ratio: 16 / 9;
    position: relative;
    overflow: hidden;
    color: #fff;
    border-radius: 5px;
}

.video img {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 16 / 9;
}

h1.single-title {
    font-size: 20px;
}

h1.artitl {
    text-align: center;
}

h2.lh {
    margin: 0;
    font-size: 16px;
    position: absolute;
    bottom: 0px;
    width: 100%;
    background: #00000078;
    padding: 10px 10px;
    backdrop-filter: blur(8px);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-weight: 500;
    display: block;
}

.video-container {
    background: #333;
}

#video-container {
    width: -webkit-fill-available;
    aspect-ratio: 16 / 9;
    height: 500px;
}

.nocont {
    width: 100%;
    max-height: 200px;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 9;
    background: #333;
    color: #fff;
    flex-direction: column;
}

.nocont svg {
    width: 70px;
}

.nocont p {
    font-size: 20px;
}

@media only screen and (max-width: 600px) {
    #video-container {
        position: sticky;
        top: 0;
        z-index: 999;
        height: 100%;
    }
    .videos {
        ;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

main {
    padding: 10px;
}

.content {
    background: #1f202a;
    color: #ababab;
    padding: 15px;
    margin: -10px;
    margin-bottom: 20px;
}

h1.single-title {
    font-size: 20px;
    color: #fff;
}

.content a {
    color: #ffffff;
}

.smeta {
    margin-bottom: 5px;
}

.taxonomy a {
    font-size: 16px;
    text-decoration: none;
    background: #5d6afd;
    color: #fff;
    padding: 2px 10px;
    flex: auto;
    text-align: center;
    border-radius: 4px;
}

.taxonomy a:hover {
    background: #2b3bf7;
}

.taxonomy {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.topnav {
    background-color: var(--primary-color);
    position: relative;
}

.topnav a {
    float: left;
    color: white;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}

.topnav a.icon {
    float: right;
}

.nav-menu a:hover {
    border-bottom: 2px solid;
}

.nav-menu .current-menu-item a {
    border-bottom: 2px solid;
}

.nav-menu {
    list-style: none;
    white-space: nowrap;
    display: flex;
    overflow-x: scroll;
    scrollbar-width: none;
}

footer {
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
    padding: 10px;
}

.pagination {
    display: flex;
    justify-content: space-around;
    gap: 3px;
    margin: 10px 0;
}

span.page-numbers.current {
    background: #4169e1;
}

.page-numbers {
    color: #d4d4d4;
    background: var(--primary-color);
    flex: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 0;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    text-decoration: none;
    transition: all 400ms ease;
}

a.page-numbers:hover {
    background: #4169e1;
    color: #fff;
}

iframe {
    border: none;
    width: 100%;
    max-height: 500px;
    aspect-ratio: 16 / 9;
    background: #000;
}

form.fx-search-form {
    max-width: 400px;
    margin: 10px auto;
}

input.fx-search-input {
    height: 40px;
    width: 100%;
    outline: none;
    border: 1px solid var(--primary-color);
    background: #ffffff;
    padding: 5px 15px;
    border-radius: 99px;
}

.cat {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
}

.cat {
    list-style-type: none;
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.cat li {
    min-width: 135px;
    background: #2e3338;
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 8px;
    flex: auto;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cat a {
    text-decoration: none;
    color: #ffffff;
    width: 100%;
    padding: 5px;
}

.cat li {
    color: #aaa;
}