body {
    font-family: "Oswald", sans-serif;
    text-align: center;
    margin-top: 100px;
    background-color: rgb(89, 6, 90);
    color: rgb(8, 155, 8);
    animation: pageUp 6s forwards;
}

h1 {
    font-family: "EB Garamond", serif;
    font-weight: 400;
    font-size: 60px;
}

h2 {
    font-size: 36px;
    font-weight: 400;
}

p {
    font-size: 24px;
    font-weight: 400;
}


img {
    width: 300px;
    opacity: 0;
    animation-name: fadeGrow;
    animation-duration: 10s;
    animation-delay: 2s;
    animation-fill-mode: forwards;
}

/*make flower grow and get more opaque*/


@keyframes fadeGrow {
    from {
        opacity: 0;
        transform: scale(0.25);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}



/*page grows up*/
@keyframes pageUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}


/*change from green to pink*/

h1,
h2,
p {
    animation: colorShift 4s forwards;
    animation-delay: 0.5s;
}

@keyframes colorShift {
    0% {
        color: rgb(8, 155, 8);
        /* green */
    }

    65% {
        color: rgb(8, 155, 8);
        /* still green */
    }

    100% {
        color: rgb(241, 201, 227);
        /* pink */
    }
}