body {
    font-family: 'Palette Mosaic', cursive;
    background-color: #353232;
    overflow: hidden;
}

header {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #EC2C19;
    animation: opacity 10s linear;
    -webkit-animation: opacity 10s linear;
    opacity: 0;
    z-index: 1;
    animation-iteration-count: infinite;
}

@keyframes opacity {
  0%,100% {opacity:0;}
  50% {opacity:1;}
}


.dog {
    display: flex;
    height: 400px;
    position: relative;
    align-items: flex-end;
    -webkit-animation: 10s linear infinite reverse movedog;
    animation: 10s linear infinite reverse movedog;
    z-index: 1;
}

@keyframes movedog { 
    from {
        margin-left: -20%;
        width: 100%;
      }
    
      to {
        margin-left: 100%;
        width: 300%;
      }
    }

/* @-webkit-keyframes movedog { 
    from { margin-right: 110%; } to { margin-left: 120%; }  } */



.vertwhite {
    border-left: 6px solid white;
    height: 400px;
    position: absolute;
    animation: 0.07s linear infinite vertwhite;
    animation-iteration-count: infinite;
    z-index: 1;
}

@keyframes vertwhite { 
    from { margin-left: -10%; } to { margin-left: 120%; }  }

@-webkit-keyframes vertwhite { 
    from { margin-left: -10%; } to { margin-left: 120%; }  }


.vertblack {
        border-left: 6px solid black;
        height: 400px;
        position: absolute;
        animation: 0.04s linear infinite vertwhite;
        animation-iteration-count: infinite;
        animation-delay: 10ms;
        z-index: 1;
    }

