diff --git a/index.html b/index.html
index ad70b48..c36a6b5 100644
--- a/index.html
+++ b/index.html
@@ -99,7 +99,7 @@
Choose your favorite Vegetable to continue..
diff --git a/script.js b/script.js
index d236f72..8c7c462 100644
--- a/script.js
+++ b/script.js
@@ -26,6 +26,7 @@ choose_btns.forEach(btn => {
function startGame() {
document.getElementById("pause-menu").style.display = "none";
+ document.getElementById("pause-button").style.display = "block";
isRunning = 1;
gameInterval = setInterval(increaseTime, 1000)
}
diff --git a/style.css b/style.css
index 4acc539..ec314ef 100644
--- a/style.css
+++ b/style.css
@@ -214,6 +214,7 @@ h1{
}
#pause-button{
+ display:none;
width:40px;
height: 40px;
position: fixed;
@@ -252,11 +253,30 @@ h1{
letter-spacing: 30px;
}
-#pause-menu .home{
- color: goldenrod;
-}
-
-.play-button, .restart-button, .home{
+.play-button, .restart-button, .home-button{
width: 40px;
height: 40px;
}
+
+#pause-menu {
+ animation-name: scaleMenu;
+ animation-duration: 3s;
+ animation-iteration-count: infinite;
+ transform: scale(1);
+}
+
+@keyframes scaleMenu{
+ 10% {
+ transform: scale(1.2);
+ }
+
+ 20% {
+ transform: scale(1);
+ }
+}
+
+.play-button:hover, .play-button:focus, .restart-button:hover, .restart-button:focus, .home-button:focus, .home-button:hover{
+ background-color: #ffdf8f;
+ color: var(--primary);
+ transition: all 0.2s ease;
+}
\ No newline at end of file