@keyframes changeColor{
    0% {background-color: purple;}
    50% {background-color: green;}
    100% {background-color: purple;}
}

@keyframes rotateImage{
    0% {transform: rotateY(75deg);}
    25% {transform: rotateY(150deg);}
    50% {transform: rotateY(225deg);}
    75% {transform: rotateY(300deg);}
    100% {transform: rotateY(0 deg);}
}

html{
    background-color: #e48705;
}

body{
    text-align: center;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}

h1{
    font-size: 75px;
}

h2 {
    font-size: 45px;
}

p {
    font-size: 20px;
}

#p1{
    font-size: 25px;
    background-color: purple;
    padding: 15px;
    width: 100%;
    border: 3px dashed black;
    animation-name: changeColor;
    animation-duration: 8s;
    animation-iteration-count: infinite;
}

#p2 {
    font-size: 25px;
    background-color: #ae03ff;
    padding: 15px;
    border: 3px dotted black;
}

.ghost {
    float: left;
    transition-duration: 1s;
    width: 130px;
    height: 150px;
}

.ghost:hover{
    opacity: 0;
}

#gh {
    width: 500px;
    height: 400px;
    margin-left: -15%;
    transform: rotateY(0deg);
}

#gh:hover{
    animation-name: rotateImage;
    animation-duration: 5s;
}

#lvl{
    margin-right: -15%;
}