body{
    background-color: black;
    background-image: url("images/Banana_Trees.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    position: relative;
    /* background: red; */
    user-select: none;
}
.plus{
    width: 10px;
    height: auto;
    cursor: pointer;
    background-color: transparent;
    border: #4CAF50;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    font-size: 90px;
    color: #4CAF50;
    margin-top: 15rem;
    font-weight: bold;
    position: relative;
    overflow: visible;
}
.plus.pulse{
    animation: pulse 0.2s ease;
}
.count{
  color: rgb(252, 248, 248);
  font-size: 30px;
  font-family: sans-serif;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background-color: #4CAF50;
  padding: 10px 20px;
  margin-left: auto;
  margin-right: auto;
  width: auto;
  height: auto;
  transition: width 0.2s, height 0.2s;
}
.main-button{
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: visible;
}
/* animation frames start */
@keyframes pulse{
    0%{
        transform: scale(1);
    }
    50%{
        transform: scale(1.3);
    }
    100%{
        transform: scale(1);
    }
}

@keyframes clickFloat{
    0%{
        transform: translate(-50%, -50%);
        opacity: 1;
        filter: hue-rotate(0deg);
    }
    100%{
        transform: translate(-50%, -100%);
        opacity: 0;
    }
}

@keyframes fall {
    from{
        top: -150px;
    }
    to{
        top: 100vh;
    }
}

@keyframes floatUp{
    from{
        opacity: 1;
        transform: translateY(0);
    }
    to{
        opacity: 0;
        transform: translateY(-40px);
    }
}
/*animation frames end */

/* effects*/
.float{
    position: absolute;
    top: 50%;
    left: 500%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    user-select: none;
    white-space: nowrap;
    color: white;
    font-weight: bold;
    font-size: 20px;
}

.clickFloat{
    animation: clickFloat 0.2s ease forwards;
}
.pulse{
    animation: pulse 0.2s ease;
}
.counter{
    display: flex;
    justify-content: center;
}
.powers{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}
.double{
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    font-size: 18;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    min-width: 220px;
}
.double:hover:not(:disabled){
    background-color: #45a049;
}
.double:disabled{
    background-color: #888;
    cursor: not-allowed;
}
.cost{
    font-size: 14px;
    color: #ddd;
    margin-left: 8px;
}
.dev{
    position: fixed;
    bottom: 10px;
    right: 10px;
    opacity: 0.1;
    font-size: 12px;
    z-index: 1000;
}
.auto{
     display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}
.autobanana{
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    font-size: 18;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    min-width: 220px;
}
.autobanana:hover:not(:disabled){
    background-color: #45a049;
}
.autobanana:disabled{
    background-color: #888;
    cursor: not-allowed;
}
.banana-button{
    position: relative;
    overflow: visible;
}
.randombanana{
    position: absolute;
    top: -150px;
    font-size: 32px;
    display: inline-block;
    /* animation: fall 3s linear forwards; */
    pointer-events: auto;
    z-index: 10;
    user-select: none;
}
.float_text{
    position: absolute;
    color: white;
    font-size: 20px;
    font-weight: bold;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
    transform: translate(-50%, -50%);
    z-index: 999;
}
