@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
    .contact{
            top: 15%;
    }
     div #test1.modal {
        display: none;
    }
      div #test3.modal {
        display: none;
    }
}
.floating {  
    animation-name: floating;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    margin-left: 30px;
    margin-top: 5px;
}

@keyframes floating {
    from { transform: translate(0,  0px); }
    65%  { transform: translate(0, 15px); }
    to   { transform: translate(0, -0px); }    
}
