body {
    background-color: #ffffff !important;
    font-family: Arial, sans-serif;
    align-items: center;
    justify-content: center;
    margin: 0;
}

#form-container {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 300px; /* Adjust the width as needed */
    border: 2px solid #2ecc71; /* Green border */
    text-align: center;
    position: absolute;
    top: 50%; /* Align the top of the container at 50% of the viewport height */
    left: 50%; /* Align the left side of the container at 50% of the viewport width */
    transform: translate(-50%, -50%); /* Center the container using translate */
}

/* Assuming the form container has the ID 'form-container' */

form {
    display: flex;
    flex-direction: column;
}

h2 {
    color: #2ecc71; /* Green color */
    margin-bottom: 20px;
}

label {
    margin-top: 10px;
    color: #333;
    text-align: left;

}

input {
    padding: 8px;
    margin: 5px 0 15px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
    outline: none;
}

input:focus {
    border: 1px solid #ccc;
}

.submitButton {
    background-color: #2ecc71; /* Green color */
    color: #fff;
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
}

button{
    background-color: #19be5f; /* Green color */
    color: #fff;
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
}

button:hover {
    background-color: #27ae60; /* Darker green color on hover */
}

.submitButton:hover {
    background-color: #27ae60; /* Darker green color on hover */
}

.loginText{
    color: #2ecc71;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    margin-top: 10px;
}

.registerText{
    color: #2ecc71;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    margin-top: 10px;
}

.show-password {
    margin-top: 10px;
    color: #333;
    text-align: left;
    cursor: pointer;
    float: right;
}

.errorMessage {
    color: red;
    text-align: center;
    margin-top: 10px;
}

#dashboard {
    text-align: center;
    padding: 20px;
    margin-top: 220px; /* Adjust the margin-top value based on the header height */
    @media(max-width: 768px){
        margin-top: 260px; /* Adjust the margin-top value based on the header height */}
}


h1 {
    margin-bottom: 20px;
}


.profile-box {
    transition: background-color 0.5s, color 0.5s, opacity 0.5s; /* Add transition for background color, color, and opacity */
    box-shadow: #333;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center the content horizontally */
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    text-decoration: none;
    color: #333;
    transition: transform 0.3s ease-in-out;
    background-color: #fff;
    transition: transform 0.3s ease-in-out; /* Add a transition for smooth movement */

}

.loader {
    border: 16px solid #4CAF50; /* Green */
    border-top: 16px solid #f3f3f3; /* Light grey */
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 1s linear infinite;
    display: none; /* Initially hide the loader */
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -40px;
    margin-left: -40px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#loader,
#loginForm,
#registerForm,
#form-container,
#dashboard,
#dropdown-toggle,
#header
{
    display: none;
}

.passwordInput {
  width: 91%;
    float: left;
}



.dashboard {
    width: 90%;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    @media (max-width: 768px) {
        width: 100%; !important;
    }
}


.section {
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.section h2 {
    margin-top: 0;
    color: #fff;
}

.greeting-section {
    background-color: #2ecc71;
    color: #fff;
    padding: 20px;
}

.greeting {
    font-weight: bold;
}

.total-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 20px;
}


.total-card {
    background-color: #33bb7e;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 10px;
    width:49%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    align-items: center;
    height: 125px;
}

.total-card-doge {
    background-color: #E1B303;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 10px;
    width:49%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    height: 125px;
}

.total-card h3 {
    margin-top: 0;
    color: #fff;
    font-weight: bold;
    font-weight: bold;
}

.total-card-doge h3 {
    margin-top: 0;
    color: #fff;
    font-weight: bold;
    font-weight: bold;
}

.transaction-history {
    border-collapse: collapse;
    width: 100%;
}

.transaction-history th,
.transaction-history td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

columnText-doge {
    background-color: #ffffff; !important;
    color: #000000;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .total-card {
        width: 100%;
    }
    .total-card-doge {
        width: 100%;
    }
}

#transaction-history {
    max-height: 400px; /* Adjust the max height based on your design */
    overflow-y: auto; /* Enable vertical scrolling */
    touch-action: pan-y;
}

p{
    color: #262626;
    font-weight: bold;
    text-align: center;
    margin-top: 10px;
}

td{
    color: rgba(38, 38, 38, 0.8);
    font-weight: bold;
    text-align: center;
    margin-top: 10px;
}

h3{
    color: #262626;
    font-weight: bold;
    text-align: center;
    margin-top: 10px;
}

.show-more{
    margin-top: 10px;
}
.show-more-doge{
    margin-top: 10px;
    background-color: #c29b08;
}

.show-more-doge:hover{
    background-color: #bb9407;
}

.logout-button-doge{
    margin-top: 10px;
    background-color: #c29b08;
}

.logout-button-doge:hover{
    background-color: #bb9407;
}



@media (max-width: 768px) {
    #form-container,
    #dashboard {
        width: 90%;
    }

    #dashboard {
        width: 100%;
    }

    #form-container {
        padding: 10px;
    }

    #dashboard {
        padding: 10px;
    }

    .total-card {
        width: 100%;
    }

    .section {
        padding: 10px;
        margin-bottom: 10px;
    }

    .transaction-history th,
    .transaction-history td {
        padding: 8px;
    }

    #transaction-history {
        max-height: 300px; /* Adjust the max height based on your design */
        width: 100%;
    }
}

@keyframes moveBackground {
    from {
        background-position: 0 45%;
    }
    to {
        background-position: 100% 45%;
    }
}

/* Media query for mobile devices */

@media only screen and (max-width: 800px) {
    @keyframes moveBackground {
        from {
            background-position: 0 45%;
        }
        to {
            background-position: 150000% 45%;
        }
    }
}

header {
    position: fixed; /* Change from sticky to fixed */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99999;
    text-align: center;
    text-shadow: #333;
    background-size: 20%;
    background-repeat: repeat-x;
    color: #fff;
    background-image: url(https://static.vecteezy.com/system/resources/previews/009/665/394/original/green-money-banknote-cartoon-file-png.png);
    padding: 60px;
    animation: moveBackground 40s linear infinite;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 20%; /* Make the background image smaller */
    opacity: 0.7; /* Adjust the opacity of the background image */
    z-index: -1; /* Place it behind the content */
    animation: moveBackground 40s linear infinite; /* Increase animation duration for slower movement */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 1); /* Add a shadow */
}



/* Media query for mobile devices */

@media only screen and (max-width: 800px) {

    header {
        background-size: 70%; /* Adjust the background size for mobile devices */
        padding: 32px; /* Adjust the padding for mobile devices */
        animation: moveBackground 1500s linear infinite; /* Adjust animation duration for mobile devices */
    }

    header::before {
        background-size: 70%;
        /* increase speed */
        animation: moveBackground 1500s linear infinite;
    }
}

@media only screen and (min-width: 801px) {
    header {
        background-size: 50%; /* Adjust the background size for mobile devices */
        padding: 32px; /* Adjust the padding for mobile devices */
        animation: moveBackground 15s linear infinite; /* Adjust animation duration for mobile devices */
    }

    header::before {
        background-size: 40%;
        /* increase speed */
        animation: moveBackground 15s linear infinite;
    }
}
@media only screen and (min-width: 1200px) {
    header {
        background-size: 30%; /* Adjust the background size for mobile devices */
        padding: 32px; /* Adjust the padding for mobile devices */
        animation: moveBackground 15s linear infinite; /* Adjust animation duration for mobile devices */
    }

    header::before {
        background-size: 40%;
        /* increase speed */
        animation: moveBackground 15s linear infinite;
    }
}
@media only screen and (min-width: 1500px) {
    header {
        background-size: 20%; /* Adjust the background size for mobile devices */
        padding: 32px; /* Adjust the padding for mobile devices */
        animation: moveBackground 45s linear infinite; /* Adjust animation duration for mobile devices */
    }

    header::before {
        background-size: 20%;
        /* increase speed */
        animation: moveBackground 45s linear infinite;
    }
}

header h1 {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    font-size: 36px;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: bold;
    text-outline: 10px #00cc00 ;
    text-decoration: none; /* Remove the underline */
    cursor: pointer;
    margin-top: -17px;
    transition: color 0.4s ease;
    display: inline;
}
header h1:hover {
    color: #151515;
}


header #change-currency-button {
    background-color: #0a53c2;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

header #sell-mode-button.active {
    background-color: #d40a0a;
}

.profileHeader {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-top: 30px;
    color: #fff;
    font-weight: bold;
}


.dropdown-menu a {
!important color: rgba(0, 0, 0, 0.84); /* Set the text color of dropdown items */
}

.dropdown {
    position: relative;
    display: inline-block;
    z-index: 999999; !important;
}

.dropdown button {
    width: 80px;
    outline: none;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 10, 0, 0.38);
}

.currency-container .dropdown-menu {
    display: none;
    position: absolute;
    background-color: #fff;
    z-index: 1;
    top: 100%; /* Position the dropdown menu below the button */
}

.currency-container .dropdown:hover .dropdown-menu {
    display: block;
}

.currency-container .dropdown-menu a {
    color: #333;
    padding: 8px 16px;
    display: block;
    font-size: 15px;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    cursor: pointer;
}

.currency-container {
    position: fixed!important;
    top: 20px;
    @media (min-width: 1851px) {
        right: calc(calc((100% - 1800px)/2) + 0px);
    }
    @media (max-width: 1850px) {
        right: calc(calc((100% - 1500px)/2) + 40px);
    }
    @media (max-width: 1550px) {
        right: calc(calc((100% - 1200px)/2) + 75px);
    }
    @media (max-width: 1250px) {
        right: calc(calc((100% - 900px)/2) + 100px);
    }
    @media (max-width: 660px) {
        right: calc(calc((100% - 500px)/2) + 75px);
    }
}

.fa-house:hover {
    transform: scale(1.2);
}

.fa-house {
    text-decoration: none;
    cursor: pointer;
    position: fixed;
    transition: transform 0.3s ease-in-out;
    top: 20px;
    z-index: 9999;
    font-size: 25px; !important;
    color: #000000;
    margin-top: 4px;
    @media ( min-width: 1851px) {
        right: calc(calc((100% - 1800px)/2) + 100px);
    }
    @media(max-width: 1850px){
        right: calc(calc((100% - 1500px)/2) + 140px);
    }
    @media(max-width: 1550px){
        right: calc(calc((100% - 1200px)/2) + 175px);
    }
    @media(max-width: 1250px){
        right: calc(calc((100% - 900px)/2) + 205px);
    }
    @media(max-width: 660px){
        right: calc(calc((100% - 500px)/2) + 175px);
        right: calc(calc((100% - 500px)/2) + 175px);
    }
}
.main {
    max-width: 1600px; /* Adjust this value to your desired width */
    margin: 0 auto; /* This centers the main horizontally */
}


.show-more{
    border-radius: 10px; !important;
}

a{
    text-decoration: none; !important;
}

.logout{
    border-radius: 10px;
}

.footer{
    margin-top: 10px;
    opacity: 90%;
    bottom: 0;
    left: 0;
    text-align: center;
    padding: 10px;
    font-size: 14px;
    font-weight: bold;
    display: block;
    font-family: Arial, Helvetica, sans-serif;
}
.about{
    margin-top: -10px !important;
    margin-bottom: -100px !important;
    cursor: pointer;
    display: block !important;
    font-size: 15px;
}

.aboutText {
    line-height: 1.6 !important;
    color: #333 !important;
    text-align: justify;
    font-family: Arial, Helvetica, sans-serif;
    padding: 10px;
    font-size: 14px;
    font-weight: bold;
}

body.modal-open {
    overflow: hidden;
}

.modal-body p {
    text-transform: none;
}

.modal {
    display: none;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    margin-bottom: 100px;
}

.modal-content {
    background-color: #fff;
    margin: auto; /* Center the modal horizontally */
    margin-top: 15%; /* Adjust the top margin for vertical centering */
    padding: 20px;
    border: 1px solid #888;
    width: 60%;
    max-width: 600px;
    position: relative;
    border-radius: 5px;
}

.modal-dialog{
    margin-top: 15%;
}
modal-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.close {
    width: 15px;
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    background: none;
    color: inherit;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    outline: inherit;
}

.close:hover,
.close:focus {
    background-color: #ffffff;
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Progress bar styles */
.progress-bar {
    width: 100%;
    background-color: #f0f0f0;
    border-radius: 5px;
    margin-top: 10px;
    height: 20px;
}

/* Progress bar styles */
.progress-bar {
    width: 100%;
    background-color: #f0f0f0;
    border-radius: 5px;
    margin-top: 10px;
    height: 20px;
}

.progress-bar-fill {
    background-color: #1ea222;
    height: 25%;
    border-radius: 5px;
    text-align: center;
    line-height: 20px;
    color: white;
    font-weight: bold;
    transition: width 0.5s ease;
    width: 0%; /* Initial width is set to 0 */
    margin-top: -30px;
}

.progress-bar-fill-doge{
    background-color: #a88d26;
    height: 25%;
    border-radius: 5px;
    text-align: center;
    line-height: 20px;
    color: white;
    font-weight: bold;
    transition: width 0.5s ease;
    width: 0%; /* Initial width is set to 0 */
    margin-top: -30px;
}

/* Level display styles */
#current-level {
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
}

.btn-doge {
    background-color: #a88d26;
    color: #fff;
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
}

.fa-circle-info{
    color: #000000 !important;
    font-size: 22px;
}
