body {
    display: flex;
    height: 100vh;
    /* background-color: #ffe8f2; */
    background-color: black;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.animation-size {
    display: flex;
    position: relative;
    height: 800px;
    width: 600px;
    justify-content: center;
    align-items: flex-end;
}

.front-box {
    display: inline-block;
    position: absolute;
    top: 59%;
    left: 24%;
    animation: front-box 1s forwards 3.1s;
    z-index: 5;
}

/* move the box */
@keyframes front-box {
    0% {opacity: 1;}

    100% {
        top: 49%;
        left: 66%;
        opacity: 0;
    }
}


/* Front Head Animation Styles */
.front-head {
    display: inline-block;
    position: absolute;
    top: 58.95%;
    left: 43%;
    opacity: 1;
    animation: front-head1 0.5s forwards 1.5s;
    z-index: 6;
}

.front-head-p2 {
    display: inline-block;
    position: absolute;
    top: 58.95%;
    left: 43%;
    opacity: 0;
    animation: front-head2 0.5s forwards 1.5s;
    z-index: 6;
}

.front-head-p3 {
    display: inline-block;
    position: absolute;
    top: 55.3%;
    left: 42.5%;
    opacity: 0;
    animation: front-head3 0.5s forwards 1.5s;
    z-index: 6;
}

.front-head-p4 {
    display: inline-block;
    position: absolute;
    top: 56.5%;
    left: 33.5%;
    opacity: 0;
    animation: front-head4 1s forwards 1.5s, front-head4-1 1s forwards 3.1s;
    z-index: 6;
}

@keyframes front-head1 {
    0% { opacity: 1; }
    20% { opacity: 0;}
    100% { opacity: 0;}
}

@keyframes front-head2 {
    25% { opacity: 1;}
    45% { opacity: 0;}
}

@keyframes front-head3 {
    50% { opacity: 1;}
    75% { opacity: 0;}
}

@keyframes front-head4 {
    100% { opacity: 1;}
}

/* move the box */
@keyframes front-head4-1 {
    0% {opacity: 1;}

    100% {
        top: 46.6%;
        left: 75.3%;
        opacity: 0;
    }
}

/* File Animation Styles */
.file {
    display: inline-block;
    position: absolute;
    top: 0%;
    left: 30%;
    animation: fileDrop 1s forwards 0.5s, fileDropHide 2s forwards 1;
    z-index: 4;
}

@keyframes fileDrop {
    100% {
        top: 63%;
        top: 63%;
    }
}

@keyframes fileDropHide {
    100% {display: none;}
}

.back-box {
    display: inline-block;
    position: absolute;
    top: 54%;
    left: 24%;
    animation: back-box 1s forwards 3.1s;
    z-index: 3;
}

/* move the box */
@keyframes back-box {
    0%{opacity: 1;}
   100% {
    top: 44%;
    left: 66%;
    opacity: 0;
   }
}

/* Back Head Styles */
.back-head {
    display: inline-block;
    position: absolute;
    top: 48.5%;
    left: 18.4%;
    animation: back-head1 0.5s forwards 1.5s;
    z-index: 2;
}

.back-head2 {
    display: inline-block;
    position: absolute;
    top: 49%;
    left: 23.75%;
    opacity: 0;
    animation: back-head2 0.5s forwards 1.5s;
    z-index: 5;
}

.back-head3 {
    display: inline-block;
    position: absolute;
    top: 52.7%;
    left: 23.9%;
    opacity: 0;
    animation: back-head3 0.5s forwards 1.5s;
    z-index: 5;
}

.back-head4 {
    display: inline-block;
    position: absolute;
    top: 54%;
    left: 23.7%;
    opacity: 0;
    animation: back-head4 1s forwards 1.5s, back-head4-1 1s forwards 3.1s;;
    z-index: 5;
}

@keyframes back-head1 {
    0% { opacity: 1; }
    20% { opacity: 0;}
    100% { opacity: 0;}
}

@keyframes back-head2 {
    25% { opacity: 1;}
    45% { opacity: 0;}
}

@keyframes back-head3 {
    50% { opacity: 1;}
    75% { opacity: 0;}
}

@keyframes back-head4 {
    100% { opacity: 1;}
}

/* move the box */
@keyframes back-head4-1 {
    0%{opacity: 1;}
    100% {
        top: 44.1%;
        left: 66%;
        opacity: 0;
    }
}

.sticky-tape-p1 {
    display: inline-block;
    position: absolute;
    top: 62.16%;
    left: 32%;
    opacity: 0;
    animation: sticky-tape-p1 1s forwards 2.5s, sticky-tape-p1-1 1s forwards 3.1s;;
    z-index: 7;
}

.sticky-tape-p2 {
    display: inline-block;
    position: absolute;
    top: 56.2%;
    left: 32%;
    opacity: 0;
    animation: sticky-tape-p2 1s forwards 2.5s, sticky-tape-p2-1 1s forwards 3.1s;
    z-index: 7;
}

@keyframes sticky-tape-p1{
    50% {opacity: 1;}
    100% {opacity: 1;}
}

@keyframes sticky-tape-p2{
    100% {opacity: 1;}
}

/* move the box */
@keyframes sticky-tape-p1-1 {
    0%{opacity: 1;}
    100%{
        top: 52.16%;
        left: 74%;
        opacity: 0;
    }
}

/* move the box */
@keyframes sticky-tape-p2-1 {
    0%{opacity: 1;}
    100%{
        top: 46.2%;
        left: 74%;
        opacity: 0;
    }
}

.conveyor-first {
    display: inline-block;
    position: absolute;
    opacity: 1;
    animation: conveyor-first 1s forwards 3s;
    z-index: 1;
}

.conveyor-secound {
    display: inline-block;
    position: absolute;
    opacity: 0;
    animation: conveyor-secound 1s forwards 3s;
    z-index: 1;
}

@keyframes sconveyor-first{
    50% {opacity: 0;}
    100% {opacity: 1;}
}

@keyframes conveyor-secound{
    75% {opacity: 1;}
}