@font-face {
    font-family: 'MyCustomFont';
    src: url('FiraCodeNerdFont-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    font-family: 'MyCustomFont';
    color: #fff;
}

body {
    background-color: rgba(0, 0, 0, 0.7);
    font-family: 'MyCustomFont';
}

.nav {
    font-size: 1.2rem;
    background-color: #000;
    text-align: left;
    padding: 5%;
    padding-left: 0;
    padding-right: 0;
    padding-top: 5px;
    padding-bottom: 20px;
    border-bottom: 2px solid white;
}

.header {
    text-align: center;
    position: relative;
    width: 80%;
    left: 10%;
    height: 280px;
}

.highlight {
    font-size: 20px;
    padding: 5%;
    padding-right: 10%;
}

.tldr {
    all: unset;
    position: relative;
    
    top: 20px;
    margin-left: 28px;
    background-color: black;
    font-size: 50px;
    color: rgb(255, 162, 0);
    bottom: 20px;
    left: -60px;
}

.img {
    all: unset;
    position: relative;
    z-index: 1;
    bottom: -50px;
    left: -20px;
    height: 180px;
    width: 120px;
    background-image: url("logo_.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
}
.about {
    position: relative;
    left: 10%;
    padding: 2%;
    margin: 30px;
    width: 80%;
    background-color: #1f1f1f;
    color: white;
    font-size: 30px;
    border-radius: 10px;
    border: 2px solid white;
}
/* Section Styling */
.intro, .content {
    padding: 2rem;
    margin: 0 auto;
    max-width: 900px;
}

.intro {
    background-color: #000;
    border-radius: 8px;
    margin-top: 2rem;
    border: 1px solid #e8310a;
    border-radius: 10px;
}

.content h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: #e8310a;
    font-size: 40px;
}
.box,
.box_ai,
.results {
    background-color: #1f1f1f;
    text-align: center;
    width: 90%;
    margin: 20px auto;
    padding: 15px;
    border: 2px solid white;
    border-radius: 20px;
}

.inp {
    color: black;
    height: 40px;
    width: 250px;
    margin-bottom: 10px;
    border: 1px solid white;
    border-radius: 10px;
    padding-left: 10px;
}

.filtr, .authr, .search, .download {
    margin-bottom: 20px;
    margin-top: 20px;
}

.inp_filtr, .inp_authr {
    color: black;
    padding: 10px;
    height: 20px;
    width: 200px;
    margin-bottom: 10px;
    border: 1px solid white;
    border-radius: 10px;
}

.btn {
    all: unset;
    display: inline-block;
    text-align: center;
    padding: 15px;
    color: white;
    background-color: transparent;
    margin-top: 10px;
}

.btn_perm,
.btn_perm_authr {
    padding: 10px;
    border-radius: 10px;
    font-weight: 700;
    color: white;
    background-color: #e8310a;
    margin-bottom: 20px;
}

.btn:hover {
    background-color: rgba(131, 119, 119, 0.6);
}

table {
    width: 100%;
}

td {
    border: 1px solid white !important;
}

td:nth-of-type(1n) {
    text-align: left !important;
}

td:nth-of-type(1) a {
    color: #fff !important;
    position: relative !important;
    text-decoration: none !important;
}

td:nth-of-type(2) {
    font-weight: 700;
}

tr:nth-of-type(1) {
    background-color: rgb(227, 94, 53);
}

th {
    font-weight: 700 !important;
    border: 2px solid white !important;
}

/* Mobile responsiveness */
/* Mobile responsiveness */
/* Mobile responsiveness */
@media only screen and (max-width: 800px) {
    .inp_filtr, .inp_authr {
        color: black;
        padding: 10px;
        height: 20px;
        width: 180px; /* Full width on smaller screens */
        margin-bottom: 10px;
        border: 1px solid white;
        border-radius: 10px;
    }
    
    .nav {
        width: 100%;
        /* padding: 0; */
        margin: 0;
        font-size: 1rem;
        padding: 10px;
    }

    .header {
        margin: 0;
        width: 100%;
        height: auto; /* Adjust to auto for better flexibility */
        left: 0;
    }

    .tldr {
        position: relative;
        top: 20px;
        margin-left: 0;
        color: rgb(255, 162, 0);
        background-color: black;
        font-size: 34px !important; 
        bottom: 10px;
        left: 0;
    }

    .img {
        position: relative;
        bottom: -25px;
        margin-bottom: 30px;
        height: 100px;
        width: 80px;
    }

    .highlight {
        font-size: 16px;
        padding-right: 5%;
    }

    .btn {
        padding: 10px;
    }

    .btn_perm,
    .btn_perm_authr {
        width: 180px; /* Full width on smaller screens */
        margin-right: 0;
        margin-bottom: 10px;
    }

    .box,
    .box_ai,
    .results {
        padding: 20px;
        width: 80%; /* Full width for boxes on smaller screens */
    }

    table {
        font-size: 12px; /* Smaller font size */
        display: block; /* Enable block display */
        overflow-x: auto; /* Enable horizontal scrolling */
        /* white-space: nowrap; Prevent table data from wrapping */
    }

    th, td {
        max-width: fit-content;

        padding: 8px; /* Adjust padding for mobile */
    }

    td:nth-of-type(1n) {
        text-align: left !important;
    }

    td:nth-of-type(1) a {
        color: #fff !important;
        position: relative !important;
        text-decoration: none !important;
    }
    
    tr:nth-of-type(1) {
        background-color: rgb(227, 94, 53);
    }
    .about {
        position: relative;
        left: 5%;
        padding: 2%;
        margin: 30px;
        width: 80%;
        background-color: #1f1f1f;
        color: white;
        font-size: 15px;
        border-radius: 10px;
        border: 2px solid white;
    }
    /* Section Styling */
    .intro, .content {
        padding: 1rem;
        margin: 0 auto;
        max-width: 450px;
    }
    .content h3 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
        color: #e8310a;
        font-size: 20px;
    }
    .intro {
        background-color: #000;
        border-radius: 8px;
        margin-top: 1rem;
        border: 1px solid #e8310a;
        border-radius: 10px;
    }
    th {
        font-weight: 700 !important;
        border: 2px solid white !important;
    }
}
