html {
    height: 100%;
    overflow-x: hidden;
}  

body {
    height: 100%;
    margin: 0;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: #b3c0d3;
}

/* Customize the scrollbar track */
::-webkit-scrollbar {
    width: 6px; /* Slim scrollbar width */
    height: 6px; /* Slim horizontal scrollbar width */
}

/* Customize the scrollbar track (background area) */
::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.045); /* Light, slightly transparent track */
    border-radius: 10px; /* Rounded track corners */
}

/* Customize the scrollbar thumb (the draggable part) */
::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.3); /* Slightly dark thumb */
    border-radius: 10px; /* Rounded thumb corners */
}

/* Optional: Hover effect for the scrollbar thumb */
::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.5); /* Darker thumb when hovering */
}

#nchsLogo {
    width: 80px;
    border-right: 1px solid white;
    margin-left: 12px;
    padding-right: 10px;
}

h1, a {
    color: white;
    font-size: 5vw;
    font-weight: 350;
    padding-top: 4px;
}

@media screen and (min-width: 528px) {
    h1, a {
      font-size: 30px;
    }
}

@media screen and (max-width: 320px) {
    h1, a {
      font-size: 0px;
    }
}

.bus-table, th, td{
    border-bottom: 1px solid #dadce0;
    
    padding: 5px;
    margin-left: auto;
    margin-right: auto;
    border-collapse: collapse;
    
    table-layout: fixed;
    margin: 10px;
    width: calc(100% - 20px);

    text-align: center;
    padding: 7px;
}

tr:nth-child(even){
    background-color: #f0f0f0;
}

tr:nth-child(odd){
    background-color: white;
}

th:nth-child(1){
    border-collapse: separate;
    border-radius: 10px 0px 0px 0px;
}

th:nth-child(5){
    border-collapse: separate;
    border-radius: 0px 10px 0px 0px;
}

tr:first-child{
    position: sticky;
    top: 0;
    background-color: #d62921;
    color: #f1f2f5;
}

.e-star-filled{
    border: 1.5px solid;
    color: black;
    border-radius: 5px;
    padding: 2px;
}

.e-star-filled:hover{
    background-color: rgb(255, 241, 115); 
    border: 1.5px solid;
}

.e-star-selected{
    background-color: rgb(251, 230, 42);     
    border: 1.5px solid;
}

tr:hover {
    background-color: #ff928e;
}

#navbar{
    background-color: #d62921;
    height: 15vh;
    z-index: 1000;
}

#returntohome {
    position:absolute;
    top: 0px;
    height: 116px;
    width:50%;
    cursor: pointer;
}

.navbuttons {
    display: flex;
    align-items: center;
    background-color: white;
    border: 1px solid #dadce0;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    color: #5f6368;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    gap: 10px;
    transition: background-color 0.3s ease-in-out, border 0.3 ease-in-out;
    font-family: Arial, sans-serif;
    height: 40px;
    width: 43px;
    margin-right: 10px;
    text-align: center;
    display: inline-block
}

.navbuttons:hover {
    background-color: #f5f5f5;
    border: 1px solid #d8e4fc;
}

.navbuttons:active {
    background-color: #f0f4fc;
}

/* Popup overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none; /* hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 999;
}

/* Popup box */
.popup {
    background: white;
    padding: 2em;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    max-width: 420px;
    max-height: 460px;
    width: 80vw;
    text-align: center;
    overflow-y: auto;
}

.popup h3 {
    padding-bottom: 10px;
}

.popup p {
    text-align: center;
    color: grey;
}

.close-btn {
    margin-top: 1rem;
    background: #d62921;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
}

.show-popup-btn {
    margin: 2rem;
    padding: 1rem 2rem;
    font-size: 1rem;
}

#maxwell {
    position: fixed;
    width: 100px;
    height: auto;
    top: 0;
    left: 0;
    z-index: 9999;
    pointer-events: none;
    transition: top 0.5s ease, left 0.5s ease;
    opacity: 1;
}

.easteregg{
    color: rgb(102, 84, 84);
}