body {
    font-family: 'Roboto', sans-serif;
    background-color: #1f1f1f;
    color: #f4f4f4;
    margin: 0;
    padding: 20px;
    background-image: url('https://t3.ftcdn.net/jpg/01/87/78/52/240_F_187785272_IYDuTUwv2ksNUPPrE7a8OrcOZFRtqI3z.jpg');
    background-size: auto;
    background-position: center;
    background-blend-mode: lighten;
	background-attachment: fixed;
    color: #f4f4f4;
    position: relative;
    overflow: hidden;
}
h1 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2.5em;
    color: #ffeb3b;
    z-index: 1;
    position: relative;
    text-shadow: 0 0 15px rgba(255, 235, 59, 0.7);
}
h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.5em;
    color: #ffeb3b;
    z-index: 1;
    position: relative;
    text-shadow: 0 0 15px rgba(255, 235, 59, 0.7);
}
a:link, a:visited, a:active  {
    color: lightblue;
    text-shadow: 0 0 15px rgba(173, 216, 230, 0.7);
    opacity: 0.8;
    transition: opacity 0.5s ease;

}

a:hover {
    opacity: 1;
}

@keyframes enlargediv {
    0% {
        height: 5%;
    }

    100% {
        height: 75%;
    }
}
@keyframes outlineFade {
    0% {
        outline: 3000px solid rgba(0, 0, 0, 0.9);
    }
    50% {
        outline: 3000px solid rgba(0, 0, 0, 0.8);
    }
    100% {
        outline: 3000px solid rgba(0, 0, 0, 0.7);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.splashAnim {
    animation: enlargediv cubic-bezier(1,0,1,1) 1.5s 1 forwards, outlineFade ease-in-out 1.5s 1 forwards;
}

.splashAnimFast {
    animation: enlargediv cubic-bezier(1,0,1,1) 0.5s 1 forwards, outlineFade ease-in-out 0.5s 1 forwards;
}

.splashAnim, .splashAnimFast {
    will-change: transform;
}

.splashContentAnim {
    animation: fadeIn 0.5s 1.5s ease-in-out forwards;
}

.splashContentAnimFast {
    animation: fadeIn 0.5s 0.5s ease-in-out forwards;
}

#splashScreen {
    position: fixed;
    max-width: 520px;
    height: 5%;
    background-color: #1e1e1e;
    color: #ecf0f1;
    display: flex;
    z-index: 1000;
    opacity: 1;
    justify-content: center;
    align-items: center;
    inset: 0px;
    margin: auto;
    border-radius: 5px;
    outline: 3000px solid rgba(0, 0, 0, 0.9);
}

#splashContent {
    text-align: center;
    opacity: 0;
}


#splashContent h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

#splashContent h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.6rem;
    color: #ffeb3b;
    z-index: 1;
    position: absolute;
    text-shadow: 0 0 15px rgba(255, 235, 59, 0.7);
    opacity: 0.8;
    transition: opacity 0.5s ease;
    white-space: nowrap;
    top: 10%;
    right: 50%;
    transform: translateX(50%);
}

#splashContent li {
    font-size: 1.1rem;
    margin-left: 2rem;
    margin-right: 2rem;
    text-align: left;
    margin-bottom: 1.4rem;
    font-family: 'Lato', sans-serif;
}

#splashContent p {
    font-size: 0.9rem;
    position: absolute;
    right: 50%;
    bottom: 0%;
    white-space: nowrap;
    transform: translateX(50%);
}

.material-icons {
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.5s ease;
}

.close {
    font-size: 35px;
    position: absolute;
    right: 20px;
    top: 20px;
}

.info {
    cursor: pointer;
    margin-left: 10px;
    opacity: 0.6;
    transition: opacity 0.5s ease;
}

.info:hover {
    opacity: 0.9;
}

#splashArrows {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 1.5%;
    display: flex;
    gap: 20rem; /* spacing between arrows */
    align-items: center;
    white-space: nowrap;
}

.material-icons:hover{
    opacity: 0.9;
}

.underline-extended {
    display: inline-block;
    position: relative;
    text-decoration: none;
  }
  
.underline-extended::after {
    content: '';
    position: absolute;
    left: -12.5%;
    bottom: 0;
    width: 125%;
    height: 2px;
    background-color: currentColor;
}

#blurOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    opacity: 1;
    transition: opacity 0.5s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 999;
}

#searchContainer {
    text-align: center;
    margin-bottom: 20px;
    z-index: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

#searchInput {
    width: 50%;
    padding: 10px;
    font-size: 1em;
    border-radius: 5px;
    border: 1px solid #444;
    background-color: #2b2b2b;
    color: #f4f4f4;
    outline: none;
    box-shadow: 0 0 15px rgba(255, 235, 59, 0.3);
}
#splashInfo {
    display: flex;
    align-items: center;
}

table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    border-radius: 10px;
    background-color: rgba(43, 43, 43, 0.8);
    z-index: 1;
    position: relative;
}
th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #444;
}
th {
    background-color: rgba(51, 51, 51, 0.8);
    color: #ffeb3b;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s ease;
}
th:hover {
    background-color: #555;
}
th.pad.sorted-asc,
th.pad.sorted-desc {
    padding-right: 25px; /* Padding for arrow */
}
th.sorted-asc::after,
th.sorted-desc::after {
    position: absolute;
    right: 10px;
    content: "";
    border: 6px solid transparent;
}
th.sorted-asc::after {
    border-bottom-color: #ffeb3b;
    top: 50%;
    transform: translateY(-50%);
}
th.sorted-desc::after {
    border-top-color: #ffeb3b;
    top: 50%;
    transform: translateY(-50%);
}
tr {
    transition: background-color 0.3s ease;
}
tr:nth-child(even) {
    background-color: rgba(43, 43, 43, 0.3);
}
tr:hover {
    background-color: rgba(58, 58, 58, 0.3);
    transition: background-color 0.3s ease;
}

#tableContainer {
    width: 100%;
    overflow-x: auto;
}

.table-wrapper {
    min-width: 1000px;
}

@media screen and (max-width: 768px) {
    #tableContainer {
        -webkit-overflow-scrolling: touch;
    }
    #splashScreen {
        max-width: 95%;
    }

    #splashContent h2 {
        font-size: 1.5rem;
    }

    #splashContent p {
        font-size: 0.8rem
    }

    #splashContent li {
        font-size: 1rem;
        margin-left: 1rem;
    }

    #splashArrows {
        gap: 17rem
    }

    table {
        width: 100%;
    }

    th, td {
        white-space: nowrap;
    }
}
