.counter-up{
  background: url("../images/xplace-3.jpg.pagespeed.ic.zUIxeeUImR.jpg") no-repeat;
  background-size: cover;
  background-attachment: fixed;
  padding: 0 20px;
  position: relative;
  display: flex;
  align-items: center;
}
.counter-up::before{
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0,0,0,0.8);
}
.counter-up .content{
  z-index: 1;
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

@media screen and (min-width: 759px) and (max-width: 4000px){
.counter-up .content .box{
  border: 1px dashed rgba(255,255,255,0.6);
  width: 24%;
  height: 100px;
  margin-top: 60px;
  margin-bottom: 50px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  flex-direction: column;
  padding: 20px;
}

.content .box .counter{
  font-size: 40px;
  line-height: 45px;
  font-weight: 500;
  color: #f2f2f2;
  font-family: sans-serif;
}
.content .box .text{
  font-size: 19px;
  font-weight: 400;
  color: #ccc;
}
}

@media screen and (min-width: 300px) and (max-width: 760px) {	
.counter-up .content .box{
  border: 1px dashed rgba(255,255,255,0.6);
  width: 43%;
  height: 120px;
  margin-top: 50px;
  margin-bottom: 40px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  flex-direction: column;
  padding: 20px;
}

.content .box .counter{
  font-size: 25px;
  font-weight: 500;
  color: #f2f2f2;
  font-family: sans-serif;
}
.content .box .text{
  font-size: 18px;
  line-height: 22px;
  font-weight: 400;
  color: #ccc;
}
}