body {
  font-size: 20pt;
  background-size: 50%;
  background-image: url('numeri.jpg');
}

#titolo {
  color: whitesmoke;
  padding: 10px;
  margin: 0 auto; 
  border: 5px solid saddlebrown;
  max-width: max-content;
  background-color: black;
  text-align: center;
  display: block;
  font-size: 40px;
  font-weight: bold;
}

#tabel {
  display: inline;
}

#tavola {
  margin-top: 10px;
  column-count: 2;
  column-fill: auto;
  -moz-margin-top: 10px;
  -moz-column-count: 2;
  -moz-column-fill: auto;
}

#postit {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 350px; 
  background-size: cover;
  background-image: url('postitSmall.png');
}

#postit p {
  position: relative;
  left: 60px;
}

#risposta {
  font-size: 20pt;
}

#esito {
  font-size: 35pt;
  font-weight: bold;
  font-family: cursive;
  -moz-font-family: cursive;
}

#pulsanti {
  margin: 10px;
  display: flex;
  width: 90%;
  flex-direction: column;
  justify-content: space-around;
}

button {
  margin-bottom: 50px;
  font-size: 20pt;
  display: block;
} 

#quest {
  margin-top: 10px;
}

input {
  margin-top: 40px;
  margin-bottom: 50px;
}

#giudizio {
  margin: 30 auto;
  padding: 20px;
  padding-left: 80px;
  width: 50%;
  display: none;
  background-size: cover;
  background-image: url('postitSmall.png');
}

#back {
  display: none;
}

@media screen and (orientation: portrait) and (max-device-width: 600px) {
  
  body {
    font-size: 15pt;
  }
  
  #titolo {
    color: whitesmoke;
    padding: 5px;
    margin: 0 auto;
    border: 3px solid saddlebrown;
    max-width: max-content;
    background-color: black;
    text-align: center;
    display: block;
    font-size: 20px;
    font-weight: bold;
  }
  
  #tabel {
    display: inline;
  }
  
  #tavola {
    margin-top: 3px;
    column-count: 1;
    column-fill: auto;
  }
  
  #postit {
    display: block;
    padding-top: 2px;
    width: 100%;
    min-height: 200px;
    background-size: cover;
    background-image: url('postitSmall.png');
  }
  
  #postit p {
    position: relative;
    left: 50px;
  }
  
  #risposta {
    font-size: 15pt;
  }
  
  #esito {
    font-size: 20pt;
    font-weight: bold;
    font-family: cursive;
    -moz-font-family: cursive;
  }
  
  #pulsanti {
    text-align: center;
  }
  
  button {
    font-size: 15pt;
    margin: 1px auto;
  }
  
  #quest {
    display: inline-block;
    margin-top: 5px;
  }
  
  #verifica {
    display: inline-block;
  }
  
  input {
    text-align: center;
    margin: 1px auto;
    display: block;
  }
  
  progress {
    text-align: center;
    margin: 1px auto;
    display: block;
  }
  /*#pulsanti {
    margin: 5px;
    display: inline;
    text-align: center;
    justify-content: flex-start;
  }
  
  button {
    text-align: center;
    font-size: 15pt;
    display: inline;
    margin-bottom: 1px;
  }
  
  #quest {
    margin-top: 1px;
  }
  
  input {
    text-align: center;
    margin-bottom: 1px;
    margin-top: 1px;
    display: block;
  }
  
  progress {
    text-align: center;
    margin: 1px;
    display: block;
  }*/
  
  #giudizio {
    margin: 20 auto;
    padding: 15px;
    text-align: center;
    width: 60%;
    display: none;
    background-size: cover;
    background-image: url('postitSmall.png');
  }
  
}