body {
    font-family: Arial, sans-serif;
    background-color: #cde6fb;
    margin: 1em;
    padding: 0;
}

h1 {
    color: #333;
    text-align: center;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

label, input {
    margin: 5px 0;
    font-size: 1.2em;
}

button {
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: solid black 1px;
    border-radius: 5px;
    min-width: 155px;
}

button:hover {
    background-color: #45a049;
}

table {
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
}

table, th, td {
    border: 1px solid black;
}

th, td {
    padding: 10px;
    text-align: center;
}

.logoWrapper {
    width: auto;
    text-align: center;
    padding: 5px;
    height: 200px;
}

.loginWrapper {
    background: #a0b1c3;
    font-size: 1.1em;
    border: 1px solid rgb(13, 13, 70);
    border-radius: 15px;
    padding: 20px;
    margin-top: 25px;
    display: table;
    margin-left: auto;
    margin-right: auto;
    min-width: 244px;
    color: rgb(13, 13, 70);
    box-shadow: 5px 5px 5px #5d5757;
    -moz-box-shadow: 5px 5px 5px #5d5757;
    -webkit-box-shadow: 5px 5px 5px #5d5757;
}

.weekly_activityDiv, .admin-log-div {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    padding: 10px;
    border: 1px solid black;
    border-radius: 15px;
    margin-top: 15px;
    background: #dde6ef;
    box-shadow: 5px 5px 5px #5d5757;
    -moz-box-shadow: 5px 5px 5px #5d5757;
    -webkit-box-shadow: 5px 5px 5px #5d5757;
}

.weeks_dollarsWrapper {
    background: #dde6ef;
    font-size: 1.1em;
    border: 1px solid rgb(13, 13, 70);
    border-radius: 15px;
    padding: 20px;
    margin-top: 5px; /* Reduce the margin above the wrapper */
    margin-bottom: 5px; /* Reduce the margin below the wrapper */
    display: table;
    margin-left: auto;
    margin-right: auto;
    min-width: 244px;
    color: rgb(13, 13, 70);
    box-shadow: 5px 5px 5px #5d5757;
    -moz-box-shadow: 5px 5px 5px #5d5757;
    -webkit-box-shadow: 5px 5px 5px #5d5757;
}

.weeks_dollarsWrapper h2 {
    margin-top: 5px; /* Reduce the space above the heading */
    margin-bottom: 5px; /* Reduce the space below the heading */
}

.weeks_dollarsWrapper p {
    margin-top: 5px; /* Reduce the space above the paragraph */
    margin-bottom: 5px; /* Reduce the space below the paragraph */
}

.bankWrapper {
    background: #849eb9;
    font-size: 1.1em;
    border: 1px solid rgb(13, 13, 70);
    border-radius: 15px;
    padding: 20px;
    margin-top: 15px;
    margin-bottom: 5px;
    display: flex;
    margin-left: auto;
    margin-right: auto;
    /* min-width: 244px; */
    color: rgb(13, 13, 70);
    max-width: 700px;
    box-shadow: 5px 5px 5px #5d5757;
    -moz-box-shadow: 5px 5px 5px #5d5757;
    -webkit-box-shadow: 5px 5px 5px #5d5757;
}

.cumulative_dollarsWrapper {
    background: #dde6ef;
    font-size: 1.1em;
    font-weight: bold;
    border: 1px solid rgb(13, 13, 70);
    border-radius: 15px;
    padding: 20px;
    margin-top: 15px;
    margin-bottom: 5px;
    /* display: table; */
    margin-left: auto;
    margin-right: auto;
    /* min-width: 244px; */
    color: rgb(13, 13, 70);
    max-width: 33%;
}

.cumulative_dollarsWrapper h2 {
    margin-top: 5px; /* Reduce the space above the heading */
    margin-bottom: 5px; /* Reduce the space below the heading */
    font-size: 1.0em;
}

.cumulative_dollarsWrapper p {
    margin-top: 5px; /* Reduce the space above the paragraph */
    margin-bottom: 5px; /* Reduce the space below the paragraph */
}

.all_time_dollarsWrapper {
    background: #dde6ef;
    font-size: 1.1em;
    font-weight: bold;
    border: 1px solid rgb(13, 13, 70);
    border-radius: 15px;
    padding: 20px;
    margin-top: 15px;
    margin-bottom: 5px;
    /* display: table; */
    margin-left: auto;
    margin-right: auto;
    /* min-width: 244px; */
    color: rgb(13, 13, 70);
    MAX-WIDTH: 33%;
}

.all_time_dollarsWrapper h2 {
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 1em;
}

.all_time_dollarsWrapper p {
    margin-top: 5px;
    margin-bottom: 5px;
}

img.logoimage { 
    height: 100%;
}

.withdrawn_dollarsWrapper {
    background: #dde6ef;
    font-size: 1.1em;
    font-weight: bold;
    border: 1px solid rgb(13, 13, 70);
    border-radius: 15px;
    padding: 20px;
    margin-top: 15px;
    margin-bottom: 5px;
    /* display: table; */
    margin-left: auto;
    margin-right: auto;
    /* min-width: 244px; */
    color: rgb(13, 13, 70);
    MAX-WIDTH: 33%;
}

.withdrawn_dollarsWrapper h2 {
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 1em;
}

.withdrawn_dollarsWrapper p {
    margin-top: 5px;
    margin-bottom: 5px;
}

.countdown-table {
    max-width: 75%;
    margin: 0 auto;
    text-align: center;
    border-collapse: collapse; /* Remove table borders */
    border: none;
    width: 0%;
}

.countdown-table th, .countdown-table td {
    border: none; /* Remove cell borders */
    padding: 3px;
    font-size: 1.1em;
 }

 .activity-table, .admin-log-div table {
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
}

.activity-table th, .activity-table td, .admin-log-div th, .admin-log-div td {
    border: none; /* Remove cell borders */
    padding: 10px;
    text-align: center;
}

/* Placeholder for player name div */
.player-name-div {
    text-align: center;
    font-size: 2em;
}

/* Placeholder for current dollars div */
.current-dollars-div {
    text-align: center;
}

#current_dollars {
    display: block;
    font-size: 2em;
}

.condition-text-wrapper-div {
    text-align: center;
}

.custom_conditionsDiv {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    padding: 10px;
    border: 1px Solid black;
    border-radius: 15px;
    margin-top: 15px;
    background: #dde6ef;
    box-shadow: 5px 5px 5px #5d5757;
    -moz-box-shadow: 5px 5px 5px #5d5757;
    -webkit-box-shadow: 5px 5px 5px #5d5757;
}

.conditions-table {
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
}

.conditions-table th, .conditions-table td {
    border: none; /* Remove cell borders */
    padding: 10px;
    text-align: left;
}

.custom-conditions-div {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    padding: 10px;
    border: 1px solid black;
    border-radius: 15px;
    margin-top: 15px;
    background: #dde6ef;
}

.condition-text {
    text-align: left;
    background-color: #dde6ef;
    padding-top: 20px;
    padding-bottom: 20px;
}
/* Placeholder for narrative description div */
.narrative-description-div {
    text-align: center;
    max-width: 400px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#narrative {
    min-height: 4em;
    overflow: hidden;
    resize: none;
    width: 100%;
    box-sizing: border-box;
    font-size: 1.5em;
    line-height: 1.5em;
    padding: 5px;
}

#narrative, .styled-textarea {
    min-height: 4em;
    overflow: hidden;
    resize: none;
    width: 100%;
    box-sizing: border-box;
    font-size: 1.5em;
    line-height: 1.5em;
    padding: 5px;
    margin-bottom: 10px; /* Adjust margin as needed */
}

.styled-select {
    padding: 10px;
    font-size: 1.2em;
    font-family: Arial, sans-serif;
    border: 1px solid #333;
    border-radius: 5px;
    box-sizing: border-box;
    margin: 10px 0; /* Adjust margin as needed */
}

.cumulative-dollars-div {
    text-align: center;
    font-size: 1.5em;
    margin-bottom: 20px;
}

#cumulative_dollars {
    display: block;
}

/* Placeholder for withdrawal amount div */
.withdrawal-div {
    text-align: center;
    max-width: 400px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}

#withdraw_amount {
    padding: 10px;
    font-size: 1.2em;
    text-align: center;
    max-width: 400px;
}

/* Placeholder for narrative description div */
.narrative-description-div {
    text-align: center;
    max-width: 400px;
    margin: 0 auto 0 auto;
}

#withdraw_narrative {
    width: 100%;
    min-height: 4em;
    padding: 10px;
    font-size: 1.2em;
    box-sizing: border-box;
    resize: none;
}

/* Placeholder for actions div */
.actions-div {
    text-align: center;
}

/* Placeholder for back button div */
.back-button-div {
    text-align: center;
}

.back-button {
    background-color: #ffff00;
    color: black;
    border: solid black 1px;
    margin-top: 20px;
}

.admin-button {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: solid black 1px;
    border-radius: 5px;
    min-width: 115px;
    font-size: 1.2em;
}

.admin-button:hover {
    background-color: #45a049;
}

/* Placeholder for admin log div */
.admin-log-div {
    /* Add your styles here */
}

/* Basic styles for the navigation */
nav {
    padding: 1em;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1em;
}

nav ul li {
    position: relative;
}

nav ul li a {
    text-decoration: none;
    color: #007bff;
}

nav ul li a:hover {
    text-decoration: underline;
}

.logo {
    width: 50%;
    margin: 0 auto;
    display: block;
}

.player-blue #current_dollars {
    font-size: 2em;
    font-weight: bold;
}

/* .player-blue #cumulative_dollars {
    font-size: 2em;
    font-weight: bold;
}
*/
.player-blue {
    color: rgb(13, 13, 70);
}

.player-blue h1 {
    color: rgb(13, 13, 70);
}

/* Styles for the drop-down menu */
.dropdown {
    position: relative;
    display: inline-block;
    margin: 20px 0;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown a:hover {
    background-color: #f1f1f1;
}

.center-text {
    text-align: center;
}

.slide-drawer {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #111;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

.slide-drawer a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: block;
    transition: 0.3s;
}

.slide-drawer a:hover {
    color: #f1f1f1;
}

.slide-drawer .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

.menu-icon {
    font-size: 30px;
    cursor: pointer;
    color: #111;
    padding: 10px;
}

/* Media Queries for Mobile Responsiveness */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 0.5em;
    }

    table, th, td {
        font-size: 1.1em;
        padding: 5px;
    }

    button {
        padding: 10px 20px;
        margin-top: 10px;
        font-size: 1.2em;
        min-width: 195px; /* Increase the minimum width */
    }

    .dropdown-content {
        min-width: 100px;
    }

    .admin-button {
        padding: 2px 2px;
        margin-top: 10px;
        font-size: 1.2em;
        min-width: 95px; /* Increase the minimum width */
    }

    .cumulative_dollarsWrapper {
        padding-top: 20px;
        padding-left: 5px;
        padding-right: 5px;
    }
    
    .all_time_dollarsWrapper {
        padding-top: 20px;
        padding-left: 5px;
        padding-right: 5px;
    }
    
    .withdrawn_dollarsWrapper {
        padding-top: 20px;
        padding-left: 5px;
        padding-right: 5px;
        margin-left: 5px;
        margin-right: 5px;
    }
}

@media (max-width: 480px) {
    body {
        margin: 0.5em;
    }

    .logoWrapper {
        height: 150px;
    }

    nav ul {
        flex-direction: column;
        gap: 0.25em;
    }

    table, th, td {
        font-size: 1em;
        padding: 3px;
    }

    button {
        padding: 15px 30px; /* Increase padding for smaller screens */
        margin-top: 10px;
        font-size: 1.4em; /* Increase font size for smaller screens */
        min-width: 180px; /* Further increase the minimum width */
    }

    .dropdown-content {
        min-width: 80px;
    }

    .admin-button {
        padding: 2px 2px;
        margin-top: 10px;
        font-size: 1.2em;
        min-width: 95px; /* Increase the minimum width */
    }
    .cumulative_dollarsWrapper {
        padding-top: 20px;
        padding-left: 5px;
        padding-right: 5px;
    }
    
    .all_time_dollarsWrapper {
        padding-top: 20px;
        padding-left: 5px;
        padding-right: 5px;
    }
    
    .withdrawn_dollarsWrapper {
        padding-top: 20px;
        padding-left: 5px;
        padding-right: 5px;
        margin-left: 5px;
        margin-right: 5px;
    }
}