html, body {
    background-color: pink;
    margin: 0;
    height: 100%;
}

main {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 90%;
}

.text {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
    animation: fadeIn 2s 2s forwards;
    opacity: 0;
}

.text h1 {
    font-size: 4rem;
    margin-bottom: 0.25rem;
}

img {
    position: absolute;
    max-width: 500%;
    max-height: 500%;
    min-width: 25%;
    min-height: 25%;
    z-index: 0;
    animation-name: spin;
    animation-duration: 30s;
	animation-timing-function: linear;
	animation-iteration-count: infinite;
}

@media only screen and (max-width: 768px) {
    .text h1 {
        font-size: 3rem;
    }
}

@keyframes spin {
    from {transform:rotate(0deg);}
    to {transform: rotate(360deg);}
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}
