

body{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background: transparent;
}

.container{
    /*min-height: 100vh;
    overflow: hidden;
    position: fixed;
    width: 100vw;
    height: 100vh;
    z-index: 0;*/

    position: fixed;
    inset: 0;          /* replaces top/left/width/height */
    width: 100%;
    height: 100%;

    overflow: hidden;
    z-index: -1;  
}

.container div{
    position: absolute;
    border-radius: 3rem;
    animation: gradient 4s infinite;
}

@keyframes gradient{
    50%{
        transform: scale(1.3) translate(100px);
    }
}

.container div:nth-child(1){
    height: 100%;
    width: 100%;
    background-color: darkgray;
}

.container div:nth-child(2){
    height: 80%;
    width: 70%;
    background-color: black;
    top:-12%;
    right: -12%;
    animation-delay: 2.7s;
}

.container div:nth-child(3){
    height: 50%;
    width: 75%;
    background-color: black;
    bottom: -10%;
    left: -5%;
    animation-delay: 3.5s;
}

.container div:nth-child(4){
    height: 65%;
    width: 80%;
    background-color: whitesmoke;
    bottom: -15%;
    right: -20%;
    animation-delay: 3s;
}

.container div:nth-child(5){
    height: 70%;
    width: 65%;
    background-color: grey;
    bottom: 0;
    right: -50%;
    animation-delay: 5s;
}

.container::after{
    position: absolute;
    content: ' ';
    height: 100%;
    width: 100%;
    backdrop-filter: blur(200px);

    top: 0;
    left: 0;
}





#countdown-wrapper {
    min-width: 60%;
    max-width: 800px;
    position: relative;
    margin: 2rem auto 2rem;
    top: auto;
    left: auto; 
    transform: none;
    /*top: 20%;               
    left: 50%;
    transform: translate(-50%, -50%);*/ 
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0.5);
    z-index: 1000;          /* on top of animation */

    /*padding: 25px 50px 40px 50px;*/
    background: rgba(0,0,0,0.5);
    border-radius: 15px;
    padding: 40px 50px 45px 50px;
}

.colon {
    font-size: 5em;
    color: whitesmoke;
    margin: 0 50px;
    display: flex;             /* make it a flex container */
    align-items: center;
}

.time-column {
    display: flex;
    flex-direction: column;
    align-items: center;       /* center label under number */
    transform: translateY(+22px);
}

/* Numbers */
.time-column span:first-child {
    font-size: 6em;
    color: whitesmoke;
    white-space: nowrap;       /* prevent wrapping */
}

/* Labels */
.time-column .label {
    margin-top: 5px;
    font-size: 1.75em;
    color: whitesmoke;
    letter-spacing: 1px;
}



/* Individual box for each unit */


#clock {
    font-size: 6em;
    color: whitesmoke;
    white-space: nowrap;          /* prevents numbers from wrapping */
}




/* Clock numbers */
/*#demo {
    color: whitesmoke;
    font-size: 8em;
    
    margin: 0;
}*/

#demo, .time-column span:first-child {
    font-size: 8em;       /* big on desktop */
}

.colon {
    font-size: 5em;
    margin: 0 50px;
}

.time-column .label {
    font-size: 1.75em;
}

@media (max-width: 600px) {
    #demo, .time-column span:first-child {
        font-size: 3em;       /* smaller on mobile */
    }

    .colon {
        font-size: 2em;
        margin: 0 10px;
    }

    .time-column .label {
        font-size: 1em;       /* smaller labels */
    }
}

@media (max-width: 600px) {
    #labels {
        gap: 20px;  /* less space between labels */
    }
}

/* Labels below the clock */
#labels {
    display: flex;
    justify-content:center;
    gap: 75px;              /* space between each label */
    margin-top: 10px;
    color: whitesmoke;
    font-size: 1.75em;
    letter-spacing: 1px;
}


.announcement-box{
  position: static;
  /*display: flex;
  flex-direction: column;*/
  
  margin: 2rem auto;
  max-width: 900px;
  width: 90%;
  background: rgba(0, 0, 0, 0.7);
  /*color: white;*/
  padding: 20px;
  z-index: 1000;
  /*text-align: center;*/
}




.pdf-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  margin-top: 1rem;
  background-color: darkgray;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s;
  /*transform: translate(224%);*/
}



.pdf-button:hover {
  background-color: #005fa3;
}


.contact-us-box{
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    margin: 2rem auto;
    border-radius: 10px;
    
    position: static;
    transform: none;
    z-index: 1000;
    max-width: 600px;
    width: 90%;
    
    /*transform: translate(+50%, -100%);*/
    font-family: Arial, sans-serif;
    /*top: 50%;
    right: -11.5%;*/
    text-align: center;
}

@media (max-width: 600px) {
  .contact-us-box {
    width: 70%;
    margin: 0.5rem auto;
  }
}


html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    background: transparent;
    overflow-x: hidden; /* optional: removes scroll gaps */
    overflow-y: auto;
}

/*removes stuff from screen and displays cross with wording*/
#countdown-wrapper.expired{
    position: fixed;
    inset: 0;
  top: 0;
  transform: translate(+0%);
  

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

 text-align: center;
  font-size: 0; /* hide countdown */
}

#countdown-wrapper.expired::before{
    content: "✝";
  font-size: 420px; /* BIG cross */
  color: #48260D;
  line-height: 1;
  z-index: 2000;
  display: block;
}

#countdown-wrapper.expired::after{
    content: "Welcome home";
  margin-top: 20px;
  font-size: 50px;
  color: white;
  font-family: Georgia, serif;
  letter-spacing: 1px;
  display: block;
  z-index: 2000;
}


/*Firework*/
#fireworks {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 75%;
    pointer-events: none; 
    z-index: 999; 
}

