/* styles.css */

.wrapper {
  /* background-image: linear-gradient(rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.2)), url('images/backgrounddude.jpg'); */

  position: relative;
}


.background-container {
      background-image:  url('../images/backgrounddudeinvert.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
    position: absolute;
    width: 99vw;
    height: 99vh;
    overflow: hidden;

}
 
.background-image {
    position: absolute;
    width: 90px;
    height: 90px;
    animation: randomMovement infinite;
    z-index: 1;
}
 
@keyframes randomMovement {
    0% {
        left: 0%;
        top: 0%;
        opacity: 0.5;
        transform: scale(.3);
    }
    10% {
        left: 80%;
        top: 20%;
        opacity: 0.6;
        transform: scale(0.8);
    }
    20% {
        left: 20%;
        top: 80%;
        opacity: 0.9;
        transform: scale(0.9);    
    }
    30% {
        left: 85%;
        top: 85%;
        opacity: 1;
        transform: scale(1.0); 
    }
    40% {
        left: 10%;
        top: 10%;
        opacity: 1;
        transform: scale(1.5); 
    }
    50% {
        left: 40%;
        top: 80%;
        opacity: 1;
        transform: scale(1.8); 
        transform: rotateY(180deg);
    }
    60% {
        left: 85%;
        top: 40%;
        opacity:1;
        transform: scale(2.0); 
        transform: rotateX(180deg);
    }
    70% {
        left: 10%;
        top: 85%;
        opacity: 0.8;
        transform: scale(1.5); 
    }
    80% {
        left: 80%;
        top: 10%;
        opacity: 0.7;
        transform: scale(1.0); 
        transform: rotateZ(180deg);
    }
    90% {
        left: 40%;
        top: 20%;
        opacity: 0.6;
        transform: scale(.4); 
    }
    100% {
        left: 100%;
        top: 0%;
        opacity: 0.5;
        transform: scale(0.1);
    }
}
 
/* Add different durations to each image for randomness */
.background-image:nth-child(1) {
    animation-duration: 12s;
}
.background-image:nth-child(2) {
    animation-duration: 17s;
    animation-delay: 0s;
}
.background-image:nth-child(3) {
    animation-duration: 20s;
    animation-delay: 0s;
}
.background-image:nth-child(4) {
    animation-duration: 25s;
    animation-delay: 0s;
}
.background-image:nth-child(5) {
    animation-duration: 45s;
    animation-delay: 0s;
}
.background-image:nth-child(6) {
    animation-duration: 80s;
    animation-delay: 0s;
}


/* ################ nihilist-container ######################################################## */

.nihilist-container {
    position: absolute;
    width: 99vw;
    height: 99vh;
    overflow: hidden;
    z-index: 2;
}


.nihilist-image {
    position: absolute;
    width: 90px;
    height: 90px;
    animation: nihilist infinite;
}

@keyframes nihilist {
    0% {
        left: 0%;
        top: 0%;
        opacity: 0.5;
        transform: scale(.3);
    }
    10% {
        left:95%;
        top: 55%;
        opacity: 0.6;
        transform: scale(0.8);
    }
    20% {
        left: 65%;
        top: 92%;
        opacity: 0.9;
        transform: scale(0.9);
        transform: rotateZ(195deg);     
    }
    30% {
        left: 65%;
        top: 85%;
        opacity: 1;
        transform: scale(1.0);
        transform: rotateZ(-70deg);
        
    }
    40% {
        left: 0%;
        top: 55%;
        opacity: 1;
        transform: scale(1.5); 
    }
    50% {
        left: 92%;
        top: 30%;
        opacity: 1;
        transform: scale(1.8);
        transform: rotateZ(-270deg); 

    }
    60% {
        left: 45%;
        top: 0%;
        opacity:1;
        transform: scale(2.0); 
        transform: rotateZ(-70deg);

    }
    70% {
        left:0%;
        top: 45%;
        opacity: 0.8;
        transform: scale(1.5); 
    }
    80% {
        left: 60%;
        top: 89%;
        opacity: 0.7;
        transform: scale(1.5); 
        transform: rotateZ(-270deg);

    }
    90% {
        left: 89%;
        top: 50%;
        opacity: 0.6;
        transform: scale(1); 
        transform: rotateZ(360deg);
    }
    100% {
        left: 0%;
        top: 0%;
        opacity: 0.5;
        transform: scale(.3);
    }
}

.nihilist-image:nth-child(1) {
    animation-duration: 550s;
    animation-delay: 0s;
}

/* ################ brandt-container ######################################################## */

.brandt-container {
    position: absolute;
    width: 99vw;
    height: 99vh;
    overflow: hidden;
    z-index: 3;
}

.brandt-image {
    position: absolute;
    width: 90px;
    height: 90px;
    animation: brandt infinite;
    z-index: 1;
}

@keyframes brandt {
    0% {
        left: -30%;
        top: 25%;
    }
    15% {
        left:130%;
        top: 25%;
    }
    50% {
        left: 130%;
        top: 55%;
    }
    100% {
        left: -30%;
        top: 55%;
    }

}

.brandt-image:nth-child(1) {
    animation-duration: 75s;
    animation-delay: 0s;
}

/* ################ landlord-container ######################################################## */

.landlord-container {
    position: absolute;
    width: 99vw;
    height: 99vh;
    overflow: hidden;
    z-index: 4;
}

.landlord-image {
    position: absolute;
    width: 90px;
    height: 90px;
    animation: landlord infinite;
    z-index: 4;
}

@keyframes landlord {
    0% {
        left: 30%;
        top: 130%;
        transform: scale(.5);
    }
    20% {
        left: 30%;
        top: 130%;
        transform: scale(.5);
    }
    30% {
        left:30%;
        top: 15%;
        transform: scale(1.5);
    }
    45% {
        left: 30%;
        top: 35%;
        transform: scale(.5);
    }
    100% {
        left: 30%;
        top:130%;
        transform: scale(.5);
    }

}

.landlord-image:nth-child(1) {
    animation-duration: 35s;
    animation-delay: 0s;
}









