@font-face {
  font-family: 'DSDigital';
  src: url('../fonts/DS-DIGI.TTF') format('truetype');
}

body {
  font-family: Arial, sans-serif;
  background: linear-gradient(-45deg, #000051, #e74c3c); 
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  margin: 0 50px;
}

.counter-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  border-radius: 5px;
}

.image {
  width: 400px;
  margin: 10px;
}

#contatore {
  font-family: 'DSDigital';
  font-size: 4em;
  text-align: center;
  height: 16%;
  position: absolute;
  top: 42%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.button-container {
  display: flex;
  justify-content: space-between;
  width: 400px;
  position: absolute;
  top: 7%;
}

.plus-button,
.minus-button,
.reset-button {
  background-color: transparent;
  border: none;
  cursor: pointer;
}

.plus-button,
.minus-button {
  width: 16%;
  padding: 5% 0 4% 0;
  font-size: 20px;
}

.plus-button {
  margin-left: 12%;
}

.minus-button {
  margin-right: 12%;
}

.reset-button {
  font-size: 9px;
  padding-bottom: 4%;
  color: white;
}

@media only screen and (min-width:501px) {  
  .image {
    width: 500px;
    margin: 10px;
  }
  
  #contatore {
    font-size: 5em;
  }
  
  .button-container {
    width: 500px;  
  }
  
  .plus-button,
  .minus-button {
    font-size: 25px;
  }
  
  .reset-button {
    font-size: 12px;
  }
}



