body {
    margin: 0;
    height: 100vh;
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden; /* Disable scrolling initially */
}

.image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Allow clicks to pass through */
    z-index: 0;
}

.image {
    position: absolute;
    width: 50px;
    height: auto;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
    color: white;
    text-align: center;
    padding: 20px;
    text-shadow: white 1px 0 50px;
    position: relative;
    left:45%;
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

#value {
    font: 800 40px system-ui;
    margin: 20px 0;
    font-family: "Pixelify Sans", sans-serif;
    font-size: 60px;
}

#text-per-day {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    font-family: "Pixelify Sans", sans-serif;
    font-size: 20px;
}

.wrapper, .image-container {
    transition: opacity 1s ease; /* 1 second fade-out */
}

/* Custom button design */
.fade-out-button {
    width: 165px;
    height: 62px;
    cursor: pointer;
    color: #ffffff;
    font-size: 17px;
    border-radius: 1rem;
    border: none;
    position: relative;
    background: #100720;
    transition: 0.1s;
    margin-top: 20px; /* Keep the button right under the wrapper */
    opacity: 0; /* Initially hidden for fade-in effect */
    transition: opacity 0.5s ease, transform 0.5s ease;
    font-family: "Pixelify Sans", sans-serif;
}

.fade-out-button::after {
    content: '';
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle farthest-corner at 10% 20%, rgba(255,94,247,1) 17.8%, rgba(2,245,255,1) 100.2%);
    filter: blur(15px);
    z-index: -1;
    position: absolute;
    left: 0;
    transition: opacity 0.5s ease;
    top: 0;
}

.fade-out-button:hover {
    background-image: radial-gradient(circle farthest-corner at 10% 20%, rgba(255,94,247,1) 17.8%, rgba(2,245,255,1) 100.2%);
    transition: opacity 0.5s ease;
}

.fade-out-button:active {
    transform: scale(0.9) rotate(3deg);
    background: radial-gradient(circle farthest-corner at 10% 20%, rgba(255,94,247,1) 17.8%, rgba(2,245,255,1) 100.2%);
    transition: 0.5s;
}

/* Final text block for the fade-in after the button press */
.final-text-block {
    display: none; /* Hidden initially */
    position: fixed;
    top: 2%;
    width:85%;
    color: white;
    text-align: center;
    font-size: 24px;
    opacity: 0; /* Hidden initially */
    transition: opacity 0.7s ease-in-out;
}

/* Fade-out on button click */
.fade-out .wrapper, .fade-out .image-container {
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* Optional: This will allow the final text to stay in view after fade-out */
.fade-in .final-text-block {
    opacity: 1;
}

.subtitle {
    font-family: "Pixelify Sans", sans-serif;
  font-size: 40px; 
}

.p_text {
  font-family: "Roboto Mono", monospace;
  font-weight: 300;
  font-size: 16px; 
}

footer {
    width: 100%;
    margin: auto 0;
    text-align: center;
}

.journal{
  display:flex;
  justify-content:center;
  color:white;
  flex-direction:column;
  padding:100px;
}

.cute {
    box-shadow: inset 0 0 0 0 #b138a1;
    color: #b138a1;
    margin: 0 -.25rem;
    padding: 0 .25rem;
    transition: color .3s ease-in-out, box-shadow .3s ease-in-out;
  }
  .cute:hover {
    box-shadow: inset 100px 0 0 0 #b138a1;
    color: white;
  }


  .btn {
    border: 0 solid;
    box-shadow: inset 0 0 20px rgba(3, 2, 2, 0.758);
    outline: 1px solid;
    outline-color: rgba(255, 255, 255, .5);
    outline-offset: 0px;
    text-shadow: none;
    transition: all 1250ms cubic-bezier(0.19, 1, 0.22, 1);
    color: white;
  cursor: pointer;
  display: block;
  font-size:16px;
  font-weight: 400;
  line-height: 30px;
  margin: 0 0 2em;
  position: relative;
  text-decoration: none;
  text-transform: uppercase;
  width: 100%; 
  font-family: "Pixelify Sans", sans-serif;
  background-color: black;
  
@media(min-width: 400px) {
display: inline-block;
 margin-right: 2.5em;
  
&:nth-of-type(even) {
 margin-right: 0;
}
 }
 
  } 
  
  .btn:hover {
    border: 1px solid;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, .5), 0 0 20px rgba(255, 255, 255, .2);
    outline-color: rgba(255, 255, 255, 0);
    outline-offset: 15px;
    text-shadow: 1px 1px 2px #427388; 
  }