/******************************************
/* CSS
/*******************************************/
/* ----------------------------------------------
 * Generated by Animista on 2023-11-16 0:49:27
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation pulsate-fwd
 * ----------------------------------------
 */
 @-webkit-keyframes pulsate-fwd {
  0% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  50% {
    -webkit-transform: scale(1.1);
            transform: scale(1.1);
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}
@keyframes pulsate-fwd {
  0% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  50% {
    -webkit-transform: scale(1.1);
            transform: scale(1.1);
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}


/**
 * ----------------------------------------
 * animation tracking-in-expand-fwd-top
 * ----------------------------------------
 */
 @-webkit-keyframes tracking-in-expand-fwd-top {
  0% {
    letter-spacing: -0.5em;
    -webkit-transform: translateZ(-700px) translateY(-500px);
            transform: translateZ(-700px) translateY(-500px);
    opacity: 0;
  }
  40% {
    opacity: 0.6;
  }
  100% {
    -webkit-transform: translateZ(0) translateY(0);
            transform: translateZ(0) translateY(0);
    opacity: 1;
  }
}
@keyframes tracking-in-expand-fwd-top {
  0% {
    letter-spacing: -0.5em;
    -webkit-transform: translateZ(-700px) translateY(-500px);
            transform: translateZ(-700px) translateY(-500px);
    opacity: 0;
  }
  40% {
    opacity: 0.6;
  }
  100% {
    -webkit-transform: translateZ(0) translateY(0);
            transform: translateZ(0) translateY(0);
    opacity: 1;
  }
}

/**
 * ----------------------------------------
 * animation roll-in-left
 * ----------------------------------------
 */
 @-webkit-keyframes roll-in-left {
  0% {
    -webkit-transform: translateX(-800px) rotate(-540deg);
            transform: translateX(-800px) rotate(-540deg);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0) rotate(0deg);
            transform: translateX(0) rotate(0deg);
    opacity: 1;
  }
}
@keyframes roll-in-left {
  0% {
    -webkit-transform: translateX(-800px) rotate(-540deg);
            transform: translateX(-800px) rotate(-540deg);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0) rotate(0deg);
            transform: translateX(0) rotate(0deg);
    opacity: 1;
  }
}

/* ----------------------------------------------
 * Generated by Animista on 2023-11-16 1:26:14
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation pulsate-bck
 * ----------------------------------------
 */
 @-webkit-keyframes pulsate-bck {
  0% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  50% {
    -webkit-transform: scale(0.9);
            transform: scale(0.9);
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}
@keyframes pulsate-bck {
  0% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  50% {
    -webkit-transform: scale(0.9);
            transform: scale(0.9);
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}




/* Box Model Hack */
*{
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  height: 100%;
  width: 100%;
}

@font-face {
  font-family: 'Pokemon';
  src: url('../fonts/Pokemon-Solid.ttf') format('truetype');
}

/******************************************
/* LAYOUT
/*******************************************/
img{
  display: block;
  margin: 5% auto 0 auto;
  width: 20%;
  height: 20%;

  opacity: 0.6;
  
}

body {
  display: flex;
  height: inherit;
  width: inherit;
  color: #030303;
  flex-flow: column wrap;
  justify-content: center;
  align-items: center;
  font-family: 'Pokemon';
  background: url('../img/pokemon-stadium.jpg') 50% 50% no-repeat;
  font-size: 2rem;
  font-weight: bold;
  margin: 0 auto;
  text-align: center;
}

a {
  text-decoration: none;
  color: inherit;

}

.start {
  font-size: 8rem;
}

h1 {
  font-size: 3.5rem;
}

h2, h4 {
  font-size: 3rem;
}

h3 {
  display: block;
  width: 50%;
  height: 5%;
  font-size: 2.5rem;
}

#score {
  color: green;
}

#outs {
  color: maroon;
}

#high {
  color: dodgerblue;
}
.but, button {
  border: 0px solid;
  border-radius: 25px;
  background: goldenrod;
  outline: 1px solid;
  color: black;
  outline-color: black;
  outline-offset: 0px;
  text-shadow: none;
  cursor: pointer;
  font-size: 2rem;
  line-height: 2.5rem;
  max-width: 160px; 
  width: 100%;
  height: 5%;
  padding: 1rem 0;
  margin-bottom: 3%;
  letter-spacing: 0.3rem;
  font-weight: 600;
  position: relative;
  text-decoration: none;
  text-transform: uppercase;
  display: flex;
  justify-content: center;
  transition: all 550ms cubic-bezier(
      .36,.63,.5,.73
  );
}

.but:hover {
  border: 1px solid darkgreen;
  outline-color: rgba(255, 255, 255, 0);
  outline-offset: 15px;
  color: darkgreen;
}

.roll-in-left {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
  list-style-type: none;
  font-size: 3rem;
  font-weight: bold;
}

.roll-in-left > li {
  margin: 2%;
}

div {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  height: 20%;
  width: 100%;
  margin: 3% 0;
}

div > button {
  text-transform: none;
  padding: 1% 0 3% 0;
  margin: 2% 2%;
  letter-spacing: normal;
  text-align: center;
  width: 50%;
  height: 25%;
}
/******************************************
/* ADDITIONAL STYLES
/*******************************************/

.search {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 60px;
  padding: 10px;
  cursor: pointer;
  background-repeat: no-repeat;
  font-family: sans-serif;
  font-size: 24px;
  color: transparent;
  border: 1px solid #030303;
  transition: width 300ms, background-position 300ms;
  overflow: hidden;
  background: url(../img/ball.svg) no-repeat transparent;
  background-size: 60px;
  background-position: 45% 50%;
} 

.search:hover {
  cursor: pointer;
  border: 1px solid #030303;
  background: url(../img/ball.svg) no-repeat transparent;
  background-size: 60px;
  background-position: 45% 50%;
}

.search:focus, .search:not(:placeholder-shown) {
  max-width: 300px;
  width: 100%;
  cursor: text;
  color: #030303;
  padding-left: 75px;
  outline: none;
  transition: width 500ms, background-position 300ms;
  border: 1px solid #030303;
  background-color: transparent;
  background: url(../img/ball.svg) no-repeat;
  background-size: 60px;
  background-position: 10px 50%;
}
.pulsate-fwd {
	-webkit-animation: pulsate-fwd 0.5s linear infinite both;
	        animation: pulsate-fwd 0.5s linear infinite both;
}
.tracking-in-expand-fwd-top {
	-webkit-animation: tracking-in-expand-fwd-top 0.8s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
	        animation: tracking-in-expand-fwd-top 0.8s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
}

.roll-in-left {
	-webkit-animation: roll-in-left 0.6s ease-out both;
	        animation: roll-in-left 0.6s ease-out both;
}

.pulsate-bck {
	-webkit-animation: pulsate-bck 0.5s ease-in-out infinite both;
	        animation: pulsate-bck 0.5s ease-in-out infinite both;
}

@media all and (max-width: 575px) {
  body {
    overflow: auto;
    flex-wrap: nowrap;
  }

  div {
    flex-flow: column nowrap;
  }
  
  div > button {
    width: 50%;
    height: 25%;
  }
}