@charset "utf-8";


.dictee {
  margin: auto;
  border: 1px solid #000000;
  padding: 10px;
  box-shadow: 4px 4px 10px rgba(250, 247, 247, 0.2);
  width: 90%;
  text-align: center;
  border-radius: 2rem;
  background-color: rgb(141, 232, 186);
  -webkit-box-shadow: .5rem .5rem .05rem .05rem var(--azure);
  box-shadow: .5rem .5rem .05rem .05rem var(--azure);
}

/* Style du clavier */
.keyboard {
  background-color: #3bf683;
  padding: 1rem;
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 8px;
  margin-top: 10px;
  border: 2px solid #000000;
  border-radius: 2rem;
  position: relative;
  overflow: hidden;
  transition: color 0.3s, background-color 0.3s;
}

.key {
  background-color: #D0D0D0;
  padding: 10px;
  text-align: center;
  font-size: 20px;
  cursor: pointer;
  user-select: none;
  border-radius: 10px;
  border: 2px solid #000000;
  position: relative;
  overflow: hidden;
  transition: color 0.3s, background-color 0.3s;
  -webkit-box-shadow: .2rem .2rem .05rem .05rem var(--azure);
  box-shadow: .2rem .2rem .05rem .05rem var(--azure);
}
.key::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  width: 150%;
  height: 150%;
  background-color: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -75%) rotate(45deg);
  transition: transform 0.3s;
}

.key:hover::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.key:hover {
  color: #3498db;
  background-color: #fff;
  border: 2px solid var(--azure);
  -webkit-box-shadow:.05rem .05rem .2rem .2rem  var(--silver);
  box-shadow: .05rem .05rem .2rem .2rem var(--silver);
}
/* Style de ecran noir */
.ecrannoir {
  background-color: rgba(4, 4, 4, 0.791);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  height: 150px;
  padding: 10px;

  border-radius: 2.5rem;
}

.hopegauche {
  flex: 1;
  margin-left: 15%;
}

.niv {
  background-color: rgb(246, 245, 245);
  color: #00ff6aab;
  font-size: 10px;
  margin-top: 20px;
  font-size: 20px;
  padding: 10px;
  margin-left: 10px;
}

.hopedroite {
  flex: 2;
}

/* Style de l'écran LCD */
.screen {

  color: #00ff6aab;
  font-size: 28px;
  padding: 10px;
  margin-top: 30px;
  margin-left: 10px;
  margin-bottom: 10px;
}

.screentrouver {

  color: #00ff6aab;
  line-height: 2.1rem;
  font-size: 20px;
}

/* Style de l'écran LCD info*/
.screeninfo {

  color: #00ff6aab;
  margin-top: 10px;
  font-size: 20px;
  padding: 10px;
  margin-left: 10px;

}

.screenlettre {

  color: #00ff6aab;
  margin-top: 10px;
  font-size: 20px;
  padding: 10px;
  margin-left: 10px;

}

/* Style des touches jaunes (voyelles) */
.toucheyellow {
  background-color: #FFFF00;
}

/* Style des touches oranges (consonnes) */
.toucheorange {
  background-color: #FFA500;
}

/* Style des touches rouge */
.touchered {
  background-color: #FF0000;
}