*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    user-select: none;
}
img{
    user-select: none !important;
    pointer-events: none !important;
}
#fixScroll{
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    &::-webkit-scrollbar {
        display: none;
    }
}
body{
    padding: 1rem;
    height: 100vh;
   justify-content: space-between;
   align-items: center;
   overflow: hidden;
   font-family: 'Grandstander', cursive;
   font-optical-sizing: auto;
   font-weight: 400;
   font-style: normal;
   background-color: white;
}
main{
    height: 100%;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    &::-webkit-scrollbar {
        display: none;
    }
    padding: 1rem;
}
.container{
    max-width: 480px;
    width: 100%;
    /* overflow-y: auto; */
}
.vStack{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.hStack{
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}
.vStackGrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
  }
  
  .hStackGrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
  }
button{
    position: relative;
    padding: 1rem;
    border-radius: 1rem 2rem;
    background: linear-gradient(to bottom, #00852b, #00661f);
    color: white;
    border: none;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.2s ease-in-out;
    width: 100%;
    &:disabled{
        background: linear-gradient(to bottom, #666666, #444444);
        cursor: not-allowed;
        transform: scale(0.95);
        opacity: 0.7;
    }
    &:hover:not(:disabled){
        transform: scale(1.05);
        background: linear-gradient(to bottom, #00852b, #00661f);
    }
}
.cooldown {
    position: absolute;
    left: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.7);
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
}
header{
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 1rem;
}
#gameOver{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    z-index: 9999999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
}

.progress{
    width: 100%;
    height: 1rem;
    background-color: #ccc;
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.progressBar{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-color: #ffe100;
    transition: width .5s ease-in-out;
}
.progressIcon{
    z-index: 1000;
}
footer{
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 1rem;
    position: sticky;
    bottom: 0;
    background-color: white;
    z-index: 1000;
    padding: 1rem;
}
#coinFlip{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    .timer{
        width: 100%;
        height: 1rem;
        background-color: #ccc;
        border-radius: 1rem;
        overflow: hidden;
        .timerBar{
            height: 100%;
            background-color: red;
        }
    }
    button{
        width: 100%;
    }
}
.jumpscareText{
    animation: jumpscare .3s ease infinite;
}
@keyframes jumpscare{
    0%{
        transform: scale(1);
        color: white;
    }
    50%{
        transform: scale(1.5);
        color: red;
    }
}

.square{
    width: 48px;
    height: 48px;
    background-color: #000;
    border-radius: .5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.2s ease-in-out;
}

.square:hover {
    transform: scale(1.1);
    background-color: #333;
}

.square.revealed {
    background-color: transparent;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: black;
    cursor: default;
}

.square.revealed:hover {
    transform: none;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;

    &.white{
        background-color: white;
        color: black;
    }
}

.job-listing {
    background-color: #f5f5f5;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
}

.job-listing.active {
    background-color: #e3f2fd;
    border-color: #2196f3;
}

.job-listing.cooling-down {
    background-color: #ffebee;
    border-color: #f44336;
    opacity: 0.7;
}

.job-listing h4 {
    margin: 0 0 0.5rem 0;
    color: #333;
}

.job-listing p {
    margin: 0.25rem 0;
    color: #666;
}

.job-listing button {
    margin-top: 0.5rem;
}

.job-listing button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Current job section styles */
.section {
    background-color: white;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.section h3 {
    margin: 0 0 1rem 0;
    color: #333;
    border-bottom: 2px solid #eee;
    padding-bottom: 0.5rem;
}

.location-nav {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    margin-bottom: 1rem;
    background: white;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-scroll {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.5rem;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.nav-scroll::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.nav-scroll button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 1rem;
    border: none;
    background: none;
    color: #666;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    border-radius: 0.5rem;
}

.nav-scroll button:hover {
    background: rgba(0, 0, 0, 0.05);
}

.nav-scroll button.active {
    color: #000;
    background: rgba(0, 0, 0, 0.1);
}

.nav-scroll button i {
    font-size: 1.2rem;
}

.nav-scroll button span {
    font-size: 0.8rem;
    font-weight: 500;
}
#buyMeACoffee{
    grid-column: span 2;
    background: #72a4f2 !important;
    font-size: .75rem;
    a{
        text-decoration: none;
        color: inherit;
        
    }
}