* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    background-color: darkblue;
    font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;
}

::selection {
    background-color: yellow;
}

.homes {
    max-width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10vw;
}

.home {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.figure,
.house {
    width: 20vw;
    max-width: 200px;
    filter: drop-shadow(0 0 30px blue);
    transition: 5s;
}

.figure {
    width: 125px;
}

.figure:hover {
    transform: rotate(360deg);
    filter: drop-shadow(0 0 30px lightblue);
}

.house:hover {
    /* shake animation from w3schools. i love u w3schools: https://www.w3schools.com/howto/howto_css_shake_image.asp */
    animation: shake 0.5s;
    animation-iteration-count: infinite;
    filter: drop-shadow(0 0 50px lightblue);
}

@keyframes shake {
    0% {
        transform: translate(1px, 1px) rotate(0deg);
    }

    10% {
        transform: translate(-1px, -2px) rotate(-1deg);
    }

    20% {
        transform: translate(-3px, 0px) rotate(1deg);
    }

    30% {
        transform: translate(3px, 2px) rotate(0deg);
    }

    40% {
        transform: translate(1px, -1px) rotate(1deg);
    }

    50% {
        transform: translate(-1px, 2px) rotate(-1deg);
    }

    60% {
        transform: translate(-3px, 1px) rotate(0deg);
    }

    70% {
        transform: translate(3px, 1px) rotate(-1deg);
    }

    80% {
        transform: translate(-1px, -1px) rotate(1deg);
    }

    90% {
        transform: translate(1px, 2px) rotate(0deg);
    }

    100% {
        transform: translate(1px, -2px) rotate(-1deg);
    }
}


marquee {
    position: fixed;
    bottom: 1rem;
}

.caterpillar {
    width: 400px;
    height: 250px;
    background: url('images/misc/caterpillar.png');
    background-size: contain;
    filter: drop-shadow(0 0 20px purple);
    transition: 3s;
}

.caterpillar:hover {
    background: url('images/misc/birthdaycatepillar.png');
    background-size: contain;
    filter: drop-shadow(0 0 20px yellow);
}