/* filepath: css/style.css */
/*-------------------------------------------General Styles---------------------------------------------*/
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

/*-------------------------------------------Background Image---------------------------------------------*/
#bg {
    width: 100%;
    height: auto;
}

/*-------------------------------------------Redirect Button---------------------------------------------*/
.redirect-btn {
    position: absolute;
    top: 81%;
    
    z-index: 10;
}

.redirect-btn img {
    width: 77%;
    animation: pulse 0.9s infinite linear;
}

/*-------------------------------------------Keyframe Animation---------------------------------------------*/
@keyframes pulse {
    0% { transform: scale(0.9); }
    50% { transform: scale(1.1); }
    100% { transform: scale(0.9); }
}

@keyframes pulse2 {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes moveNorthWest {
    0% { transform: translate(0, 0); }
    50% { transform: translate(-30px, -30px); }
    100% { transform: translate(0, 0); }
}

@keyframes moveNorthEast {
    0% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
    100% { transform: translate(0, 0); }
}

@keyframes moveSouthEast {
    0% { transform: translate(0, 0); }
    50% { transform: translate(30px, 30px); }
    100% { transform: translate(0, 0); }
}

@keyframes moveSouthWest {
    0% { transform: translate(0, 0); }
    50% { transform: translate(-30px, 30px); }
    100% { transform: translate(0, 0); }
}

@keyframes imageSwitchPulse {
    0%, 24% { opacity: 1; transform: scale(1); }
    25%, 49% { opacity: 0; transform: scale(0.8); }
    50%, 74% { opacity: 1; transform: scale(1); }
    75%, 99% { opacity: 0; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes imageSwitchSlide {
    0%, 24% { opacity: 1; transform: translateX(0); }
    25%, 49% { opacity: 0; transform: translateX(50px); }
    50%, 74% { opacity: 1; transform: translateX(0); }
    75%, 99% { opacity: 0; transform: translateX(-50px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes zoomOut {
    from { opacity: 1; transform: scale(1); }
    to { opacity: 0; transform: scale(0.8); }
}

@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes slideOut {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(-100px); }
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(100px); }
    to { opacity: 1; transform: translateX(0); }
}

.exit-animation {
    animation: zoomOut 0.5s ease-out forwards;
}

.exit-animation-slide {
    animation: slideOut 0.5s ease-out forwards;
}

.add-animation-zoom {
    animation: zoomIn 0.5s ease-in forwards;
}

.add-animation {
    animation: slideIn 0.5s ease-in forwards;
}

.add-animation-slide {
    animation: slideIn 0.5s ease-in forwards;
}

.multi-image-container {
    position: relative;
    display: inline-block;
}

.multi-image-container img {
    width: 100%;
    height: auto;
}

.multi-image-container img:first-child {
    position: relative;
    display: block;
}

.multi-image-container img:not(:first-child) {
    position: absolute;
    top: 0;
    left: 0;
}

.multi-image-container img:nth-child(1) { animation-delay: 0s; }
.multi-image-container img:nth-child(2) { animation-delay: 2s; }
.multi-image-container img:nth-child(3) { animation-delay: 4s; }
.multi-image-container img:nth-child(4) { animation-delay: 6s; }

/*-------------------------------------------Element Animations---------------------------------------------*/
.element-img {
    display: inline-block;
}

.element-anim-pulse { animation: pulse infinite linear; }
.element-anim-pulse2 { animation: pulse2 infinite linear; }
.element-anim-randomMove { animation: randomMove infinite linear; }
.element-anim-subtleMove { animation: subtleMove infinite linear; }
.element-anim-moveNorthWest { animation: moveNorthWest infinite linear; }
.element-anim-moveNorthEast { animation: moveNorthEast infinite linear; }
.element-anim-moveSouthEast { animation: moveSouthEast infinite linear; }
.element-anim-moveSouthWest { animation: moveSouthWest infinite linear; }

@keyframes randomMove {
    0% { transform: translate(0px, 0px); }
    10% { transform: translate(8px, -5px); }
    20% { transform: translate(-3px, 12px); }
    30% { transform: translate(15px, 3px); }
    40% { transform: translate(-8px, -10px); }
    50% { transform: translate(5px, 8px); }
    60% { transform: translate(-12px, 2px); }
    70% { transform: translate(10px, -8px); }
    80% { transform: translate(-5px, 15px); }
    90% { transform: translate(3px, -3px); }
    100% { transform: translate(0px, 0px); }
}

@keyframes subtleMove {
    0% { transform: translate(0px, 0px); }
    10% { transform: translate(2px, -1px); }
    20% { transform: translate(-1px, 3px); }
    30% { transform: translate(3px, 1px); }
    40% { transform: translate(-2px, -2px); }
    50% { transform: translate(1px, 2px); }
    60% { transform: translate(-3px, 0px); }
    70% { transform: translate(2px, -2px); }
    80% { transform: translate(-1px, 3px); }
    90% { transform: translate(1px, -1px); }
    100% { transform: translate(0px, 0px); }
}

/*-------------------------------------------Multi Device Screen Size---------------------------------------------*/
@media (min-width: 992px) {
    #bg {
        height: 100vh;
    }
}