@import url("https://fonts.googleapis.com/css?family=Raleway:400,400i,700");

html, body {
 background-image: url(./granja-escena-naturaleza-granero-molino-viento-espantapajaros_1308-51384.avif);
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  font-family: Raleway, sans-serif;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}


.pad {
  width: 400px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 20px 30px;
  background-color: gray;
  border: 4px solid black;
  box-shadow: 4px 4px 0 0 black;
}

.buttonglow {
  padding-left: 90px;
}

.key {
  width: 100px;
  height: 100px;
  margin: 10px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  font-weight: 500;
  color: black;
  background-color: white;
  border: 4px solid black;
  box-shadow: 4px 4px 0 0 black;
  user-select: none;
  transform: translate(0, 0);
}
.sound {
  font-size: 14px;
  text-transform: uppercase;
  color: #ff9068;
  margin-top: 7px
}
.key.playing {
  background-color: #ddd;
  box-shadow: 0 0 0 0 black;
  transform: translate(4px, 4px);
  border-color: #fd746c;
  transition: all 300ms cubic-bezier(0.075, 0.82, 0.165, 1);
}
.key.playing .sound {
  color: #fd746c;
  transform: scale(1.5);
  transition: all 300ms cubic-bezier(0.075, 0.82, 0.165, 1);
}

 item:hover .pad {
    background-color: lighten(#444, 10%);
    cursor: pointer;
  }
  

.glow-on-hover {
    width: 220px;
    height: 50px;
    border: none;
    outline: none;
    color: #fff;
    background: #111;
    cursor: pointer;
    position: relative;
    z-index: 0;
    border-radius: 10px;
}

.glow-on-hover:before {
    content: '';
    background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
    position: absolute;
    top: -2px;
    left:-2px;
    background-size: 400%;
    z-index: -1;
    filter: blur(5px);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    animation: glowing 20s linear infinite;
    opacity: 0;
    transition: opacity .3s ease-in-out;
    border-radius: 10px;
}

.glow-on-hover:active {
    color: #000
}

.glow-on-hover:active:after {
    background: transparent;
}

.glow-on-hover:hover:before {
    opacity: 1;
}

.glow-on-hover:after {
    z-index: -1;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #111;
    left: 0;
    top: 0;
    border-radius: 10px;
}

@keyframes glowing {
    0% { background-position: 0 0; }
    50% { background-position: 400% 0; }
    100% { background-position: 0 0; }
}

.button-container {
  text-align: center;
}

.button-container button {
  background-color: transparent ; /* Color de fondo del botón (puedes cambiarlo) */
  border: none;
  color: white;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  cursor: pointer;
}

.button-container img {
  width: 75%; /* La imagen ocupará todo el espacio dentro del botón */
  height: auto;
  
}

.button-container {
  text-align: center;
}

.stroke {
  text-align:center;
  color: #000;
  font-family: impact;
  font-size:xx-large;
  line-height: 100%;
  letter-spacing: 4px;
  text-shadow: -2px -2px 0px #fff, 2px -2px 0px #fff, -2px 2px 0px #fff, 2px 2px 0px #fff;
  }
