@keyframes change {
  from { background-color: Plum; }
  to   { background-color: PowderBlue; }
}

* {
	color: DarkViolet;
	text-align: center;
}

body {
	animation: change 2s linear infinite alternate;
	font-family: sans-serif;
	font-size: 24px;;
	padding: 20px;
}

h1 { font-size: 48px; }


button, .back-link {
    display: inline-block;
    padding: 12px 24px;
    font-size: 20px;
    text-decoration: none;
    border-radius: 5px;
    background-color: Purple;
    color: white;
    border: none;
    cursor: pointer;
}

.back-link { background-color: Gray; margin-top: 20px; }


.game-board {
    display: grid;
    grid-template-columns: repeat(3, 120px);
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}


.hole {
    width: 120px;
    height: 120px;
    background-color: BlanchedAlmond;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    border: 4px solid BurlyWood;
}


.cat {
    font-size: 60px;
    position: absolute;
    width: 100%;
    bottom: -100px; 
    cursor: pointer;
    transition: bottom 0.1s ease; 
}

.cat img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%; 
    display: block;
    margin: 0 auto; 
}

.cat.popup {
    bottom: 20px; 
    animation: bouncePop 0.4s ease-out forwards; 
}

@keyframes bouncePop {
    0% {
        transform: scale(0.3); 
    }
    60% {
        transform: scale(1.2);
    }
    80% {
        transform: scale(0.95); 
    }
    100% {
        transform: scale(1.0);
    }
}
