/* Set height to 100% for body and html to enable the background image to cover the whole page: */
body, html {
    height: 100%
  }
  
  .bgimg {
    /* Background image */

    /* Full-screen */
    height: 100%;
    /* Center the background image */
    background-position: center;
    /* Scale and zoom in the image */
    background-size: cover;
    /* Add position: relative to enable absolutely positioned elements inside the image (place text) */
    position: relative;
    /* Add a white text color to all elements inside the .bgimg container */
    color: white;
    /* Add a font */
    font-family: "Courier New", Courier, monospace;
    /* Set the font-size to 25 pixels */
    font-size: 25px;
  }
  
  
  
  /* Position text in the middle */
  .middle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
  }

  .middle h1{
      font-size: 5rem;
  }
  
  /* Style the <hr> element */
  hr {
    margin: auto;
    width: 40%;
  }
/* ======================================================================================== */
/* For Clock  */
  /* body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    text-align: center;
} */

.countdown {
    background-color: rgba(0, 0, 0, 0.151);
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}

h1 {
    font-size: 24px;
    margin-bottom: 20px;
}

#timer {
    display: flex;
    justify-content: center;
}

.time-unit {
    margin: 0 20px;
}

#days, #hours, #minutes, #seconds {
    font-size: 24px;
    font-weight: bold;
}

.time-label {
    font-size: 14px;
    color: #777;
}
