* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  overflow: hidden;
}

.button {
  background-color: #f9ca24;
  color: #fff;
  border: 0;
  border-radius: 4px;
  font-size: 16px;
  padding: 12px 20px;
  cursor: pointer;
  letter-spacing: 1px;
  box-shadow: 0 4px rgba(249, 202, 36, 0.5);
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.button:active {
  box-shadow: none;
  top: 15.1%;
}

.boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  height: 500px;
  width: 500px;
  position: relative;
  transition: 0.4s ease;
}

/* increase the width when the parent is big */

.boxes.big {
  width: 600px;
  height: 600px;
}
