body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    background-color: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

#main-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px;
    width: 100%;
    height: 100%;
    justify-content: center;
    position: relative;
}

#cucumber {
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    width: 200px;
    margin-bottom: 32px;
    position: relative;
    z-index: 10;
}

#cucumber:active {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

#message {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 24px;
    opacity: 0;
    transition: opacity 0.3s;
    margin-bottom: 16px;
    text-transform: uppercase;
    color: #333;
}

.counter {
    text-align: center;
    display: none;
    position: absolute;
   /* top: 65%; /* Adjusted to align with the countdown bar */
    bottom: 13%;
    width: 100%;
    z-index: 5;
}

.counter.hide {
    transform: scale(0);
    animation: hide .2s ease-out;
}

@keyframes hide {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(0);
    }
}

.nums {
    color: #4CAF50; /* Verde cetriolo */
    position: relative;
    font-size: calc(60px / 1.618); /* Font ridotto secondo la sezione aurea */
    font-weight: bold; /* Font bold */
    overflow: hidden;
    width: 100%;
    height: calc(60px / 1.618); /* Height reduced accordingly */
    display: flex;
    justify-content: center;
    align-items: center;
}

.nums span {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(120deg);
    transform-origin: bottom center;
}

.nums span.in {
    transform: translate(-50%, -50%) rotate(0deg);
    animation: goIn .5s ease-in-out;
}

.nums span.out {
    animation: goOut .5s ease-in-out;
}

@keyframes goIn {
    0% {
        transform: translate(-50%, -50%) rotate(120deg);
    }
    30% {
        transform: translate(-50%, -50%) rotate(-20deg);
    }

    60% {
        transform: translate(-50%, -50%) rotate(10deg);
    }

    90%, 100% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
}

@keyframes goOut {
    0%, 30% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    60% {
        transform: translate(-50%, -50%) rotate(20deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(-120deg);
    }
}

.countdown-bar {
    width: 50%;
    height: 10px;
    background-color: #ddd;
    border-radius: 5px;
    overflow: hidden;
    margin-top: 100px; /* Adjusted to position below the numbers */
    position: absolute;
   /* top: 70%; */
    bottom: 9%;
    z-index: 5;
    display: none; /* Nascondi la barra inizialmente */
}

.countdown-fill {
    height: 100%;
    background: linear-gradient(to right, #4CAF50, #81C784);
    width: 100%;
    border-radius: 5px;
    transition: width 1s linear;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    letter-spacing: 1px;
}

footer I {
    /* color: red; */
  color: #4CAF50; /*verde cetriolo*/
}

footer a {
    /*color: #3C97BF;*/
    color: #4CAF50; /* verde cetriolo*/
    text-decoration: none;
}

#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  display: none; /* Inizialmente nascosto */
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 9999;
  text-align: center;
}

#click-icon {
  font-size: 50px;
  color: #fff;
}

#overlay p {
  font-size: 20px;
  color: #fff;
  font-family: 'Roboto', sans-serif;
}

#click-counter {
  position: fixed;
  top: 10px;
  right: 10px;
  background-color: #fff;
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  z-index: 10000;
  display: none; /* Inizialmente nascosto */
  animation: slideDown 0.5s forwards;
}

#bottom-right-counter {
  position: fixed;
  bottom: 10px;
  right: 10px;
background-color: #fff;
padding: 5px;
border-radius: 3px;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
font-family: ‘Roboto’, sans-serif;
font-size: 12px;
z-index: 10000;
opacity: 0.7;
}

#version-number {
position: fixed;
bottom: 0.9rem;
right: 2.3rem;
font-size: 0.7rem;
font-family: ‘Roboto’, sans-serif;
color: #333;
opacity: 0.3;
z-index: 10000;
}
#version-number a {
    /*color: #3C97BF;*/
    color: #4CAF50; /* verde cetriolo*/
    text-decoration: none;
}