* {
    box-sizing: border-box;
}
img {
    max-width: 100%;
}

body{
    margin:0;
}
.container{
    background-image:url(DSC03824.JPG);
    background-size: 100%;
    height:100vh;
    width:100vw;
    display:flex;
    flex-direction:column;
    /* align-items:center; */
    border:dotted 2px rgb(230, 0, 0);
    animation:border 6s infinite alternate, backgroundChange 30s infinite linear;
    overflow:hidden;
    justify-content:space-between;
    position:relative;
}
.innerContainer{
    height:100%;
    width:100%;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    animation: innerborder 2s infinite alternate;
}
@keyframes innerborder{
    0%{
        border:groove 3px orangered;
    }100%{
        border:groove 13px yellow;
    }
}
@keyframes border{
    0%{
        border:dotted 2px rgb(230, 0, 0,1);
    }100%{
        border:dotted 100px rgb(230, 0, 0,0);
    }
}

@keyframes backgroundChange {
    0%{
        background-image:url(DSC03824.JPG);
    }25%{
        background-image:url(DSC03833.JPG);
    }50%{
        background-image:url(DSC03885.JPG);
    }75%{
        background-image:url(DSC00714.JPG);
    }100%{
        background-image:url(DSC00715.JPG);
    }
}

.row{
    height:20%;
    width:100%;
    display:flex;
    flex-direction:row;
    justify-content:space-between;
}


.ball {
    position:relative;
    height:100px;
    width:100px;
    background:linear-gradient(rgb(135, 206, 235), rgb(255, 192, 203, 1));
    /* border:orchid, dashed, 2px; */
    border:(linear-gradient(hotpink, orchid)), groove, 2px;
    border-radius:100%;
    animation:ball 5s infinite alternate ease-in-out;
    transition: all 1s;
    filter:none;
}

.ball:hover {
     background:linear-gradient(rgb(255, 192, 203,.3), rgb(135, 206, 235,.3));
     filter:hue-rotate(90deg);
     filter:blur(3px);
}

@keyframes ball{
    0%{
        border:orchid groove 2px;
        transform: rotate(0deg);
        transform: skewY(45deg);
        scale:1;
        border-radius:100%;
    }50%{
        border:lightskyblue groove 30px;
    }100%{
        border:rgb(9, 52, 173) groove 50px;
        transform: rotate(360deg);
        transform: skewY(45deg);
        scale:3;
        border-radius:0%;
    }
}


.pearl{
    background-image:radial-gradient(beige 5%, hotpink 100%);
    /* background-size:100%; */
    height:100px;
    width:100px;
    position:absolute;
    transform-origin:center;
    top:50%;
    left:50%;
    border-radius:100%;
    transform:translate(-50%,-50%);
    animation:bounce 15s infinite alternate ease-in-out;
}

@keyframes bounce{
    0%{
        background-position:0px,0px;
        transform:rotate(0deg);
        left:50%;
        top:50%;
    }20%{
        /* left:60%; */
        /* top:10%; */

    }40%{
        left:50%;
        top:10%;
    }60%{
        background-position:-25px, -50px;
        /* left:50%; */
        /* top:80%; */
    }80%{
        left:30%;
        top:80%;

    }100%{
        background-position:-50px,0px;
        transform:rotate(250deg);
        left:20%;
        top:20%;
    }
}