
*{
    margin: 0px;
    padding: 0px;
}

.warning{
position: absolute;
    text-align: center;
    color: aliceblue; 
    font-family: 'Courier New', Courier, monospace;

}

.sun{
height: 256px;
width: 256px;
opacity: 0.3;
background: url('trollian.png') no-repeat; 
position: absolute;
animation: float 2.5s ease-in-out infinite;            
}


.container{
    height: 48vw;
    display: flex;
    justify-content: center;
    align-items: center;
    background: black;
}



.earth{
    height: 60px;
    width: 60px;
    opacity: 0.3;
    background: url('icon.png') no-repeat;
    position: relative;
    border-radius: 50%;
    animation: earth-orbit 20s linear infinite;
}

@keyframes earth-orbit
{
from {transform: rotate(0deg) translateX(220px) rotate(0deg);}
to {transform: rotate(360deg) translateX(220px) rotate(-360deg);}
}

@keyframes float {
            0% {
                transform: translateY(0);
            }

            50% {
                transform: translateY(-9px);
            }

            100% {
                transform: translateY(0);
            }
        }

@media only screen and (max-width: 920px) {
    html, body {
        overflow-x: hidden;
    }

    .container {
        height: 100vh;
        min-height: 100vh;
        padding: 16px;
        box-sizing: border-box;
    }

    .warning {
        position: relative;
        width: 92%;
        max-width: 420px;
        font-size: 16px;
        line-height: 1.45;
        z-index: 2;
    }

    .sun {
        width: 160px;
        height: 160px;
        background-size: contain;
    }

    .earth {
        width: 48px;
        height: 48px;
        background-size: contain;
    }
}

@media only screen and (max-width: 920px) {
    html, body {
        overflow-x: hidden;
    }

    .container {
        height: 100vh;
        min-height: 100vh;
        padding: 16px;
        box-sizing: border-box;
    }

    .warning {
        position: relative;
        width: 90%;
        max-width: 420px;
        margin: 0 auto;
        font-size: 16px;
        line-height: 1.45;
        z-index: 2;
        padding: 8px;
    }

    .sun {
        width: 160px;
        height: 160px;
        background-size: contain;
    }

    .earth {
        width: 48px;
        height: 48px;
        background-size: contain;
    }
}