/* 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: 41%;
    left: 50%; transform: translateX(-50%);
    width: 83%;
    z-index: 10;
}

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

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

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

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

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-20px); }
    60% { transform: translateY(-10px); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes swing {
    0%, 100% { transform: rotate(0deg); transform-origin: top center; }
    20% { transform: rotate(15deg); }
    40% { transform: rotate(-10deg); }
    60% { transform: rotate(5deg); }
    80% { transform: rotate(-5deg); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

@keyframes wobble {
    0%, 100% { transform: translateX(0) rotate(0deg); }
    15% { transform: translateX(-15px) rotate(-5deg); }
    30% { transform: translateX(10px) rotate(3deg); }
    45% { transform: translateX(-10px) rotate(-3deg); }
    60% { transform: translateX(5px) rotate(2deg); }
    75% { transform: translateX(-5px) rotate(-1deg); }
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    14% { transform: scale(1.15); }
    28% { transform: scale(1); }
    42% { transform: scale(1.15); }
    70% { transform: scale(1); }
}

@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 ease-in-out; }
.element-anim-subtleMove { animation: subtleMove infinite ease-in-out; }
.element-anim-moveNorthWest { animation: moveNorthWest infinite ease-in-out; }
.element-anim-moveNorthEast { animation: moveNorthEast infinite ease-in-out; }
.element-anim-moveSouthWest { animation: moveSouthWest infinite ease-in-out; }
.element-anim-moveSouthEast { animation: moveSouthEast infinite ease-in-out; }
.element-anim-bounce { animation: bounce infinite ease-in-out; }
.element-anim-shake { animation: shake infinite linear; }
.element-anim-rotate { animation: rotate infinite linear; }
.element-anim-swing { animation: swing infinite ease-in-out; }
.element-anim-float { animation: float infinite ease-in-out; }
.element-anim-wobble { animation: wobble infinite ease-in-out; }
.element-anim-heartbeat { animation: heartbeat infinite ease-in-out; }

@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); }
}

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

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

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