@keyframes glow {
    from {
      text-shadow: 0 0 20px aqua
    }
    to {
      text-shadow: 0 0 20px lime
    }
}

@keyframes red-green {
    0% {
        border: rgb(92, 0, 0) 2px solid;
    }
    100% {
        border: darkgreen 2px solid;
    }
}

@keyframes green-red {
    0% {
        border: darkgreen 2px solid;
    }
    100% {
        border: rgb(92, 0, 0) 2px solid;
    }
}

@keyframes reset {
    100% {
        border-color: white;
        background-color: rgba(255, 0, 0, 0.658);
    }
}

@keyframes reset-fade {
    0% {
        border-color: white;
        background-color: rgba(255, 0, 0, 0.658);
    }
    100% {
        border-color: rgba(255, 17, 0, 0.788);
        background-color: transparent;
    }
}

@keyframes gradientShiftLeft {
    0% {
      background-position: 200% 50%;
    }
    100% {
      background-position: 0% 50%;
    }
  }


body, html {
    -webkit-user-select: none;
    user-select: none;
    overflow: visible;
  }

  .dynamic-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #080808;
    z-index: -1;
}

.Index {
    border-style: solid;
    background-color: #141414e3;
    color: white;
    margin-top: 10px;
    margin-left: 20px;
    height: 30px;
    width: 100px;
    border-color: #2b2b2be3;
    border-radius: 5px;
    cursor: pointer;
    transition: scale 0.5s ease;
}
.Index:hover {
    scale: 1.05;
}

.index-container {
    position: absolute;
}

.indexText {
    background-color: rgba(0, 0, 0, 0.4);
    text-align: center;
    font-size: 14.5px;
    display: none;
    color: white;
    margin: 5px;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    overflow-y: none;
    scrollbar-width: 5px;
}


.indexElement {
    padding: 1.5px;
    padding-right: 10px;
    border-right: 1px dashed lightgray;
}

.indexElement:last-child {
    padding-left: 10px;
    border-right: none;
}

.indexElement:hover {
    color: lightblue;
}

.ClickerTitle {
    z-index: 100;
    text-align: center;
    color: whitesmoke;
    animation: glow 2s ease-in-out infinite alternate;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.ClickerTitle:hover {
    user-select: all;
    cursor: pointer;
}

.container3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5px;
    background-color: #141414e3;
    border-radius: 20px;
    max-width: 350px;
    margin-top: 1%;
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
}

.balance, .mpc, .mps, .playtime {
    color: white;
    padding: 8px;
    text-align: center;
    font-size: 130%;
    border-radius: 15px;
    background-color: #2c2c2c;
    margin: 10px 0;
    width: 90%;
    max-width: 400px;
    transition: transform 0.2s ease-in-out;
}

.balance:hover, .mpc:hover, .mps:hover, .playtime:hover {
    transform: scale(1.01);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

.container4 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 15px;
    background-color: #141414e3;
    border-radius: 20px;
    max-width: 70%;
    margin-left: auto;
    margin-right: auto;
}

.Button1, .Button2, .Button3 {
  color: white;
  padding: 12px;
  text-align: center;
  font-size: 16px;
  border-radius: 50%;
  background-color: #252525;
  transition: transform 0.2s ease-in-out;
  transition: border 0.2s ease-in-out;
  margin: auto;
  max-width: 130px; 
  max-height: 130px;
  width: 100%;
  aspect-ratio: 1 / 1; 
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.Button1:hover, .Button2:hover, .Button3:hover {
    transform: scale(1.02);
}

.Button1 {
    max-width: 160px; 
    max-height: 160px;
    background-color: #00385e;
    border: 3px solid #001e31;
    box-shadow: 0 0 15px #001e31;
    transition: transform 0.1s ease-in-out;
    margin: auto;
  }

.Button1:active, .Button2:active, .Button3:active {
    transform: skew(0.5deg);
}

.ResetButton {
    opacity: 0.8;
    font-size: 16px;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.91);
    width: 60%;
    max-width: 250px;
    height: 100%;
    padding: 1%;
    display: flex;
    margin: 0 auto;
    justify-content: center;
    border-color: rgba(255, 17, 0, 0.788);
    background: transparent;
    border-style: dashed;
    border-radius: 10px;
    transition: reset-fade 0.5s ease;
    transition: transform 0.5s ease;
    cursor: pointer;
}

.ResetButton:hover {
   animation: reset 0.5s forwards alternate;
   opacity: 1;
   transform: scale(1.05);
}

.ResetButton:not(:hover) {
   animation: reset-fade 0.5s forwards;
}

.database, .calculator, .privacy, .manager {
    margin-bottom: 5px;
    width: 80%;
    height: 40px;
    border: solid lightgray;
    border-radius: 20px;
    border-width: 2px;
    color: whitesmoke;
    background: transparent;
    transition: scale 0.5s ease;
    white-space: nowrap;
    cursor: pointer;
}

.database:hover, .calculator:hover, .privacy:hover, .manager:hover {
    scale: 1.05;
    
}

.container {
    display: flex;
    position: sticky;
    top: 0;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
    background-color: rgba(24, 24, 24, 0.836);
    border-radius: 15px;
    margin-bottom: 10px;
    padding: 10px;
}

.container2 {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-grow: 1;
    z-index: 1;
}

.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: black;
    padding: 3.5%;
    border: 1px solid rgb(0, 71, 71);
    border-radius: 5px;
    flex-direction: column;
    align-items: center;
    z-index: 10;
  }

  .popup-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px;
    border: 1px solid #141414;
    border-radius: 10px;
    background-color: #0a0a0a;
    min-width: 430px;
  }
  
  .PopupText {
    font-size: 20px;
    color: rgb(255, 207, 207);
    white-space: nowrap;
  }
  
  .PopupButton, .PopupButton2 {
    margin: 0 20px;
    padding: 20px 60px;
    background-color: #ff000069;
    color: white;
    border: none;
    border-radius: 7px;
    font-size: 15px;
    cursor: pointer;
    transition: transform 0.5s ease, background-color 0.5s ease;
  }
  
  .PopupButton:hover, .PopupButton2:hover {
    transform: scale(1.05);
  }

  .PopupButton2:hover {
    background-color: red;
  }

  .warning {
    width: 25%;
    height: 50%;
    display: flex;
    margin: auto;
  }

  .overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 9;
}

.coloricon {
    height: 50px;
    width: 50px;
    z-index: inherit;
    filter: invert(1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.coloricon:hover {
    transform: scale(1.15);
}

.google-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    background-color: #3b3b3b;
    border: 1px solid #2e2e2e;
    border-radius: 10px;
    color: #333333;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.5s ease;
}

.google-btn img {
    width: 30px;
    margin-right: 10px;
}

.login-text {
    color: white;
}

.google-btn:hover {
    background: #505050
}

.pfpInfo {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 70px;
  background-color: rgb(0, 0, 0);
  border: 1px solid rgb(0, 71, 71);
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  z-index: 100;
  max-width: 300px;
  width: 100%;
}

.signout {
  margin-top: 10px;
  background-color: transparent;
  border: 2px solid darkcyan;
  border-radius: 10px;
  padding: 10px 20px;
  color: white;
  cursor: pointer;
  transition: transform 0.5s ease;
}

.signout:hover {
  transform: scale(1.05);
}

.username {
  font-size: 20px;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  color: white;
}

.toast {
  position: fixed;
  top: 95px;
  right: 10px;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  display: none;
  z-index: 1;
  transition: opacity 0.5s ease-in-out, display 0.5s ease-in-out;
}

.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  z-index: 9999;
  opacity: 1;
  transition: opacity 1s ease;
}

.pfp {
    display: none;
    border-radius: 50%;
    border: 3px rgba(24, 24, 24, 0.836) solid;
    width: 47px;
    margin-left: auto;
    cursor: pointer;
}

  .pfp:hover {
    border: 3px solid rgb(61, 61, 61);
  }

  .language-select {
    border-color: white;
    color: white;
    border-radius: 10px;
    background-color: transparent;
    padding: 8px;
    padding-right: 5px;
    white-space: nowrap;
  }
  
  option:nth-child(1), option:nth-child(2), option:nth-child(3) {
    background-color: black;
  }

  .overlay2 {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 9;
}

.verified-check {
    display: inline-flex;
    width: 20px;
    height: 20px;
    margin-left: 5px;
    background-image: url('https://cdn-icons-png.flaticon.com/128/7641/7641727.png');
    background-size: cover;
    background-position: center;
    position: relative;
}

.tooltip {
    font-family: normal;
    visibility: hidden;
    width: 130px;
    background-color: #444444;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 4px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -65px;
    opacity: 0;
    transition: opacity 0.5s;
}

.tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.verified-check:hover .tooltip {
    visibility: visible;
    opacity: 1;
}

.username-container {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
  }

  .userinfo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    border: 1px solid #141414;
    border-radius: 10px;
    background-color: #0a0a0a;
    max-width: 300px;
    margin: auto;
  }

.pfp2 {
    border-radius: 50px;
    width: 50%;
    height: 50%;
}

.created, .email {
    color: white;
}

.hidden-email {
    color: #b1b1b1;
    transition: color 0.5s ease;
    cursor: pointer;
}

.hidden-email:hover {
    color: white;
}

.revealed-email {
    color: white;
    cursor: pointer;
    user-select: text;
    transition: color 0.5s ease;
}

.menu-icon {
    z-index: 5;
    font-size: 30px;
    cursor: pointer;
    position: flex;
    margin-left: 10px;
    color: white;
    transition: transform 0.3s ease;
}

.menu-icon:hover {
    transform: scale(1.15);
}

.menu-title, .menu-language, .menu-appearance, .menu-privacy, .menu-developer {
    font-size: 20px;
    color: white;
    white-space: nowrap;
}

.developer-container {
  display: inline-flex;
  align-items: center;
}

.developer {
  font-size: 16px;
  font-weight: bold;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  white-space: nowrap;
  background: linear-gradient(to right, orange, red, orange, yellow, orange);
  background-size: 200% 200%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  animation: gradientShiftLeft 5s infinite linear;
}

.menu-verified {
  width: 20px;
  height: 20px;
  margin-left: 5px;
  background-image: url('https://cdn-icons-png.flaticon.com/128/7641/7641727.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
}  

.menu-tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.menu-verified .menu-tooltip {
    font-family: normal;
    font-weight: normal;
    visibility: hidden;
    width: 135px;
    background-color: #444444;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 4px;
    position: absolute;
    z-index: 1002;
    bottom: 125%;
    left: 50%;
    margin-left: -72px;
    opacity: 0;
    transition: opacity 0.5s;
}

.menu-verified:hover .menu-tooltip {
  visibility: visible;
  opacity: 1;
}

.sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1001;
    top: 0;
    left: 0;
    background-color: #111;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 50px;
}

.sidebar::-webkit-scrollbar, body::-webkit-scrollbar{
    width: 8px;
}

.sidebar::-webkit-scrollbar-track {
    background: rgba(128, 128, 128, 0.2);
}

.sidebar::-webkit-scrollbar-thumb{
    background: rgba(111, 111, 111, 0.5);
    border-radius: 4px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(70, 70, 70, 0.7);
    transition: background 0.3s ease;
}

.sidebar a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: block;
    transition: 0.3s;
}

.sidebar a:hover {
    color: #f1f1f1;
}

.sidebar .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

.closebtn {
    cursor: pointer;
    transition: scale 0.5s ease;
}

.closebtn:hover {
    scale: 1.05;
}

.menu-section {
    background-color: #1a1a1a;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 15px;
    margin-left: 10%;
    margin-right: 10%;
    margin-bottom: 10px;
}