#rotateDevice {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    background-image: url('assets/rotate-screen.gif');
    background-repeat: no-repeat; /* ensures the image doesn't repeat */
    background-size: cover;       /* ensures the image covers the entire container */
    background-position: center;  /* ensures the image is centered in the container */
    /* other styling properties can be added as necessary, e.g. width, height, padding, etc. */
    color: white;
    text-align: center;
    font-size: 24px;
    z-index: 1000;
    padding-top: 20%;
  }

  @media (orientation: portrait) {
    #rotateDevice {
      display: block;
    }
  }