@import url('https://fonts.googleapis.com/css2?family=Jura:wght@300..700&display=swap');

        body {
            font-family: "Jura", sans-serif;
            background-color: #f0f2f5;
            color: #333;
            margin: 0;
            padding: 20px;
            text-align: center;
            animation: promjenapozadine 30s infinite;
            position: relative;
            overflow-x: hidden;
            min-height: 100vh;
        }

        body::before {
            content: "";
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: url('slike/flymetothemoon.png');
            background-size: cover;
            background-position: center;
            filter: blur(8px);
            z-index: -1;
            opacity: 0.7;
        }

        h1 {
            font-size: 5rem;
            color: #2c3e50;
            margin-bottom: 10px;
        }

        h4 {
            font-size: 1.2rem;
            color: #34495e;
            margin: 15px 0;
        }

        .img-comp-container {
            position: relative;
            height: 200px;
            margin: 0 auto;
        }

        .img-comp-container {
            height: 350px;
            width: 400px;
        }

        .img-comp-img {
            position: absolute;
            width: auto;
            height: auto;
            overflow: hidden;
        }

        .img-comp-img img {
            display: block;
            vertical-align: middle;
        }

        .img-comp-slider {
            position: absolute;
            z-index: 9;
            cursor: ew-resize;
            width: 40px;
            height: 40px;
            background-color: #2196F3;
            opacity: 0.7;
            border-radius: 50%;
        }

        @keyframes promjenapozadine {
            10% {
                background-color: #f0f2f5;
            }

            30% {
                background-color: #D1D7E1;
            }

            40% {
                background-color: #d3d1e1
            }

            50% {
                background-color: #D1DFE1
            }

            60% {
                background-color: #c3cbd8;
            }

            70% {
                background-color: #bec7d5;
            }

            80% {
                background-color: #a0acc1;
            }

            90% {
                background-color: #D1D7E1;
            }

            100% {
                background-color: #f0f2f5;
            }
        }

        .cloud {
            position: fixed;
            width: 200px;
            height: 100px;
            background-size: contain;
            background-repeat: no-repeat;
            z-index: -999;
            animation: cloudMove 30s linear infinite;
        }

        .cloud1 {
            left: 10%;
            background-image: url('slike/star.png');
            animation-duration: 25s;
            animation-delay: 0s;
        }

        .cloud2 {
            left: 50%;
            background-image: url('slike/star.png');
            animation-duration: 35s;
            animation-delay: 5s;
        }

        .cloud3 {
            left: 80%;
            background-image: url('slike/star.png');
            animation-duration: 40s;
            animation-delay: 10s;
        }

        @keyframes cloudMove {
            0% {
                top: -150px;
                transform: translateX(0);
            }
            25% {
                transform: translateX(-20px);
            }
            50% {
                transform: translateX(20px);
            }
            75% {
                transform: translateX(-10px);
            }
            100% {
                top: 100vh;
                transform: translateX(0);
            }
        }


        @media only screen and (max-width: 760px) {
            h1 {
                font-size: 3rem;
            }
            
            h4 {
                font-size: 1.5rem;
            }
            
            .img-comp-container {
                width: 100%;
                height: 55vw; 
                margin: 0 auto;
            }
            
            .img-comp-img {
                width: 100%;
                height: 100%;
            }
            
            
            .img-comp-slider {
                width: 30px;
                height: 30px;
            }
            
            .cloud {
                width: 100px;
                height: 50px;
            }
            
       
        }