*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}
@font-face {
       font-family: 'Moogalator';  /* Nombre de la fuente que usarás en CSS */
       src: url('./font/Moogalator.ttf') format('woff2');
       font-weight: 400; 
       font-style: normal;
    }
 .animar{
    animation: girar 1s ease-in-out;
}
@keyframes girar{
    from{
        transform: rotate(0);
    }to{
        transform: rotate(1800deg);
    }
}
 
 body {
      background: #222;
      font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
      display: flex;
      justify-content: center;
      align-items: center;
      height: 100vh;
      width: 100vw;
    }
.container{
  display: flex;
  flex-direction: column;
  align-items: center;
}

    .slot-machine {
  background-color: rgba(255, 255, 255, 0.096);
  background: url('./imgfondo/pngegg.png') no-repeat center center;
  background-size: cover; /* o contain, según el efecto que quieras */
  border: 10px solid black;
  border-radius: 20px;
  width: 400px;
  height: 620px;
  box-shadow: 0 0 30px gold;
  padding: 20px;
  box-sizing: border-box;
  color: white;
  position: relative;
  z-index: 0;
  outline-offset: 2px gold;
  outline: 2px solid gold;
  outline-offset: 6px;

}

    .title {
      background-color: black;
      text-align: center;
      color: rgb(246, 209, 3);
      font-size: 2rem;
      font-weight: bold;
      text-shadow: 1px 1px 5px gold;
      margin-bottom: 15px;
      border-radius: 10px;
      border: 2px double gold;
      
    }
    .fresas{
      height: 40px;
    }
    h1{
      background-color: rgba(255, 255, 255, 0.1);
      -webkit-text-stroke-color: gold;
      -webkit-text-stroke: 0.5px gold;
      font-family: 'Moogalator', sans-serif;
      font-size: 2.5rem;
      color: rgb(0, 0, 0);
      text-shadow: 4px 4px 5px black;
      margin: 0;
      padding: 10px 0;
      border-radius: 10px;
      box-shadow: 0 0 20px gold;
      padding: 10px;
    }

    #contenedor {
      text-align: center;
    }

    #contenedor h1 {
      margin: 0 0 10px 0;
      font-weight: bolder;
    }

    .screen {
  background: #000; /* fondo negro sólido */
  border: 10px solid gold;
  border-radius: 10px;
  width: 100%;
  height: 200px;
  margin: 10px 0 80px 0;
  padding: 10px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  z-index: 1; /* para que quede encima del fondo */
 
  outline: 2px solid black;
  outline-offset: -6px;
}




    #vidas {
      font-size: 1.8rem;
      color: rgb(98, 159, 98);
      min-height: 30px;
      margin-bottom: 15px;
      
    }

    .frutas {
      display: flex;
      justify-content: center;
      gap: 8px;
    }

    .frutas img {
      /* -webkit-box-shadow: 0px 0px  15px gold; */
      width: 95px;
      height: 95px;
      object-fit: contain;
      border-radius: 8px;
      padding: 1px;
      transition: transform 0.2s ease;
      filter:drop-shadow(1px 1px 10px gold)
    }

    .animar {
      transform: scale(1.2);
    }

    #boton {
      background: red;
      color: white;
      border: 2px solid black;
      border-radius: 10px;
      padding: 12px 30px;
      font-size: 1.1rem;
      cursor: pointer;
      box-shadow: 0 5px #040404;
      display: block;
      margin: 0 auto;
      transition: all 1.2s;
      &:hover{
        transform: scale(1.5);
      }
    }

    #boton:active {
      box-shadow: 0 2px #990000;
      transform: translateY(3px);
    }

    #resultado {
      margin-top: 18px;
      font-size: 1.3rem;
      color: yellow;
      text-align: center;
      min-height: 28px;
      font-weight: bold;
      text-shadow: 1px 1px 3px #000;
    }