/*vermell: #F4412Aff; rosa: #ED1367ff; orange: #F98520ff; groc: #FFCB25ff; floral-white: #FFF8EEff; marro: #634128ff; black: #282A21ff; */



body {
    font-family: Arial, sans-serif;
    text-align: center;
    /*background-color: rgb(255, 254, 251);*/
    background-image: url(../img/fons.png);
    margin: 0;
    padding: 20px;
}

.scoreboard {
  display: flex;
  justify-content: start; /* Manté els elements alineats a l'esquerra inicialment */
  align-items: center;
  gap: 30px;

  width: 700px;
  height: 60px;
  margin: 20px auto;
  padding: 10px;

  border: 3px solid #ED1367ff;
  border-radius: 5px;
  background: #FFF8EEff;

  font-family: "Arial", sans-serif;
  font-size: 13px;
  color: #F98520ff;
}

.scoreboard h2 {
  margin: 0 10px;
}

.homebutton {
  margin-left: auto; /* Empeny la casa cap al costat dret */
}



.grid {
    width: 600px;
    height: 600px;
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto; 
    /*border: 4px solid #333;*/
    border-radius: 10px #ED1367ff;
    background-color: #fff;
}

.square {
    height: 200px;
    width: 200px;
    border: 1px solid #ED1367ff;
    box-sizing: border-box;
    cursor: pointer;
    background-image: url(../img/flors.png);
    background-size: 200px 200px;
   
}


.mole {
    background-image: url("../img/mole.jfif");
    background-size: cover;
   /* background-position: center; */
}

p{
    font-size: 15px;
    color: #ED1367ff;
}
.nivells {
    display: flex;
    justify-content: center;
    gap: 20px; /* espai entre botons */
    margin-top: 20px; /* opcional */
    margin-bottom: 30px;

  }
  

.easylvl{
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
        text-decoration: none;
        color: #ffffff;
        font-size: 18px;
        border-radius: 0px;
        width: 200px;
        height: 40px;
        font-weight: bold;
        border: 3px solid #f3a600;
        transition: 0.3s;
        transform: skew(-20deg);
        background-color: #ffcb25;
      }

      .easylvl:hover {
        transform: none;
      }

.mediumlvl{
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
        text-decoration: none;
        color: #ffffff;
        font-size: 18px;
        border-radius: 0px;
        width: 200px;
        height: 40px;
        font-weight: bold;
        border: 3px solid rgb(249, 112, 32);
        transition: 0.3s;
        transform: skew(-20deg);
        background-color: #F98520ff;
      }

      .mediumlvl:hover {
        transform: none;
      }


.difficultlvl{
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
        text-decoration: none;
        color: #ffffff;
        font-size: 18px;
        border-radius: 0px;
        width: 200px;
        height: 40px;
        font-weight: bold;
        border: 3px solid rgb(237, 19, 55);
        transition: 0.3s;
        transform: skew(-20deg);
        background-color: #ED1367ff;
      }

      .difficultlvl:hover {
        transform: none;
      }

 .stop{
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
        text-decoration: none;
        color: #ffffff;
        font-size: 18px;
        border-radius: 0px;
        width: 200px;
        height: 40px;
        font-weight: bold;
        border: 3px solid rgb(244, 42, 42);
        transition: 0.3s;
        transform: skew(-20deg);
        background-color: #F4412Aff;
      }

      .stop:hover {
        transform: none;
      }

