html {
    background: #fff;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

main {
    height: 100vh;
    width: 100%;
    display: grid;
    justify-content: center;
    align-items: center;
    padding: 40px;
    box-sizing: border-box;
    overflow: hidden;
    justify-items: center;
}

@-moz-keyframes spin { 
    100% { -moz-transform: rotate(-360deg); } 
}
@-webkit-keyframes spin { 
    100% { -webkit-transform: rotate(-360deg); } 
}
@keyframes spin { 
    100% { 
        -webkit-transform: rotate(-360deg); 
        transform:rotate(-360deg); 
    } 
}

main img {
    width: 90%;
    max-width: 90%;
    height: auto;
    -webkit-animation:spin 4s ease infinite;
    -moz-animation:spin 4s ease infinite;
    animation:spin 4s ease infinite;
}