.menu{
    background-color: rgb(40, 40, 40);

    display: flex;
    overflow: hidden;
    position: fixed;
    width: 100%;
}
.menu span{
    flex-grow: 1;
    text-align: center;
}
.menu button{
    background-color: rgb(35, 35, 35);
    color: rgb(200, 200, 200);
    text-align: center;
    padding: 14px 16px;
    font-size: 18px;
    border: 0px;
    cursor: pointer;
}
.menu button:hover{
    background-color: rgb(50, 50, 50);
}
.menu img{
    background-color: rgb(35, 35, 35);
    text-align: center;
    padding: 10px;
    width: 29px;
    font-size: 18px;
    border: 0px;
    cursor: pointer;
}
.menu img:hover{
    background-color: rgb(50, 50, 50);
}
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
.loading{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.loading p{
    font-size: 24px;
    margin: 10px;
}
.loading_container{
    margin: 0;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    font-family: Arial, sans-serif;
}
.login{
    position: fixed;
    display: flex;
    align-items: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 25px;
    font-size: 25px;
}
.darkmode .login{
    background-color: rgb(50, 50, 50);
}
.lightmode .login{
    background-color: rgb(200, 200, 200);
}
.login form{
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 10px 20px;
}
.login .title{
    padding-bottom: 10px;
}
.login input{
    margin: 10px;
    height: 34px;
    width: 180px;
    border-radius: 17px;
    border: none;
    padding-left: 20px;
    font-size: 18px;
}
.darkmode .login input{
    background-color: rgb(75, 75, 75);
    color: white;
}
.lightmode .login input{
    background-color: rgb(240, 240, 240);
}
.darkmode .login input::placeholder{
    color: rgb(200, 200, 200);
}
/* WebKit-based browsers (Chrome, Safari) */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type="number"]::-moz-number-spin-box {
  -moz-appearance: textfield;
}
.login button{
    border: none;
    border-radius: 20px;
    width: 200px;
    height: 40px;
    margin: 10px;
    font-size: 20px;
}
.darkmode .login button{
    background-color: gray;
    color: white;
}
.darkmode{
    background-color: rgb(25, 25, 25);
    color: white;

    margin: 0px;
    overflow: hidden;
}
.lightmode{
    background-color: white;
    color: black;

    margin: 0px;
    overflow: hidden;
}
.darkmode .loading-icon{
    width: 60px;
    height: 60px;
    border: 5px solid rgb(50, 50, 50);
    border-radius: 50%;
    border-top-color: rgb(200, 200, 200);
    animation: spin 2s linear infinite;
}
.lightmode .loading-icon{
    width: 60px;
    height: 60px;
    border: 5px solid rgb(200, 200, 200);
    border-radius: 50%;
    border-top-color: rgb(50, 50, 50);
    animation: spin 2s linear infinite;
}
.errormessage {
    position: fixed;
    left: 50%;
    bottom: 0px;
    transform: translate(-50%, 100%);
    background-color: red;
    color: white;
    text-align: center;
    transition: bottom 0.5s ease-in-out;
    padding: 10px 20px;
    border-radius: 20px;
  }
.dashboard{
    position: fixed;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 25px;
}
.dashboard .element{
    border-radius: 25px;
    padding: 10px;
    margin: 10px 0px;
    width: 100%;
    border: none;
    transition: all 0.5s ease;
}
.dashboard .element .inter{
    padding: 20px;
    font-size: 18px;
}
.dashboard .element button{
    border: none;
    border-radius: 20px;
    height: 40px;
    margin: 10px;
    font-size: 20px;
}
.darkmode .dashboard .element .clickableButton{
    background-color: gray;
    color: white;
}
.dashboard .group{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
}
.dashboard .title{
	text-align: center;
    font-size: 18px;
    padding-left: 10px;
    width: 250px;
}
.dashboard .balance{
    font-family: Orbitron;
    text-align: center;
    margin: 5px;
    font-size: 50px;
}
.darkmode .dashboard button{
    color: white;
}
.dashboard span{
    margin: 10px;
}
.darkmode .dashboard .element{
    background-color: rgb(50, 50, 50);
}
.lightmode .dashboard .element{
    background-color: rgb(200, 200, 200);
}
button {
    cursor: pointer;
}
.tooltip {
    position: relative;
    display: inline-block;
  }
  
  .tooltip .tooltiptext {
    visibility: hidden;
    font-size: 15px;
    width: 100px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 60%;
    left: 50%;
    margin-left: -75px;
    opacity: 0;
    transition: opacity 0.3s;
  }
  
  .tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
  }
  
  .tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
  }
