.disp{
    animation: fade-in 5s linear;
}
.quiz{
    animation: move-right 5s ease-in-out;
}
.icehockey{
    animation: move-left 5s ease-in-out;
}
html{
    background: url('./images/Trianglify.png');
    background-repeat: no-repeat;
    background-size: cover;
}

@keyframes fade-in{
    from{
        opacity: 0;
    }
    to{
        opacity: 1;
    }
}
@keyframes move-right{
    from{
        transform: translateX(-50%) rotate(-30deg);
        opacity: 0;
    }
    to{
        transform: translateX(0%) rotate(0deg);
        opacity: 1;
    }
}

@keyframes move-left{
    from{
        transform: translateX(50%) rotate(30deg);
        opacity: 0;
    }
    to{
        transform: translateX(0) rotate(0deg);
        opacity: 1;
    }
}
.typewriter h1{
    overflow: hidden; 
    border-right: .15em solid orange; /* 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 3.5s steps(40, end),
      blink-caret .75s step-end infinite;
  }
  
  /* The typing effect */
  @keyframes typing {
    from { width: 0 }
    to { width: 100% }
  }
  
  /* The typewriter cursor effect */
  @keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: orange; }
  }