@import url('https://fonts.googleapis.com/css2?family=Pacifico&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fredericka+the+Great&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Aclonica&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Mada&display=swap');
body
{
      margin: 0;
      padding: 0;
      height: 100%;
        background: linear-gradient(to right,lightblue 50%,#F4F4F5 50%);
/*        overflow: hidden;
*/
}

.scr1
{
  width: 100%;
  height: 100vh;
  margin: 0;
  background: linear-gradient(to right,lightblue 50%,#F4F4F5 50%)
}
.scr1 h1
{
  font-family: 'Pacifico', cursive;
  font-size: 2em;
  margin-top: 15%;
}
.scr1 .typewriter h1 {
    color: rgb(0, 0, 0);
    font-family: 'Fredericka the Great', cursive;
    font-size: 3em;
    overflow: hidden; /* Ensures the content is not revealed until the animation */
    border-right: .15em solid #F4F4F5; /* The typwriter cursor */
    white-space: nowrap; /* Keeps the content on a single line */
    margin: 0 auto; /* Gives that scrolling effect as the typing happens */
    letter-spacing: .15em; /* Adjust as needed */
    animation: 
      typing 4s steps(35, end),
      blink-caret 1s step-end ;
  }
  
  /* The typing effect */
  @keyframes typing {
    from { width: 0 }
    to { width: 100% }
  }
  
  /* The typewriter cursor effect */
  @keyframes blink-caret {
    from, to { border-color: transparent }
    
  }
  .scr1 p
  {
    font-family: 'Pacifico', cursive;
  font-size: 1.35em;
  margin-top: 10%;
  }
  .scr1 img
  {
    width: 20px;
    height: 20px;
    background: #F4F4F5;
    border-radius: 50%;
    margin-bottom: 3%;
  }
  @media (max-width: 858px)
  {
    .scr1 h1
{
  font-family: 'Pacifico', cursive;
  font-size: 1.25em;
  padding-top: 25%;
}
.scr1 .typewriter h1 {
    color: rgb(0, 0, 0);
    font-family: 'Fredericka the Great', cursive;
    font-size: 1.75em;
    overflow: hidden; /* Ensures the content is not revealed until the animation */
    border-right: .15em solid #F4F4F5; /* The typwriter cursor */
    white-space: nowrap; /* Keeps the content on a single line */
    margin: 0 auto; /* Gives that scrolling effect as the typing happens */
    letter-spacing: .15em; /* Adjust as needed */
    animation: 
      typing 4s steps(35, end),
      blink-caret 1s step-end ;
  }
  
  /* The typing effect */
  @keyframes typing {
    from { width: 0 }
    to { width: 100% }
  }
  
  /* The typewriter cursor effect */
  @keyframes blink-caret {
    from, to { border-color: transparent }
    
  }
  }