* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: rgb(63, 94, 251);
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px;
  --light: hsl(0, 0%, 100%);
  --background: linear-gradient(to right bottom, hsl(236, 50%, 50%), hsl(195, 50%, 50%));
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Open Sans', sans-serif;
  min-height: 100vh;
}

#maindiv {
  padding: 15px;
  width: 450px;
  background: rgba(255, 255, 255, 0.57);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(6.9px);
  -webkit-backdrop-filter: blur(6.9px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: rgb(38, 57, 77) 0px 20px 30px -10px;
}

#topHeader {
  text-align: center;
  margin-top: 0;
}

#testYourSkill {
  text-align: center;
  margin-bottom: 20px;
  font-family: Bradley Hand, cursive;
  font-size: large;
}

#inputFields {
  font-family: Comic Sans MS, Comic Sans, cursive;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 0 0 10px 0;
}

#inputTime {
  width: 70px;
  height: 20px;
  font-size: 19px;
  border-radius: 5px;
  padding: 5px;
  text-align: center;
}

#inputScore {
  padding: 5px;
  width: 70px;
  height: 20px;
  margin-top: 5px;
  border-radius: 5px;
  color: rgb(0, 0, 0);
  width: 90px;
  margin-bottom: 6px;
  font-size: 20px;
  text-align: center;
}

form>button {
  display: none;
}

.parent {
  display: flex;
  justify-content: space-around;
  margin: 20px 0px 20px 0px;
}

button {
  font-size: 20px;
  text-transform: uppercase;
  width: 170px;
  cursor: pointer;
}

.blinkingDiv {
  text-align: center;
}

#pushStart {
  border: 2px solid grey;
  border-radius: 15px;
  text-align: center;
  padding: 5px;
  margin: 10px 0 10px 0px;
  display: inline-block;
  width: 185px;
  box-shadow: blue 0px 0px 0px 2px inset;
}

#resultMessage {
  text-align: center;
  font-size: 20px;
}

hr {
  width: 250px;
  height: 3px;
  background-color: black;
}

.mainradio {
  display: flex;
  margin-top: 15px;
  justify-content: center;
}

input[type="radio"] {
  background-color: #fff;
  margin: 1px;
  font: inherit;
  color: currentColor;
  width: 1.15em;
  height: 1.15em;
  border: 0.15em solid currentColor;
  border-radius: 50%;
}

.systemClickRadio {
  box-shadow: rgb(255, 0, 0) 0px 0px 1px 3px inset, rgb(255, 0, 0) 0px 0px 0px 1px;
}

.button-27 {
  appearance: none;
  background-color: #459a39;
  border: 2px solid #1A1A1A;
  border-radius: 15px;
  box-sizing: border-box;
  color: #FFFFFF;
  cursor: pointer;
  display: inline-block;
  font-family: Roobert, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
  margin: 0;
  min-height: 45px;
  min-width: 0;
  outline: none;
  padding: 5px 24px;
  text-align: center;
  text-decoration: none;
  transition: all 300ms cubic-bezier(.23, 1, 0.32, 1);
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  width: 100%;
  will-change: transform;
}

.button-27:disabled {
  pointer-events: none;
  background-color: rgb(245 126 126);
}

.button-27:hover {
  box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px;
  transform: translateY(-2px);
}

.button-27:active {
  box-shadow: none;
  transform: translateY(0);
}


/* modal */
.modal-container {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;

  display: none;
  justify-content: center;
  align-items: center;

  width: 100%;
  height: 100%;

  background: hsla(0, 0%, 40%, .6);
}

/* using :target */
.modal-container:target {
  display: flex;
}

.modal {
  width: 60%;
  padding: 4rem 2rem;
  border-radius: .8rem;

  color: var(--light);
  background: var(--background);
  box-shadow: .4rem .4rem 2.4rem .2rem hsla(236, 50%, 50%, 0.3);
  position: relative;

  overflow: hidden;
}

.modal__details {
  text-align: center;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid hsla(0, 0%, 100%, .4);
}

.modal__title {
  font-size: 2.2rem;
}

.modal__description {
  margin-top: 2rem;

  font-size: 1rem;
  font-style: italic;
}

.modal__text {
  padding: 0 4rem;
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 2;
}

.modal__text::before {
  content: '';

  position: absolute;
  top: 0%;
  left: 100%;
  transform: translate(-50%, -50%);

  width: 18rem;
  height: 18rem;
  border: 1px solid hsla(0, 0%, 100%, .2);
  border-radius: 100rem;

  pointer-events: none;
}

.reset-game-btn {
  display: flex;
  justify-content: end;
}

.modal__btn {
  padding: 1rem 1.6rem;
  border: 1px solid hsla(0, 0%, 100%, .4);
  border-radius: 100rem;
  color: inherit;
  background: transparent;
  font-size: 1rem;
  font-family: inherit;
  letter-spacing: .2rem;
  transition: .2s;
  cursor: pointer;
  width: 209px;
  margin-top: 20px;
}

.modal__btn:hover,
.modal__btn:focus {
  border-color: hsla(0, 0%, 100%, .6);
  transform: translateY(-.2rem);
}

/* links */
/* =============================================== */
.link-2 {
  width: 4rem;
  height: 4rem;
  border: 1px solid hsla(0, 0%, 100%, .4);
  border-radius: 100rem;

  color: inherit;
  font-size: 2.2rem;

  position: absolute;
  top: 2rem;
  right: 2rem;

  display: flex;
  justify-content: center;
  align-items: center;

  transition: .2s;
}

.link-2::before {
  content: '×';

  transform: translateY(-.1rem);
}

.link-2:hover,
.link-2:focus {
  border-color: hsla(0, 0%, 100%, .6);
  transform: translateY(-.2rem);
}