body {
    margin: 0px;
    background-color: black;
    color: white;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    text-align: center;;
}

.a_button {
    position: relative;
    color: rgb(53, 49, 53);
    background-color: rgb(229, 149, 227);
    text-decoration: none;
    display: inline-block;
    border-radius: 5px;
    margin-bottom: 10px;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    min-width: 200px;
    transition: all 0.3s ease;
} 
.a_button:hover {
    transition: all 0.3s ease;
    background-color: rgb(114, 60, 112);
}
#canvas {
    width: 100vw;
    height: 99vh;
}

#back_button {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgb(229, 149, 227);
    color: rgb(53, 49, 53);
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    z-index: 1000; /* Ensure the button is above other elements */
}

#settings_button{
    position: absolute;
    top: 60px;
    left: 10px;
    background-color: rgb(229, 149, 227);
    color: rgb(53, 49, 53);
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    z-index: 1000; /* Ensure the button is above other elements */
}

.action_button {
    position: absolute;
    transition: all 0.3s ease;
    background-color: rgb(229, 149, 227);
    color: rgb(53, 49, 53);
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    z-index: 1000; /* Ensure the button is above other elements */
    width: 100px;
    text-align: center;
    border-radius: 5px;
}
.action_button:hover {
    transition: all 0.3s ease;
    background-color: rgb(114, 60, 112);
}
#move_button {
    top: 10px;
    right: 10px;
}
#zoom_button {   
    top: 60px;
    right: 10px;
}
#play_button {
    top: 110px;
    right: 10px;
}
#submit_button {
    top: 160px;
    right: 10px;
}
#play_move_button {
    top: 210px;
    right: 10px;
}
#next_level_button {
    top: 260px;
    right: 10px;
}

#banner_status {
    position: absolute;
    bottom: 60px;
    left: 50%;
    line-height: 30px;
    transform: translateX(-50%);
    background-color: rgb(59, 58, 59);
    
    color: rgb(238, 224, 238);
    padding: 1px;
    border-radius: 25px;
    border: 2px solid rgb(138, 136, 138);
    font-size: 16px;
    z-index: 1000; /* Ensure the banner is above other elements */
    min-width: 150px;
    min-height: 30px;
}

#level_details {
    position:absolute;
    bottom: 20px;
    left: 20px;
    color:rgb(229, 149, 227);
}

.results_table {
    /* width: 90vw; */
    padding-left: 5vw;
    padding-right: 5vw;
    text-align: center;
    margin-bottom: 40px;
}

.results_table table {
    width: 100%;
    border-collapse: collapse;
    width: 100%;
    border: 3px double #e595e3;  /* Using your theme color from main.css */
}

.results_table th,
.results_table td {
    border: 1px solid #e595e3;
    padding: 8px;
    text-align: center;
}

.results_table th {
    background-color: rgba(229, 149, 227, 0.2);  /* Slight highlight for headers */
    font-weight: bold;
}

#logout {
    font-family: Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    position: absolute;
    top: 10px;
    right: 10px;
    border-radius: 10px;
    background-color: rgb(229, 149, 227);
    color: rgb(53, 49, 53);
    /* border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    z-index: 1000; Ensure the button is above other elements */
}

#swap_login_register_link{
    border: none;
    background-color: none;
    color: rgb(229, 149, 227);
    color: rgb(85, 85, 248);
    text-decoration: none;
    cursor: pointer;
}

#register_login_form input {
    color: rgb(248, 236, 248);
    background-color: #535353;
}

.detail_card{
    background-color: rgb(59, 58, 59);
    color: rgb(238, 224, 238);
    padding: 10px;
    border-radius: 10px;
    border: 2px solid rgb(138, 136, 138);
    margin-bottom: 10px;
}

.detail_card p{
    margin: 0;
    padding: 5px 0;
}

.game_button{
    color: rgb(242, 217, 242);
    background-color: rgb(88, 87, 88);
    text-decoration: none;
    display: inline-block;
    border: 2px solid rgb(229, 149, 227);
    border-radius: 5px;
    margin-bottom: 10px;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    min-width: 200px;
    transition: all 0.3s ease;
}

.game_button:hover {
    transition: all 0.3s ease;
    background-color: rgb(114, 60, 112);
    color: rgb(53, 49, 53);
}

#delay_bar {
    position: absolute;
    left: 25%;
    right: 25%;
    top: 30px;
}
#delay_slider {
    width: 50vw;
    -webkit-appearance: none;
    appearance: none;
    background: rgb(88, 87, 88);
    height: 10px;
    border-radius: 5px;
    outline: none;
}