body {
    background-color: lightpink;
}

h1 {
    text-align: center;
}

.app-container {
    display: flex;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 40px;
}

.app {
    border-radius: 20px;
    border-style: solid;
    height: 150px;
    width: 150px;
    cursor: pointer;
}

#duck {
    svg {
        animation-name: spin;
        animation-duration: 4000ms;
        animation-iteration-count: infinite;
        animation-timing-function: linear; 
    }
    &:hover {
        border-color: hotpink;
        path {
            fill: hotpink;
        }
    }
}

#toilet {
    display: flex;
    align-items: center;
    justify-content: center;
    svg {
        max-width: 80%;
        width: 100%;
    }
    &:hover {
        border-color: red;
        path {
            fill: red;
        }
    }
}

@keyframes spin {
    from {
        transform:rotate(0deg);
    }
    to {
        transform:rotate(360deg);
    }
}