/* Set height to 100% for body and html to enable the background image to cover the whole page: */
* { 
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
    height: 100%
  }
  
  .bgimg {
    /* Background image */
    background-image: url('assets/images/keyboard.webp');
    /* Full-screen */
    height: 100%;
    width: 100%;
    /* Center the background image */
    background-position: center;
    background-repeat: no-repeat;
    /* 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: rgb(255, 244, 244);
    /* Add a font */
    font-family: "Courier New", Courier, monospace;
    /* Set the font-size to 25 pixels */
    font-size: 25px;
  }

  /*styling the logo*/
  .logo-pic {
    height: 200px;
    width: 100%;
  }
  
  /* Position text in the top-left corner */
  .topleft {
    position: absolute;
    top: 20px;
    left: 90px;
  }
  
  /* Position text in the bottom-left corner */
  .bottomleft {
    position: absolute;
    text-align: center;
    bottom: 10px;
    left: 60px;
    font-family: 'Dancing Script', cursive;
    font-size: large;
  }
  
  /* Position text in the middle */
  .middle {
    position: absolute;
    text-align: center;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    letter-spacing: 0px;
    color: rgb(230, 6, 6);
    border-right: 2px solid hsl(0, 0%, 80%);
    cursor: auto;
    animation: typewriter 4s steps(2) normal, blinkTextCursor 2s infinite;
    white-space: nowrap;
    overflow: hidden;
  }

  h2 {
    font-size: 40px;
    letter-spacing: 0px;
  }
  .countdown {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: transparent;
    color: #3f11e4;
    font-family: Arial, sans-serif;
    font-size: 2rem;
    padding: 1rem;
  }
  
  .countdown-item {
    text-align: center;
  }
  
  .countdown-value {
    font-weight: bold;
    font-size: 3rem;
  }
  
  .countdown-label {
    display: block;
    margin-top: 0.5rem;
    font-size: 1.2rem;
  }
  

  /* Style the <hr> element */
  hr {
    margin-top: 30px;
    margin-bottom: 20px;
    width: 150%;
    color: beige;
  }

  P {
    color: gold;
    font-family: 'Dancing Script', cursive;
  }
  

  @keyframes typewriter {
    from {
        width: 0;
    }
    to {
        width: 500px;
    }
  }

  @keyframes blinkTextCursor {
    from {
        border-right-color: hsla(0, 0%, 0%, 0);
    }
    to {
        border-right-color: transparent;
    }

  }

/*Scaling CSS for tablets*/ 
@media only screen and (min-width: 768px) {
    .bottomleft {
        position: absolute;
        text-align: center;
        bottom: 0;
        left: 150px;
        font-family: 'Dancing Script', cursive;
        font-size: 40px;
      }

      .logo-pic {
        height: 400px;
        width: 120%;
      } 
      .topleft {
        position: absolute;
        top: 30px;
        left: 200px;
      }

      .middle {
        position: absolute;
        text-align: center;
        top: 70%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        letter-spacing: 10px;
        font-size: 70px;
        color: rgb(230, 6, 6);
        border-right: 2px solid hsl(0, 0%, 80%);
        cursor: auto;
        animation: typewriter 4s steps(44) normal, blinkTextCursor 2s infinite;
        white-space: nowrap;
        overflow: hidden;
      }

      h2 {
        font-size: 120px;
        letter-spacing: 10px;
      }

      .gradient-heading {
        background: linear-gradient(to right, #ff0066, #6600ff);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
      }
      P {
        color: rgb(43, 3, 155);
        font-family: 'Dancing Script', cursive;
      }

      hr {
        margin-top: 50px;
        margin-bottom: 60px;
        width: 180%;
        color: beige;
      }

      .countdown {
        display: flex;
        justify-content: space-around;
        align-items: center;
        background: transparent;
        color: #e41111;
        font-family: Arial, sans-serif;
        font-size: 2rem;
        padding: 1rem;
      }
    
}

/*Scaling for laptops & MONITORS*/
@media only screen and (width >= 1000px) {
    .bottomleft {
        position: absolute;
        text-align: center;
        bottom: 0;
        left: 350px;
        font-family: 'Dancing Script', cursive;
        font-size: 50px;
      }

      .logo-pic {
        height: 250px;
        width: 120%;
      } 
      .topleft {
        position: absolute;
        top: 20px;
        left: 540px;
      }

      .middle {
        position: absolute;
        text-align: center;
        top: 70%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        letter-spacing: 5px;
        font-size: 30px;
        color: rgb(230, 6, 6);
        border-right: 2px solid hsl(0, 0%, 80%);
        cursor: auto;
        animation: typewriter 4s steps(44) normal, blinkTextCursor 2s infinite;
        white-space: nowrap;
        overflow: hidden;
      }

      hr {
        margin-top: 10px;
        margin-bottom: 20px;
        width: 300%;
        color: beige;
      }

      P {
        color: gold;
        font-family: 'Dancing Script', cursive;
      }

      h2 {
        font-size: 60px;
        letter-spacing: 5px;
        text-align: center;
        font-weight: bolder;
      }

      .gradient-heading {
        background: linear-gradient(to right, #ff0066, #6600ff);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
      }

      .countdown {
        display: flex;
        justify-content: space-around;
        align-items: center;
        background: transparent;
        color: #be0606;
        font-family: Arial, sans-serif;
        font-size: 2rem;
        padding: 1rem;
      }
      
      .countdown-item {
        text-align: center;
      }
      
      .countdown-value {
        font-weight: bold;
        font-size: 3rem;
      }
      
      .countdown-label {
        display: block;
        margin-top: 0.5rem;
        font-size: 1.2rem;
      }
}
    


    