* {
  box-sizing: border-box;
  margin: 0px;
  padding: 0px;
  font-family: "ABeeZee", sans-serif;
  /* border: 1px solid red; */
}
/*.home_button{
  margin: 0%;
  bottom: 5%;
}*/

.bg {
  width: 100%;
  height: 100%;
  display: flex;
  flex-flow: row nowrap;
  text-align: center;

  /* position: relative; */
}

.bg1 {
  top: 0px;
  left: 0px;
  /* position: absolute; */
 /* background-color: #ce4f5d;*/
  background-image: url(../assets/fields.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  display: flex;
  flex-flow: row wrap;
  row-gap: 20px;
  justify-content: space-between;
  width: 100vw;
  height: 100vh;
  z-index: -5;
}
#myAudio{
  z-index: -1;
}

.upper {
  display: flex;
  flex-flow: row wrap;
  width: 100vw;
  height: 15vh;
  align-items: center;
  justify-content: center;
}

.mid {
  display: block;
  width: 100vw;
}

.lower {
  display: flex;
  padding: -10px;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  flex-flow: row wrap;
  position: absolute;
  top: 25%;

  /* border: 1px solid red; */
}

body {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  flex-direction: row;
}

h1 {
  text-align: center;
  font-size: 1.7em;
  font-family: monospace;
  padding: 0.7em;
}

.keyboard {
  text-align: center;
  font-size: 1px;
  width: 100vw;
  font-family: sans-serif;
  position: absolute;
  bottom: 2vh;
  
  display: flex;
  flex-wrap:wrap;
  justify-content: center;
}

.windows-key {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
}

.win-logo {
  width: 49%;
  height: auto;
}


.home-key-1::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 50%;
  width: 1vw;
  height:0.5vh; 
  background-color:black;
  transform: translateX(-50%);
  border-radius: 3px;
}
.home-key-2::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 50%;
  width:1vw;
  height:0.5vh; 
  background-color:black;
  transform: translateX(-50%);
  border-radius: 2px;
}
.home-key-1{
  line-height: 2.8em;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgb(255, 189, 202) !important;
  color: black;
}
.home-key-2{
  line-height: 2.8em;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgb(245, 112, 112) !important;
  color: black;
}

.keyboard__row {
  display: inline-block;
  height: 3em;
  margin: 0.7em;
}

.keyboard__row--h1 {
  height: 1.7em;
  line-height: 1.4em;
}

.keyboard__row--h3 {
  height: 3.3em;
}

.keyboard__row > * {
  position: relative;
  background: white;
  text-align: center;
  color: #030000;
  float: left;
  border-radius: 0.3em;
  margin: 0.2em;
  padding: 0.2em;
  width: 4em;
  height: 120%;
  box-sizing: border-box;
  cursor: pointer;
  -webkit-background-origin: padding-box;
  background-origin: padding-box;
  border: 1px solid #000000;
  box-shadow: 0 0.2em 0 0.05em #222;
  border-bottom-color: #555;
}

.keyboard__row--h1 > div {
  width: 3.5em;
}

.keyboard__row > div[data-pressed],
.keyboard__row > div:active {
  background: whitesmoke;
  color: black;
  position: relative;
  top: 0.2em;
  box-shadow: 0 0 0 0.05em black;
}
.key--w{
  width:5emem;
}
.key--w3 {
  width: 4.6em; 
}

.key--w4 {
  width: 6em;
}

.key--w5 {
  width: 7.2em;
}

.key--w6 {
  width: 9.5em;
}

.key--w7{
 width: 6.5em;
 background-color: rgb(78, 197, 244) !important;
}

.key--space {
  width: 22em;
}

.key--double > * {
  padding-top: 0.2em;
}
.key--double-1{
  padding-top: 0.2em;
  background-color: rgb(78, 197, 244) !important;
}

.key--double-2 {
  padding-top: 0.2em;
  background-color: rgb(198, 231, 245) !important;
}

.key--double-3 {
  padding-top: 0.2em;
  background-color: rgb(53, 233, 229) !important;
}
.key--double-4{
  padding-top: 0.2em;
  background-color:rgb(53, 233, 229) !important;
}
.key--double-5{
  padding-top: 0.2em;
  background-color:rgb(198, 231, 245) !important;
}
.key--double-6{
  padding-top: 0.2em;
  background-color:rgb(255, 189, 202) !important;
}
.key--double-7{
  padding-top: 0.2em;
  background-color:rgb(245, 112, 112) !important;
}

.key--letter-1 {
  line-height: 2.8em;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgb(78, 197, 244) !important;
  color: black;
}
.key--letter-2 {
  line-height: 2.8em;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgb(53, 233, 229) !important;
  color: black;
}
.key--letter-3 {
  line-height: 2.8em;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgb(198, 231, 245) !important;
  color: black;
}
.key--letter-4 {
  line-height: 2.8em;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgb(255, 189, 202) !important;
  color: black;
}
.key--letter-5 {
  line-height: 2.8em;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgb(245, 112, 112) !important;
  color: black;
}

.key--bottom-left > * {
  position: absolute;
  text-align: left;
  bottom: 0.4em;
  left: 0.4em;
}

.key--bottom-right > * {
  position: absolute;
  text-align: right;
  bottom: 0.4em;
  right: 0.4em;
}

.active-border {
  border: 2px solid #000000;
}

.key--fn > * {
  font-size: 0.6em;
  line-height: 1em;
  padding-top: 1.2em;
  padding-right: 0.2em;
  text-align: right;
  float: right;
}

.key--word > * {
  font-size: 1.1em;
}

.key--arrow--tall > *,
.key--arrow > * {
  font-size: 0.5em;
  line-height: 3em;
}

.key--arrow {
  height: 1.8em;
  margin-top: 1.7em;
  line-height: 0.5em;
}

.key--arrow--tall > * {
  padding-top: 0.2em;
}

.keyboard > .keyboard__row {
  text-align: center;
}

.lowmid {
  display: flex;
  flex-flow: column wrap;
  justify-content: space-between;
}

#message {
  font-weight: bold;
  text-align: center;
  font-size:2.5vh;
  color: #333;
}

#keysToType {
  border: 1px solid #333;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 12vh;
  border-radius:2vh;
  width: 60vw;
  font-size: 2vw;
  color: rgb(7, 1, 1);
  text-align: center;
}
#keysToTypeSpan{
  font-size: 2.5vh;
}
@media (max-width: 768px) {
  .keyboard {
      flex-direction: column;
      align-items: center;
  }

  #keysToType{
      font-size: 4vw;
  }
}

.vvlogo {
  position: absolute;
  right:3vh;
  width: 10vw;
}

.title {
  width: 50%;
}

.inclogo {
  position: absolute;
  left: 3vh;
  width: 10vw;
}

.lefthand {
  width: 8vw;
  position: relative;
}

.righthand {
  width: 35vw;
}

.flip {
  transform: scaleX(-1);
}

.blur {
  position: absolute;
  height: 100vh;
  width: 100vw;
  top: 0;
  left: 0;
  backdrop-filter: blur(10px);
  background-color: rgba(13, 13, 13, 0.5);
  z-index: 1;
}

.mascot {
  position: absolute;
  z-index: 3;
  height: 75vh;
  top: 15%;
  left: 15%;
}

.congo {
  position: absolute;
  z-index: 3;
  font-size: 100px;
  color: white;
  top: 25%;
  right: 8%;
}

.but {
  padding: 15px 25px;
  position: absolute;
  text-align: center;
  z-index: 3;
  height: 50px;
  width: 125px;
  background-color: antiquewhite;
  border: 2px solid white;
}

.restart {
  right: 40vw;
  top: 45%;
}

.next {
  top: 55%;
  right: 40vw;
}

.handsMovement {
  height: auto;
}

.hidden {
  position: relative;
  display: none;
}

.vol {
  width: 3vh;
  border-radius: 50%;  
}
#soundToggle{
  font-size:1.5vh;
  position:static;
  left:2vh;
}

.volbt {
  padding: 5px;
  border-radius: 50%;
}
.volume {
  position:fixed;
  border-radius: 50%;
  top: 62%;
  margin-left: 2.5vw;
}
.vv {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size:3vh;
}

.logos {
  text-align: center;
  color: rgb(83, 83, 83);
  height: 10vh;
}

.inc {
  margin-top:-2vw;
  font-size: 3vh;
}

.fin {
  height: 20px;
  margin-right: 5px;
}

.home-button-container {
  position: fixed;
  bottom: 20%;
  left: 3vh;
  transform: translateX(-50%);
  z-index:1;
}

.home-link {
  display: flex;
  align-items: lt center;
  padding: 1vw 1vh;
  font-size:2vh;
  transition: all 0.3s ease;
}

.home-link:hover {
  background-color: lab(94.02% -0.33 0.1);
  transform: scale(1.05);
}

.home-link img {
  filter: none;
  opacity: 2ss;
}

.home-text {
  display: inline-block;
}

/* === NUMBER KEY COLORS BY FINGER === */
.key--num {
  color: black;
  font-weight: bold;
  transition: transform 0.2s, box-shadow 0.2s;
}

/* Pinky (Left Hand) → 1 */
.key--num[data-char^="1"] {
  background-color: #f57171 !important;
}

/* Ring (Left Hand) → 2 */
.key--num[data-char^="2"] {
  background-color: #ff9aa2 !important;
}

/* Middle (Left Hand) → 3 */
.key--num[data-char^="3"] {
  background-color: #ffb347 !important;
}

/* Index (Left Hand) → 4, 5 */
.key--num[data-char^="4"],
.key--num[data-char^="5"] {
  background-color: #fdfd96 !important;
}

/* Index (Right Hand) → 6, 7 */
.key--num[data-char^="6"],
.key--num[data-char^="7"] {
  background-color: #b5e7a0 !important;
}

/* Middle (Right Hand) → 8 */
.key--num[data-char^="8"] {
  background-color: #77dd77 !important;
}

/* Ring (Right Hand) → 9 */
.key--num[data-char^="9"] {
  background-color: #779ecb !important;
}

/* Pinky (Right Hand) → 0 */
.key--num[data-char^="0"] {
  background-color: #836953 !important;
}

/* Hover / pressed visual feedback */
.key--num:hover,
.key--num[data-pressed="on"] {
  transform: scale(1.15);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
#switch {
  position: fixed;
  bottom: 2vw;
  right: 2vw;
  z-index: 1000;
  background-color: #ffd700;
  color: #000;
  border: none;
  padding: 10px 15px;
  border-radius: 10px;
  font-size: 1.3vh;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

#switch:hover {
  background-color: #ffcc00;
  transform: scale(1.05);
}

.shift-active { background: gold; }
.caps-active { background: orange; }

