body {
    padding-top: 80px;
    background-color: #eee;
    overflow-y: scroll;
    scrollbar-width: auto;
    font-family: 'Roboto', sans-serif;
    font-weight: 400; /* normal weight */
}

h1, h2, h3 {
    font-weight: 700; /* bold headings */
}

a {
    text-decoration: none;
    /* Remove underline */
    color: #ce4ce9;
}

th {
    width: auto;

    max-width: 100%;
    height: auto;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0px;
    /* Additional styles */
}

.navbar-nav .nav-link {
    position: relative;
}

.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    /* Adjust this value as needed */
    width: 100%;
    height: 1px;
    /* Thickness of the underline */
    background-color: currentColor;
    /* Use the color of the text */
    visibility: hidden;
    transform: scaleX(0);
    transition: visibility 0s, transform 0.2s ease-in-out;
    opacity: 30%;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link:focus::after {
    visibility: visible;
    transform: scaleX(1);
}

.tlh {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
    /* background-color: #9f2fb6; */
    color: white;
    padding: 5px 20px;
    border-radius: 10px;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    overflow: hidden;
    width: 75%;
    font-size: 150%;
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.5);
    margin: 0 auto;
    pointer-events: none;
    /* disable clicks when invisible */

    /* ############################################# */
    /* ##################  VARA  ################### */
    /* ############################################# */
    /* background: linear-gradient(45deg, red, orange, yellow, lime, green, cyan, blue, indigo, violet, magenta);
    background-size: 300% 300%;
    animation: 
        rainbowHue 10s linear infinite,
        rainbowMove 15s ease-in-out infinite; */

    /* ############################################# */
    /* ################  TOAMNA  ################### */
    /* ############################################# */
    background-image: url('https://dxlink.ro/img/toamna.jpg');
    background-size: auto;
    background-position: center;
}

.leaf {
    position: absolute;
    width: 40px;
    opacity: 0.8;
    animation: float 4s ease-in-out infinite;
    animation-fill-mode: both;
}

.leaf1 { left: 25%; animation-delay: 0s; }
.leaf2 { left: 38%; animation-delay: 1s; }
.leaf3 { left: 54%; animation-delay: 2s; }
.leaf4 { left: 68%; animation-delay: 3s; }
.leaf5 { left: 80%; animation-delay: 4s; }
/* @media (max-width: 768px) {
    .leaf1 { left: 30%; animation-delay: 0s; }
    .leaf2 { left: 50%; animation-delay: 1s; }
    .leaf3 { left: 70%; animation-delay: 2s; }
} */

@keyframes float {
    0%   { transform: translateY(-20px); opacity: 0; }
    10%   { transform: translateY(-15px); opacity: 1; }
    100% { transform: translateY(20px); opacity: 0; }
}

/* ############################################# */
/* ##################  VARA  ################### */
/* ############################################# */
@keyframes rainbowHue {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(36deg); }
}

@keyframes rainbowMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ############################################# */
/* ################  TOAMNA  ################### */
/* ############################################# */
/* @keyframes leafMove {
    from { background-position: 0 0; }
    to   { background-position: 100% 100%; }
} */

.tlh {
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.5);
}

.tlh.visible {
    opacity: 1;
    pointer-events: auto;
    /* enable clicks when visible */
}


#cntr {
    position: absolute;
    right: 10px;
    width: 50px;
    top: 0px;
    font-weight: 300;
    font-size: 1.3em;
}

#cntr::before {
    content: ' ';
    /* background-image: url(/img/stopwatch.png); */
    position: absolute;
    background-size: 24px 24px;
    height: 24px;
    padding: 0 24px 0 0;
    background-repeat: no-repeat;
    margin: -3px 0 0 -30px;
}

td#livetd div span {
    text-shadow: 1px 1px 1px #333;
}

tr#z-muted {
    /*background-color:#e3fae2*/
    background-color: #ffafaf
}

.footer-container {
    max-width: 90%;
    margin: 20px auto;
    padding: 20px;
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.container {
    max-width: 90%;
    margin: 20px auto;
    padding: 20px;
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

@media (max-width: 768px) {
    .sidebar {
        backdrop-filter: blur(10px);
    }

    th {
        width: auto;
    }

    .tlh {
        width: 90%;
    }

    .tlh.visible {
        width: 90%;
    }

    /* .container {
        width: 95%;
        padding: 10px;
    } */
    .container {
        max-width: 92%;
        /* margin: 20px auto; */
        padding: 10px;
        background: white;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
    }

    .footer-container {
        max-width: 92%;
        margin: 20px auto;
        padding: 20px;
        background: white;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
    }
}
