/* Global body setup */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%; /* Ensure the body fills the full viewport height */
    width: 100%;
    line-height: 1;  
    font-family: 'finnshandwriting', sans-serif;
  background-color: #d2ffd3;
  color: #000000;
  text-align: center;
}



/* Spinner that is always visible before content loads */
#spinner {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  z-index: 9999;
  color: black;
  background: white;
  padding: 10px 20px;
  border-radius: 8px;
}

    #Title {
  margin-top: 0;
  padding: 10px;
font-size: 30px;
}

/* #content will have its own background and fade in after loading */
#content {
  min-height: 100vh;  /* Full viewport height */
    min-width: 100vh;
  opacity: 0;             /* Initially hidden */
  transition: opacity 0.5s ease;
  background-color: #d2ffd3; /* White background after loading */
  color: #000000;         /* Text color */
  font-size: 25px;
  text-align: center;
  margin: 0;
  padding: 0;
}

/* Fade in content once loaded */
body.loaded #content {
    min-height: 100vh;
  opacity: 1;
}

/* Hide spinner after content has loaded */
body.loaded #spinner {
  display: none;
}

/* Layout for CD images */
.CDs {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 50px;
}

.Next_time_Ill_know {
  position: relative;
  margin-top: 30px;
  margin-left: 80px;
  width: 250px;
}

#Next_time_Ill_know {
  position: absolute;
  width: 100%;
  height: auto;
  display: block;
}

#Blank_CD {
  top: 50px;
  left: 50.5%;  /* Center horizontally */
  transform: translate(-50%);  /* Shift back by 50% of its width */
  z-index: 2;
  position: absolute;
  width: 67%;
  height: auto;
}
