body{
    background-color: #86112E;
}

#container{
    background-color: #2E2E41;
    width: 550px;
    height: 400px;
    border-radius: 5px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Poppins', sans-serif;
}

/*main menu*/

.preview{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
    border-radius: 5px;
    padding-top: 45px;
}

h1{
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    -webkit-text-stroke: .8px white;
    -webkit-text-fill-color: #E53F71;
}

/* play button */

.button-49,
.button-49:after {
  width: 80px;
  height: 70px;
  line-height: 70px;
  font-size: 25px;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(45deg, transparent 5%, #E53F71 5%);
  border: 0;
  color: #fff;
  letter-spacing: 3px;
  box-shadow: 6px 0px 0px white;
  outline: transparent;
  position: relative;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  cursor: pointer;
}

.button-49:after {
  --slice-0: inset(50% 50% 50% 50%);
  --slice-1: inset(80% -6px 0 0);
  --slice-2: inset(50% -6px 30% 0);
  --slice-3: inset(10% -6px 85% 0);
  --slice-4: inset(40% -6px 43% 0);
  --slice-5: inset(80% -6px 5% 0);
  
  content: 'ALTERNATE TEXT';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 3%, #00E6F6 3%, #00E6F6 5%, #FF013C 5%);
  text-shadow: -3px -3px 0px #F8F005, 3px 3px 0px #00E6F6;
  clip-path: var(--slice-0);
}

.button-49:hover:after {
  animation: 1s glitch;
  animation-timing-function: steps(2, end);
}

@keyframes glitch {
  0% {
    clip-path: var(--slice-1);
    transform: translate(-20px, -10px);
  }
  10% {
    clip-path: var(--slice-3);
    transform: translate(10px, 10px);
  }
  20% {
    clip-path: var(--slice-1);
    transform: translate(-10px, 10px);
  }
  30% {
    clip-path: var(--slice-3);
    transform: translate(0px, 5px);
  }
  40% {
    clip-path: var(--slice-2);
    transform: translate(-5px, 0px);
  }
  50% {
    clip-path: var(--slice-3);
    transform: translate(5px, 0px);
  }
  60% {
    clip-path: var(--slice-4);
    transform: translate(5px, 10px);
  }
  70% {
    clip-path: var(--slice-2);
    transform: translate(-10px, 10px);
  }
  80% {
    clip-path: var(--slice-5);
    transform: translate(20px, -10px);
  }
  90% {
    clip-path: var(--slice-1);
    transform: translate(-10px, 0px);
  }
  100% {
    clip-path: var(--slice-1);
    transform: translate(0);
  }
}

@media (min-width: 768px) {
  .button-49,
  .button-49:after {
    width: 200px;
    height: 86px;
    line-height: 88px;
  }
}

/*game menu*/


.gameMenu{
  width: 100%;
  height: 100%;
  background-color: #2E2E41;
  border-radius: 5px;
  display: grid;
  grid-template-columns: repeat(2,1fr);
  grid-template-rows: .5fr 1fr 1fr;
  grid-template-areas: 
  'back attempts'
  'dashes dashes'
  'try try';
  display: none;
}

/*back button & try Again Button*/
.button-29 {
  margin: 10px;
  align-items: center;
  width: 80px;
  appearance: none;
  background: #E53F71;
  border: 0;
  border-radius: 6px;
  box-shadow: rgba(45, 35, 66, .4) 0 2px 4px,rgba(45, 35, 66, .3) 0 7px 13px -3px,rgba(58, 65, 111, .5) 0 -3px 0 inset;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-family: "JetBrains Mono",monospace;
  height: 48px;
  justify-content: center;
  line-height: 1;
  list-style: none;
  overflow: hidden;
  padding-left: 16px;
  padding-right: 16px;
  position: relative;
  text-align: left;
  text-decoration: none;
  transition: box-shadow .15s,transform .15s;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  white-space: nowrap;
  will-change: box-shadow,transform;
  font-size: 18px;
}

.button-29:focus {
  box-shadow: #E53F71 0 0 0 1.5px inset, rgba(45, 35, 66, .4) 0 2px 4px, rgba(45, 35, 66, .3) 0 7px 13px -3px, #293241 0 -3px 0 inset;
}

.button-29:hover {
  box-shadow: rgba(45, 35, 66, .4) 0 4px 8px, rgba(45, 35, 66, .3) 0 7px 13px -3px, #293241 0 -3px 0 inset;
  transform: translateY(-2px);
}

.button-29:active {
  box-shadow: #293241 0 3px 7px inset;
  transform: translateY(2px);
}

#backBtn{
  grid-area: back;
}

#tryAgainBtn{
  grid-area: try;
  justify-self: center;
  align-self: flex-start;
  width: 120px;
  display: none;
}

.attempts{
  grid-area: attempts;
  justify-self: end;
  margin: 20px;
  font-family: 'Poppins', sans-serif;
  text-transform: capitalize;
  font-weight: 500;
  color: #E53F71;
}

.word{
    grid-area: dashes;
    justify-self: center;
    position: relative;
    align-self: flex-end;
    font-size: 25px;
    color: #E53F71;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    font-weight: 700;

}

.info{
  padding: 10px;
  color:#e53f71;
  font-family: 'Poppins', sans-serif;

}

/*wrong letter animation*/

