:root {
    --circle-size: calc(100vw / 5);
}

body {
    margin: 0;
    overflow: hidden;
    background-color: black;
    background-image: url('ref/bk.jpg');
    background-size: 200% 200%; /* Make it larger to allow movement */
    background-position: 0% 0%;
    animation: background-move 10s linear infinite;
}

@keyframes background-move {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 100%;
    }
}

.blood-flow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background-color: rgb(87, 166, 240);opacity: 80%; /* Red color with some transparency */
    animation: flow-down 30s forwards; /* Animation to fill the screen */
    z-index: 9; /* Ensure it's on top of other content */
}

@keyframes flow-down {
    0% {
        height: 0%;
    }
    100% {
        height: 100%;
    }
}

.mover {
    width: 20vw; /* Scalable width */
    height: 20vw; /* Scalable height, maintaining aspect ratio */
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    background-color: rgb(87, 166, 240);opacity: 80%;
    z-index: 10;
    animation: move-back-and-forth 10s linear infinite;
    display: flex;
    justify-content: center;
    align-items: center;
    color: black;
    font-size: 2.5vw; /* Scalable font size */
    text-align: center;
    padding: 1vw; /* Add some padding for better appearance */
    box-sizing: border-box; /* Include padding in width/height */
}

@keyframes move-back-and-forth {
    0% {
        transform: translateX(0) translateY(-50%);
    }
    50% {
        transform: translateX(calc(100vw - var(--circle-size))) translateY(-50%);
    }
    100% {
        transform: translateX(0) translateY(-50%);
    }
}

.App {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden; /* Ensure background circles don't cause scrollbars */
}

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

.circle {
    width: calc(100vw / 5);
    height: calc(100vw / 5);
    border-radius: 50%;
    background-color: rgb(3, 3, 3);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.circle:nth-child(1) {
    background-image: url('images/Capture.PNG');
}

.circle:nth-child(2) {
    background-image: url('images/x.png');
}

.circle:nth-child(3) {
    background-image: url('images/cberry.PNG');
}

.circle:nth-child(4) {
    background-image: url('images/portfolio-1.jpg');
}

.circle:nth-child(5) {
    background-image: url('images/cape-scot-tours-1024x496.png');
}

}