body {
  background-color: #E5E5E5;
  display: table-cell;
  height: 100vh;
  margin: 0;
  text-align: center;
  vertical-align: middle;
  width: 100vw;
}

.case {
  background-color: #463973;
  border-color: #2e2640;
  border-radius: 5px;
  border-style: solid;
  border-width: 8px 10px 15px 10px;
  display: inline-grid;
  grid-template-columns: repeat(36, 1fr);
  grid-template-rows: repeat(5, 1fr);
  height: 17em;
  padding: 5px;
  user-select: none;
  width: 60em;
}

.key {
  border-color: #382e59 #2e2640;
  border-radius: 2px;
  border-style: solid;
  border-width: 3px 5px 8px 5px;
  color: #bbadd9;
  display: block;
  font-family: sans-serif;
  font-size: 9px;
  font-weight: 800;
  grid-column-end: span 2;
  margin: 3px;
  padding-top: 2px;
  padding: 5px;
  text-align: center;
  text-transform: uppercase;
  transition: all 50ms ease-out;
  will-change: box-shadow, color, text-shadow;
}

.key:empty::before {
  content: attr(data-key);
}

.active {
  transform: perspective(1200px) translateZ(-90px);
  background-color: yellow;
}

.nextChar {
  transform: perspective(1200px) translateZ(-90px);
  background-color: blue;
}

.medium {
  grid-column-end: span 3;
}

.large {
  grid-column-end: span 4;
}

.xl {
  grid-column-end: span 5;
}

.xxl {
  grid-column-end: span 6;
}

.xxxl {
  grid-column-end: 7;
}

.huge {
  grid-column-end: span 12;
}

.keyboard {
  position: fixed;
  bottom: 0;
  left: 10%;
}

.typingArea {
  border: 2px solid red;
  position: absolute;
  top: 100px;
  left: 20%;
  width: 60%;
  margin: auto;
}

.typingArea p {
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  color: #333333;
  margin-bottom: 20px;
}

.typingArea #wordOutput>* {
  display: inline;
}

.typingArea #wordOutput {
  color: #FF9900;
  font-weight: bold;
  display: block;
  margin: auto;
  /* text-align: center;
    justify-items: center;
    align-items: center; */
}

.typingArea input {
  border: none;
  outline: none;
  background-color: transparent;
  padding: 12px;
  width: 100%;
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  text-align: center;
  border-radius: 6px;
  /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
  transition: box-shadow 0.3s ease-in-out;
}

.menu_level {
  text-decoration: none;
  background-color: black;
  color: #E5E5E5;
  border: 2px solid red;
  border-radius: 5px;
  width: 60vw;
  display: block;
  margin: 10px auto;
  padding: 20px;
}

menu_body {
  align-items: center;
}

.disp_none {
  display: none !important;
}


/* New design */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: #27272c;
}

.menu_body {
  display: flex;
  flex-direction: column;
  row-gap: 25px;
}
.menu_body a {
  position: relative;
  background: #444;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  border: none;
  letter-spacing: 0.1rem;
  font-size: 1rem;
  padding: 1rem 4.2rem;
  transition: 0.2s;
  cursor: pointer;
  border: 2px solid white;
}

.menu_body a:hover {
  letter-spacing: 0.2rem;
  padding: 1rem 3.35rem;
 border: 2px solid greenyellow;
  /* box-shadow: 0 0 35px var(--clr); */
  animation: box 3s infinite;
}

.menu_body a::before {
  content: "";
  position: absolute;
  inset: 2px;
  /* background: #272822; */
}

@keyframes move {
  0% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(5px);
  }

  100% {
    transform: translateX(0);
  }
}

@keyframes box {
  0% {
    box-shadow: #27272c;
  }

  50% {
    box-shadow: 0 0 25px var(--clr);
  }

  100% {
    box-shadow: #27272c;
  }
}