body {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif,Arial, sans-serif;
    color: #000;
    margin: 0;
    padding: 0;
    overflow: hidden; /* Prevent double scrolling */
    background-color: #eae6da;
    opacity: 1;
    background-image:  linear-gradient(#f6f2dd 1.8px, transparent 1.8px), linear-gradient(to right, #f6f2dd 1.8px, #fffce9 1.8px);
    background-size: 36px 36px;
}

#form {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;

}

h1 {
    text-align: center;
    margin: 2rem 0;
    font-size: 3rem;
    color: #4CAF50;

}
/* Inputs container */
.inputs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    margin-bottom: 3rem;
    background-color: white;
    padding: 20px 50px;
    margin: 40px;
    border-top: 3px solid #000000;
    border-right: 7px solid #000000;
    border-bottom: 7px solid #000000;
    border-left: 3px solid #000000;
    border-radius: 10px;
}
/* Each input box */
.input-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}
/* Value display (day/month/year) */
.value {
    width: 80px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    user-select: none;
}
/* Buttons */
button {
    border: none;
    background: #4CAF50;
    color: white;
    border-radius: 8px;
    padding: 20px 70px;
    margin-bottom: 20px;
    cursor: pointer;
    font-size: 1.3rem;
}
button:hover {
    background: #45a049;
}
.input-container button {
    background: none;
    color: #000;
    padding: 5px 10px;
}
/* Arrow icons */
.icon {
    height: 30px;
    width: auto;
}
.arrow-up {
    transform: rotate(180deg);
}
#statsContainer {
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

.stat:nth-child(6n+1) {
    background-color: #312ee9;
}

.stat:nth-child(6n+2) {
    background-color: #f43434;
}

.stat:nth-child(6n+3) {
    background-color: #f7df0d;
}

.stat:nth-child(6n+4) {
    background-color: #0ce714;
}

.stat:nth-child(6n+5) {
    background-color: #d61df2;
}

.stat:nth-child(6n+6) {
    background-color: #ef9f2f;
}


/* Each snap section */
.stat {
    color: white;
    border-top: 2.5px solid #000000;
    border-right: 7px solid #000000;
    border-bottom: 7px solid #000000;
    border-left: 2.5px solid #000000;
    border-radius: 10px;
    height: 30vh;
    margin: 60vh 20vw;
    scroll-snap-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.5s ease;
    text-align: center;
    padding: 0 2rem;
}

.stat p {
    margin: 0;
    display: inline;
}


.stat.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll indicator */
.scroll-indicator {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.scroll-indicator.visible {
    opacity: 1;
}

.scroll-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-dot.active {
    background: #000000;
    transform: scale(1.3);
}

.scroll-dot:hover {
    background: #a4a4a4;
    transform: scale(1.2);
}