/* dailyStyles.css */

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

.game-frame {
    display: block;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 750px;
    max-height: 1800px;
    margin: 0 auto; /* Center the container horizontally */
    height: 100vh; /* 100% of the viewport height */
}
/* Hide the elements with CSS */
.hidden {
  display: none;
}
.game-stars,
.game-target,
.game-equation,
.game-keypad {
    width: 95%; /* Each section fills the available width */
	max-width: 600px;
    box-sizing: border-box; /* Include padding and border in the width */
    margin-bottom: 1px; /* Adjust as needed */
	align-items: center;
    justify-content: center;
    

}

/* Additional styling for each section if needed */
.game-stars {
    /* Styles for the game-stars section */
	width: 90%;
    max-width: 600px;
    height: auto;
    text-align: center;
    font-size: 8vh;
    margin: auto;
    z-index: 2;
    padding: 2px;
    display: flex;
    flex-direction: row;
    justify-content: center;
}
.game-subStar {
    /* Styles for the game-subStars section */
    width: 25%;
    max-width: 40px;
    padding: 10px;
}


.game-target {
    /* Styles for the game-target section */
	width: 95%;
    max-width: 600px;
    height: auto;
    text-align: center;
    font-size: 4vh;
    margin: auto;
    padding: 10px;
}

.game-equation {
    /* Styles for the game-equation section */
	text-align: center;
    width: 95%;
    max-width: 600px;
    height: auto;
    margin: auto;
    padding: 10px;
    /* font-family: 'Daily-Digits'; */
    font-size: 4vh;

}

.in {
    width: 98%;
    font-size: 6vh;
    text-align: center;
    line-height: 15vh;
    horizontal-align: middle;
}
.runtot {	
	font-size: 3vh;
	color: #B2B2B2;
	font-style: italic;
	min-width: 6vh;
	z-index: 2;
}

.game-keypad {

    height: auto;
    text-align: center;
    horizontal-align: middle;
    margin: auto;
    padding: 2%;

}

.menu_button {
    float: right;
    margin-right: 10px; /* Adjust the margin as needed for spacing */
    
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    
    width: 48px;
    height: 48px;
     Use object-fit to contain the image within the button */
  
}


.mathbutton {

  padding: 2% 2%;
  width: 18%;
  height: 8%;
  font-size: 175%;
  font-family: "Lucida Console", "Courier New", monospace;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  outline: none;
  color: #fff;
  background-color: #4CAF50;
  border: none;
  border-radius: 20%;
  box-shadow: 0 5px #999;
	z-index: 2;
	
}
.mathbutton:hover {
	background-color: #3e8e41
}

.mathbutton:active {
  background-color: #3e8e41;
  box-shadow: 0 3px #666;
  transform: translateY(3px);
}

.mathbutton:disabled {
  color: #808080;
  background-color: #EBECF0;
}







/* Standard syntax */
@keyframes shake {
  10%, 90% {
    transform: translate3d(-2px, 0, 0);
  }

  20%, 80% {
    transform: translate3d(4px, 0, 0);
  }

  30%, 50%, 70% {
    transform: translate3d(-8px, 0, 0);
  }

  40%, 60% {
    transform: translate3d(8px, 0, 0);
  }
}

.apply-shake {
	color: #ff0000;
    animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both;
}
.apply-shake-no-clear {
	color: #ff0000;
    animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both;
}
.apply-spin {
	
    animation: spin 1.5s cubic-bezier(.36,.07,.19,.97) both;
}
.apply-spin2 {
	
    animation: spin2 5s cubic-bezier(.36,.07,.19,.97);
	
}


@keyframes shakeGood {
  10%, 90% {
    transform: translate3d(0, -2px, 0);
  }

  20%, 80% {
    transform: translate3d(0, 4px, 0);
  }

  30%, 50%, 70% {
    transform: translate3d(0,-8px, 0);
  }

  40%, 60% {
    transform: translate3d(0,8px, 0);
  }
}
@keyframes spin {
  10% {
        transform:scale(1);
    }
  50% {
        transform:scale(4);
    }
	90% {
        transform:scale(1);
    }
}
@keyframes spin2 {
  10% {
        transform:scale(1);
	  
	   
    }
  50% {
        transform:scale(4) rotateZ(720deg) translate3d(-20px,0,0);
	  	
    }


	90% {
        transform:scale(1) translate3d(0px,0,0);
		
    }
}


.apply-shake-good {
	color: #3e8e41;
    animation: shakeGood 0.82s cubic-bezier(.36,.07,.19,.97) both;
}
.example {
	width: min-content;
}
.apply-wobble {
	
 
  animation: wobble 1.2s 6;
}

@keyframes wobble {
   0% {
    transform:  scale(1);
  }
  5% {
    transform:  scale(1.1);
  }
  10% {
    transform:  scale(1);
  }
  15% {
    transform:  scale(1.2);
  }
  50% {
    transform:  scale(1);
  }
  100% {
    transform:  scale(1);
  }

}
