* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Oswald', sans-serif;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(#e66465, #9198e5);
}

.container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
}

h1 {
  font-size: 50px;
  text-align: center;
  margin-top: 20px;
  color: #9198e5;
}

#box {
  display: flex;
  flex-direction: row;
  justify-content: center;
  text-align: center;
  width: 550px;
  height: 500px;
  margin: 30px 0 40px 0;
}

.display {
  position: absolute;
  display: flex;
  justify-content: center;
  text-align: center;
  align-items: center;
  border-radius: 15px;
  width: 300px;
  height: 120px;
  margin-top: 30px;
  margin-bottom: 230px;
  background-color: #E6E6FA;
  color: #9198e5;
  font-size: 60px;
}

.counterBox {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  height: 130px;
  width: 300px;
  margin-top: 230px;
}

button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 100px;
  border-radius: 15px;
  font-size: 60px;
  background-color: #E6E6FA;
  border: none;
  color:#9198e5;
  cursor: pointer;
}

.reset {
  height: 80px;
  width: 80px;
  font-size: 20px;
  background-color: #e66465;
  border-radius: 50%;
  color: #E6E6FA;
}

.plusBox:hover,
.lessBox:hover,
.reset:hover {
  transform: scale(1.01);
}

.plusBox:active,
.lessBox:active,
.reset:active {
  background-color: #E6E6FA;
}

footer {
  text-align: center;
  font-size: 18px;
  color: #e66465;
  margin-bottom: 50px;
}

@media only screen and (max-width: 600px) {
  .counterBox {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 170px;
  }
  #box {
    width: 350px;
  }
  .display {
    width: 220px;
  }
  button {
    margin: 10px;
  }
  h1 {
    font-size: 30px;
    padding: 0 20px 0 20px;
  }

  footer {
    font-size: 20px;
  }
}




