﻿:root {
    --primary-bg: #2a2a2acf;
    --secondary-bg: rgba(16, 16, 16, 0.5);
    --text-color: white;
    --accent-color: rgb(255, 213, 136);
    --progress-shadow: 0 0 15px rgb(40, 40, 40);
}


body {
    /*font-family: roboto, sans-serif;*/
    background: linear-gradient(to bottom, #000000FF 0px, #00000088 600px), url(/img/authorbg.webp) no-repeat fixed;
    background-size: cover;
    margin: 0;
    padding: 0;
    color: var(--text-color);
    line-height: 1.6;
}

.main-window {
   
    background-color: var(--primary-bg);
    border-radius: 10px;
    box-shadow: 0 0 15px rgb(13 13 13);
    padding: 20px;
    margin: auto;
    margin-top: 50px;
    box-sizing: border-box;
    width: max-content;

    @media (max-width: 768px){
        font-size: max(0.5vw, 9pt);
    }
}

.stats-header {
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 28pt;
    @media (max-width: 768px){
        font-size: max(0.5vw, 14pt);
    }
}

.stats-summary {
    display: flex;
    flex-direction: column;
   
    margin-bottom: 10px;
    text-align: left;
}

.h-text{
    font-size: 20pt;
    color: rgb(255, 213, 136);

    @media (max-width: 768px){
        font-size: max(0.5vw, 12pt);
    }
}

.opener
{
    display: block;
    background-color: #2a2a2acf;
    padding: 10px;
    /*margin: 5px;*/
    box-shadow: 0 0 15px rgb(40, 40, 40);
    border-radius: 10px;
    border: 3px solid #48abe0;
    transition: 0.2s;
    width: fit-content;
    margin-bottom: 5px;
}

.opener:hover {
    cursor: pointer;
    border-color: orange;
    transition: 0.2s;
}
.table-root{
    padding-top: 20px;
    padding-bottom: 20px;
    overflow-x: auto;
    margin: auto;
    /*max-width: 700px;*/
    /*min-width: 500px;*/
    width: fit-content;
    -webkit-overflow-scrolling: touch;
    /*display: block;*/
    /*justify-content: left;*/
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--secondary-bg);
    box-shadow: var(--progress-shadow);
    border-radius: 8px;
    min-width: 300px; /* Minimum width before scrolling kicks in */

    @media (max-width: 768px){
        font-size: max(0.5vw, 9pt);
    }
}

th, td {
    padding: 12px 15px;
    @media (max-width: 768px){
        padding: 2px 5px;
    }
    
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

th {
    background-color: rgba(0, 0, 0, 0.2);
    font-weight: 700;
}

tr:last-child td {
    border-bottom: none;
}


h2 {
    font-weight: 900;
}

.hlight
{
    color: rgb(217, 255, 202);
}

a {
    color: rgb(255, 213, 136);
    /*font-family: 'Roboto', sans-serif;*/
    font-weight: 400;
    text-decoration: none;
    transition: 0.2s;
}

a:hover {
    color: orange;
}


.slider-bg{
    position: relative;
    border-radius: 10px;
    
    
    /*height: auto;*/
    /*width: auto;*/
    background-color: rgba(16, 16, 16, 0.5);
    box-shadow: 0 0 15px rgb(40, 40, 40);
    overflow: hidden;

    height: 40px;
    width: 140px;
    @media (max-width: 768px){
        font-size: max(0.5vw, 5.5pt);
        height: 20px;
        width: auto;
    }
}

.slider{
    border-radius: 10px 0 0 10px;
    height: 100%;
}


.slider-text{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: absolute;
    text-shadow: 2px 2px 3px #000000;

    font-size: min(1.4vw, 10pt);
    @media (max-width: 768px){
        font-size: max(0.5vw, 5.5pt);
    }
}



