:root{
  --color-active: #48abe0;
  --color-active-darker: #27698c;
}

body{
  background-image: url(../img/background.svg);
  background-size: cover;
  margin: 0;
  height: 100dvh;
}

.hawk {
  background: url(../img/hawk.svg);
  background-size: cover;
  position: fixed;
  left: 16px;
  bottom: 16px;
  height: 350px;
  width: 270px;
}

.GrandPa {
  background: #343434;
  border-radius: 16px;
  padding: 16px;
  width: 432px;

  position: fixed;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
}
.GrandPa > .inner {
  background: #232323;
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 4px;
  overflow: hidden;
}
.GrandPa > .console {
  font-family: monospace;
  background: #000000;
  border: 4px solid #444444;
  border-radius: 4px;
  padding: 6px;
  color: #ff8800;
  margin-top: 6px;
}
.GrandPa > .name {
  text-align: right;
  margin: 8px;
}
.GrandPa > .name  > .block {
  background: #8d8d8d;
  border-radius: 6px;
  color: #3a3a3a;
  display: inline-block;
  font-family: "Bebas Neue";
  font-size: 50px;
  line-height: 40px;
  padding-top: 12px;
  text-align: center;
  width: 50px;
  height: 50px;
}


.key {
  background-image: url(../img/key.svg);
  background-size: contain;
  border-radius: 5px;
  height: 64px;
  width: 64px;

  font-family: "Bebas Neue";
  font-size: 20px;
  text-align: center;
  line-height: 46px;
  color: #000000;

  transition: 200ms 50ms box-shadow, 200ms 50ms background-color, 200ms 50ms color;
}
.key.active {
  box-shadow: 0 0 50px 15px var(--color-active);
  background-color: var(--color-active);
  color: var(--color-active);
  animation: keyAnimation 350ms;
}

.key > .top {
  background: #656565;
  border-radius: 3px;
  height: 43px;
  margin: 9px;
  position: relative;
  z-index: 10;
}

@keyframes keyAnimation {
  from {
    /*box-shadow: 0 0 0 0;*/
    /*background-color: initial;*/
    /*color: #000000;*/
    filter: brightness(1);
  }

  50% {
    /*box-shadow: 0 0 0 0;*/
    /*background-color: initial;*/
    /*color: #000000;*/
    filter: brightness(0.5);
  }

  to {
    /*box-shadow: 0 0 50px 15px var(--color-active);*/
    /*background-color: var(--color-active);*/
    /*color: var(--color-active);*/
    filter: brightness(1);
  }
}