body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f3f3f3;
}

.container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

h1 {
    text-align: center;
    color: #333;
}

#currentdate {
    text-align: center;
    color: #333;
    font-weight: bold;
    margin-top: 100px;
}

.bus-info {
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#bus-type-1 {
    background-color: #28a745;
}

#bus-type-2, #bus-type-3, #bus-type-4, #bus-type-5 {
    background-color: #dc3545;
}

#bus-type-6 {
    background-color: #58D3F7;
}

.bus-info h2 {
    margin-top: 0;
    font-size: 24px;
    text-align: center;
    color: #fff;
}

.bus-info p {
    margin-bottom: 0;
    font-size: 18px;
    text-align: center;
    color: #fff;
}

#reset-button {
    display: block;
    margin: 0 auto 20px;
    font-size: 20px;
    padding: 10px 20px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    background-color: #ff9800;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#reset-button:hover {
    background-color: #e68900;
}

#speak-button {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 10px 20px;
    font-size: 18px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#speak-button:hover {
    background-color: #45a049;
}

#game-button {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 10px 20px;
    font-size: 18px;
    background-color: #008CBA;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#game-button:hover {
    background-color: #007B9E;
}

footer {
    background-color: #f2f2f2;
    padding: 20px;
    text-align: center;
    position: fixed;
    bottom: 0;
    width: 100%;
    
}

footer p {
    margin: 0;
}

footer a {
    color: #333;
    text-decoration:solid;
}

footer a:hover {
    text-decoration: underline;
}

@media screen and (max-width: 767px) {
    .container {
        max-width: 100%;
        padding: 10px;
    }

    h1 {
        font-size: 24px;
    }

    .bus-info {
        padding: 15px;
    }

    .bus-info h2 {
        font-size: 20px;
    }

    .bus-info p {
        font-size: 16px;
    }

    #reset-button {
        font-size: 18px;
        padding: 8px 16px;
    }
}

.alarm-button {
    padding: 10px 20px;
    font-size: 18px;
    background-color: floralwhite;
    color: gold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: bold;
}

.alarm-button:hover {
    background-color: grey;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 767px) {
    .alarm-button {
        font-size: 16px;
        padding: 8px 16px;
    }
}



.subway-icon {
    width: 20px;
    height: 20px;
    top: 10px;
    right: 10px;
    cursor: pointer;
}


.pay-icon {
    width: 40px;
    height: 40px;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

/* bus.css */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.fare-btn {
    cursor: pointer;
    background-color: #008CBA;
    color: white;
    border: none;
    padding: 5px 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
}

#modal-text{
    font-weight: bolder;
    text-align: center;
}