        @font-face {
                font-family: 'soup_of_justice';
                src: url('fonts/soupofjustice.ttf') format('truetype');
            }
            @font-face {
                font-family: 'Montserrat';
                src: url('fonts/Montserrat-SemiBold.ttf') format('truetype');
            }
            body{
                font-family: 'soup_of_justice';
                
                background: #243588;
                padding: 0px;
                margin: 0px;
            }
            body.game{
                background: url("img/mud.png") repeat #7B4720;
            }
            canvas {
                -webkit-user-select: none; /* Disable selection in Safari */
                -moz-user-select: none;    /* Disable selection in Firefox */
                -ms-user-select: none;     /* Disable selection in IE */
                user-select: none;         /* Disable selection in modern browsers */
                touch-action: manipulation;        /* Prevent touch interactions like double-tap zoom */
                cursor: pointer;
            }
            #thegame{
                font-family: 'Montserrat';
                position: relative; /* Or default if not already specified */
                z-index: 0;
            }


/* Initial hidden state for the drawer */
.drawer {
    font-family: 'Montserrat';
    position: fixed;
    bottom: -100%; /* Start below the screen */
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #243588;
    color: #ffffff;
    box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.2);
    transition: bottom 0.3s ease; /* Smooth transition */
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

/* Header styling */
.drawer-header {
    font-family: 'soup_of_justice';
    
    display: flex;
    color: #F5E646;
    justify-content: center; /* Center the heading */
    align-items: center; /* Vertically center items */
    position: relative; /* Position relative to allow absolute positioning of the close button */
    padding: 0 10px;
    letter-spacing: 3px;
    font-size: 1.5rem;
}
.drawer-header h2{
    margin-bottom: 0;
}
/* Content styling */
.drawer-content {
    text-align: center;
    padding: 1rem;
    overflow-y: auto; /* Enables scrolling if content overflows */
}
/* When the drawer is active, it moves to the visible part of the screen */
.drawer.active {
    bottom: 0;
}
.close-button {
    position: absolute;
    top: 18px; /* Adjust spacing from the top */
    right: 10px; /* Adjust spacing from the right */
    background: none; /* Remove default button background */
    border: none; /* Remove border */
    font-size: 1.5rem; /* Size of the "X" */
    cursor: pointer;
    color: #fff; /* Adjust text color */
}

.close-button:hover {
    color: #000; /* Darker color on hover */
}

table{
    max-width: 640px;
    margin: auto;
    font-size: 1.3rem;
    width: 100%;
    border-collapse: collapse; /* Ensures borders of adjacent cells collapse into one */
    border-spacing: 0;
}
table .name{
    text-align: left;
}
table .rank,
table .score{
    text-align: center;
}
table tr.highlight{
    color:#F5E646;
    font-weight: bold;
}
/* end leaderboard */

/* Form */
/* General Form Styles */
#registration-form {
    max-width: 400px;
    margin: 2rem auto;
    padding: 1.5rem;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
}

/* Input Field Styles */
#registration-form .text-input--wrapper {
    display: block;
    margin-bottom: 1.5rem;
}

#registration-form input.text-input {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

#registration-form input.text-input:focus {
    border-color: #007BFF;
    outline: none;
    box-shadow: 0 0 4px rgba(0, 123, 255, 0.5);
}

/* Checkbox and Label Styles */
#registration-form .terms--field--wrapper {
    margin-bottom: 1.5rem;
}

#registration-form label.container {
    font-size: 0.875rem;
    line-height: 1.5;
    color: #555;
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

#registration-form label.container a {
    color: #007BFF;
    text-decoration: none;
}

#registration-form label.container a:hover {
    text-decoration: underline;
}

#registration-form label.container input[type="checkbox"] {
    margin-right: 0.5rem;
    width: 20px;
    height: 20px;
    border: 2px solid #fff;
    border-radius: 3px;
    position: relative;
    cursor: pointer;
    outline: none;
}

#registration-form label.container input[type="checkbox"]:checked {
    background-color: #007BFF;
    border-color: #007BFF;
}


/* Submit Button Styles */
#registration-form .button {
    display: inline-block;
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
    border:1px solid transparent;
    background-color: #428bca;
    border-color: #357ebd;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s;
}

#registration-form .button:hover {
    background-color: #3276b1;
    border-color: #285e8e;
}

/* Responsive Design */
@media (max-width: 480px) {
    #registration-form {
        padding: 1rem;
    }

    #registration-form input.text-input,
    #registration-form .button {
        font-size: 0.9rem;
    }
}

/* end form */

            @media (min-width: 600px) {
                body, body.game{
                    /* background: #243588; */
                    background: url("https://funkymonkeys.co/wp-content/themes/funkymonkeys/img/body_bg.png") repeat-x top center #ffffff!important;
                }
            }
